{"info":{"_postman_id":"c352e013-7427-42d4-bee0-4d6c702b41bd","name":"10-E-commerce","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"39188598","collectionId":"c352e013-7427-42d4-bee0-4d6c702b41bd","publishedId":"2sB3BGFUaH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-08-12T14:13:11.000Z"},"item":[{"name":"Auth","item":[{"name":"Logout User","id":"41a2ca46-5bf5-4cab-87be-30a7d6ac4c72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/auth/logout","urlObject":{"path":["auth","logout"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"41a2ca46-5bf5-4cab-87be-30a7d6ac4c72"},{"name":"Login User","id":"4363fc23-9a8c-479a-95dc-85ebc53fdd7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"anton@email.com\",\r\n    \"password\":\"secret1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/auth/login","urlObject":{"path":["auth","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4363fc23-9a8c-479a-95dc-85ebc53fdd7e"},{"name":"Register User","id":"b1ae593c-d273-4381-a36c-1ed2f8fc47b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"user\",\r\n    \"email\":\"user@email.com\",\r\n    \"password\":\"userpsas\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/auth/register","urlObject":{"path":["auth","register"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1ae593c-d273-4381-a36c-1ed2f8fc47b9"}],"id":"f1db62cc-36dd-4341-b7dd-6073dc867b1c","_postman_id":"f1db62cc-36dd-4341-b7dd-6073dc867b1c","description":""},{"name":"User","item":[{"name":"Get All Users","id":"65e4affa-1d2c-4153-96d0-a1e2a5766f52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/users","urlObject":{"path":["users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"65e4affa-1d2c-4153-96d0-a1e2a5766f52"},{"name":"Get Single User","id":"4854f20c-c994-4205-ad22-bce568323ff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/users/123","urlObject":{"path":["users","123"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4854f20c-c994-4205-ad22-bce568323ff0"},{"name":"Show Current User","id":"e1fbfcde-a17e-4ee5-b834-cd5ddced21aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/users/showMe","urlObject":{"path":["users","showMe"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1fbfcde-a17e-4ee5-b834-cd5ddced21aa"},{"name":"Update User","id":"04cbc2a6-07ce-4bae-8793-1ea8482e4eb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"\",\r\n    \"email\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/users/updateUser","urlObject":{"path":["users","updateUser"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04cbc2a6-07ce-4bae-8793-1ea8482e4eb5"},{"name":"Update User Password","id":"5aae8850-a850-40eb-8b86-ce613b8b2944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\":\"\",\r\n    \"newPassword\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/users/updateUserPassword","urlObject":{"path":["users","updateUserPassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5aae8850-a850-40eb-8b86-ce613b8b2944"}],"id":"61657983-dbed-4cd5-a29f-fd89b39bcef4","_postman_id":"61657983-dbed-4cd5-a29f-fd89b39bcef4","description":""},{"name":"Product","item":[{"name":"Get All Products","id":"3aecdc03-0964-4ea0-9022-cd5109c386b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/products","urlObject":{"path":["products"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3aecdc03-0964-4ea0-9022-cd5109c386b3"},{"name":"Create Product","id":"3fbc91c8-7e6b-4946-a379-71026ee92f9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"accent chair\",\r\n    \"price\": 25999,\r\n    \"colors\": [\"#ff0000\", \"#00ff00\", \"#0000ff\"],\r\n    \"company\": \"marcos\",\r\n    \"description\": \"Cloud bread VHS hell of banjo bicycle rights jianbing umami mumblecore etsy 8-bit pok pok +1 wolf. Vexillologist yr dreamcatcher waistcoat, authentic chillwave trust fund. Viral typewriter fingerstache pinterest pork belly narwhal. Schlitz venmo everyday carry kitsch pitchfork chillwave iPhone taiyaki trust fund hashtag kinfolk microdosing gochujang live-edge\",\r\n    \"category\": \"office\"\r\n  }","options":{"raw":{"language":"json"}}},"url":"{{URL}}/products","urlObject":{"path":["products"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fbc91c8-7e6b-4946-a379-71026ee92f9c"},{"name":"Get Single Product","id":"a54e03e3-5023-4fc7-a9bf-61046bb6cef1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/products/123","urlObject":{"path":["products","123"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a54e03e3-5023-4fc7-a9bf-61046bb6cef1"},{"name":"Update Product","id":"c2c9ca35-fb83-4da0-b338-a355803eef6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"url":"{{URL}}/products/123","urlObject":{"path":["products","123"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2c9ca35-fb83-4da0-b338-a355803eef6c"},{"name":"Delete Product","id":"7ae73efe-75a5-4f39-a112-cf4e26e65790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/products/123","urlObject":{"path":["products","123"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ae73efe-75a5-4f39-a112-cf4e26e65790"},{"name":"Get Single Product Reviews","id":"bf5843ed-28b5-4f12-8e10-043910b581f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/products/6867d956df3666e466ce3fa8/reviews","urlObject":{"path":["products","6867d956df3666e466ce3fa8","reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf5843ed-28b5-4f12-8e10-043910b581f6"},{"name":"Upload Image","id":"f9cfb1f3-0625-44d8-82d9-1e42a422214c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"accent chair\",\r\n    \"price\": 25999,\r\n    \"image\": \"https://dl.airtable.com/.attachmentThumbnails/e8bc3791196535af65f40e36993b9e1f/438bd160\",\r\n    \"colors\": [\"#ff0000\", \"#00ff00\", \"#0000ff\"],\r\n    \"company\": \"marcos\",\r\n    \"description\": \"Cloud bread VHS hell of banjo bicycle rights jianbing umami mumblecore etsy 8-bit pok pok +1 wolf. Vexillologist yr dreamcatcher waistcoat, authentic chillwave trust fund. Viral typewriter fingerstache pinterest pork belly narwhal. Schlitz venmo everyday carry kitsch pitchfork chillwave iPhone taiyaki trust fund hashtag kinfolk microdosing gochujang live-edge\",\r\n    \"category\": \"office\"\r\n  }"},"url":"{{URL}}/products/uploadImage","urlObject":{"path":["products","uploadImage"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9cfb1f3-0625-44d8-82d9-1e42a422214c"}],"id":"701feb77-4292-4b62-b1b6-fbc2c0c91630","_postman_id":"701feb77-4292-4b62-b1b6-fbc2c0c91630","description":""},{"name":"Review","item":[{"name":"Get All Reviews","id":"e02fd7af-45aa-462f-8bc2-a653b7283cd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/reviews","urlObject":{"path":["reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e02fd7af-45aa-462f-8bc2-a653b7283cd7"},{"name":"Create Review","id":"6670224d-e6c7-4c9f-8e0d-411b0244cc6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product\":\"6895b5edcb9c51d70d156673\",\r\n    \"rating\": 1,\r\n    \"title\":\"Bad product\",\r\n    \"comment\":\"just a bad product don't waste your money\"\r\n   \r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/reviews","urlObject":{"path":["reviews"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6670224d-e6c7-4c9f-8e0d-411b0244cc6d"},{"name":"Get Single Review","id":"699db1a3-aaf3-469e-bd3c-ac5ff5bc9be5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/reviews/6867d997df3666e466ce3fae","urlObject":{"path":["reviews","6867d997df3666e466ce3fae"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"699db1a3-aaf3-469e-bd3c-ac5ff5bc9be5"},{"name":"Update Review","id":"ef98f1b7-baa3-47d2-ab98-c074df771c0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"url":"{{URL}}/reviews/123","urlObject":{"path":["reviews","123"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef98f1b7-baa3-47d2-ab98-c074df771c0c"},{"name":"Delete Review","id":"63a3e456-df7f-422e-a07a-6ab7639f5066","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/reviews/6895f7d70cdecb49dc478875","urlObject":{"path":["reviews","6895f7d70cdecb49dc478875"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"63a3e456-df7f-422e-a07a-6ab7639f5066"}],"id":"bf4a9d3d-d49a-4d6a-a9a5-05095b1f4da4","_postman_id":"bf4a9d3d-d49a-4d6a-a9a5-05095b1f4da4","description":""},{"name":"Order","item":[{"name":"create order","id":"d2a0c47b-8206-4751-adcd-475290995c90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tax\": 399,\r\n    \"shippingFee\": 499,\r\n    \"items\": [\r\n      {\r\n        \"name\": \"accent chair\",\r\n        \"price\": 2599,\r\n        \"image\": \"https://dl.airtable.com/.attachmentThumbnails/e8bc3791196535af65f40e36993b9e1f/438bd160\",\r\n        \"amount\": 34,\r\n        \"product\": \"6867d956df3666e466ce3fa8\"\r\n      }\r\n    ]\r\n  }","options":{"raw":{"language":"json"}}},"url":"{{URL}}/orders","urlObject":{"path":["orders"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2a0c47b-8206-4751-adcd-475290995c90"},{"name":"get all orders","id":"fa4055fa-526d-4ee3-8a70-3ed26145f342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/orders","urlObject":{"path":["orders"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa4055fa-526d-4ee3-8a70-3ed26145f342"},{"name":"get single order","id":"74e9c132-ed23-4046-af91-be0aa2e3cec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/orders/689b474f230adc090c5110c1","urlObject":{"path":["orders","689b474f230adc090c5110c1"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"74e9c132-ed23-4046-af91-be0aa2e3cec6"},{"name":"update order","id":"addf02c0-db98-428d-ba8b-09a548fcf288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"paymentIntentId\":\"randomId\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/orders/689b474f230adc090c5110c1","urlObject":{"path":["orders","689b474f230adc090c5110c1"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"addf02c0-db98-428d-ba8b-09a548fcf288"},{"name":"show current user orders","id":"47b0c3c7-594a-45a3-a953-a051052fd46b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/orders/showAllMyOrders","urlObject":{"path":["orders","showAllMyOrders"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"47b0c3c7-594a-45a3-a953-a051052fd46b"}],"id":"e5a44981-228e-44cb-b6b3-66a0d51d6643","_postman_id":"e5a44981-228e-44cb-b6b3-66a0d51d6643","description":""}]}