{"info":{"_postman_id":"a27ac668-4d83-46dd-971b-e552ebd68d7a","name":"ECommerce REST API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"30185655","collectionId":"a27ac668-4d83-46dd-971b-e552ebd68d7a","publishedId":"2sB2j1hCNi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-04-27T19:10:11.000Z"},"item":[{"name":"category","item":[{"name":"categoryFromSubcategory","item":[{"name":"getAllSupCategoryForCategoryId","id":"318f45e9-9862-4594-915b-865abfc85a68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/category/67346a4a85fe75c91071f49a/subcategory","urlObject":{"path":["category","67346a4a85fe75c91071f49a","subcategory"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"318f45e9-9862-4594-915b-865abfc85a68"},{"name":"creatSupCategoryForCategoryId (admin)","id":"e20d3570-2df8-4a21-8735-04e682f18029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/category/67346a4a85fe75c91071f49a/subcategory","urlObject":{"path":["category","67346a4a85fe75c91071f49a","subcategory"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e20d3570-2df8-4a21-8735-04e682f18029"}],"id":"7d60aff4-fe4f-4057-844f-03c87ab7d06f","_postman_id":"7d60aff4-fe4f-4057-844f-03c87ab7d06f","description":""},{"name":"addCategory (admin)","id":"332ea56d-152b-40bc-b2e3-bd68873a18c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","type":"text","value":"category 1"},{"key":"image","type":"file","src":"/C:/Users/Ahmed Osama/Desktop/nft-img/1.jpeg"}]},"url":"{{url}}/category","urlObject":{"path":["category"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"332ea56d-152b-40bc-b2e3-bd68873a18c3"},{"name":"getAllCategory","id":"d31fc23f-1754-41f6-bc6b-139df6cbaf10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","type":"text","disabled":true}]},"url":"{{url}}/category","urlObject":{"path":["category"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d31fc23f-1754-41f6-bc6b-139df6cbaf10"},{"name":"getCategoryById","id":"694f8ac2-cde9-4711-9318-2c4e6a6f087e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/category/673e3a07290c81ec1debc768","urlObject":{"path":["category","673e3a07290c81ec1debc768"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"694f8ac2-cde9-4711-9318-2c4e6a6f087e"},{"name":"updateCategory (admin)","id":"95ab1dd2-2af8-4e74-b1f3-4de840914d4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"category 1","type":"text","disabled":true},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/Ahmed Osama/Desktop/nft-img/1.jpeg"],"src":"/C:/Users/Ahmed Osama/Desktop/nft-img/1.jpeg"}]},"url":"{{url}}/category/673f115e5cda0bb3547d820b","urlObject":{"path":["category","673f115e5cda0bb3547d820b"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"95ab1dd2-2af8-4e74-b1f3-4de840914d4f"},{"name":"deleteCategory (admin)","id":"fba6598e-3814-4a63-b87c-2822cfce920b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/category/673f0f8d4e636257c27f29ab","urlObject":{"path":["category","673f0f8d4e636257c27f29ab"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fba6598e-3814-4a63-b87c-2822cfce920b"}],"id":"7ccbc76c-1078-4576-a7ce-05afe6af345c","_postman_id":"7ccbc76c-1078-4576-a7ce-05afe6af345c","description":""},{"name":"subCategory","item":[{"name":"addSubCategory (admin)","id":"3980bd81-e15a-49d7-aaa7-94af526f1f2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"subcategory 2\",\r\n    \"category\":\"673f115e5cda0bb3547d820b\" //6718d575ecdea04b55b6676c\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/subCategory","urlObject":{"path":["subCategory"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3980bd81-e15a-49d7-aaa7-94af526f1f2c"},{"name":"getAllSubCategory","id":"79d66d6d-b875-4d4c-b231-da2f4746b75c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/subCategory","urlObject":{"path":["subCategory"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"79d66d6d-b875-4d4c-b231-da2f4746b75c"},{"name":"getSubCategoryById","id":"299afa88-b5c0-4a7c-8004-6ec53a4c4d17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/subCategory/671cc40e62a62e9d0fcf8b81","urlObject":{"path":["subCategory","671cc40e62a62e9d0fcf8b81"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"299afa88-b5c0-4a7c-8004-6ec53a4c4d17"},{"name":"updateSubCategory (admin)","id":"f1dfcf60-17d2-4b75-bf2b-6bf33a966c7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"String\",\r\n    \"category\":\"ID\" //6718d575ecdea04b55b6676c\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/subCategory/671cc40e62a62e9d0fcf8b81","urlObject":{"path":["subCategory","671cc40e62a62e9d0fcf8b81"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1dfcf60-17d2-4b75-bf2b-6bf33a966c7b"},{"name":"deleteSubCategory (admin)","id":"f25fa3a1-ad86-40a1-a1ac-6f4f24168e38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/subCategory/6734d4f68c784d6929e5bb32","urlObject":{"path":["subCategory","6734d4f68c784d6929e5bb32"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f25fa3a1-ad86-40a1-a1ac-6f4f24168e38"}],"id":"6bae0b3e-8554-4153-8df0-87ef62abedc9","_postman_id":"6bae0b3e-8554-4153-8df0-87ef62abedc9","description":""},{"name":"brand","item":[{"name":"addBrand (admin)","id":"65c75243-7173-4df4-8be2-3e85d3738ab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"brandss1","type":"text"},{"key":"image","type":"file","src":"/C:/Users/Ahmed Osama/Desktop/nft-img/1.jpeg"}]},"url":"{{url}}/brand","urlObject":{"path":["brand"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65c75243-7173-4df4-8be2-3e85d3738ab3"},{"name":"getAllBrands","id":"1168808b-42cf-4b84-bdd1-a8a5673fdd26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/brand","urlObject":{"path":["brand"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"1168808b-42cf-4b84-bdd1-a8a5673fdd26"},{"name":"getBrandById","id":"0241d4df-759f-4536-ad04-6d0a99307173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/brand/6720d063963d194a63fa8533","urlObject":{"path":["brand","6720d063963d194a63fa8533"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0241d4df-759f-4536-ad04-6d0a99307173"},{"name":"updateBrand (admin)","id":"fc2bac2f-05ed-401c-ba33-43c8cc8edf94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"brand2","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/Ahmed Osama/Desktop/nft-img/A kid called BEAaST _ NFT.jpeg"],"src":"/C:/Users/Ahmed Osama/Desktop/nft-img/A kid called BEAaST _ NFT.jpeg"}]},"url":"{{url}}/brand/673f015ec9bae96515b0f8f5","urlObject":{"path":["brand","673f015ec9bae96515b0f8f5"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc2bac2f-05ed-401c-ba33-43c8cc8edf94"},{"name":"deleteBrand (admin)","id":"fd16b62f-28fe-4fc5-b3ff-2cf552b69aad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/brand/673e438bb7b3fcf77d0db71f","urlObject":{"path":["brand","673e438bb7b3fcf77d0db71f"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd16b62f-28fe-4fc5-b3ff-2cf552b69aad"}],"id":"75ff0e5b-5272-4952-8c5b-acb70da9a0cd","_postman_id":"75ff0e5b-5272-4952-8c5b-acb70da9a0cd","description":""},{"name":"product","item":[{"name":"reviewFromProduct","item":[{"name":"getAllReviewsForProductId","id":"ba23c25f-f089-4568-9b22-e3143babc69c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/product/672ccf3391c745a9385405ad/review","urlObject":{"path":["product","672ccf3391c745a9385405ad","review"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba23c25f-f089-4568-9b22-e3143babc69c"},{"name":"getOneReviewsForProductId","id":"928704ac-f79f-46b6-ab5a-5e004a5d5397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/product/672ccf3391c745a9385405ad/review/67337d52b820d373fa5e2941","urlObject":{"path":["product","672ccf3391c745a9385405ad","review","67337d52b820d373fa5e2941"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"928704ac-f79f-46b6-ab5a-5e004a5d5397"},{"name":"creatReviewForProductId (user)","id":"5bfa3324-4262-484d-87c6-3ed12ea9abfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"user2\",\r\n    \"rating\":5,\r\n    \"user\":\"6734c223048d4c04a91b9d56\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/product/672cce5b58bf217430ce88d7/review","urlObject":{"path":["product","672cce5b58bf217430ce88d7","review"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bfa3324-4262-484d-87c6-3ed12ea9abfe"}],"id":"522d84d6-b1c7-452c-b396-776674249391","_postman_id":"522d84d6-b1c7-452c-b396-776674249391","description":""},{"name":"addProduct (admin)","id":"2e2a00ef-4b2b-480b-8870-cf578579f8cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"product 1","type":"text"},{"key":"description","value":"This is a detailed description of the product, at least 20 characters long.","type":"text"},{"key":"quantity","value":"10","type":"text"},{"key":"price","value":"100","type":"text"},{"key":"coverImage","type":"file","src":"/C:/Users/Ahmed Osama/Desktop/nft-img/1.jpeg"},{"key":"category","value":"673f115e5cda0bb3547d820b","type":"text"},{"key":"colors","value":"red","type":"text","disabled":true},{"key":"colors","value":"green","type":"text","disabled":true},{"key":"subCategory","type":"text","value":"673f3332fa841d0d67e7912b"},{"key":"subCategory","type":"text","value":"673f3300fa841d0d67e79123"},{"key":"brand","value":"673f015ec9bae96515b0f8f5","type":"text"}]},"url":"{{url}}/product","urlObject":{"path":["product"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e2a00ef-4b2b-480b-8870-cf578579f8cd"},{"name":"getAllProduct","id":"8a34bfe3-336d-4fe5-a4ba-ec10d1b8f316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/product/","urlObject":{"path":["product",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a34bfe3-336d-4fe5-a4ba-ec10d1b8f316"},{"name":"getProductById","id":"3cab764d-77cc-4255-9b5d-e7d4881b1035","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/product/672cce5b58bf217430ce88d7","urlObject":{"path":["product","672cce5b58bf217430ce88d7"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3cab764d-77cc-4255-9b5d-e7d4881b1035"},{"name":"updateProduct (admin)","id":"0beeade7-630a-4fcf-ad13-6c9869d6342c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"coverImage","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/Ahmed Osama/Desktop/nft-img/𝚜𝚑𝚎𝚒𝚔𝚑.jpeg"],"src":"/C:/Users/Ahmed Osama/Desktop/nft-img/𝚜𝚑𝚎𝚒𝚔𝚑.jpeg","disabled":true},{"key":"images","type":"file","value":null,"disabled":true},{"key":"images","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/Ahmed Osama/Desktop/nft-img/light/16.jpeg"],"src":"/C:/Users/Ahmed Osama/Desktop/nft-img/light/16.jpeg"},{"key":"images","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/Ahmed Osama/Desktop/nft-img/light/7.jpeg"],"src":"/C:/Users/Ahmed Osama/Desktop/nft-img/light/7.jpeg"}]},"url":"{{url}}/product/673e378c290c81ec1debc725","urlObject":{"path":["product","673e378c290c81ec1debc725"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0beeade7-630a-4fcf-ad13-6c9869d6342c"},{"name":"deleteProduct (admin)","id":"7ca1eb3d-88d3-4fdd-8cfe-c1f6ebf9f966","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/product/673f35d76970c4461e883f2a","urlObject":{"path":["product","673f35d76970c4461e883f2a"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ca1eb3d-88d3-4fdd-8cfe-c1f6ebf9f966"}],"id":"09d3a906-673b-4d82-85e3-5f45db84128d","_postman_id":"09d3a906-673b-4d82-85e3-5f45db84128d","description":""},{"name":"reviews","item":[{"name":"addReview","id":"e4bf6f77-e5c6-49ff-9ad0-aab6b8ecf0c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"ahmed\",\r\n    \"rating\":2,\r\n    \"product\":\"673f3660389bd9f0d93d54f1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/review","urlObject":{"path":["review"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4bf6f77-e5c6-49ff-9ad0-aab6b8ecf0c9"},{"name":"getAllReviews","id":"6d0e8106-b9fa-4560-a06c-8aac0c8eb9b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/review","urlObject":{"path":["review"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"6d0e8106-b9fa-4560-a06c-8aac0c8eb9b5"},{"name":"getReviewById","id":"dfbdccda-2303-4aee-ade4-fac816cf225a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/review/6732300e945d80efcc7a4ad2","urlObject":{"path":["review","6732300e945d80efcc7a4ad2"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfbdccda-2303-4aee-ade4-fac816cf225a"},{"name":"updateReview","id":"d6c16583-b9df-4e88-bfbe-1dd3169166ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rating\":4\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/review/673f394ceb562bb95c343af2","urlObject":{"path":["review","673f394ceb562bb95c343af2"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6c16583-b9df-4e88-bfbe-1dd3169166ec"},{"name":"deleteReview","id":"7e55c985-5c74-4a13-95ea-5cd49bec30c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/review/673f37fc9f3d7bf69157f5f3","urlObject":{"path":["review","673f37fc9f3d7bf69157f5f3"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e55c985-5c74-4a13-95ea-5cd49bec30c5"}],"id":"810fd61c-50df-496c-9697-0588281d6f17","_postman_id":"810fd61c-50df-496c-9697-0588281d6f17","description":""},{"name":"coupon","item":[{"name":"addCoupon","id":"c1da63f1-b77b-42c9-8afd-fa9b2d50d3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"coupon2\",\r\n    \"expire\": \"2024-11-22\",\r\n    \"discount\":50\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/coupon","urlObject":{"path":["coupon"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1da63f1-b77b-42c9-8afd-fa9b2d50d3e8"},{"name":"getAllCoupons","id":"6bab2786-2809-40d0-8220-17cf6c3d12fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/coupon","urlObject":{"path":["coupon"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"6bab2786-2809-40d0-8220-17cf6c3d12fd"},{"name":"getCouponById","id":"07e13b11-1087-45d3-8a33-f7240ae7511f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/coupon/673f410680e1c3da23a7110a","urlObject":{"path":["coupon","673f410680e1c3da23a7110a"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"07e13b11-1087-45d3-8a33-f7240ae7511f"},{"name":"updateCoupon","id":"c5f7437f-5ee0-4fe2-ae3c-e5580a1fa58e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"coupon1\",\r\n    \"expire\": \"2024-11-24\",\r\n    \"discount\":70\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/coupon/673f410680e1c3da23a7110a","urlObject":{"path":["coupon","673f410680e1c3da23a7110a"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5f7437f-5ee0-4fe2-ae3c-e5580a1fa58e"},{"name":"deleteCoupon","id":"83dde374-06d5-464d-ad7f-47b067c8e88b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/coupon/673877f7a8bd7883d73154a1","urlObject":{"path":["coupon","673877f7a8bd7883d73154a1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"83dde374-06d5-464d-ad7f-47b067c8e88b"}],"id":"4a98493d-5ef3-416f-adce-26b6438d1d6e","_postman_id":"4a98493d-5ef3-416f-adce-26b6438d1d6e","description":""},{"name":"Auth","item":[{"name":"forgotPassword","item":[{"name":"forgotPassword","id":"238304f5-d94f-44ff-8c87-2ad868ef46c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"gehadsaed199@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/auth/forgotPassword","urlObject":{"path":["auth","forgotPassword"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"238304f5-d94f-44ff-8c87-2ad868ef46c8"},{"name":"verifyRestCode","id":"01baaefc-62f5-4573-b15b-85aa2befbf93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"361277\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/auth/verifyRestCode","urlObject":{"path":["auth","verifyRestCode"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"01baaefc-62f5-4573-b15b-85aa2befbf93"},{"name":"updatePassword","event":[{"listen":"test","script":{"id":"df043962-8538-4305-a5c8-44c3337495f4","exec":["pm.globals.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"5a7cf244-d3e0-499d-beb5-14bd6ae6d2a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"gehadsaed199@gmail.com\",\r\n    \"newPassword\":\"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/auth/updatePassword","urlObject":{"path":["auth","updatePassword"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a7cf244-d3e0-499d-beb5-14bd6ae6d2a5"}],"id":"c2b72cf9-be0d-41ed-b127-1cd7ffe9ee2a","_postman_id":"c2b72cf9-be0d-41ed-b127-1cd7ffe9ee2a","description":""},{"name":"signupUser","event":[{"listen":"test","script":{"id":"e42a9c82-5b6b-4c3e-ba49-b6eb69d2d40a","exec":["pm.globals.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"8adea0de-ec14-4379-aa25-ccd49f81fb3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"name\":\"user\",\r\n\"email\":\"gehadsaed199@gmail.com\",\r\n\"password\":\"123456789\",\r\n\"passwordConfirm\":\"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/auth/signup","urlObject":{"path":["auth","signup"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8adea0de-ec14-4379-aa25-ccd49f81fb3a"},{"name":"loginUser","event":[{"listen":"test","script":{"id":"96c9741c-c89f-493f-b6e0-cf0391787e31","exec":["pm.globals.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"cfafc1f5-16d0-46c1-b609-a28726eb447f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"email\":\"user@gmail.com\",\r\n\"password\":\"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/auth/login","urlObject":{"path":["auth","login"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfafc1f5-16d0-46c1-b609-a28726eb447f"}],"id":"aad6bfc3-21a1-416c-b8e2-032a4bba26f7","_postman_id":"aad6bfc3-21a1-416c-b8e2-032a4bba26f7","description":""},{"name":"order (user)","item":[{"name":"addOrder","id":"7f26cbae-c79e-4b31-bb12-f2c5a3aa3abb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shoppingAddress\":{\r\n        \"details\":\" هلا والله\",\r\n        \"phone\":\"01234567891\",\r\n        \"city\": \"caro\",\r\n        \"postCode\": 123456\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/order/6738b7811812b97523743b43","urlObject":{"path":["order","6738b7811812b97523743b43"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f26cbae-c79e-4b31-bb12-f2c5a3aa3abb"},{"name":"getMyOrder","id":"6f8a3f38-0462-4e50-9f51-23b04085a657","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/order","urlObject":{"path":["order"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"6f8a3f38-0462-4e50-9f51-23b04085a657"},{"name":"getMyOrderById","id":"a5696ed0-a973-4c1e-9237-044471d7cd4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/order/6739d9cf6a3f38f10ed3695d","urlObject":{"path":["order","6739d9cf6a3f38f10ed3695d"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"a5696ed0-a973-4c1e-9237-044471d7cd4a"},{"name":"updatePayState (admin-manager)","id":"34940f83-315d-414e-b9ec-506537cd86f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/order/6739d9cf6a3f38f10ed3695d/pay","urlObject":{"path":["order","6739d9cf6a3f38f10ed3695d","pay"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"34940f83-315d-414e-b9ec-506537cd86f1"},{"name":"updateDeliverState (admin-manager)","id":"e42565fa-034c-4f55-920f-a465c100bf8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/order/6739d9cf6a3f38f10ed3695d/deliver","urlObject":{"path":["order","6739d9cf6a3f38f10ed3695d","deliver"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"e42565fa-034c-4f55-920f-a465c100bf8e"},{"name":"checkout-sesstion","id":"229dabb4-a53f-4962-909d-c90ee6677a5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/order/checkout-session/673a0bbfaf21d0a207b1c9ce","urlObject":{"path":["order","checkout-session","673a0bbfaf21d0a207b1c9ce"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"229dabb4-a53f-4962-909d-c90ee6677a5b"}],"id":"1a14b8c6-99ca-45ed-a66f-2c5204d9c385","_postman_id":"1a14b8c6-99ca-45ed-a66f-2c5204d9c385","description":""},{"name":"Cart (user)","item":[{"name":"addUserCart","id":"28e89cd4-a444-45da-a172-17bf44061a98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"productId\":\"67388989f6cdf90c0e83feba\",\r\n    \"color\": \"black\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/cart","urlObject":{"path":["cart"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28e89cd4-a444-45da-a172-17bf44061a98"},{"name":"getMyCart","id":"e7b809c1-c49c-4e9d-83d2-27af3574cb14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/cart","urlObject":{"path":["cart"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"e7b809c1-c49c-4e9d-83d2-27af3574cb14"},{"name":"updateUserCart","id":"339750e9-57fc-4c88-b57f-0effd956302a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/cart/6738b7811812b97523743b44","urlObject":{"path":["cart","6738b7811812b97523743b44"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"339750e9-57fc-4c88-b57f-0effd956302a"},{"name":"updateCartApplyCoupon","id":"6bee8b9e-286a-45c3-a990-a48ee04e7d67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"coupon\": \"coupon2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/cart/applyCoupon","urlObject":{"path":["cart","applyCoupon"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6bee8b9e-286a-45c3-a990-a48ee04e7d67"},{"name":"deleteCartId","id":"18ff378a-bf92-4799-af54-d98775f5d238","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/cart/67388989f6cdf90c0e83feba","urlObject":{"path":["cart","67388989f6cdf90c0e83feba"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"18ff378a-bf92-4799-af54-d98775f5d238"},{"name":"deleteUserCart","id":"83451226-7e30-420a-a31c-d4ff55ec58f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/cart","urlObject":{"path":["cart"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"83451226-7e30-420a-a31c-d4ff55ec58f5"}],"id":"8b408940-e4f0-49b1-8e41-e06d78432578","_postman_id":"8b408940-e4f0-49b1-8e41-e06d78432578","description":""},{"name":"users (Admin)","item":[{"name":"addUser","id":"b4c404b5-a426-4ad2-96a2-94cb4d3dfc9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"ahmed","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/Ahmed Osama/Desktop/img-size/_Ebda3_Academy.png"],"src":"/C:/Users/Ahmed Osama/Desktop/img-size/_Ebda3_Academy.png"},{"key":"email","value":"ahmed5@gmail.com","type":"text"},{"key":"phone","value":"01234567891","type":"text"},{"key":"password","value":"123456789","type":"text"},{"key":"passwordConfirm","value":"123456789","type":"text"}]},"url":"{{url}}/user","urlObject":{"path":["user"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4c404b5-a426-4ad2-96a2-94cb4d3dfc9c"},{"name":"getAllUsers","id":"d2046847-6249-4412-b027-c918a1a8affd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/user","urlObject":{"path":["user"],"host":["{{url}}"],"query":[{"disabled":true,"key":"sort","value":"-createdAt"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"5"}],"variable":[]}},"response":[],"_postman_id":"d2046847-6249-4412-b027-c918a1a8affd"},{"name":"getUserById","id":"aa107201-6166-4780-b6ba-324a6d9de3e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/user/672f3ed715070b69176d23e3","urlObject":{"path":["user","672f3ed715070b69176d23e3"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa107201-6166-4780-b6ba-324a6d9de3e4"},{"name":"updateUser","id":"1814e1b7-0e2d-4393-a1bb-bc0d2f3e394b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"ahmed","type":"text"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/Ahmed Osama/Desktop/img-size/new/5.jpeg"],"src":"/C:/Users/Ahmed Osama/Desktop/img-size/new/5.jpeg"},{"key":"email","value":"AAA1@gmail.com","type":"text"},{"key":"phone","value":"01234567891","type":"text"}]},"url":"{{url}}/user/672f3ab722ceb46e45269404","urlObject":{"path":["user","672f3ab722ceb46e45269404"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1814e1b7-0e2d-4393-a1bb-bc0d2f3e394b"},{"name":"updateUserPassword","id":"0362d14e-b7b1-4649-83a7-35aacd95f1ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"currentPassword\":\"123456789\",\r\n    \"newPassword\":\"12345678\",\r\n    \"passwordConfirm\":\"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/user/updatePassword/673093d767e310086c3fd582","urlObject":{"path":["user","updatePassword","673093d767e310086c3fd582"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0362d14e-b7b1-4649-83a7-35aacd95f1ba"},{"name":"deleteUser","id":"b067e5d7-a9a6-4c6e-9f7c-be6ffaca22fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/brand/6718ffb2b9a5e644fddfc3c6","urlObject":{"path":["brand","6718ffb2b9a5e644fddfc3c6"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b067e5d7-a9a6-4c6e-9f7c-be6ffaca22fe"}],"id":"b7123b06-0b72-47cb-90d9-350e7fa50136","_postman_id":"b7123b06-0b72-47cb-90d9-350e7fa50136","description":""},{"name":"user (user)","item":[{"name":"updateMyPassword","event":[{"listen":"test","script":{"id":"4c6875c8-5414-4cc1-970d-1733b3699cfb","exec":["pm.globals.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"4b86be66-1979-4055-86cd-1af39040e548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"newPassword\":\"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/user/updateMyPassword","urlObject":{"path":["user","updateMyPassword"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b86be66-1979-4055-86cd-1af39040e548"},{"name":"updateMyData","event":[{"listen":"test","script":{"id":"4c6875c8-5414-4cc1-970d-1733b3699cfb","exec":["pm.globals.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"11a7d368-e419-4881-ba8e-e2ab5260631c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"mohamed\",\r\n    \"email\":\"ahmed5@gmail.com\",\r\n    \"phone\":\"01234567891\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/user/updateMyData","urlObject":{"path":["user","updateMyData"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"11a7d368-e419-4881-ba8e-e2ab5260631c"},{"name":"deleteMy","event":[{"listen":"test","script":{"id":"4c6875c8-5414-4cc1-970d-1733b3699cfb","exec":[""],"type":"text/javascript","packages":{}}}],"id":"f8eaa427-9ba2-4786-8538-967299176382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/user/deleteMy","urlObject":{"path":["user","deleteMy"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8eaa427-9ba2-4786-8538-967299176382"},{"name":"getMy","id":"14d003bd-9450-47a1-ad35-f3fa566cc3cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/user/getMy","urlObject":{"path":["user","getMy"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14d003bd-9450-47a1-ad35-f3fa566cc3cc"}],"id":"a9a7dbed-39c6-4efa-a8c8-23c1e8f4b2c4","_postman_id":"a9a7dbed-39c6-4efa-a8c8-23c1e8f4b2c4","description":""},{"name":"wishlist (user)","item":[{"name":"addWishlist","id":"d8a69f4f-38db-45d2-a13f-ce35bb1397a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"productId\":\"673f3660389bd9f0d93d54f1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/wishlist","urlObject":{"path":["wishlist"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8a69f4f-38db-45d2-a13f-ce35bb1397a1"},{"name":"deleteWishlist","id":"feba8bf5-f259-40ad-baad-e7add816fd7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"ahmed\",\r\n    \"rating\":5,\r\n    \"user\":\"6732430a95314f6fbc6b47ad\",\r\n    \"product\":\"672ccf3391c745a9385405ad\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/wishlist/673f3660389bd9f0d93d54f1","urlObject":{"path":["wishlist","673f3660389bd9f0d93d54f1"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"feba8bf5-f259-40ad-baad-e7add816fd7e"},{"name":"getAllWishlist","id":"49b7cc76-292b-42ad-bb18-fca880a0b990","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"ahmed\",\r\n    \"rating\":5,\r\n    \"user\":\"6732430a95314f6fbc6b47ad\",\r\n    \"product\":\"672ccf3391c745a9385405ad\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/wishlist","urlObject":{"path":["wishlist"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49b7cc76-292b-42ad-bb18-fca880a0b990"}],"id":"f9715cdb-892a-457f-9695-b453ccdeacfc","_postman_id":"f9715cdb-892a-457f-9695-b453ccdeacfc","description":""},{"name":"addresses (user)","item":[{"name":"addAddresses","id":"c84a2942-9f94-4445-a608-deee8fce5876","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n \"alias\":\"string\",\r\n \"details\":\"string\",\r\n \"phone\":\"01234567891\",\r\n \"city\":\"string\",\r\n \"postalCode\":\"0683\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/addresses","urlObject":{"path":["addresses"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c84a2942-9f94-4445-a608-deee8fce5876"},{"name":"deleteAddresses","id":"e2abaff4-b1b5-4cb0-ada8-214daf6d22f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/addresses/6740c434488e3df42a8cf3b8","urlObject":{"path":["addresses","6740c434488e3df42a8cf3b8"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2abaff4-b1b5-4cb0-ada8-214daf6d22f4"},{"name":"updateAddresses","id":"1f87c300-dd8f-43bd-be66-45d2607cd7bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n//  \"alias\":\"string\",\r\n//  \"details\":\"dsf sdf sdf sd f\",\r\n \"phone\":\"01234567895\",\r\n \"city\":\"fsd dfsd dsf\",\r\n \"postalCode\":\"0688\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/addresses/6740c446488e3df42a8cf3c3","urlObject":{"path":["addresses","6740c446488e3df42a8cf3c3"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f87c300-dd8f-43bd-be66-45d2607cd7bf"},{"name":"getAllAddresses","id":"40cede77-14e6-41a8-82d1-4ef23842c0b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/addresses","urlObject":{"path":["addresses"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"40cede77-14e6-41a8-82d1-4ef23842c0b8"}],"id":"8a9ccf3d-6721-4323-beed-bb22c6008c51","_postman_id":"8a9ccf3d-6721-4323-beed-bb22c6008c51","description":""}]}