{"info":{"_postman_id":"6f3bf67e-9b48-46ce-a8b5-5fe598ef8b1c","name":"E-Commerce API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"30055418","collectionId":"6f3bf67e-9b48-46ce-a8b5-5fe598ef8b1c","publishedId":"2sAYBUCBuW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-22T16:17:05.000Z"},"item":[{"name":"Categories","item":[{"name":"Get All Categories","id":"70edebde-e06e-4410-a471-69b4cb256cab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/categories?page=3&limit=10","urlObject":{"path":["v1","categories"],"host":["{{URL}}api"],"query":[{"key":"page","value":"3"},{"key":"limit","value":"10"},{"disabled":true,"key":"keyword","value":"lab"}],"variable":[]}},"response":[],"_postman_id":"70edebde-e06e-4410-a471-69b4cb256cab"},{"name":"Get Category","id":"859924ed-6cf5-4e24-a9df-a8e49c268587","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}}api/v1/categories/673b9dd4926a99c8c466fc3b","urlObject":{"path":["v1","categories","673b9dd4926a99c8c466fc3b"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"859924ed-6cf5-4e24-a9df-a8e49c268587"},{"name":"Create Category","id":"a6825e25-b00c-4919-999d-4f2359056213","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":"Lenovo","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":["/D:/خاص/li/Free  Computer, Blur, Hazy Background Images, Ultra High Tech Equipment Cool Personality Creative Design Photo Background PNG and Vectors.jpeg"],"src":"/D:/خاص/li/Free  Computer, Blur, Hazy Background Images, Ultra High Tech Equipment Cool Personality Creative Design Photo Background PNG and Vectors.jpeg"}]},"url":"{{URL}}api/v1/categories/","urlObject":{"path":["v1","categories",""],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6825e25-b00c-4919-999d-4f2359056213"},{"name":"Update Category","id":"edb6bee1-925d-4173-accb-2b9f4c928c35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Computers011","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":["/D:/خاص/li/Free  Computer, Blur, Hazy Background Images, Ultra High Tech Equipment Cool Personality Creative Design Photo Background PNG and Vectors.jpeg"],"src":"/D:/خاص/li/Free  Computer, Blur, Hazy Background Images, Ultra High Tech Equipment Cool Personality Creative Design Photo Background PNG and Vectors.jpeg","disabled":true}]},"url":"{{URL}}api/v1/categories/673198f266b8c9549acf0c69","urlObject":{"path":["v1","categories","673198f266b8c9549acf0c69"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"edb6bee1-925d-4173-accb-2b9f4c928c35"},{"name":"Delete Category","id":"f851360e-139e-4bb0-86f7-97b74e307fe9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/categories/673198f266b8c9549acf0c69","urlObject":{"path":["v1","categories","673198f266b8c9549acf0c69"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f851360e-139e-4bb0-86f7-97b74e307fe9"}],"id":"a09ae1cc-5a3e-4b6c-9e95-5376b4be3bcb","_postman_id":"a09ae1cc-5a3e-4b6c-9e95-5376b4be3bcb","description":""},{"name":"Sub Categories","item":[{"name":"Get All SubCategories","id":"2310645c-e501-463a-ba82-9006c4591a53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/subcategories?page=1&limit=8&sort=name","urlObject":{"path":["v1","subcategories"],"host":["{{URL}}api"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"8"},{"disabled":true,"key":"keyword","value":"p"},{"key":"sort","value":"name"}],"variable":[]}},"response":[],"_postman_id":"2310645c-e501-463a-ba82-9006c4591a53"},{"name":"Get SubCategory","id":"9fbe7dbd-5c3c-4465-ba5e-42e96de611ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/subcategories/6718e7218852d9c30cd4fa38","urlObject":{"path":["v1","subcategories","6718e7218852d9c30cd4fa38"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fbe7dbd-5c3c-4465-ba5e-42e96de611ee"},{"name":"Create SubCategories","id":"a27079bc-6871-4baf-9332-59d9e0a21b08","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\": \"Mac\",\r\n    \"category\": \"672ce9e74a12c0d54f5f10b4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/subcategories/","urlObject":{"path":["v1","subcategories",""],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a27079bc-6871-4baf-9332-59d9e0a21b08"},{"name":"Update SubCategory","id":"74c3a037-01f0-4e9a-a34e-927669265802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Sony and R\",\r\n    \"category\": \"671732b6981f3cfd65c2e0c1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/subcategories/671909bf86f1525562344745","urlObject":{"path":["v1","subcategories","671909bf86f1525562344745"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"74c3a037-01f0-4e9a-a34e-927669265802"},{"name":"Delete SubCategory","id":"24b6729c-2b3a-48b5-9d90-aa3996c815da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/subcategories/671b5b2bbfb1cd95a217e884","urlObject":{"path":["v1","subcategories","671b5b2bbfb1cd95a217e884"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"24b6729c-2b3a-48b5-9d90-aa3996c815da"}],"id":"48cb01c5-09ec-49dc-be81-5454c6bd68aa","_postman_id":"48cb01c5-09ec-49dc-be81-5454c6bd68aa","description":""},{"name":"Categories/sub","item":[{"name":"Get Subcategories for a Specific Category","id":"3e6ba900-9dcf-44bf-bc5a-02cd342893c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/categories/671732fd981f3cfd65c2e0c8/subcategories","urlObject":{"path":["v1","categories","671732fd981f3cfd65c2e0c8","subcategories"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e6ba900-9dcf-44bf-bc5a-02cd342893c6"},{"name":"Create Subcategory for a Specific Category","id":"7bd4a54a-7061-4353-96ae-830e53b1f947","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\": \"AWS S3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/categories/672a7a4be27caea08b4e2a4a/subcategories","urlObject":{"path":["v1","categories","672a7a4be27caea08b4e2a4a","subcategories"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bd4a54a-7061-4353-96ae-830e53b1f947"}],"id":"d32315e4-e3dc-4e68-a26e-c3ff3e676018","_postman_id":"d32315e4-e3dc-4e68-a26e-c3ff3e676018","description":""},{"name":"Brands","item":[{"name":"Get All Brands","id":"48f0ff81-ea9e-48a5-a9e2-ece7a2633e96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/brands?page=1&sort=name","urlObject":{"path":["v1","brands"],"host":["{{URL}}api"],"query":[{"key":"page","value":"1"},{"disabled":true,"key":"limit","value":"3"},{"key":"sort","value":"name"},{"disabled":true,"key":"keyword","value":"l"}],"variable":[]}},"response":[],"_postman_id":"48f0ff81-ea9e-48a5-a9e2-ece7a2633e96"},{"name":"Get Brand","id":"b3b15310-f959-428b-ab52-9ad2489ceb56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/brands/672a26f666efee2d52b767b0","urlObject":{"path":["v1","brands","672a26f666efee2d52b767b0"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3b15310-f959-428b-ab52-9ad2489ceb56"},{"name":"Create Brand","id":"ea6735dd-a096-475a-a37d-5d49719d743a","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":"ELARABY","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":["/F:/E_commerce/E-Commerce/public/img/products/product-8aabe05e-6312-430f-a16c-1d90e3b0511e-1730390276919-1.jpeg"],"src":"/F:/E_commerce/E-Commerce/public/img/products/product-8aabe05e-6312-430f-a16c-1d90e3b0511e-1730390276919-1.jpeg"}]},"url":"{{URL}}api/v1/brands/","urlObject":{"path":["v1","brands",""],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea6735dd-a096-475a-a37d-5d49719d743a"},{"name":"Update Brand","id":"6a01a734-29e4-4c3c-a4ba-11ba9b9ba9e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"PC2","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":["/D:/خاص/li/images (1).jpeg"],"src":"/D:/خاص/li/images (1).jpeg"}]},"url":"{{URL}}api/v1/brands/672a2d836cd438774bd74a09","urlObject":{"path":["v1","brands","672a2d836cd438774bd74a09"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a01a734-29e4-4c3c-a4ba-11ba9b9ba9e9"},{"name":"Delete Brand","id":"c695c5c8-84b9-478f-866e-f24705f3c9c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/brands/6742c2db31401ad97dbc7ea3","urlObject":{"path":["v1","brands","6742c2db31401ad97dbc7ea3"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c695c5c8-84b9-478f-866e-f24705f3c9c5"}],"id":"705445bd-529e-4ac5-8718-7d506f3ca5f7","_postman_id":"705445bd-529e-4ac5-8718-7d506f3ca5f7","description":""},{"name":"Users (Admin)","item":[{"name":"Get All Users","id":"3af4da3c-0137-40eb-86fa-450d0c0e5a7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users","urlObject":{"path":["v1","users"],"host":["{{URL}}api"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"sort","value":"name"},{"disabled":true,"key":"limit","value":"3"},{"disabled":true,"key":"keyword","value":"l"}],"variable":[]}},"response":[],"_postman_id":"3af4da3c-0137-40eb-86fa-450d0c0e5a7c"},{"name":"Get User","id":"8aa2fead-f1bb-4758-89f8-392ed9109766","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}}api/v1/users/672f2c7be4235e096344b22b","urlObject":{"path":["v1","users","672f2c7be4235e096344b22b"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8aa2fead-f1bb-4758-89f8-392ed9109766"},{"name":"Create User","id":"b913d7b4-01ae-4030-874b-b405a7844ea1","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":"Ahmed","type":"text"},{"key":"email","type":"text","value":"manager@mailsac.com"},{"key":"password","value":"{{password}}","type":"text"},{"key":"passwordConfirm","value":"{{password}}","type":"text"},{"key":"phone","value":"01101010010","type":"text"},{"key":"role","value":"manager","type":"text"}]},"url":"{{URL}}api/v1/users/","urlObject":{"path":["v1","users",""],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b913d7b4-01ae-4030-874b-b405a7844ea1"},{"name":"Update User Data","id":"9d1659e1-dd95-4e5d-93fd-fe7675aec858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Medo","type":"text"},{"key":"email","value":"user@mailsac.com","type":"text"},{"key":"photo","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":["/D:/خاص/1706349742265.jpeg"],"src":"/D:/خاص/1706349742265.jpeg","disabled":true},{"key":"password","value":"pass1234","type":"text"},{"key":"role","value":"admin","type":"text","disabled":true}]},"url":"{{URL}}api/v1/users/6a1f74a54977d8790b012624","urlObject":{"path":["v1","users","6a1f74a54977d8790b012624"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d1659e1-dd95-4e5d-93fd-fe7675aec858"},{"name":"Delete User","id":"5004b422-9490-4693-9110-69be26dd1315","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/672b06806ce7ab77507f14df","urlObject":{"path":["v1","users","672b06806ce7ab77507f14df"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5004b422-9490-4693-9110-69be26dd1315"}],"id":"fe09f0bd-de7f-4aed-bcb2-fd10a1e3495f","_postman_id":"fe09f0bd-de7f-4aed-bcb2-fd10a1e3495f","description":""},{"name":"Products","item":[{"name":"Get All Products","id":"6024a0fc-fb6d-49f9-a448-5c20ca28a45d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/products?sort=price&sort=sold","urlObject":{"path":["v1","products"],"host":["{{URL}}api"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"sort","value":"-sold,price"},{"disabled":true,"key":"fields","value":"title,price,imageCover,ratingsAverage"},{"disabled":true,"key":"keyword","value":"hp"},{"disabled":true,"key":"keyword","value":"inch"},{"disabled":true,"key":"limit","value":"50"},{"key":"sort","value":"price"},{"key":"sort","value":"sold"}],"variable":[]}},"response":[],"_postman_id":"6024a0fc-fb6d-49f9-a448-5c20ca28a45d"},{"name":"Get Product","id":"03a2f283-6d0d-4848-83b7-f5fcadd506ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/products/672cea52dc0f00c1bf309fec","urlObject":{"path":["v1","products","672cea52dc0f00c1bf309fec"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"03a2f283-6d0d-4848-83b7-f5fcadd506ec"},{"name":"Create Product","id":"6a98a6eb-106a-432b-bade-66cd2c5c1ba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"HP 16-inch Computer 1","type":"text"},{"key":"quantity","value":"20","type":"text"},{"key":"sold","value":"50","type":"text"},{"key":"price","value":"2000","type":"text"},{"key":"description","value":"AWS Powerful HP computer with Intel i7 processor, 16GB RAM, and 512GB SSD. Ideal for professionals and creatives.","type":"text"},{"key":"category","value":"672a7a4be27caea08b4e2a4a","type":"text"},{"key":"imageCover","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":["/D:/خاص/li/download (3).jpeg"],"src":["/D:/خاص/li/download (3).jpeg","/C:/Users/el magic/Pictures/Screenshots/Screenshot (5).png","/E:/Frontend(React)/the-wild-oasis/public/logo-dark.png"]},{"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":["/D:/خاص/li/download (1).jpeg"],"src":"/D:/خاص/li/download (1).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":["/D:/خاص/li/download (2).jpeg"],"src":"/D:/خاص/li/download (2).jpeg"},{"key":"ratingsAverage","value":"4.6","type":"text"},{"key":"ratingsQuantity","value":"140","type":"text"},{"key":"subcategories","value":"6a5c106eb179541247057d21","type":"text"},{"key":"subcategories","value":"6a5c0edebd7bc64f8286d681","type":"text"}]},"url":"{{URL}}api/v1/products/","urlObject":{"path":["v1","products",""],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a98a6eb-106a-432b-bade-66cd2c5c1ba7"},{"name":"Update Product","id":"c72692b6-503c-4022-8346-05129719daf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"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":["/D:/خاص/li/Black Minimal Motivation Quote LinkedIn Banner.png"],"src":"/D:/خاص/li/Black Minimal Motivation Quote LinkedIn Banner.png","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":["/D:/خاص/li/Free  Computer, Blur, Hazy Background Images, Ultra High Tech Equipment Cool Personality Creative Design Photo Background PNG and Vectors.jpeg"],"src":"/D:/خاص/li/Free  Computer, Blur, Hazy Background Images, Ultra High Tech Equipment Cool Personality Creative Design Photo Background PNG and Vectors.jpeg","disabled":true},{"key":"sold","value":"50","type":"text","disabled":true},{"key":"imageCover","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":["/D:/خاص/li/download.jpeg"],"src":"/D:/خاص/li/download.jpeg"}]},"url":"{{URL}}api/v1/products/67260d285042d45e9fddfcc7","urlObject":{"path":["v1","products","67260d285042d45e9fddfcc7"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c72692b6-503c-4022-8346-05129719daf7"},{"name":"Delete Product","id":"801a7f2a-f473-4511-840f-fa00ce57d903","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/products/67260cb0c28387ea2a8e1fcf","urlObject":{"path":["v1","products","67260cb0c28387ea2a8e1fcf"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"801a7f2a-f473-4511-840f-fa00ce57d903"}],"id":"4d3102ff-f555-4182-82d7-ccc7fdf12455","_postman_id":"4d3102ff-f555-4182-82d7-ccc7fdf12455","description":""},{"name":"Authentication","item":[{"name":"Sign Up","event":[{"listen":"test","script":{"id":"7bfdf2f9-0d32-4391-9c64-7a36fc7ea8f6","exec":["pm.environment.set(\"JWT\", pm.response.json().token);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"be1d1322-0cdd-4a85-bc42-cc25b9d8331f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Ahmed\",\r\n    \"role\": \"user\",\r\n    \"email\": \"ahmed@mailsac.com\",\r\n    \"password\": \"{{password}}\",\r\n    \"passwordConfirm\": \"{{password}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/auth/signup","urlObject":{"path":["v1","auth","signup"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"be1d1322-0cdd-4a85-bc42-cc25b9d8331f"},{"name":"Login","event":[{"listen":"test","script":{"id":"84285860-0534-4dd1-adcb-56db1f26cf39","exec":["// pm.environment.set(\"JWT\", pm.response.json().token);\r","pm.environment.set(\"JWT\", pm.response.json().accessToken);\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"0f493a57-e1f8-490d-887d-392856bcaa9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"ahmed@mailsac.com\",\r\n    \"password\": \"{{password}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/auth/login","urlObject":{"path":["v1","auth","login"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f493a57-e1f8-490d-887d-392856bcaa9d"},{"name":"Logout","event":[{"listen":"test","script":{"id":"84285860-0534-4dd1-adcb-56db1f26cf39","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c86c19d7-cd39-4053-a746-fd2820862706","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}}api/v1/auth/logout","urlObject":{"path":["v1","auth","logout"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c86c19d7-cd39-4053-a746-fd2820862706"},{"name":"Forgot Password","id":"7fa511cc-ffc2-4e71-a349-76962a34c3f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    // \"email\": \"ma477@gmail.com\"\r\n    \"email\": \"test01@mailsac.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/auth/forgotPassword","urlObject":{"path":["v1","auth","forgotPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fa511cc-ffc2-4e71-a349-76962a34c3f9"},{"name":"Reset Password","event":[{"listen":"test","script":{"id":"ed4a8eb2-2216-47b4-ac58-46c2a4f04cbd","exec":["pm.environment.set(\"JWT\", pm.response.json().data.token);"],"type":"text/javascript","packages":{}}}],"id":"4c0d6ee7-e80b-4d7f-bade-89c88a81b3f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"test123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/auth/resetPassword/988150","urlObject":{"path":["v1","auth","resetPassword","988150"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c0d6ee7-e80b-4d7f-bade-89c88a81b3f7"},{"name":"Refresh Token","event":[{"listen":"test","script":{"id":"3e1c40cd-2a74-4cea-8230-d9956dc8684f","exec":["pm.environment.set(\"JWT\", pm.response.json().data.accessToken);\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"3eefda35-8330-4caf-9019-92eb573660bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{URL}}api/v1/auth/refresh","urlObject":{"path":["v1","auth","refresh"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3eefda35-8330-4caf-9019-92eb573660bd"}],"id":"0d756080-38d7-409a-aa8d-91ec7ef5025f","_postman_id":"0d756080-38d7-409a-aa8d-91ec7ef5025f","description":""},{"name":"Users","item":[{"name":"Get Current User Data","id":"c96c243a-d5e1-43d3-844d-0eb700fdf543","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}}api/v1/users/getMe","urlObject":{"path":["v1","users","getMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c96c243a-d5e1-43d3-844d-0eb700fdf543"},{"name":"Update Current User Data","id":"250e8e6e-2601-4552-b623-4b5895fbcbc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"user","type":"text"},{"key":"photo","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":["/D:/خاص/li/OIP.jpeg"],"src":"/D:/خاص/li/OIP.jpeg"}]},"url":"{{URL}}api/v1/users/updateMe","urlObject":{"path":["v1","users","updateMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"250e8e6e-2601-4552-b623-4b5895fbcbc1"},{"name":"Update Current User Password","event":[{"listen":"test","script":{"id":"cc4e4224-ae98-4e6f-a123-5d1a9bfc1b0d","exec":["pm.environment.set(\"JWT\", pm.response.json().token);"],"type":"text/javascript","packages":{}}}],"id":"0639610d-cfb9-4054-ad05-c1aff4ff71ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"currentPassword\":\"test1234567\",\r\n    \"password\": \"test123456\",\r\n    \"passwordConfirm\": \"test123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/updateMyPassword","urlObject":{"path":["v1","users","updateMyPassword"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0639610d-cfb9-4054-ad05-c1aff4ff71ba"},{"name":"Delete Current User","id":"89115e39-a589-4271-ab93-9877b3cd232c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/deleteMe","urlObject":{"path":["v1","users","deleteMe"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"89115e39-a589-4271-ab93-9877b3cd232c"}],"id":"2fca7f72-34aa-4d67-aa04-f15dfa5f540e","_postman_id":"2fca7f72-34aa-4d67-aa04-f15dfa5f540e","description":""},{"name":"Reviews","item":[{"name":"Get All Reviews","id":"b776d83d-080a-4c9a-a2bd-ce1098ccd4cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}api/v1/reviews","urlObject":{"path":["v1","reviews"],"host":["{{URL}}api"],"query":[{"disabled":true,"key":"limit","value":"3"},{"disabled":true,"key":"keyword","value":"l"}],"variable":[]}},"response":[],"_postman_id":"b776d83d-080a-4c9a-a2bd-ce1098ccd4cd"},{"name":"Get Review","id":"8029545d-d533-4ffb-ad80-a25632862354","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews/6a5c19cc9fa8c30aae51470f","urlObject":{"path":["v1","reviews","6a5c19cc9fa8c30aae51470f"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8029545d-d533-4ffb-ad80-a25632862354"},{"name":"Create Review","id":"ee0b36d5-9efd-43d8-aaf8-b46385b3cd5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"review\": \"very bad\",\r\n    \"rating\": \"3\",\r\n    \"user\": \"6a5be6f529f2d4dd2cb9c6bd\",\r\n    // \"product\": \"672a1ff11aa5db1ed0e0969d\"\r\n    \"product\": \"6a5c11aab179541247057d2e\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews","urlObject":{"path":["v1","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee0b36d5-9efd-43d8-aaf8-b46385b3cd5f"},{"name":"Update Review","id":"60184d81-bc6e-4127-9db6-fd73a2c1f8bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"review\": \"good\",\r\n    \"rating\": \"4.5\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/reviews/6738dacabeaa6f680941deee","urlObject":{"path":["v1","reviews","6738dacabeaa6f680941deee"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"60184d81-bc6e-4127-9db6-fd73a2c1f8bd"},{"name":"Delete Review","id":"9d7ab8a2-7978-4a84-af4e-4bc6588a4cd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/reviews/6738d996481f3a7dbedcddf1","urlObject":{"path":["v1","reviews","6738d996481f3a7dbedcddf1"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d7ab8a2-7978-4a84-af4e-4bc6588a4cd0"}],"id":"5a2fa4b8-9243-4bb0-9258-60a277528ef3","_postman_id":"5a2fa4b8-9243-4bb0-9258-60a277528ef3","description":""},{"name":"Products/reviews","item":[{"name":"Get Reviews for a Specific Product","id":"205646de-b435-46a5-bc6b-89dba1cdb8e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/products/672a1ff11aa5db1ed0e09682/reviews","urlObject":{"path":["v1","products","672a1ff11aa5db1ed0e09682","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"205646de-b435-46a5-bc6b-89dba1cdb8e1"},{"name":"Create Review for a Specific Product","id":"d641a4a0-01b3-4bd1-9961-6a03fad0fab1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"review\": \"bad\",\r\n    \"rating\": \"2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/products/672a1ff11aa5db1ed0e09682/reviews","urlObject":{"path":["v1","products","672a1ff11aa5db1ed0e09682","reviews"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d641a4a0-01b3-4bd1-9961-6a03fad0fab1"},{"name":"Get Specific Review for a Specific Product","id":"b2b19a36-0551-49b5-bee9-67c0a885f979","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/products/672a1ff11aa5db1ed0e09682/reviews/673887ca32fd2ffed5a6e6fa","urlObject":{"path":["v1","products","672a1ff11aa5db1ed0e09682","reviews","673887ca32fd2ffed5a6e6fa"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2b19a36-0551-49b5-bee9-67c0a885f979"}],"id":"18958cb8-52e7-4f06-92e9-869620271448","_postman_id":"18958cb8-52e7-4f06-92e9-869620271448","description":""},{"name":"Favorites","item":[{"name":"Get User Favorites","id":"3921e80f-19a9-4e01-913a-266ddcedc156","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}}api/v1/favorites","urlObject":{"path":["v1","favorites"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3921e80f-19a9-4e01-913a-266ddcedc156"},{"name":"Add Product to Favorites","id":"36d661e1-111d-4913-8036-694eac8b8de8","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\": \"672cea53dc0f00c1bf30a106\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/favorites","urlObject":{"path":["v1","favorites"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"36d661e1-111d-4913-8036-694eac8b8de8"},{"name":"Remove Product from Favorites","id":"c93359bd-f2a9-4418-b544-8ecbad6a86e7","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}}api/v1/favorites/672a1ff11aa5db1ed0e09682","urlObject":{"path":["v1","favorites","672a1ff11aa5db1ed0e09682"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c93359bd-f2a9-4418-b544-8ecbad6a86e7"}],"id":"b8e0bcd8-af78-430d-8dcc-bfe777ffd33d","_postman_id":"b8e0bcd8-af78-430d-8dcc-bfe777ffd33d","description":""},{"name":"Addresses","item":[{"name":"Get User Addresses","id":"59f762c1-810c-4184-9ac4-ad70bff636c2","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}}api/v1/addresses","urlObject":{"path":["v1","addresses"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"59f762c1-810c-4184-9ac4-ad70bff636c2"},{"name":"Add User Address","id":"4529cd9c-6a62-4604-98da-6054cc99b432","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\": \"Work\",\r\n    \"details\": \"Mit Ghamr\",\r\n    \"phone\": \"01101010010\",\r\n    \"city\": \"Mansoura\",\r\n    \"postalCode\": \"25650\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/addresses","urlObject":{"path":["v1","addresses"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4529cd9c-6a62-4604-98da-6054cc99b432"},{"name":"Remove User Address","id":"377483c0-4f14-4ec5-ba5b-4fea2d902d75","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}}api/v1/addresses/6739769525b06a7452440f54","urlObject":{"path":["v1","addresses","6739769525b06a7452440f54"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"377483c0-4f14-4ec5-ba5b-4fea2d902d75"}],"id":"3837f6b7-b22b-4edc-8b7e-aa7ae9fc5133","_postman_id":"3837f6b7-b22b-4edc-8b7e-aa7ae9fc5133","description":""},{"name":"Coupons","item":[{"name":"Get All Coupons","id":"cf5f315b-a0f5-41ab-aaf4-29112c86416e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/coupons","urlObject":{"path":["v1","coupons"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf5f315b-a0f5-41ab-aaf4-29112c86416e"},{"name":"Get Coupon","id":"95b281b5-be0f-495e-9a22-7975f0b8c0da","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}}api/v1/coupons/673994edc4faa5b78d368be9","urlObject":{"path":["v1","coupons","673994edc4faa5b78d368be9"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"95b281b5-be0f-495e-9a22-7975f0b8c0da"},{"name":"Create Coupon","id":"ea7b5906-c6ab-4ec6-8276-f9087bb1abe5","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\": \"Dec_2024\",\r\n    \"expire\": \"12/31/2024\",\r\n    \"discount\": 30\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/coupons","urlObject":{"path":["v1","coupons"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea7b5906-c6ab-4ec6-8276-f9087bb1abe5"},{"name":"Update Coupon","id":"3e9ea7a1-42b9-45f5-9e04-c2ed7fa89288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"discount\": 30\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/coupons/673994edc4faa5b78d368be9","urlObject":{"path":["v1","coupons","673994edc4faa5b78d368be9"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e9ea7a1-42b9-45f5-9e04-c2ed7fa89288"},{"name":"Delete Coupon","id":"ef0ab2bc-cb04-42a2-9102-180ba25d9669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/coupons/673994c3c4faa5b78d368be1","urlObject":{"path":["v1","coupons","673994c3c4faa5b78d368be1"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef0ab2bc-cb04-42a2-9102-180ba25d9669"}],"id":"dee84c4b-fcc8-4767-acd9-83ba7ef6bf59","_postman_id":"dee84c4b-fcc8-4767-acd9-83ba7ef6bf59","description":""},{"name":"Cart","item":[{"name":"Add Product to Cart (Bug quantity need to fix)","id":"c1b28887-1cb1-4dfd-9ccc-88bd78db0f04","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\": \"6a5c11aab179541247057d2e\",\r\n    \"color\": \"black\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/cart","urlObject":{"path":["v1","cart"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1b28887-1cb1-4dfd-9ccc-88bd78db0f04"},{"name":"Get User Cart","id":"6780ef32-037b-4251-b89d-95a5bfac2e24","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}}api/v1/cart","urlObject":{"path":["v1","cart"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6780ef32-037b-4251-b89d-95a5bfac2e24"},{"name":"Update Cart Item Quantity","id":"ec43363b-4c41-420d-8410-94b7dfb7f9be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": \"3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/cart/6739ecd1a91786f07383d307","urlObject":{"path":["v1","cart","6739ecd1a91786f07383d307"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec43363b-4c41-420d-8410-94b7dfb7f9be"},{"name":"Apply Coupon","id":"0465512a-4902-4444-a4a1-0a23e0002a32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"coupon\": \"Year_2024\"\r\n    // \"coupon\": \"Dec_2024\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/cart/applyCoupon","urlObject":{"path":["v1","cart","applyCoupon"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0465512a-4902-4444-a4a1-0a23e0002a32"},{"name":"Remove Item from Cart","id":"ab25fd9e-5c44-4950-a081-065a7ab7c651","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}}api/v1/cart/6739eca7a91786f07383d2fc","urlObject":{"path":["v1","cart","6739eca7a91786f07383d2fc"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab25fd9e-5c44-4950-a081-065a7ab7c651"},{"name":"Clear User Cart","id":"e82fc97a-1c32-4ab3-8f6f-f0ee30098e5c","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}}api/v1/cart","urlObject":{"path":["v1","cart"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e82fc97a-1c32-4ab3-8f6f-f0ee30098e5c"}],"id":"2dc7e044-a8b8-4b23-b4f8-e0b76cabdb98","_postman_id":"2dc7e044-a8b8-4b23-b4f8-e0b76cabdb98","description":""},{"name":"Orders","item":[{"name":"Create Cash Order","id":"cd67cd3c-ad47-49c0-986b-67e107fbca3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shippingAddress\": {\r\n        \"details\": \"address\",\r\n        \"phone\": \"01101010010\",\r\n        \"city\": \"Mansoura\",\r\n        \"postalCode\": \"56420\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/orders","urlObject":{"path":["v1","orders"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd67cd3c-ad47-49c0-986b-67e107fbca3c"},{"name":"Get All Orders","id":"72edfeef-30ec-40b3-b48f-16c47cc82ad7","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}}api/v1/orders","urlObject":{"path":["v1","orders"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"72edfeef-30ec-40b3-b48f-16c47cc82ad7"},{"name":"Get Order","id":"fd35141c-b512-4880-980d-67b90340834d","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}}api/v1/orders/6a5cc719dea4509b5a55af94","urlObject":{"path":["v1","orders","6a5cc719dea4509b5a55af94"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd35141c-b512-4880-980d-67b90340834d"},{"name":"Update Order Status to Paid","id":"b7d8cd68-3e30-4a79-943c-62369b0c74b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/orders/673adba937067ec441d45f51/pay","urlObject":{"path":["v1","orders","673adba937067ec441d45f51","pay"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7d8cd68-3e30-4a79-943c-62369b0c74b7"},{"name":"Update Order Status to Delivered","id":"a74925ce-e089-49f5-9124-092fa3cc8f9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/orders/673adba937067ec441d45f51/Deliver","urlObject":{"path":["v1","orders","673adba937067ec441d45f51","Deliver"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a74925ce-e089-49f5-9124-092fa3cc8f9b"},{"name":"Get Checkout Session","id":"575f2490-6e41-4c2b-9068-44509adc53d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"shippingAddress\": {\r\n        \"details\": \"address\",\r\n        \"phone\": \"01101010010\",\r\n        \"city\": \"Mansoura\",\r\n        \"postalCode\": \"56420\",\r\n        \"coordinates\": { \"lat\": 31.05, \"lng\": 31.38 }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/orders/checkout-session/6a1f74a54977d8790b012624","urlObject":{"path":["v1","orders","checkout-session","6a1f74a54977d8790b012624"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"575f2490-6e41-4c2b-9068-44509adc53d9"}],"id":"97414c33-dfbd-4be3-8519-a161b5be53b5","_postman_id":"97414c33-dfbd-4be3-8519-a161b5be53b5","description":""}]}