{"info":{"_postman_id":"19647ae2-f54a-4cae-b9d3-dceef357ebbb","name":"Digital SuperStore","description":"<html><head></head><body><h3 id=\"digital-superstore\">DIGITAL SUPERSTORE</h3>\n<h5 id=\"this-api-was-developed-and-documented-by-akinloluwa-olumuyide\">This API was developed and documented by Akinloluwa Olumuyide.</h5>\n<p>It was built as a project for school to show the different Object Oriented Principles and their real life applications.</p>\n<p>During the course of building this project, duplicate endpoints were created with different functionalities, solely for development purposes.</p>\n<p>My project team built the frontend.</p>\n<p>The link to the application: <a href=\"https://ds-ecommerce.vercel.app/\">https://ds-ecommerce.vercel.app/</a></p>\n<p>The link to the API: <a href=\"https://digital-superstore-api-production.up.railway.app/\">https://digital-superstore-api-production.up.railway.app/</a></p>\n<p>The GitHub link for the project: <a href=\"https://github.com/SENG302-Project-Group/backend\">https://github.com/SENG302-Project-Group/backend</a></p>\n<p>How to reach me</p>\n<p>📞: +2348186513024</p>\n<p>📧: <a href=\"mailto:akinloluwaolumuyide@gmail.com\">akinloluwaolumuyide@gmail.com</a></p>\n<p>💻: <a href=\"https://github.com/pick-cee\">https://github.com/pick-cee</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16987750","collectionId":"19647ae2-f54a-4cae-b9d3-dceef357ebbb","publishedId":"VUqptHrx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-08-21T23:24:48.000Z"},"item":[{"name":"Customer","item":[{"name":"Login Customer","id":"6c5db270-9d32-4e66-aa01-722ac8a5bb24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"akinloluwaolumuyide@gmail.com\",\r\n    \"password\": \"akinloluwa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/login","urlObject":{"protocol":"https","path":["customer","login"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c5db270-9d32-4e66-aa01-722ac8a5bb24"},{"name":"Register Customer","id":"bdbdae40-32da-492b-8e52-1653a1902797","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Effi Emmanuel\",\r\n    \"email\": \"effiemmanuel.n@gmail.com\",\r\n    \"password\": \"EMMA\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/register","urlObject":{"protocol":"https","path":["customer","register"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"bdbdae40-32da-492b-8e52-1653a1902797"},{"name":"Forgot Password","id":"3cea070b-cf92-49f5-8a13-090b98b873e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"akinloluwaolumuyide@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/forgotPassword","urlObject":{"protocol":"https","path":["customer","forgotPassword"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"3cea070b-cf92-49f5-8a13-090b98b873e9"},{"name":"Reset Password","id":"54af39f4-f45e-4d02-b9ec-13c38d1fc961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\":\"Qx5GsfuDAJ\",\r\n    \"password\": \"effi1234\",\r\n    \"confirmPassword\": \"effi1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/resetPassword","urlObject":{"protocol":"https","path":["customer","resetPassword"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"54af39f4-f45e-4d02-b9ec-13c38d1fc961"},{"name":"Get a user by email","id":"084e25c9-fb4b-4d99-aa4d-be3e868a48b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/getByEmail?email=aolumuyide@gmail.com","urlObject":{"protocol":"https","path":["customer","getByEmail"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"email","value":"aolumuyide@gmail.com"}],"variable":[]}},"response":[],"_postman_id":"084e25c9-fb4b-4d99-aa4d-be3e868a48b6"},{"name":"Get a user by ID","id":"3d31d482-7f0d-4f48-b1a0-e6226c5733d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/getById/62fd02e534c217ae343f974d","urlObject":{"protocol":"https","path":["customer","getById","62fd02e534c217ae343f974d"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d31d482-7f0d-4f48-b1a0-e6226c5733d5"},{"name":"Verify email","id":"f04ec9e6-457f-4059-a857-f6fa6c6685ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"j58bn8pSvF\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/verifyEmail?userId=6305bee68eeb336eb623bbc2","urlObject":{"protocol":"https","path":["customer","verifyEmail"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"6305bee68eeb336eb623bbc2"}],"variable":[]}},"response":[],"_postman_id":"f04ec9e6-457f-4059-a857-f6fa6c6685ed"},{"name":"Resend token","id":"8fc97042-bca9-4b1f-9bf9-ced4eee4e62c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/resendToken?userId=630563bee4342bd86e07cc8a&email=akinloluwaolumuyide@gmail.com","urlObject":{"protocol":"https","path":["customer","resendToken"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630563bee4342bd86e07cc8a"},{"key":"email","value":"akinloluwaolumuyide@gmail.com"}],"variable":[]}},"response":[],"_postman_id":"8fc97042-bca9-4b1f-9bf9-ced4eee4e62c"},{"name":"Add products to cart","id":"44e43aa3-dd7d-49b3-8424-b999d06a2020","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1NjNiZWU0MzQyYmQ4NmUwN2NjOGEiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAwMTc2LCJleHAiOjE2NjEzMDM3NzZ9.N7LNLsLcBV8O71hKtU_bnU1HE1K0RsrfNq9HhwcRxzk","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/addProductsToCart?userId=63062aa11d8a438820e5e7b5&productId=6305a379df51b8130a8c1a45","urlObject":{"protocol":"https","path":["customer","addProductsToCart"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"63062aa11d8a438820e5e7b5"},{"key":"productId","value":"6305a379df51b8130a8c1a45"}],"variable":[]}},"response":[],"_postman_id":"44e43aa3-dd7d-49b3-8424-b999d06a2020"},{"name":"Add products to wishlist","id":"5cea02a3-4f2a-4f58-8f3e-b7dcc6e904da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1NjNiZWU0MzQyYmQ4NmUwN2NjOGEiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAwMTc2LCJleHAiOjE2NjEzMDM3NzZ9.N7LNLsLcBV8O71hKtU_bnU1HE1K0RsrfNq9HhwcRxzk","type":"text"}],"url":"https://digital-superstore-api-production.up.railway.app/customer/addProductsTowishlist?userId=630629ad1d8a438820e5e793&productId=6305a58c0b9089abd13f67c1","urlObject":{"protocol":"https","path":["customer","addProductsTowishlist"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630629ad1d8a438820e5e793"},{"key":"productId","value":"6305a58c0b9089abd13f67c1"}],"variable":[]}},"response":[],"_postman_id":"5cea02a3-4f2a-4f58-8f3e-b7dcc6e904da"},{"name":"Delete products from cart","id":"a0f91de1-d1eb-44e7-9db7-d3b7ddc10938","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1NjNiZWU0MzQyYmQ4NmUwN2NjOGEiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAwMTc2LCJleHAiOjE2NjEzMDM3NzZ9.N7LNLsLcBV8O71hKtU_bnU1HE1K0RsrfNq9HhwcRxzk","type":"text"}],"url":"https://digital-superstore-api-production.up.railway.app/customer/removeProductsFromCart/?productId=63052c1efbf44f79e4565426&userId=63062aa11d8a438820e5e7b5","urlObject":{"protocol":"https","path":["customer","removeProductsFromCart",""],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"productId","value":"63052c1efbf44f79e4565426"},{"key":"userId","value":"63062aa11d8a438820e5e7b5"}],"variable":[]}},"response":[],"_postman_id":"a0f91de1-d1eb-44e7-9db7-d3b7ddc10938"},{"name":"Delete products from wishlist","id":"0897af1a-c5c8-437e-a4c4-e23249cc0ea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1NjNiZWU0MzQyYmQ4NmUwN2NjOGEiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAwMTc2LCJleHAiOjE2NjEzMDM3NzZ9.N7LNLsLcBV8O71hKtU_bnU1HE1K0RsrfNq9HhwcRxzk","type":"text"}],"url":"https://digital-superstore-api-production.up.railway.app/customer/removeProductsFromWishlist/?userId=630563bee4342bd86e07cc8a&productId=63052c1efbf44f79e4565426","urlObject":{"protocol":"https","path":["customer","removeProductsFromWishlist",""],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630563bee4342bd86e07cc8a"},{"key":"productId","value":"63052c1efbf44f79e4565426"}],"variable":[]}},"response":[],"_postman_id":"0897af1a-c5c8-437e-a4c4-e23249cc0ea6"},{"name":"Make order","id":"d213090e-210e-4bb9-a61f-457d1dbba1e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1NjNiZWU0MzQyYmQ4NmUwN2NjOGEiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAwMTc2LCJleHAiOjE2NjEzMDM3NzZ9.N7LNLsLcBV8O71hKtU_bnU1HE1K0RsrfNq9HhwcRxzk","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"amount\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/makeOrder?userId=630563bee4342bd86e07cc8a&cartId=63056de245a29c5fbcedf1ef","urlObject":{"protocol":"https","path":["customer","makeOrder"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630563bee4342bd86e07cc8a"},{"key":"cartId","value":"63056de245a29c5fbcedf1ef"}],"variable":[]}},"response":[],"_postman_id":"d213090e-210e-4bb9-a61f-457d1dbba1e4"},{"name":"Delete Order","id":"23d977b3-66f0-4db6-975b-93a35a407e45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MmZkMDJlNTM0YzIxN2FlMzQzZjk3NGQiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMDIzOTA1LCJleHAiOjE2NjEwMjc1MDV9.xxH6rK6hFj_KlnWmZcOEipg3t7AFewYFWoO8Nbczuro","type":"text"}],"url":"https://digital-superstore-api-production.up.railway.app/customer/deleteOrder?userId=630563bee4342bd86e07cc8a&orderId=63056f1845a29c5fbcedf20d","urlObject":{"protocol":"https","path":["customer","deleteOrder"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630563bee4342bd86e07cc8a"},{"key":"orderId","value":"63056f1845a29c5fbcedf20d"}],"variable":[]}},"response":[],"_postman_id":"23d977b3-66f0-4db6-975b-93a35a407e45"},{"name":"Verify Payment","id":"78eb481e-a202-4a34-92ed-279d493add52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/verifyPayment?orderId=63056f1845a29c5fbcedf20d","urlObject":{"protocol":"https","path":["customer","verifyPayment"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"orderId","value":"63056f1845a29c5fbcedf20d"}],"variable":[]}},"response":[],"_postman_id":"78eb481e-a202-4a34-92ed-279d493add52"},{"name":"Make payment","id":"a9764067-fca2-40e4-a788-38511e2710d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1NjNiZWU0MzQyYmQ4NmUwN2NjOGEiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAwMTc2LCJleHAiOjE2NjEzMDM3NzZ9.N7LNLsLcBV8O71hKtU_bnU1HE1K0RsrfNq9HhwcRxzk","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"akinloluwaolumuyide@gmail.com\",\r\n    \"name\": \"Akinloluwa Olumuyide\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/customer/makePayment?orderId=63056f1845a29c5fbcedf20d","urlObject":{"protocol":"https","path":["customer","makePayment"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"orderId","value":"63056f1845a29c5fbcedf20d"}],"variable":[]}},"response":[],"_postman_id":"a9764067-fca2-40e4-a788-38511e2710d9"},{"name":"Search products by category","id":"2a5fef34-737e-45f1-bc75-be178a87c887","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/searchCategory?category=c","urlObject":{"protocol":"https","path":["customer","searchCategory"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"category","value":"c"}],"variable":[]}},"response":[],"_postman_id":"2a5fef34-737e-45f1-bc75-be178a87c887"},{"name":"Search products","id":"c08b4230-cdbe-4b42-b455-f0ad1a8c15da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/search/?search=Nike","urlObject":{"protocol":"https","path":["customer","search",""],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"search","value":"Nike"}],"variable":[]}},"response":[],"_postman_id":"c08b4230-cdbe-4b42-b455-f0ad1a8c15da"},{"name":"Add products to cart with default quantity","id":"b2ff3fe3-00fd-48f3-8dc5-f483eb5fe3db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/addProductsToCartP?userId=630563bee4342bd86e07cc8a&productId=63052c1efbf44f79e4565426","urlObject":{"protocol":"https","path":["customer","addProductsToCartP"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630563bee4342bd86e07cc8a"},{"key":"productId","value":"63052c1efbf44f79e4565426"}],"variable":[]}},"response":[],"_postman_id":"b2ff3fe3-00fd-48f3-8dc5-f483eb5fe3db"},{"name":"Get all products from cart","id":"269ea618-b2df-4f05-af74-81b727a3f0c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/getProductsFromCart?userId=630563bee4342bd86e07cc8a","urlObject":{"protocol":"https","path":["customer","getProductsFromCart"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630563bee4342bd86e07cc8a"}],"variable":[]}},"response":[],"_postman_id":"269ea618-b2df-4f05-af74-81b727a3f0c4"},{"name":"Get all products from wishlist","id":"2ee779e2-279c-4e57-886c-353aeec94976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/getProductsFromWishlist?userId=630629ad1d8a438820e5e793","urlObject":{"protocol":"https","path":["customer","getProductsFromWishlist"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630629ad1d8a438820e5e793"}],"variable":[]}},"response":[],"_postman_id":"2ee779e2-279c-4e57-886c-353aeec94976"},{"name":"Get Products by Id","id":"18b946bb-5e5b-4d7d-bb2d-29ac5c86d5f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/getProductsById?productId=63052c1efbf44f79e4565426","urlObject":{"protocol":"https","path":["customer","getProductsById"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"productId","value":"63052c1efbf44f79e4565426"}],"variable":[]}},"response":[],"_postman_id":"18b946bb-5e5b-4d7d-bb2d-29ac5c86d5f8"},{"name":"Checkout 1","id":"e3b51ed6-5988-4a74-aa2e-bc6fe8d9fd0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/checkout1?userId=630629ad1d8a438820e5e793&cartId=630824761a3cef057e733389","urlObject":{"protocol":"https","path":["customer","checkout1"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630629ad1d8a438820e5e793"},{"key":"cartId","value":"630824761a3cef057e733389"}],"variable":[]}},"response":[],"_postman_id":"e3b51ed6-5988-4a74-aa2e-bc6fe8d9fd0a"},{"name":"New add products to wishlist","id":"9675c389-7032-4773-8e9e-47f870e84fdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/addProductsToWishlistP?userId=630629ad1d8a438820e5e793&productId=6305a58c0b9089abd13f67c1","urlObject":{"protocol":"https","path":["customer","addProductsToWishlistP"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630629ad1d8a438820e5e793"},{"key":"productId","value":"6305a58c0b9089abd13f67c1"}],"variable":[]}},"response":[],"_postman_id":"9675c389-7032-4773-8e9e-47f870e84fdd"},{"name":"Remove products from wishlist","id":"eac67395-51ef-4893-b08c-c9e5810b3190","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://digital-superstore-api-production.up.railway.app/customer/removeProductsFromWishlistP/?userId=630629ad1d8a438820e5e793&productId=6305a379df51b8130a8c1a45","urlObject":{"protocol":"https","path":["customer","removeProductsFromWishlistP",""],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630629ad1d8a438820e5e793"},{"key":"productId","value":"6305a379df51b8130a8c1a45"}],"variable":[]}},"response":[],"_postman_id":"eac67395-51ef-4893-b08c-c9e5810b3190"}],"id":"bd880b31-d314-4f8b-8487-1de52faa4107","description":"<h4 id=\"customers-folder\">Customer's Folder</h4>\n<h5 id=\"list-of-customer-endpoint-created\">List of Customer Endpoint created</h5>\n<ul>\n<li>Login</li>\n<li>Register</li>\n<li>Forgot password</li>\n<li>Reset password</li>\n<li>Get a user by email</li>\n<li>Get a user by id</li>\n<li>Verify email</li>\n<li>Resend token</li>\n<li>Add products to cart</li>\n<li>Add products to wish list</li>\n<li>Delete products from cart</li>\n<li>Delete Products from wish list</li>\n<li>Make order</li>\n<li>Delete order</li>\n<li>Make payment</li>\n<li>Verify payment</li>\n<li>Search products by category</li>\n<li>Search products</li>\n</ul>\n","_postman_id":"bd880b31-d314-4f8b-8487-1de52faa4107"},{"name":"Admin","item":[{"name":"Create Product","id":"90b25870-00ce-431f-b8ec-eb0513049053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1MjNhNGZlZWMzOWQ1ZDA2OWM5OTAiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzEzNjgzLCJleHAiOjE2NjEzMTcyODN9.TQjgcrfAyxi8HZpbW_MEcQ4o8R5_lttCIycH720guNE","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/HP/OneDrive/Pictures/OOP/iphone 13.png"},{"key":"data","value":"{\n    \"name\": \"iPhone 13\",\n    \"price\": 555000,\n    \"description\": \"iPhone\",\n    \"categories\": \"Electronics\"\n\n} ","type":"text"}]},"url":"https://digital-superstore-api-production.up.railway.app/admin/createProduct","urlObject":{"protocol":"https","path":["admin","createProduct"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"90b25870-00ce-431f-b8ec-eb0513049053"},{"name":"Get all users","id":"6f840df8-b81c-4937-837d-f5120fa49d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1MjNhNGZlZWMzOWQ1ZDA2OWM5OTAiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwibmFtZSI6IkFraW5sb2x1d2EgT2x1bXV5aWRlIiwiaWF0IjoxNjYxMzg1NzY3LCJleHAiOjE2NjEzODkzNjd9.2RNFvQi3X1rhPcx02pHb3MNgP798J0sm3Slyh6IJu9w","type":"text"}],"url":"localhost:5000/admin/getUsers","urlObject":{"port":"5000","path":["admin","getUsers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f840df8-b81c-4937-837d-f5120fa49d4c"},{"name":"Get all products","id":"ce5334c1-6036-4487-9e07-eae742dcc936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1MjNhNGZlZWMzOWQ1ZDA2OWM5OTAiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAxMTQwLCJleHAiOjE2NjEzMDQ3NDB9.PY4OWTIrkR1O26OdOtEQsrssRG_L6RrdZhBPqVNUyz0","type":"text"}],"url":"https://digital-superstore-api-production.up.railway.app/admin/getProduct","urlObject":{"protocol":"https","path":["admin","getProduct"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce5334c1-6036-4487-9e07-eae742dcc936"},{"name":"Update product","id":"f732ed8a-058c-412d-bf63-51cf00cbbaf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1MjNhNGZlZWMzOWQ1ZDA2OWM5OTAiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAxMTQwLCJleHAiOjE2NjEzMDQ3NDB9.PY4OWTIrkR1O26OdOtEQsrssRG_L6RrdZhBPqVNUyz0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"data","value":"{ \"categories\": \"Clothing\"}","type":"text","disabled":true},{"key":"image","type":"file","src":"/C:/Users/HP/OneDrive/Pictures/OOP/Nike shirt.webp"}]},"url":"https://digital-superstore-api-production.up.railway.app/admin/updateProduct?productId=63052c1efbf44f79e4565426","urlObject":{"protocol":"https","path":["admin","updateProduct"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"disabled":true,"key":"","value":null},{"key":"productId","value":"63052c1efbf44f79e4565426"}],"variable":[]}},"response":[],"_postman_id":"f732ed8a-058c-412d-bf63-51cf00cbbaf0"},{"name":"Delete Product","id":"588f4df5-01da-4bee-b6c1-91e1a44de49f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1MjNhNGZlZWMzOWQ1ZDA2OWM5OTAiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAxMTQwLCJleHAiOjE2NjEzMDQ3NDB9.PY4OWTIrkR1O26OdOtEQsrssRG_L6RrdZhBPqVNUyz0","type":"text"}],"url":"https://digital-superstore-api-production.up.railway.app/admin/deleteProduct?productId=6305a48c0b9089abd13f67b7","urlObject":{"protocol":"https","path":["admin","deleteProduct"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"productId","value":"6305a48c0b9089abd13f67b7"}],"variable":[]}},"response":[],"_postman_id":"588f4df5-01da-4bee-b6c1-91e1a44de49f"},{"name":"Get all users monthly statistics","id":"95d61a74-ef58-4173-8462-a4752938c5a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://digital-superstore-api-production.up.railway.app/admin/getAllUserStats","urlObject":{"protocol":"https","path":["admin","getAllUserStats"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"95d61a74-ef58-4173-8462-a4752938c5a8"},{"name":"Get a single user monthly statistics","id":"c20fbcde-7879-40de-8d16-d59452d16535","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"token","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MzA1MjNhNGZlZWMzOWQ1ZDA2OWM5OTAiLCJlbWFpbCI6ImFraW5sb2x1d2FvbHVtdXlpZGVAZ21haWwuY29tIiwiaWF0IjoxNjYxMzAxMTQwLCJleHAiOjE2NjEzMDQ3NDB9.PY4OWTIrkR1O26OdOtEQsrssRG_L6RrdZhBPqVNUyz0","type":"text"}],"url":"https://digital-superstore-api-production.up.railway.app/admin/getUserStats?userId=630563bee4342bd86e07cc8a","urlObject":{"protocol":"https","path":["admin","getUserStats"],"host":["digital-superstore-api-production","up","railway","app"],"query":[{"key":"userId","value":"630563bee4342bd86e07cc8a"}],"variable":[]}},"response":[],"_postman_id":"c20fbcde-7879-40de-8d16-d59452d16535"},{"name":"Create Admin","id":"2fab51c5-b6c2-4aa5-aaf8-840b9677f94f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Akinloluwa Olumuyide\",\r\n    \"email\": \"akinloluwaolumuyide@gmail.com\",\r\n    \"password\": \"ADMIN123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/admin/createAdmin","urlObject":{"protocol":"https","path":["admin","createAdmin"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fab51c5-b6c2-4aa5-aaf8-840b9677f94f"},{"name":"Login admin","id":"41186d82-7cdd-400d-a17f-773ebe98d4b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"akinloluwaolumuyide@gmail.com\",\r\n    \"password\": \"ADMIN123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://digital-superstore-api-production.up.railway.app/admin/loginAdmin","urlObject":{"protocol":"https","path":["admin","loginAdmin"],"host":["digital-superstore-api-production","up","railway","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"41186d82-7cdd-400d-a17f-773ebe98d4b8"}],"id":"c6538be2-fd5f-46be-b67f-91ed39882356","description":"<h4 id=\"admin-folder\">Admin' Folder</h4>\n<h5 id=\"list-of-admins-endpoint\">List of Admin's Endpoint</h5>\n<ul>\n<li>Login</li>\n<li>Get all users</li>\n<li>Create product</li>\n<li>Get all products</li>\n<li>Update product</li>\n<li>Delete Products</li>\n<li>Get all users monthly stats</li>\n<li>Get a single user monthly stats</li>\n<li>Register admin</li>\n</ul>\n","_postman_id":"c6538be2-fd5f-46be-b67f-91ed39882356"}]}