{"info":{"_postman_id":"e2e99895-49e9-4a18-901f-6bcf2c8b67b6","name":"Ecommerce Back-End by Nest.JS","description":"<html><head></head><body><h2 id=\"back-end-project-for-the-application-of-selling-products-online\">Back-End project for the application of selling products online</h2>\n<p>-----------------------------------------------------------------<br>Application features:</p>\n<ul>\n<li><p>Account for each user, whether an administrator or a regular person.</p>\n</li>\n<li><p>Category can be added.</p>\n</li>\n<li><p>Products can be added.</p>\n</li>\n<li><p>Brand can be added.</p>\n</li>\n<li><p>Sub Categoty can be added.</p>\n</li>\n<li><p>Review can be added on any product.</p>\n</li>\n<li><p>Favorites can be added.</p>\n</li>\n<li><p>You can add a user address and an order address.</p>\n</li>\n<li><p>Product basket.</p>\n</li>\n<li><p>The possibility of adding taxes.</p>\n</li>\n<li><p>Make a checkout, whether by Cash or by Card.</p>\n</li>\n<li><p>Pay by Visa.</p>\n</li>\n</ul>\n<p>---------------------------------------</p>\n<p><strong>Techniques used:</strong></p>\n<ul>\n<li><p>Node.js</p>\n</li>\n<li><p>Express</p>\n</li>\n<li><p>MongoDB</p>\n</li>\n<li><p>Mongoose</p>\n</li>\n<li><p>JWT</p>\n</li>\n<li><p>bcrypt</p>\n</li>\n<li><p>ENVs</p>\n</li>\n<li><p>Multer</p>\n</li>\n<li><p>Sharp</p>\n</li>\n<li><p>Slugify</p>\n</li>\n<li><p>Stripe</p>\n</li>\n<li><p>Cors</p>\n</li>\n<li><p>Nest.JS-validator</p>\n</li>\n<li><p>nodemailer</p>\n</li>\n</ul>\n<p>---------------------------------------</p>\n<p><strong>Security:</strong></p>\n<ul>\n<li><p>compression.</p>\n</li>\n<li><p>express-mongo-sanitize.</p>\n</li>\n<li><p>express-rate-limit for sen Reqs.</p>\n</li>\n<li><p>express-validator.</p>\n</li>\n<li><p>hpp.</p>\n</li>\n<li><p>limit size req.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23028124","collectionId":"e2e99895-49e9-4a18-901f-6bcf2c8b67b6","publishedId":"2sB2qgdxmt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-05-31T11:56:05.000Z"},"item":[{"name":"user for admins","item":[{"name":"Errors","item":[{"name":"Error Get","id":"a9af079e-a1d4-42ba-a907-97e05af6c9fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{serverNodejs}}/api/v1/category/64bf8a6a5e17072f6d","urlObject":{"path":["api","v1","category","64bf8a6a5e17072f6d"],"host":["{{serverNodejs}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9af079e-a1d4-42ba-a907-97e05af6c9fb"},{"name":"Error POST","id":"7057a68c-a27f-42dd-8191-18f90a87b5ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Mahmoud\",\r\n    \"email\":\"mahmoud@gmail.com\",\r\n    \"password\":\"123\",\r\n    \"role\":\"user\",\r\n    \"avatar\":\"https://raw.githubusercontent.com/MahmoudAbdullahAnani/New-Portfolio/refs/heads/main/public/Home-Avtar-removebg-preview.png\",\r\n    \"age\":44,\r\n    \"phoneNumber\":\"+201028876202\",\r\n    \"address\":\"Cairo\",\r\n    \"active\":true,\r\n    \"gender\":\"male\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/user","urlObject":{"path":["user"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7057a68c-a27f-42dd-8191-18f90a87b5ba"}],"id":"9932f900-efe6-4208-9283-32b3053c4fac","_postman_id":"9932f900-efe6-4208-9283-32b3053c4fac","description":""},{"name":"Post User","id":"f50d4a39-7fcb-4f7f-840e-aa53e4a2a166","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[{"key":"x-lang","value":"ar","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": 454,\r\n    \"email\": \"ali@gmail.com\",\r\n    \"password\": \"123\",\r\n    \"role\":\"user\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/user","urlObject":{"path":["api","v1","user"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f50d4a39-7fcb-4f7f-840e-aa53e4a2a166"},{"name":"Get All users","id":"ce80cfef-675a-4688-8c50-d6b4364996c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-lang","value":"ar","type":"text"}],"url":"{{server}}/api/v1/user","urlObject":{"path":["api","v1","user"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce80cfef-675a-4688-8c50-d6b4364996c0"},{"name":"Get User by id","id":"967e1a7a-0ec8-4c26-ac85-ab64a59293fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[{"key":"x-lang","value":"en","type":"text"}],"url":"{{server}}/api/v1/user/674b1433891398fe1f2e3504","urlObject":{"path":["api","v1","user","674b1433891398fe1f2e3504"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"967e1a7a-0ec8-4c26-ac85-ab64a59293fc"},{"name":"Update User by id","id":"4ed2a060-dab1-49cf-a723-36f4cbeb92b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"active\":false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/user/674b1f34782ab1ad2a551a2a","urlObject":{"path":["api","v1","user","674b1f34782ab1ad2a551a2a"],"host":["{{server}}"],"query":[{"disabled":true,"key":"userImg","value":null}],"variable":[]}},"response":[],"_postman_id":"4ed2a060-dab1-49cf-a723-36f4cbeb92b9"},{"name":"Delete User by id","id":"a155be93-8bbb-4d9a-8ed8-e1f0e4e0e45e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/user/674b1f34782ab1ad2a551a2a","urlObject":{"path":["api","v1","user","674b1f34782ab1ad2a551a2a"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a155be93-8bbb-4d9a-8ed8-e1f0e4e0e45e"}],"id":"bfa9cecf-b8b0-47ef-95e5-f216ad784d75","description":"<p>can using this routes by any admins</p>\n<p>payload=&gt; \"role\":\"admin\"</p>\n","_postman_id":"bfa9cecf-b8b0-47ef-95e5-f216ad784d75"},{"name":"User Me","item":[{"name":"Get Data Me","id":"23ab96c1-8eb0-4e04-8bf1-1d846361d388","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/userMe","urlObject":{"path":["api","v1","userMe"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"23ab96c1-8eb0-4e04-8bf1-1d846361d388"},{"name":"User Can Update Data","id":"d213b34a-a3e1-411a-80f1-a5377430e2f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phoneNumber\":\"+7851028876202\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/userMe","urlObject":{"path":["api","v1","userMe"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d213b34a-a3e1-411a-80f1-a5377430e2f5"},{"name":"User Can unActive Account","id":"3d80c373-b08c-48ae-bbdd-5b69e73357e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/userMe","urlObject":{"path":["api","v1","userMe"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d80c373-b08c-48ae-bbdd-5b69e73357e0"}],"id":"4da6cc52-00b0-432a-9620-5ce4aa6c6e48","description":"<p>Any User can get, update and delete your data.</p>\n","_postman_id":"4da6cc52-00b0-432a-9620-5ce4aa6c6e48"},{"name":"OAuth user","item":[{"name":"Sing Up by google","event":[{"listen":"test","script":{"id":"038aa5ad-d4f9-4e2e-a8f7-7e3d39363a69","exec":["pm.environment.set(\"JWT\", pm.response.json().access_token)"],"type":"text/javascript","packages":{}}}],"id":"ea01e17d-dee6-4805-b8e4-b658500edff1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/auth/google/sign","urlObject":{"path":["api","v1","auth","google","sign"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea01e17d-dee6-4805-b8e4-b658500edff1"}],"id":"3e77d98b-4abd-47c4-a5e1-4a84ec7c1b25","_postman_id":"3e77d98b-4abd-47c4-a5e1-4a84ec7c1b25","description":""},{"name":"Auth User","item":[{"name":"Sing Up","event":[{"listen":"test","script":{"id":"038aa5ad-d4f9-4e2e-a8f7-7e3d39363a69","exec":["pm.environment.set(\"JWT\", pm.response.json().access_token)"],"type":"text/javascript","packages":{}}}],"id":"ed30f09b-3233-4ceb-a407-c42a53b32ad7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"kmahmoudalaa\",\r\n    \"email\":\"kmahmoudalaa@gmail.com\",\r\n    \"password\":\"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/auth/sign-up","urlObject":{"path":["api","v1","auth","sign-up"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed30f09b-3233-4ceb-a407-c42a53b32ad7"},{"name":"Sing In","event":[{"listen":"test","script":{"id":"038aa5ad-d4f9-4e2e-a8f7-7e3d39363a69","exec":["pm.environment.set(\"JWT\", pm.response.json().access_token)\r","pm.environment.set(\"refresh_token\", pm.response.json().refresh_token)"],"type":"text/javascript","packages":{}}}],"id":"273b154b-f8a3-479c-a9a6-fc263a389549","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"t28863436@gmail.com\",\r\n    \"password\":\"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/auth/sign-in","urlObject":{"path":["api","v1","auth","sign-in"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"273b154b-f8a3-479c-a9a6-fc263a389549"},{"name":"Reset Password","event":[{"listen":"test","script":{"id":"038aa5ad-d4f9-4e2e-a8f7-7e3d39363a69","exec":["pm.environment.set(\"JWT\", pm.response.json().access_token)"],"type":"text/javascript","packages":{}}}],"id":"c25d6d45-9072-45f3-b99a-59baa9202d7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"t28863436@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/auth/reset-password","urlObject":{"path":["api","v1","auth","reset-password"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c25d6d45-9072-45f3-b99a-59baa9202d7e"},{"name":"virify code","event":[{"listen":"test","script":{"id":"038aa5ad-d4f9-4e2e-a8f7-7e3d39363a69","exec":["pm.environment.set(\"JWT\", pm.response.json().access_token)"],"type":"text/javascript","packages":{}}}],"id":"238bd517-ee9b-4aff-8474-51db87aa8dd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n \r\n    \"email\":\"t28863436@gmail.com\",\r\n    \"code\":\"960992\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/auth/virify-code","urlObject":{"path":["api","v1","auth","virify-code"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"238bd517-ee9b-4aff-8474-51db87aa8dd7"},{"name":"change password","event":[{"listen":"test","script":{"id":"038aa5ad-d4f9-4e2e-a8f7-7e3d39363a69","exec":["pm.environment.set(\"JWT\", pm.response.json().access_token)"],"type":"text/javascript","packages":{}}}],"id":"c56f7aa7-0ce3-485a-a477-a73c27875bce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n \r\n    \"email\":\"t28863436@gmail.com\",\r\n    \"password\":\"123456\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/auth/change-password","urlObject":{"path":["api","v1","auth","change-password"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c56f7aa7-0ce3-485a-a477-a73c27875bce"},{"name":"Refresh Token","event":[{"listen":"test","script":{"id":"9f893994-f774-4a56-8122-af479fe78a90","exec":["pm.environment.set(\"JWT\", pm.response.json().access_token)\r","pm.environment.set(\"refresh_token\", pm.response.json().refresh_token)"],"type":"text/javascript","packages":{}}}],"id":"f984425c-bdbc-46d3-bed6-07fa8ff05003","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{server}}/api/v1/auth/refresh-token/{{refresh_token}}","urlObject":{"path":["api","v1","auth","refresh-token","{{refresh_token}}"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f984425c-bdbc-46d3-bed6-07fa8ff05003"}],"id":"2c2da1b2-ed47-4740-b054-c7cb79fd8127","description":"<p>Can Any User Sign Up and any Acount can sign in and reset password.</p>\n","_postman_id":"2c2da1b2-ed47-4740-b054-c7cb79fd8127"},{"name":"Category","item":[{"name":"Get Categories","id":"e2c1cd1a-933d-4f38-8b12-596cd8d3b40d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/category","urlObject":{"path":["api","v1","category"],"host":["{{server}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"e2c1cd1a-933d-4f38-8b12-596cd8d3b40d"},{"name":"Get One Category","id":"0b81f82a-a078-4f94-9fe5-d48e825859ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/category/674fe87fdd2be2d86c1ea31c","urlObject":{"path":["api","v1","category","674fe87fdd2be2d86c1ea31c"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b81f82a-a078-4f94-9fe5-d48e825859ab"},{"name":"Create Category","id":"6b7bb26e-aa01-4dbd-be7a-c68a73805af6","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\":\"ملابس\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/category","urlObject":{"path":["api","v1","category"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b7bb26e-aa01-4dbd-be7a-c68a73805af6"},{"name":"Update Category","id":"d91fbf83-f0e9-4f97-8e2a-21a78d3187b0","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\":\"الكرونيات\",\r\n    \"image\":\"https://static.labeb.com/test/images/categoryfirst/1/03puqpimw45-w1920.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/category/674fe87fdd2be2d86c1ea31c","urlObject":{"path":["api","v1","category","674fe87fdd2be2d86c1ea31c"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d91fbf83-f0e9-4f97-8e2a-21a78d3187b0"},{"name":"Delete Category","id":"6277dc8b-d25e-4c6d-8453-15b7bf532c14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/category/674fe87fdd2be2d86c1ea31c","urlObject":{"path":["api","v1","category","674fe87fdd2be2d86c1ea31c"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6277dc8b-d25e-4c6d-8453-15b7bf532c14"}],"id":"9dbd219d-d399-4c14-b24e-979849ca60ef","_postman_id":"9dbd219d-d399-4c14-b24e-979849ca60ef","description":""},{"name":"Sub Category","item":[{"name":"Get Categories","id":"f004901b-c917-4dc3-9e23-8ba4e215e7ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/sub-category","urlObject":{"path":["api","v1","sub-category"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f004901b-c917-4dc3-9e23-8ba4e215e7ac"},{"name":"Get One Category","id":"7a73f4b9-78dd-4186-a1d1-a4beba999165","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/sub-category/674ffc0aec560bf407997a61","urlObject":{"path":["api","v1","sub-category","674ffc0aec560bf407997a61"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a73f4b9-78dd-4186-a1d1-a4beba999165"},{"name":"Create Sub Category","id":"8c77768b-aa0c-4631-8fa6-cc0fe377fe61","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\":\"تيشرتات بيتي\",\r\n    \"category\":\"674ffa47ac388d4892188f32\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/sub-category","urlObject":{"path":["api","v1","sub-category"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c77768b-aa0c-4631-8fa6-cc0fe377fe61"},{"name":"Update Category","id":"d7c88c41-fe66-4191-8e70-66b07e8e680e","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\":\"Sports - تيشرتات رياضية\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/sub-category/674ffc0aec560bf407997a61","urlObject":{"path":["api","v1","sub-category","674ffc0aec560bf407997a61"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7c88c41-fe66-4191-8e70-66b07e8e680e"},{"name":"Delete Category","id":"661e27db-5d41-4ac5-8209-7ce54b32a6e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/sub-category/674ffb1cec560bf407997a58","urlObject":{"path":["api","v1","sub-category","674ffb1cec560bf407997a58"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"661e27db-5d41-4ac5-8209-7ce54b32a6e9"}],"id":"37e8e292-e594-4b48-bbd0-eb9690ef795b","_postman_id":"37e8e292-e594-4b48-bbd0-eb9690ef795b","description":""},{"name":"Brand","item":[{"name":"Get All Brands","id":"cb1dda56-9074-4916-84a8-ca9b2a3391b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/brand","urlObject":{"path":["api","v1","brand"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb1dda56-9074-4916-84a8-ca9b2a3391b2"},{"name":"Get One Brand","id":"b2e974da-7a14-493f-aa2f-fc4f7e06e71a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/brand/67543ab9de34f39fe4098c6a","urlObject":{"path":["api","v1","brand","67543ab9de34f39fe4098c6a"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2e974da-7a14-493f-aa2f-fc4f7e06e71a"},{"name":"Create Brand","id":"10e65107-be2d-43ea-8b03-0f4cad57dca2","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\":\"Apple\",\r\n    \"image\":\"https://a.nooncdn.com/cms/pages/20240813/b905e70fd4c0ccc9eb9832a516af4cb8/01%20Brands/electronics/ar_dk_eg-logo-01.png\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/brand","urlObject":{"path":["api","v1","brand"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"10e65107-be2d-43ea-8b03-0f4cad57dca2"},{"name":"Update Category","id":"89d3f610-9f23-4d4e-8d17-3636a594fad9","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\":\"التفاحة\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/brand/67543ab9de34f39fe4098c6a","urlObject":{"path":["api","v1","brand","67543ab9de34f39fe4098c6a"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89d3f610-9f23-4d4e-8d17-3636a594fad9"},{"name":"Delete Category","id":"96348db4-f800-4078-83a2-e494dfc4269e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/brand/67543ab9de34f39fe4098c6a","urlObject":{"path":["api","v1","brand","67543ab9de34f39fe4098c6a"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"96348db4-f800-4078-83a2-e494dfc4269e"}],"id":"62d1cb36-2d52-490d-b634-842bce511c0a","_postman_id":"62d1cb36-2d52-490d-b634-842bce511c0a","description":""},{"name":"Suppliers","item":[{"name":"Get All Supplier","id":"018bf751-114e-4633-a8a1-289a5830705f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/suppliers","urlObject":{"path":["api","v1","suppliers"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"018bf751-114e-4633-a8a1-289a5830705f"},{"name":"Get One Supplier","id":"6912439a-bce6-49f2-b165-69d315269be1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/suppliers/6756d576eabc075f2843a0c3","urlObject":{"path":["api","v1","suppliers","6756d576eabc075f2843a0c3"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6912439a-bce6-49f2-b165-69d315269be1"},{"name":"Create Supplier","id":"83cc4141-c766-429c-97e0-77a5482cd9b3","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\":\"Mahmoud Anani\",\r\n    \"website\":\"https://mahmoud-anani.vercel.app\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/suppliers","urlObject":{"path":["api","v1","suppliers"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"83cc4141-c766-429c-97e0-77a5482cd9b3"},{"name":"Update Supplier","id":"6f2d6300-d14b-41f2-9125-e9f65cb39685","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\":\"Mahmoud\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/suppliers/6756d576eabc075f2843a0c3","urlObject":{"path":["api","v1","suppliers","6756d576eabc075f2843a0c3"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f2d6300-d14b-41f2-9125-e9f65cb39685"},{"name":"Delete Supplier","id":"65b725f6-d247-491f-a59c-eb3377bb9c89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/suppliers/6756d576eabc075f2843a0c3","urlObject":{"path":["api","v1","suppliers","6756d576eabc075f2843a0c3"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65b725f6-d247-491f-a59c-eb3377bb9c89"}],"id":"95fdf12a-4925-4c60-9d13-b0af39bc7c28","_postman_id":"95fdf12a-4925-4c60-9d13-b0af39bc7c28","description":""},{"name":"Coupon","item":[{"name":"Get All Coupons","id":"3168585e-30e6-435a-942f-c304711ebacb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/coupon","urlObject":{"path":["api","v1","coupon"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3168585e-30e6-435a-942f-c304711ebacb"},{"name":"Get One Coupon","id":"885583c4-2e52-4a49-b0b5-a2b2d441611a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/coupon/67555a17fa99881af91d3ea8","urlObject":{"path":["api","v1","coupon","67555a17fa99881af91d3ea8"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"885583c4-2e52-4a49-b0b5-a2b2d441611a"},{"name":"Crete Coupon","id":"6554f085-ff3a-4182-b7c5-db340d6d14d1","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\":\"wes3ese21\",\r\n    \"discount\":50,\r\n    \"expireDate\":\"2000-12-01\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/coupon","urlObject":{"path":["api","v1","coupon"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6554f085-ff3a-4182-b7c5-db340d6d14d1"},{"name":"Update Coupon","id":"3fc3bfad-bc8e-400d-943c-d381a8fd0f35","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\":\"ahmed321\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/coupon/67555a17fa99881af91d3ea8","urlObject":{"path":["api","v1","coupon","67555a17fa99881af91d3ea8"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fc3bfad-bc8e-400d-943c-d381a8fd0f35"},{"name":"Delete Coupon","id":"1464b731-9271-4095-ba3c-e1d5d62005ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/coupon/67555a17fa99881af91d3ea8","urlObject":{"path":["api","v1","coupon","67555a17fa99881af91d3ea8"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1464b731-9271-4095-ba3c-e1d5d62005ea"}],"id":"d6724933-0b02-4f2c-9f1b-6010ff537b44","_postman_id":"d6724933-0b02-4f2c-9f1b-6010ff537b44","description":""},{"name":"Request Product","item":[{"name":"Get All Request Product","id":"772dd0a5-0ffc-4f5a-a2a9-f40bc016b8bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/req-product","urlObject":{"path":["api","v1","req-product"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"772dd0a5-0ffc-4f5a-a2a9-f40bc016b8bc"},{"name":"Get One Request Product","id":"efc8d4de-b8d4-4631-8f40-b89d0b12c785","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/req-product/67580ac1109aa518b3b04d87","urlObject":{"path":["api","v1","req-product","67580ac1109aa518b3b04d87"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"efc8d4de-b8d4-4631-8f40-b89d0b12c785"},{"name":"Crete Request Product","id":"2b5626d9-b5c9-4f15-b397-d87eda7cf42d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"titleNeed\":\"حلاوة بالجبنة\",\r\n   \"details\":\"حلاوة بالجبنة حيث ان الحبنة تمثل نسبة 30% من الحلاوة\",\r\n   \"qauntity\":2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/req-product","urlObject":{"path":["api","v1","req-product"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b5626d9-b5c9-4f15-b397-d87eda7cf42d"},{"name":"Update Request Product","id":"fd3e8512-e038-4bd5-8f37-f5d7ef1e0329","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"titleNeed\":\"حلاوة بالجبنة البلدي\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/req-product/67580ac1109aa518b3b04d87","urlObject":{"path":["api","v1","req-product","67580ac1109aa518b3b04d87"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd3e8512-e038-4bd5-8f37-f5d7ef1e0329"},{"name":"Delete Request Product","id":"93eebf62-236d-4095-a473-bef741942623","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/req-product/67580ac1109aa518b3b04d87","urlObject":{"path":["api","v1","req-product","67580ac1109aa518b3b04d87"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"93eebf62-236d-4095-a473-bef741942623"}],"id":"d8003165-e214-435d-9602-a049449d57aa","_postman_id":"d8003165-e214-435d-9602-a049449d57aa","description":""},{"name":"Tax","item":[{"name":"Create Tax","id":"96899c1f-8397-4277-ba1f-ce6e98b04cf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"taxPrice\": 2,\r\n    \"shippingPrice\": 3\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/tex","urlObject":{"path":["api","v1","tex"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"96899c1f-8397-4277-ba1f-ce6e98b04cf3"},{"name":"Get Tax","id":"a9f187f7-12da-4cc1-b181-224d180d43bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/tex","urlObject":{"path":["api","v1","tex"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9f187f7-12da-4cc1-b181-224d180d43bb"},{"name":"Delete Tax","id":"2e1c2d9e-949e-4f74-a4b7-1f61c1b97e79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/tex","urlObject":{"path":["api","v1","tex"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e1c2d9e-949e-4f74-a4b7-1f61c1b97e79"}],"id":"52cf14ab-786f-464f-9ec0-d478bb451ba6","description":"<p>This Module for Only Admin</p>\n","_postman_id":"52cf14ab-786f-464f-9ec0-d478bb451ba6"},{"name":"Product","item":[{"name":"Create Product","id":"37ac8bdd-bf98-459f-8a4c-1a392d62dc4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Mac bdffdb12\",\r\n    \"description\": \"ايفون جامد جدا جدا يصحبي و كمان عليه التفاحة المرتاحة\",\r\n    \"quantity\": 5,\r\n    \"imageCover\":\"https://res.cloudinary.com/dp7neaux2/image/upload/v1735311605/iok63wrpjzobmbiru0cb.png\",\r\n    \"images\":[\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQb9YJJZlNdvT1wEN1KcKKbZ6iVwZbwynqrLg&s\",\"https://www.apple.com/newsroom/images/2023/09/apple-unveils-iphone-15-pro-and-iphone-15-pro-max/tile/Apple-iPhone-15-Pro-lineup-hero-230912.jpg.news_app_ed.jpg\"],\r\n   \r\n    \"price\":100,\r\n  \r\n    \"category\":\"674ff9f28462d5ddec94ee59\",\r\n    \"brand\":\"67543b3bde34f39fe4098c76\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/product","urlObject":{"path":["api","v1","product"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"37ac8bdd-bf98-459f-8a4c-1a392d62dc4a"},{"name":"Get Single Product","id":"4e6db6f5-7d25-4e1e-bf87-1efdaa317872","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/product/6760473aae481568f3b54900","urlObject":{"path":["api","v1","product","6760473aae481568f3b54900"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e6db6f5-7d25-4e1e-bf87-1efdaa317872"},{"name":"Get All Products","id":"bf5d5478-d6d7-4ed4-808d-f6c9e158185d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/product","urlObject":{"path":["api","v1","product"],"host":["{{server}}"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"sold[gte]","value":""},{"disabled":true,"key":"sold[lte]","value":"2"},{"disabled":true,"key":"price[gte]","value":"100"},{"disabled":true,"key":"price[lte]","value":"200"},{"disabled":true,"key":"ratingsAverage[gte]","value":"3"},{"disabled":true,"key":"ratingsAverage[lte]","value":null},{"disabled":true,"key":"keyword","value":"1"},{"disabled":true,"key":"sort","value":"desc"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"category","value":"674ffa47ac388d4892188f33"},{"disabled":true,"key":"fields","value":"description,title,-_id"}],"variable":[]}},"response":[],"_postman_id":"bf5d5478-d6d7-4ed4-808d-f6c9e158185d"},{"name":"Delete Product","id":"21548195-a2a2-4d1f-b373-4dea1452a0ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/product/675f3c652f8e4b9ebeb3868c","urlObject":{"path":["api","v1","product","675f3c652f8e4b9ebeb3868c"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"21548195-a2a2-4d1f-b373-4dea1452a0ac"},{"name":"Update Product","id":"fad8eae4-23a0-42f7-bd54-6798a9404f4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"price\":200\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/product/67602bfc8532d2502428d3c4","urlObject":{"path":["api","v1","product","67602bfc8532d2502428d3c4"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fad8eae4-23a0-42f7-bd54-6798a9404f4c"}],"id":"97c29c58-35fc-435b-b146-ea567a286336","_postman_id":"97c29c58-35fc-435b-b146-ea567a286336","description":""},{"name":"Review","item":[{"name":"Create Review","id":"fca5e776-5913-4db3-a479-7f201908880a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"reviewText\":\"الايفون دا جامد زحليقة\",\r\n    \"rating\":2,\r\n    \"product\":\"67602bfc8532d2502428d3c4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/review","urlObject":{"path":["api","v1","review"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fca5e776-5913-4db3-a479-7f201908880a"},{"name":"Update Review","id":"fc986e7b-2aa7-4441-b3ba-967fde050162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rating\":1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/review/6761499d1606bcb5bf7e72ad","urlObject":{"path":["api","v1","review","6761499d1606bcb5bf7e72ad"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc986e7b-2aa7-4441-b3ba-967fde050162"},{"name":"Delete Review","id":"2e41aad1-6cce-4f5c-856c-c6c8d14cebbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/review/676149b31606bcb5bf7e72b5","urlObject":{"path":["api","v1","review","676149b31606bcb5bf7e72b5"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e41aad1-6cce-4f5c-856c-c6c8d14cebbe"},{"name":"Get All Reviews on product","id":"d51d074a-551b-4e99-8d58-02d3921bb7e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{server}}/api/v1/review/67602bfc8532d2502428d3c4","urlObject":{"path":["api","v1","review","67602bfc8532d2502428d3c4"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d51d074a-551b-4e99-8d58-02d3921bb7e3"},{"name":"Get Review on User","id":"b917609e-bf10-4410-8d92-66b68db27f2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/dashbourd/review/674c8bffaf74ab321102202a","urlObject":{"path":["api","v1","dashbourd","review","674c8bffaf74ab321102202a"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b917609e-bf10-4410-8d92-66b68db27f2e"}],"id":"e6985c33-e9e7-4ea0-a000-9e8cea293ae9","_postman_id":"e6985c33-e9e7-4ea0-a000-9e8cea293ae9","description":""},{"name":"Cart","item":[{"name":"Cart For Admin","item":[{"name":"Admin Get One by User Id","id":"ec368eeb-7133-4af9-9f17-b81a67ea6db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/cart/admin/674c8bffaf74ab321102202a","urlObject":{"path":["api","v1","cart","admin","674c8bffaf74ab321102202a"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec368eeb-7133-4af9-9f17-b81a67ea6db8"},{"name":"Admin Get All carts","id":"240493f8-169d-454a-8913-172f4e0987a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/cart/admin","urlObject":{"path":["api","v1","cart","admin"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"240493f8-169d-454a-8913-172f4e0987a6"}],"id":"9f45a0cb-de45-4ff6-9a90-a0fe30809ec0","_postman_id":"9f45a0cb-de45-4ff6-9a90-a0fe30809ec0","description":""},{"name":"Add Cart","id":"b5ac8239-89f4-419f-ac1b-f53e2590f6d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{server}}/api/v1/cart/67602bfc8532d2502428d3c4","urlObject":{"path":["api","v1","cart","67602bfc8532d2502428d3c4"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5ac8239-89f4-419f-ac1b-f53e2590f6d8"},{"name":"Update Cart","id":"e9ab6885-06d0-4337-bc0a-75d66058af9d","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    \"color\":\"white\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/cart/6760473aae481568f3b54900","urlObject":{"path":["api","v1","cart","6760473aae481568f3b54900"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9ab6885-06d0-4337-bc0a-75d66058af9d"},{"name":"Delete Cart","id":"ff9bd32e-c390-4b8c-abfb-09547432b436","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{server}}/api/v1/cart/6760473aae481568f3b54900","urlObject":{"path":["api","v1","cart","6760473aae481568f3b54900"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff9bd32e-c390-4b8c-abfb-09547432b436"},{"name":"Get Cart","id":"df76197d-6c02-4757-8d57-96687149a964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/cart","urlObject":{"path":["api","v1","cart"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df76197d-6c02-4757-8d57-96687149a964"},{"name":"Apply Counpn","id":"9bc52b4d-b6c4-4101-8cea-15b6e4d2819c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{server}}/api/v1/cart/coupon/87654321","urlObject":{"path":["api","v1","cart","coupon","87654321"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bc52b4d-b6c4-4101-8cea-15b6e4d2819c"}],"id":"ce8ca586-06cc-4ec0-85ff-b8167257870d","_postman_id":"ce8ca586-06cc-4ec0-85ff-b8167257870d","description":""},{"name":"Order","item":[{"name":"Order Checkout For Admin","item":[{"name":"Update Order","id":"066b2a49-9655-4c9c-bbec-f2f6be86e57a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"isPaid\":true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/cart/checkout/6772502a9ad02c1fa1f2d144/cash","urlObject":{"path":["api","v1","cart","checkout","6772502a9ad02c1fa1f2d144","cash"],"host":["{{server}}"],"query":[{"disabled":true,"key":"success_url","value":"https://ecommerce-nestjs.com"},{"disabled":true,"key":"cancel_url","value":"https://ecommerce-nestjs.com"}],"variable":[]}},"response":[],"_postman_id":"066b2a49-9655-4c9c-bbec-f2f6be86e57a"},{"name":"Admin Can Get All Orders","id":"ac604461-b081-4a0e-ad0d-bb7fa6c73949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/order/admin","urlObject":{"path":["api","v1","order","admin"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac604461-b081-4a0e-ad0d-bb7fa6c73949"},{"name":"Admin Can Get All Orders by userID","id":"6d1eaf8e-6072-42d6-83c6-dd7ff9d68b5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/order/admin/674c8bb43e515fc3f3d1cdba","urlObject":{"path":["api","v1","order","admin","674c8bb43e515fc3f3d1cdba"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d1eaf8e-6072-42d6-83c6-dd7ff9d68b5e"}],"id":"36c06a4f-889d-45f1-867b-cfabc5e17048","_postman_id":"36c06a4f-889d-45f1-867b-cfabc5e17048","description":""},{"name":"Checkout Order (Create)","id":"ceea005c-600d-49fc-a36d-239fb76d6a6a","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}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/cart/checkout/card?success_url=https://ecommerce-nestjs.com&cancel_url=https://ecommerce-nestjs.com","urlObject":{"path":["api","v1","cart","checkout","card"],"host":["{{server}}"],"query":[{"key":"success_url","value":"https://ecommerce-nestjs.com"},{"key":"cancel_url","value":"https://ecommerce-nestjs.com"}],"variable":[]}},"response":[],"_postman_id":"ceea005c-600d-49fc-a36d-239fb76d6a6a"},{"name":"Get Orders On User","id":"4f432f38-390d-45ca-aaac-3006ccfda84c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{server}}/api/v1/order/user","urlObject":{"path":["api","v1","order","user"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f432f38-390d-45ca-aaac-3006ccfda84c"}],"id":"0c47b5a5-b30e-4e7d-ace4-879dea5e7f79","description":"<p>// @docs User Can Create Order and Checkout session<br />// @Route POST /api/v1/cart/checkout/:paymentMethodType?success_url:<a href=\"https://ecommerce-nestjs.com&amp;cancel_url:https://ecommerce-nestjs.com\">https//ecommerce-nestjs.com&amp;cancel_url=https://ecommerce-nestjs.com</a><br />// @access Private [User]EndFragment</p>\n<p>req: create order /api/v1/cart/checkout/:paymentMethodType</p>\n","_postman_id":"0c47b5a5-b30e-4e7d-ace4-879dea5e7f79"},{"name":"Upload Image","item":[{"name":"Upload Image","id":"cddb19e1-de4f-4cc7-8c95-365f3499f05f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"files[]","type":"file","src":["/D:/44.5752b04524319c6cc284.png","/D:/Screenshot 2024-08-12 231203.png"]}]},"url":"{{server}}/api/v1/image/uploads","urlObject":{"path":["api","v1","image","uploads"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cddb19e1-de4f-4cc7-8c95-365f3499f05f"}],"id":"c1fa753e-4870-4472-b178-1324f86a9de2","description":"<ul>\n<li><p>User can upload images or files</p>\n</li>\n<li><p>User can upload image or file</p>\n</li>\n</ul>\n","_postman_id":"c1fa753e-4870-4472-b178-1324f86a9de2"},{"name":"Testing","item":[{"name":"New Request","id":"32946644-726a-4398-84be-ce3d68940c97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\":\"1\",\r\n    \"name\":\"Mahmoud Anani\",\r\n    \"startedAt\":\"2025-12-20\", \r\n    \"expDate\":\"2025-12-27\", \r\n    \"subType\":\"low\", \r\n    \"role\":\"user\", \r\n    \"email\":\"mahmoud18957321@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{server}}/api/v1/auth/create-token","urlObject":{"path":["api","v1","auth","create-token"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32946644-726a-4398-84be-ce3d68940c97"}],"id":"7d38494e-1efe-4273-b537-7689f8f7357e","_postman_id":"7d38494e-1efe-4273-b537-7689f8f7357e","description":""}]}