{"info":{"_postman_id":"15b1d85a-6d4e-429a-890a-041f38c8e0c4","name":"BORROWLY","description":"<html><head></head><body><p>Borrowly - rent and borrow : clothes , accessories , footwears .</p>\n<p>This documentation includes different types of API used to fetch , update , delete and create data for this website use .</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"39190597","collectionId":"15b1d85a-6d4e-429a-890a-041f38c8e0c4","publishedId":"2sAYX5L2kS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-15T06:17:02.000Z"},"item":[{"name":"GET_mixture","id":"114dfd3f-dced-494d-ac04-da9d78107230","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://borrowly-backend.onrender.com/mixture","description":"<p>This <strong>GET</strong> request is use to <strong>fetch</strong> all the data from the collection <strong>mixture</strong> which have all the entry of the products rented by the renter and available for the borrower.</p>\n","urlObject":{"protocol":"https","path":["mixture"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"114dfd3f-dced-494d-ac04-da9d78107230"},{"name":"GET_accessories","id":"d9259b2c-590d-495c-8b42-40882f878917","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://borrowly-backend.onrender.com/accessories","description":"<p>This <strong>GET</strong> request is use to <strong>fetch</strong> all the data from the collection <strong>accessories</strong> which have all the entry of the accessories rented by the renter and available for the borrower.</p>\n","urlObject":{"protocol":"https","path":["accessories"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9259b2c-590d-495c-8b42-40882f878917"},{"name":"GET_clothes","id":"554cb150-0a43-4a31-9e4e-69b3e058f0e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://borrowly-backend.onrender.com/clothes","description":"<p>This <strong>GET</strong> request is use to <strong>fetch</strong> all the data from the collection clothes which have all the entry of the clothes rented by the renter and available for the borrower.</p>\n","urlObject":{"protocol":"https","path":["clothes"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"554cb150-0a43-4a31-9e4e-69b3e058f0e3"},{"name":"GET_footwears","id":"0fd31e58-1c39-4563-827a-3454560b28e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://borrowly-backend.onrender.com/footwears","description":"<p>This <strong>GET</strong> request is use to <strong>fetch</strong> all the data from the collection footwears which have all the entry of the footwears rented by the renter and available for the borrower.</p>\n","urlObject":{"protocol":"https","path":["footwears"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fd31e58-1c39-4563-827a-3454560b28e4"},{"name":"POST_login","id":"f6029c51-6e41-456d-8a35-f236bd39a424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Falak Patel\",\r\n    \"password\": \"FalakPatel\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://borrowly-backend.onrender.com/login","description":"<p>This endpoint allows registered users to log into the <strong>Borrowly</strong> platform by providing their credentials (email and password). Upon successful authentication, the API returns a response message saying that user login successful.</p>\n","urlObject":{"protocol":"https","path":["login"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6029c51-6e41-456d-8a35-f236bd39a424"},{"name":"POST_signup","id":"0695b519-3a77-4a98-a1c4-e182e33dc370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Amit Patel\",\r\n    \"emailOrPhone\": \"amit@gmail.com\",\r\n    \"password\": \"AmitPatel\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://borrowly-backend.onrender.com/register","description":"<p>This endpoint allows new users to <strong>create an account</strong> on the <strong>Borrowly</strong> platform by providing their personal details. Upon successful registration, the API returns a confirmation message user registered successfully.</p>\n","urlObject":{"protocol":"https","path":["register"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0695b519-3a77-4a98-a1c4-e182e33dc370"},{"name":"POST_RentForm","id":"ef72df53-a610-4be9-8741-45ebe735176c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"prodName\": \"Classic Aviator Sunglasses\",\r\n  \"category\": \"Accessories\",\r\n  \"subCategory\": \"Sunglasses\",\r\n  \"type\": \"Aviator\",\r\n  \"gender\": \"Male\",\r\n  \"frameMaterial\": \"Metal\",\r\n  \"lensMaterial\": \"Glass\",\r\n  \"color\": \"Black & Gold\",\r\n  \"brand\": \"Ray-Ban\",\r\n  \"price\": \"Rs.201/per day\",\r\n  \"duration\": [\r\n    \"3 Days\",\r\n    \"5 Days\",\r\n    \"7 Days\",\r\n    \"10 Days\"\r\n  ],\r\n  \"deposit\": 1000,\r\n  \"description\": \"Stylish classic aviator sunglasses with UV protection and premium metal frame. Ideal for casual and outdoor wear.\",\r\n  \"termsAndConditions\": \"Deposit required at the time of delivery, refundable upon return in original condition. Late return fees applicable.\",\r\n  \"deliveryTime\": \"2-3 Days\",\r\n  \"availability\": \"Available\",\r\n  \"images\": [\r\n    \"https://india.ray-ban.com/media/catalog/product/0/r/0rb3025_919648_000a_new_1.png\",\r\n    \"https://india.ray-ban.com/media/catalog/product/0/r/0rb3025_919648_060a_new_1.png\",\r\n    \"https://india.ray-ban.com/media/catalog/product/0/r/0rb3025_919648_210a_new_1.png\"\r\n  ],\r\n  \"renter\": {\r\n    \"name\": \"Rohan Verma\",\r\n    \"phnNum\": \"+91 9876543222\",\r\n    \"email\": \"rohan.verma@example.com\",\r\n    \"address\": \"789 Luxury Street, Bangalore\",\r\n    \"city\": \"Bangalore\",\r\n    \"pincode\": \"560001\"\r\n  }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://borrowly-backend.onrender.com/submit-form","description":"<p>This endpoint allows users to <strong>submit a form</strong> with necessary details, which are then stored in the backend. The form data can include user information, item details, or any other relevant data related to borrowing or renting on the <strong>Borrowly</strong> platform.</p>\n","urlObject":{"protocol":"https","path":["submit-form"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef72df53-a610-4be9-8741-45ebe735176c"},{"name":"POST_cart_insert","id":"eceb4970-f2f6-46e7-b86a-4e367abefc36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"67b863230e69ad0d2b877cdd\",\r\n  \"productId\": \"67a10557aefc58cedf01a810\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://borrowly-backend.onrender.com/cart/add","description":"<p>This endpoint allows users to add an item to their cart for renting or borrowing on the Borrowly platform. The request must include the user ID and item ID along with the quantity. The backend stores this data and updates the user's cart accordingly.</p>\n","urlObject":{"protocol":"https","path":["cart","add"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eceb4970-f2f6-46e7-b86a-4e367abefc36"},{"name":"POST_wishlist_insert","id":"ddde1b40-b703-4713-a1f2-cbc30dae5209","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"userId\": \"67b86013172b529aaa776379\",\r\n  \"productId\": \"679f60b93a41f785eead7546\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://borrowly-backend.onrender.com/wishlist/add","description":"<p>This endpoint allows users to add an item to their wishlist for future reference. The request must include the user ID and item ID. The backend stores this information in the user's wishlist section.</p>\n","urlObject":{"protocol":"https","path":["wishlist","add"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ddde1b40-b703-4713-a1f2-cbc30dae5209"},{"name":"DELETE_cart_delete","id":"bde65d3c-b831-4e08-9948-d0e7e2df89d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\":\"67b86013172b529aaa776379\",\r\n    \"productId\":\"67b2f319c4afd87426a0b058\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://borrowly-backend.onrender.com/cart/remove","description":"<p>This endpoint allows users to remove a specific item from their cart. The request must include the user ID and item ID. If the item exists in the cart, it will be removed; otherwise, an error message will be returned.</p>\n","urlObject":{"protocol":"https","path":["cart","remove"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bde65d3c-b831-4e08-9948-d0e7e2df89d1"},{"name":"DELETE_wishlist_delete","id":"fd910b15-7c09-4fff-becf-81004f4b7815","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userId\":\"67b86013172b529aaa776379\",\r\n    \"productId\":\"67b70b5cd82a2d405354ce11\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://borrowly-backend.onrender.com/wishlist/remove","description":"<p>This endpoint allows users to remove an item from their wishlist. The request must include the user ID and item ID. If the item exists in the wishlist, it will be removed; otherwise, an error message will be returned.</p>\n","urlObject":{"protocol":"https","path":["wishlist","remove"],"host":["borrowly-backend","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd910b15-7c09-4fff-becf-81004f4b7815"}]}