{"info":{"_postman_id":"8883329e-ddeb-46d5-9a2e-1ef058dd9473","name":"Zylora-Ecommerce","description":"<html><head></head><body><p>ZyLora E-commerce is a comprehensive full-stack marketplace designed to bridge the gap between digital convenience and human interaction. It features real-time price negotiations, live auctions, and AI-driven insights, providing a dynamic environment for buyers and sellers.</p>\n<h3 id=\"folder-descriptions\">Folder Descriptions</h3>\n<ul>\n<li><p>Auth Routes Manages user lifecycle, including registration, login, profile updates, and shipping address management.</p>\n</li>\n<li><p>Product Routes Handles the core product catalog, allowing for searching, filtering, and detailed product views, as well as seller-specific inventory management.</p>\n</li>\n<li><p>Cart Routes Provides functionality for users to manage their shopping cart, including adding items, adjusting quantities, and clearing the cart.</p>\n</li>\n<li><p>WishList Routes Allows users to curate a personal list of products they intend to purchase or monitor in the future.</p>\n</li>\n<li><p>Order Routes Facilitates the entire order process from creation to tracking, including specialized views for sellers and return processing.</p>\n</li>\n<li><p>Negotiation Routes Powers the real-time bargaining feature, allowing buyers to propose prices and sellers to accept or decline offers.</p>\n</li>\n<li><p>Payment Routes Integrates with Razorpay to handle secure transaction creation and signature verification.</p>\n</li>\n<li><p>Auction Routes Manages the live bidding system, from creating auction events to processing winners and handling bid-related refunds.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50841493","collectionId":"8883329e-ddeb-46d5-9a2e-1ef058dd9473","publishedId":"2sBXqKofA4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-02T15:02:02.000Z"},"item":[{"name":"Auth Routes","item":[{"name":"SignUp","id":"6db2d527-3a93-4499-86d9-53a211d66cee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"email\": \"prashant@example.com\",\r\n  \"password\": \"Test@1234\",\r\n  \"role\": \"buyer\",\r\n  \"phone\": \"9876543210\",\r\n  \"storeName\": \"\",\r\n  \"gstNumber\": \"\",\r\n  \"businessAddress\": \"\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/auth/signup","urlObject":{"protocol":"https","path":["api","auth","signup"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6db2d527-3a93-4499-86d9-53a211d66cee"},{"name":"Login","id":"4f08b0f8-30f9-403a-b4ed-5e630d39087a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"prashant@example.com\",\r\n  \"password\": \"Test@1234\",\r\n  \"role\": \"buyer\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/auth/login","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f08b0f8-30f9-403a-b4ed-5e630d39087a"},{"name":"Authorization with token","id":"49bbd8d9-681d-45fa-8422-eaab8f9e7ea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"prashant@example.com\",\r\n  \"password\": \"Test@1234\",\r\n  \"role\": \"buyer\"\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/auth/me","urlObject":{"protocol":"https","path":["api","auth","me"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"49bbd8d9-681d-45fa-8422-eaab8f9e7ea4"},{"name":"Update Details","id":"3d690eef-5f3d-46f3-bb4d-01147861a3ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Updated\",\r\n  \"phone\": \"9876543210\",\r\n  \"storeName\": \"My Store\",\r\n  \"gstNumber\": \"22AAAAA0000A1Z5\",\r\n  \"businessAddress\": \"123 Market Road, Delhi\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/auth/updatedetails","urlObject":{"protocol":"https","path":["api","auth","updatedetails"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d690eef-5f3d-46f3-bb4d-01147861a3ec"},{"name":"Add Address","id":"e8700de0-f2ab-46ae-b4d0-c83044418fca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"123 MG Road, Sector 5\",\r\n  \"city\": \"Delhi\",\r\n  \"state\": \"Delhi\",\r\n  \"postalCode\": \"110001\",\r\n  \"selected\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/auth/addresses","urlObject":{"protocol":"https","path":["api","auth","addresses"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8700de0-f2ab-46ae-b4d0-c83044418fca"},{"name":"Update Address","id":"676dee35-0848-4742-8c42-f8d884fa3af9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"456 New Road, Block B\",\r\n  \"city\": \"Mumbai\",\r\n  \"state\": \"Maharashtra\",\r\n  \"postalCode\": \"400001\",\r\n  \"selected\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/auth/addresses/:id","urlObject":{"protocol":"https","path":["api","auth","addresses",":id"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f5902c57464c2a272a5a04","key":"id"}]}},"response":[],"_postman_id":"676dee35-0848-4742-8c42-f8d884fa3af9"},{"name":"Update Address with id","id":"188769b7-1bae-4a6e-ad03-6a8d9d4be0f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"456 New Road, Block B\",\r\n  \"city\": \"Mumbai\",\r\n  \"state\": \"Maharashtra\",\r\n  \"postalCode\": \"400001\",\r\n  \"selected\": false\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/auth/addresses/:id/select","urlObject":{"protocol":"https","path":["api","auth","addresses",":id","select"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f5902c57464c2a272a5a04","key":"id"}]}},"response":[],"_postman_id":"188769b7-1bae-4a6e-ad03-6a8d9d4be0f3"},{"name":"Delete Address","id":"533815c7-ca28-4776-85e3-74fc21465162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"456 New Road, Block B\",\r\n  \"city\": \"Mumbai\",\r\n  \"state\": \"Maharashtra\",\r\n  \"postalCode\": \"400001\",\r\n  \"selected\": false\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/auth/addresses/:id","urlObject":{"protocol":"https","path":["api","auth","addresses",":id"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f5902c57464c2a272a5a04","key":"id"}]}},"response":[],"_postman_id":"533815c7-ca28-4776-85e3-74fc21465162"}],"id":"2a00425c-eb5e-4f7e-8e28-bb3b8a4234e0","description":"<p>Auth Routes ( /api/auth )</p>\n<ul>\n<li><p>POST /signup : Creates a new user account with roles (buyer/seller) and business details.</p>\n</li>\n<li><p>POST /login : Authenticates a user and returns a session token/user data.</p>\n</li>\n<li><p>GET /me : Retrieves the currently authenticated user's profile information.</p>\n</li>\n<li><p>PUT /updatedetails : Updates user profile information like name, phone, and business details.</p>\n</li>\n<li><p>POST /addresses : Adds a new shipping address to the user's profile.</p>\n</li>\n<li><p>PUT /addresses/:id : Edits an existing shipping address by its ID.</p>\n</li>\n<li><p>PUT /addresses/:id/select : Sets a specific address as the primary/selected shipping address.</p>\n</li>\n<li><p>DELETE /addresses/:id : Removes a shipping address from the user's profile.</p>\n</li>\n</ul>\n","_postman_id":"2a00425c-eb5e-4f7e-8e28-bb3b8a4234e0"},{"name":"Products Routes","item":[{"name":"Products","id":"21c0dd55-80dd-44d5-805e-b495886b55ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"123 MG Road, Sector 5\",\r\n  \"city\": \"Delhi\",\r\n  \"state\": \"Delhi\",\r\n  \"postalCode\": \"110001\",\r\n  \"selected\": true\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/products","urlObject":{"protocol":"https","path":["api","products"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"21c0dd55-80dd-44d5-805e-b495886b55ae"},{"name":"Product by Id","id":"0b28d821-e82c-410e-83a2-66771a8996f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"123 MG Road, Sector 5\",\r\n  \"city\": \"Delhi\",\r\n  \"state\": \"Delhi\",\r\n  \"postalCode\": \"110001\",\r\n  \"selected\": true\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/products/:id","urlObject":{"protocol":"https","path":["api","products",":id"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f1ca2c2f218020136963bd","key":"id"}]}},"response":[],"_postman_id":"0b28d821-e82c-410e-83a2-66771a8996f1"},{"name":"MyProduct","id":"26b9617a-d977-405e-a4d9-22a66acf5402","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"123 MG Road, Sector 5\",\r\n  \"city\": \"Delhi\",\r\n  \"state\": \"Delhi\",\r\n  \"postalCode\": \"110001\",\r\n  \"selected\": true\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/products/myproducts","urlObject":{"protocol":"https","path":["api","products","myproducts"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"26b9617a-d977-405e-a4d9-22a66acf5402"},{"name":"Add Products","id":"ad788061-5f3a-40a1-8a4d-110d6805d0a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Organic Basmati Rice\",\r\n  \"description\": \"Premium quality basmati rice from Punjab farms.\",\r\n  \"price\": 1200,\r\n  \"oldPrice\": 1500,\r\n  \"discount\": \"20%\",\r\n  \"brand\": \"FarmFresh\",\r\n  \"category\": \"Agri\",\r\n  \"images\": [\r\n    \"https://example.com/image1.jpg\"\r\n  ],\r\n  \"stock\": 100,\r\n  \"negotiable\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/products","urlObject":{"protocol":"https","path":["api","products"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad788061-5f3a-40a1-8a4d-110d6805d0a9"},{"name":"Product by Id Particular seller by Auth","id":"612010b0-2744-460e-a45c-a6757e64d6b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Organic Basmati Rice - Updated\",\r\n  \"price\": 1100,\r\n  \"stock\": 80,\r\n  \"negotiable\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/products/:id","urlObject":{"protocol":"https","path":["api","products",":id"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f599bb57464c2a272a5a77","key":"id"}]}},"response":[],"_postman_id":"612010b0-2744-460e-a45c-a6757e64d6b3"},{"name":"Delete Product","id":"00c6757f-169c-4dac-ab5f-f6065b0fc08f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Organic Basmati Rice - Updated\",\r\n  \"price\": 1100,\r\n  \"stock\": 80,\r\n  \"negotiable\": true\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/products/:id","urlObject":{"protocol":"https","path":["api","products",":id"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f599bb57464c2a272a5a77","key":"id"}]}},"response":[],"_postman_id":"00c6757f-169c-4dac-ab5f-f6065b0fc08f"}],"id":"e5f1fb80-7d74-4aba-b1b7-7e58f0ae31a7","description":"<p>Product Routes ( /api/products )</p>\n<ul>\n<li><p>GET / : Retrieves a list of products with support for keyword search, category filtering, and pagination.</p>\n</li>\n<li><p>GET /:id : Fetches detailed information for a single product.</p>\n</li>\n<li><p>GET /myproducts : (Seller Only) Lists all products uploaded by the authenticated seller.</p>\n</li>\n<li><p>POST / : (Seller Only) Creates a new product listing with pricing and stock details.</p>\n</li>\n<li><p>PUT /:id : (Seller Only) Updates an existing product's information.</p>\n</li>\n<li><p>DELETE /:id : (Seller Only) Permanently removes a product listing.</p>\n</li>\n</ul>\n","_postman_id":"e5f1fb80-7d74-4aba-b1b7-7e58f0ae31a7"},{"name":"Cart Routes","item":[{"name":"Per User Cart","id":"fa0569e9-0cb8-4163-9116-1def8e18e779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Prashant Sharma\",\r\n  \"mobile\": \"9876543210\",\r\n  \"address\": \"123 MG Road, Sector 5\",\r\n  \"city\": \"Delhi\",\r\n  \"state\": \"Delhi\",\r\n  \"postalCode\": \"110001\",\r\n  \"selected\": true\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/cart","urlObject":{"protocol":"https","path":["api","cart"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa0569e9-0cb8-4163-9116-1def8e18e779"},{"name":"Quantity Add","id":"13335c0e-b7e0-4ea0-a6c1-c276c0b355e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"quantity\": 2\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/cart/:productId","urlObject":{"protocol":"https","path":["api","cart",":productId"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f4c697a927518539d7dfcb","key":"productId"}]}},"response":[],"_postman_id":"13335c0e-b7e0-4ea0-a6c1-c276c0b355e8"},{"name":"Update Quantity","id":"4a28c6e6-5137-4a97-84d8-30c776767b27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"quantity\": 5\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/cart/:productId","urlObject":{"protocol":"https","path":["api","cart",":productId"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f4c697a927518539d7dfcb","key":"productId"}]}},"response":[],"_postman_id":"4a28c6e6-5137-4a97-84d8-30c776767b27"},{"name":"Delete Product From Cart","id":"d2ac68b8-396c-4fab-a35e-0a994d46bbc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"quantity\": 5\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/cart/:productId","urlObject":{"protocol":"https","path":["api","cart",":productId"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f4c697a927518539d7dfcb","key":"productId"}]}},"response":[],"_postman_id":"d2ac68b8-396c-4fab-a35e-0a994d46bbc6"},{"name":"Delete Entire Cart","id":"b59af031-568d-474e-a792-07a61b1ba1ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"quantity\": 5\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/cart/","urlObject":{"protocol":"https","path":["api","cart",""],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b59af031-568d-474e-a792-07a61b1ba1ff"}],"id":"a748b394-0a06-41db-bca6-943a0714bc94","description":"<p>Cart Routes ( /api/cart )</p>\n<ul>\n<li><p>GET / : Retrieves all items currently in the user's shopping cart.</p>\n</li>\n<li><p>POST /:productId : Adds a specific product to the cart with a defined quantity.</p>\n</li>\n<li><p>PUT /:productId : Updates the quantity of a specific item already in the cart.</p>\n</li>\n<li><p>DELETE /:productId : Removes a specific product from the cart.</p>\n</li>\n<li><p>DELETE / : Clears all items from the user's cart.</p>\n</li>\n</ul>\n","_postman_id":"a748b394-0a06-41db-bca6-943a0714bc94"},{"name":"WishList Routes","item":[{"name":"Wishlist items Per Acoount","id":"58e9c0e0-f4cb-417e-96b3-653d19c07432","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://zylora-e-commerce.onrender.com/api/wishlist","urlObject":{"protocol":"https","path":["api","wishlist"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"58e9c0e0-f4cb-417e-96b3-653d19c07432"},{"name":"Saved the Product in WishList","id":"e3f5ff2a-c7ae-4377-a2a7-82bc587dfb68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://zylora-e-commerce.onrender.com/api/wishlist/:productId","urlObject":{"protocol":"https","path":["api","wishlist",":productId"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f1cbdbc31fc639bb02dfae","key":"productId"}]}},"response":[],"_postman_id":"e3f5ff2a-c7ae-4377-a2a7-82bc587dfb68"},{"name":"Delete Product from WishList","id":"22dec62e-088c-4c4f-9d93-c908fb66b93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://zylora-e-commerce.onrender.com/api/wishlist/:productId","urlObject":{"protocol":"https","path":["api","wishlist",":productId"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f1cbdbc31fc639bb02dfae","key":"productId"}]}},"response":[],"_postman_id":"22dec62e-088c-4c4f-9d93-c908fb66b93b"}],"id":"a675f561-daa1-4f5e-a0d4-939bec2d2f09","description":"<p>Wishlist Routes ( /api/wishlist )</p>\n<ul>\n<li><p>GET / : Retrieves the list of products saved in the user's wishlist.</p>\n</li>\n<li><p>POST /:productId : Adds a product to the user's wishlist.</p>\n</li>\n<li><p>DELETE /:productId : Removes a product from the user's wishlist.</p>\n</li>\n</ul>\n","_postman_id":"a675f561-daa1-4f5e-a0d4-939bec2d2f09"},{"name":"Order Routes","item":[{"name":"Add Order","id":"d682f500-bfd5-448a-9aea-882a29a8e4ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"orderItems\": [\r\n    {\r\n      \"name\": \"Organic Basmati Rice\",\r\n      \"quantity\": 2,\r\n      \"image\": \"https://example.com/image1.jpg\",\r\n      \"price\": 1200,\r\n      \"product\": \"664a1f2e8b3c4d5e6f7a8b9c\"\r\n    }\r\n  ],\r\n  \"shippingAddress\": {\r\n    \"name\": \"Prashant Sharma\",\r\n    \"mobile\": \"9876543210\",\r\n    \"address\": \"123 MG Road, Delhi\"\r\n  },\r\n  \"paymentMethod\": \"Razorpay\",\r\n  \"totalPrice\": 2400\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/orders","urlObject":{"protocol":"https","path":["api","orders"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d682f500-bfd5-448a-9aea-882a29a8e4ee"},{"name":"See All Orders Per User","id":"cd2e81c3-7dfb-4d0e-bfda-58910daf32e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"orderItems\": [\r\n    {\r\n      \"name\": \"Organic Basmati Rice\",\r\n      \"quantity\": 2,\r\n      \"image\": \"https://example.com/image1.jpg\",\r\n      \"price\": 1200,\r\n      \"product\": \"664a1f2e8b3c4d5e6f7a8b9c\"\r\n    }\r\n  ],\r\n  \"shippingAddress\": {\r\n    \"name\": \"Prashant Sharma\",\r\n    \"mobile\": \"9876543210\",\r\n    \"address\": \"123 MG Road, Delhi\"\r\n  },\r\n  \"paymentMethod\": \"Razorpay\",\r\n  \"totalPrice\": 2400\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/orders/myorders","urlObject":{"protocol":"https","path":["api","orders","myorders"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd2e81c3-7dfb-4d0e-bfda-58910daf32e5"},{"name":"Seller Orders","id":"bcb0861c-4c3a-4e6b-807b-f522492a1a7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"orderItems\": [\r\n    {\r\n      \"name\": \"Organic Basmati Rice\",\r\n      \"quantity\": 2,\r\n      \"image\": \"https://example.com/image1.jpg\",\r\n      \"price\": 1200,\r\n      \"product\": \"664a1f2e8b3c4d5e6f7a8b9c\"\r\n    }\r\n  ],\r\n  \"shippingAddress\": {\r\n    \"name\": \"Prashant Sharma\",\r\n    \"mobile\": \"9876543210\",\r\n    \"address\": \"123 MG Road, Delhi\"\r\n  },\r\n  \"paymentMethod\": \"Razorpay\",\r\n  \"totalPrice\": 2400\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/orders/seller-orders","urlObject":{"protocol":"https","path":["api","orders","seller-orders"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bcb0861c-4c3a-4e6b-807b-f522492a1a7f"},{"name":"User Order By id","id":"3c3265cb-ea03-48be-87b4-348b267cb20f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"orderItems\": [\r\n    {\r\n      \"name\": \"Organic Basmati Rice\",\r\n      \"quantity\": 2,\r\n      \"image\": \"https://example.com/image1.jpg\",\r\n      \"price\": 1200,\r\n      \"product\": \"664a1f2e8b3c4d5e6f7a8b9c\"\r\n    }\r\n  ],\r\n  \"shippingAddress\": {\r\n    \"name\": \"Prashant Sharma\",\r\n    \"mobile\": \"9876543210\",\r\n    \"address\": \"123 MG Road, Delhi\"\r\n  },\r\n  \"paymentMethod\": \"Razorpay\",\r\n  \"totalPrice\": 2400\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/orders/:id","urlObject":{"protocol":"https","path":["api","orders",":id"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f5a3cb57464c2a272a5cab","key":"id"}]}},"response":[],"_postman_id":"3c3265cb-ea03-48be-87b4-348b267cb20f"},{"name":"Returned Request of Product by User","id":"97a2dae5-5844-4de0-a2ee-3e72355b7596","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"orderItems\": [\r\n    {\r\n      \"name\": \"Organic Basmati Rice\",\r\n      \"quantity\": 2,\r\n      \"image\": \"https://example.com/image1.jpg\",\r\n      \"price\": 1200,\r\n      \"product\": \"664a1f2e8b3c4d5e6f7a8b9c\"\r\n    }\r\n  ],\r\n  \"shippingAddress\": {\r\n    \"name\": \"Prashant Sharma\",\r\n    \"mobile\": \"9876543210\",\r\n    \"address\": \"123 MG Road, Delhi\"\r\n  },\r\n  \"paymentMethod\": \"Razorpay\",\r\n  \"totalPrice\": 2400\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/orders/:id/return","urlObject":{"protocol":"https","path":["api","orders",":id","return"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f216f3d8118b4bdf7b0a74","key":"id"}]}},"response":[],"_postman_id":"97a2dae5-5844-4de0-a2ee-3e72355b7596"},{"name":"Update Return Status by Seller","id":"2345c9f1-4719-4b18-8389-7285a8c309a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"status\": \"Returned\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/orders/:id/return-status","urlObject":{"protocol":"https","path":["api","orders",":id","return-status"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f216f3d8118b4bdf7b0a74","key":"id"}]}},"response":[],"_postman_id":"2345c9f1-4719-4b18-8389-7285a8c309a7"}],"id":"6ad2749c-e425-4873-88a7-6d9789756851","description":"<p>Order Routes ( /api/orders )</p>\n<ul>\n<li><p>POST / : Places a new order with shipping details and payment method.</p>\n</li>\n<li><p>GET /myorders : Lists all orders placed by the current buyer.</p>\n</li>\n<li><p>GET /seller-orders : (Seller Only) Lists all orders received for the seller's products.</p>\n</li>\n<li><p>GET /:id : Retrieves full details and status of a specific order.</p>\n</li>\n<li><p>PUT /:id/return : Initiates a return request for a delivered order.</p>\n</li>\n<li><p>PUT /:id/return-status : (Seller Only) Approves or rejects a buyer's return request.</p>\n</li>\n</ul>\n","_postman_id":"6ad2749c-e425-4873-88a7-6d9789756851"},{"name":"Negotiation Routes","item":[{"name":"Summary for Seller","id":"cce3ec16-6fde-45bb-a9f8-5f4c0a75227a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"status\": \"Returned\"\r\n}\r\n"},"url":"https://zylora-e-commerce.onrender.com/api/negotiation/seller/summary","urlObject":{"protocol":"https","path":["api","negotiation","seller","summary"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cce3ec16-6fde-45bb-a9f8-5f4c0a75227a"},{"name":"Agreed Price by Seller","id":"de3fb7d9-1353-4a75-979c-636f888560f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"de3fb7d9-1353-4a75-979c-636f888560f8"}],"id":"e718698f-baeb-4d81-85d4-a83ffd09cd47","description":"<p>Negotiation Routes ( /api/negotiation )</p>\n<ul>\n<li><p>GET /seller/summary : (Seller Only) Provides an overview of active negotiations for the seller.</p>\n</li>\n<li><p>GET /seller/accepted : (Seller Only) Lists all negotiations that have been successfully closed.</p>\n</li>\n<li><p>GET /:productId : Fetches the negotiation history between a buyer and seller for a specific product.</p>\n</li>\n<li><p>PUT /:id/status : (Seller Only) Finalizes a negotiation by accepting or declining the buyer's offer.</p>\n</li>\n</ul>\n","_postman_id":"e718698f-baeb-4d81-85d4-a83ffd09cd47"},{"name":"Payment Routes","item":[{"name":"Order Amount","id":"1a3baf4b-28fe-4170-a8b9-e6dc8e738826","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 2400,\r\n  \"currency\": \"INR\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/payments/razorpay/order","urlObject":{"protocol":"https","path":["api","payments","razorpay","order"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a3baf4b-28fe-4170-a8b9-e6dc8e738826"}],"id":"fb22e93a-2e77-46fb-a330-25d685d46313","description":"<p>Payment Routes ( /api/payments )</p>\n<ul>\n<li>POST /razorpay/order : Creates a unique Order ID in the Razorpay system to initiate a payment.</li>\n</ul>\n","_postman_id":"fb22e93a-2e77-46fb-a330-25d685d46313"},{"name":"Auction Routes","item":[{"name":"Active Auctions","id":"48035e01-1d8c-4b55-857f-88bb4255474c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://zylora-e-commerce.onrender.com/api/auctions","urlObject":{"protocol":"https","path":["api","auctions"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"48035e01-1d8c-4b55-857f-88bb4255474c"},{"name":"Closed Auctions","id":"337c604a-613d-47f0-819f-c75cd34b2802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://zylora-e-commerce.onrender.com/api/auctions/closed","urlObject":{"protocol":"https","path":["api","auctions","closed"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"337c604a-613d-47f0-819f-c75cd34b2802"},{"name":"Active Auction at Seller","id":"cbef2999-f981-4158-b93c-6e59ff849663","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://zylora-e-commerce.onrender.com/api/auctions/seller","urlObject":{"protocol":"https","path":["api","auctions","seller"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbef2999-f981-4158-b93c-6e59ff849663"},{"name":"Create Auction","id":"03770baa-5b42-45b0-8644-4793fc0e4843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"productId\": \"69f1cb36c6211ffa29937efd\",\r\n  \"basePrice\": 5000,\r\n  \"duration\": 2,\r\n  \"durationUnit\": \"hours\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/auctions","urlObject":{"protocol":"https","path":["api","auctions"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"03770baa-5b42-45b0-8644-4793fc0e4843"},{"name":"Make Bid by User","id":"acf13afe-f8cb-4016-a098-6868972937ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"amount\": 5500\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://zylora-e-commerce.onrender.com/api/auctions/:id/bid","urlObject":{"protocol":"https","path":["api","auctions",":id","bid"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f5b11557464c2a272a5db7","key":"id"}]}},"response":[],"_postman_id":"acf13afe-f8cb-4016-a098-6868972937ed"},{"name":"Auction Bid by User","id":"c1092c31-cec0-44e7-af28-2d31ef58e70e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://zylora-e-commerce.onrender.com/api/auctions/:id/my-bid","urlObject":{"protocol":"https","path":["api","auctions",":id","my-bid"],"host":["zylora-e-commerce","onrender","com"],"query":[],"variable":[{"type":"any","value":"69f5b11557464c2a272a5db7","key":"id"}]}},"response":[],"_postman_id":"c1092c31-cec0-44e7-af28-2d31ef58e70e"}],"id":"f200c4e7-cb29-45ec-8eb8-8a90b5d6e6ad","description":"<p>Auction Routes ( /api/auctions )</p>\n<ul>\n<li><p>GET / : Lists all currently active live auctions.</p>\n</li>\n<li><p>GET /closed : Shows a history of recently completed auctions.</p>\n</li>\n<li><p>GET /seller : (Seller Only) Lists all auctions created by the authenticated seller.</p>\n</li>\n<li><p>POST / : (Seller Only) Starts a new live auction for a specific product.</p>\n</li>\n<li><p>POST /:id/bid : Places a new, higher bid on an active auction.</p>\n</li>\n<li><p>GET /:id/my-bid : Checks the current user's highest bid on a specific auction.</p>\n</li>\n<li><p>GET /:id/details : Retrieves real-time details, including the current highest bidder and time remaining.</p>\n</li>\n<li><p>POST /:id/process-refunds : (Seller Only) Triggers the refund process for unsuccessful bidders after an auction ends.</p>\n</li>\n</ul>\n","_postman_id":"f200c4e7-cb29-45ec-8eb8-8a90b5d6e6ad"}]}