{"info":{"_postman_id":"e90c2a33-ea66-4a36-9eed-4ef02f93f228","name":"ReThread","description":"<html><head></head><body><p>This collection contains all the GET, POST, PUT, PATCH, and UPDATE requests to work on ReThread.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29752971","collectionId":"e90c2a33-ea66-4a36-9eed-4ef02f93f228","publishedId":"2s9YsT6UP7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-01-20T09:45:53.000Z"},"item":[{"name":"/home","id":"e8b26123-3d88-4c3e-99e1-b68c17b089d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/home","urlObject":{"protocol":"http","port":"8000","path":["home"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8b26123-3d88-4c3e-99e1-b68c17b089d0"},{"name":"/sign-up","id":"a292710e-7cfd-4703-adfd-853ff6ff5154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/sign-up","urlObject":{"protocol":"http","port":"8000","path":["sign-up"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a292710e-7cfd-4703-adfd-853ff6ff5154"},{"name":"/login","id":"d7cfa49d-9900-4395-9244-066ce9238ff9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/login","urlObject":{"protocol":"http","port":"8000","path":["login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7cfa49d-9900-4395-9244-066ce9238ff9"},{"name":"/selling","id":"3d2c62f1-107f-4786-844d-cd10367046ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/selling","urlObject":{"protocol":"http","port":"8000","path":["selling"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d2c62f1-107f-4786-844d-cd10367046ee"},{"name":"/selling/product-form","id":"770d15ca-334f-435e-bdf0-f9d455390b82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/selling/product-form","urlObject":{"protocol":"http","port":"8000","path":["selling","product-form"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"770d15ca-334f-435e-bdf0-f9d455390b82"},{"name":"/all-products","id":"c0ac79aa-9dbc-4f78-bab4-b0b1860c1443","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/all-products","urlObject":{"protocol":"http","port":"8000","path":["all-products"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0ac79aa-9dbc-4f78-bab4-b0b1860c1443"},{"name":"/all-users","id":"68d25d6f-ab03-4245-acfc-e4d6f7a8887d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/all-users","urlObject":{"protocol":"http","port":"8000","path":["all-users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"68d25d6f-ab03-4245-acfc-e4d6f7a8887d"},{"name":"/resell-storage","id":"88947ada-4333-49c3-9397-6f6792ce78dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"88947ada-4333-49c3-9397-6f6792ce78dc"},{"name":"/user-by-id/:id","id":"0e618057-1d18-4a57-98ea-fc7c7076dc22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"0e618057-1d18-4a57-98ea-fc7c7076dc22"},{"name":"/product-by-id/:id","id":"2ee16e03-0dc1-464b-8c8d-bff8204373af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"2ee16e03-0dc1-464b-8c8d-bff8204373af"},{"name":"/user-by-contact/:contact","id":"48f67bb6-69eb-4d44-a124-e1e6f8846dd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"48f67bb6-69eb-4d44-a124-e1e6f8846dd1"},{"name":"/:category/products","id":"42655b54-8e7c-42a6-95b6-870199f9f10f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/:category/products","urlObject":{"protocol":"http","port":"8000","path":[":category","products"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"footwear","key":"category"}]}},"response":[],"_postman_id":"42655b54-8e7c-42a6-95b6-870199f9f10f"},{"name":"/:category/:subcat/products","id":"331b9b06-cf06-4578-9da3-1d24826801fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/:category/:subcat/products","urlObject":{"protocol":"http","port":"8000","path":[":category",":subcat","products"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"women","key":"category"},{"type":"any","value":"tops","key":"subcat"}]}},"response":[],"_postman_id":"331b9b06-cf06-4578-9da3-1d24826801fd"},{"name":"/:category/:subcat/products/:id","id":"4b5adbee-ca97-46cc-9395-672816534eb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/:category/:subcat/products/:id","urlObject":{"protocol":"http","port":"8000","path":[":category",":subcat","products",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"women","key":"category"},{"type":"any","value":"coat","key":"subcat"},{"type":"any","value":"Winter Coat","key":"id"}]}},"response":[],"_postman_id":"4b5adbee-ca97-46cc-9395-672816534eb8"},{"name":"/user-profile/:id","id":"4e136250-c3f1-40c8-ba71-dab2da03ec46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/user-profile/:id","urlObject":{"protocol":"http","port":"8000","path":["user-profile",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"65b29ca5dc601b20882606fc","key":"id"}]}},"response":[],"_postman_id":"4e136250-c3f1-40c8-ba71-dab2da03ec46"},{"name":"/user-earning/:id","id":"a638df49-9df7-4cff-b36b-421247ba5585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/user-earning/:id","urlObject":{"protocol":"http","port":"8000","path":["user-earning",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"65b29ca5dc601b20882606fc","key":"id"}]}},"response":[],"_postman_id":"a638df49-9df7-4cff-b36b-421247ba5585"},{"name":"/user-cart/:id","id":"1c1e7b80-739e-48bc-b968-cac5924fc0f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/user-cart/:id","urlObject":{"protocol":"http","port":"8000","path":["user-cart",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"65b29ca5dc601b20882606fc","key":"id"}]}},"response":[],"_postman_id":"1c1e7b80-739e-48bc-b968-cac5924fc0f6"},{"name":"/user-orders/:id","id":"c40b72a1-468f-4b3d-9624-4dc759734728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/user-order/:id","urlObject":{"protocol":"http","port":"8000","path":["user-order",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"c40b72a1-468f-4b3d-9624-4dc759734728"},{"name":"/user-payment/:id","id":"e0a133a4-c61c-415f-9856-43b5c84368d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/user-payment/:id","urlObject":{"protocol":"http","port":"8000","path":["user-payment",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"e0a133a4-c61c-415f-9856-43b5c84368d2"},{"name":"/:category/:subcat/filter-products","id":"ab38c67e-f67c-4c99-9e40-8807ddb39e8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/:category/:subcat/filter-products","urlObject":{"protocol":"http","port":"8000","path":[":category",":subcat","filter-products"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"category"},{"type":"any","value":"","key":"subcat"}]}},"response":[],"_postman_id":"ab38c67e-f67c-4c99-9e40-8807ddb39e8d"},{"name":"/:category/:subcat/add-product","id":"d26a3a73-ae4c-4830-8f66-7bbf691a0d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"product_name\": \"Crop Top\",\r\n        \"category\": \"women\",\r\n        \"sub_cat\": \"tops\",\r\n        \"size\": \"L\",\r\n        \"color\": \"white\",\r\n        \"material\": \"Cotton\",\r\n        \"brand\": \"H&M\",\r\n        \"price\": 130\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/:category/:subcat/add-product","urlObject":{"protocol":"http","port":"8000","path":[":category",":subcat","add-product"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"accessories","key":"category"},{"type":"any","value":"bangles","key":"subcat"}]}},"response":[],"_postman_id":"d26a3a73-ae4c-4830-8f66-7bbf691a0d7c"},{"name":"/user-selling-form","id":"7fc3c58c-b37d-42dd-b9b4-fa5f7b0e94fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"user_name\":\"user1\",\r\n        \"product_name\": \"SunGlasses T-Shirt\",\r\n        \"description\": \"Stylish Aviator Sunglasses\",\r\n        \"size\": \"All\",\r\n        \"color\": \"Brown\",\r\n        \"condition\": \"Excellent\",\r\n        \"reason\": \"Didn't use\",\r\n        \"material\": \"Plastic\",\r\n        \"brand\": \"H&M\",\r\n        \"shipping_method\": \"Local Delivery\",\r\n        \"mrp\": 300,\r\n        \"resell_price\": 100\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/user-selling-form","urlObject":{"protocol":"http","port":"8000","path":["user-selling-form"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fc3c58c-b37d-42dd-b9b4-fa5f7b0e94fd"},{"name":"/new-user","id":"e69e8fa4-73a0-4f06-a34c-c1a4c1c78d2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"user_name\": \"user4\",\r\n        \"email\": \"user4@example.com\",\r\n        \"contact\": 9388085670,\r\n        \"address\": \"Lucknow\",\r\n        \"earning\": 30,\r\n        \"cart\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/new-user","urlObject":{"protocol":"http","port":"8000","path":["new-user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e69e8fa4-73a0-4f06-a34c-c1a4c1c78d2d"},{"name":"/:category/:subcat/product-update/:id","id":"7c0b5fb0-968d-4dd1-9993-0f4919257207","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"product_name\": \"Leather Jacket\",\r\n        \"category\": \"men\",\r\n        \"sub_cat\": \"coats\",\r\n        \"size\": \"M\",\r\n        \"color\": \"Brown\",\r\n        \"material\": \"Leather\",\r\n        \"brand\": \"Woodland\",\r\n        \"price\": 390\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/:category/:subcat/product-update/:id","urlObject":{"protocol":"http","port":"8000","path":[":category",":subcat","product-update",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"men","key":"category"},{"type":"any","value":"coats","key":"subcat"},{"type":"any","value":"65b29cc18063902b5261e848","key":"id"}]}},"response":[],"_postman_id":"7c0b5fb0-968d-4dd1-9993-0f4919257207"},{"name":"/:category/:subcat/product-update/:id","id":"978dbd22-f0b7-472d-b655-d143b50c230e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n        \"price\": 430\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/:category/:subcat/partial-product-update/:id","urlObject":{"protocol":"http","port":"8000","path":[":category",":subcat","partial-product-update",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"men","key":"category"},{"type":"any","value":"traditionals","key":"subcat"},{"type":"any","value":"65b29cc18063902b5261e846","key":"id"}]}},"response":[],"_postman_id":"978dbd22-f0b7-472d-b655-d143b50c230e"},{"name":"/user-details-update/:id","id":"6df9c8c9-c6c6-4e36-8566-d005bcbf6826","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contact\":\"1234567890\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/user-details-update/:id","urlObject":{"protocol":"http","port":"8000","path":["user-details-update",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"65b29ca5dc601b20882606fd","key":"id"}]}},"response":[],"_postman_id":"6df9c8c9-c6c6-4e36-8566-d005bcbf6826"},{"name":"/:category/:subcat/delete-product/:id","id":"6d7e29ef-a858-44fa-9dec-39edb759d7ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/:category/:subcat/delete-product/:id","urlObject":{"protocol":"http","port":"8000","path":[":category",":subcat","delete-product",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"women","key":"category"},{"type":"any","value":"tops","key":"subcat"},{"type":"any","value":"65b655a4ed01f9ba3fbfee85","key":"id"}]}},"response":[],"_postman_id":"6d7e29ef-a858-44fa-9dec-39edb759d7ad"},{"name":"/delete-user/:id","id":"6e20fd91-36e7-4e93-a940-05468420dd92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8000/delete-user/:id","urlObject":{"protocol":"http","port":"8000","path":["delete-user",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"dee321","key":"id"}]}},"response":[],"_postman_id":"6e20fd91-36e7-4e93-a940-05468420dd92"}]}