{"info":{"_postman_id":"03a35187-1e9b-41ac-ab63-83cfe41de9ec","name":"Ecom_backend","description":"<html><head></head><body><p>The provided list outlines various API endpoints for an online shopping platform or e-commerce system. It encompasses user authentication, product management, shopping cart functionality, order handling, and information retrieval for brands, categories, and products. Users can register and log in, manage their profiles, add products to wishlists, and perform actions related to shopping carts and orders. Additionally, the system supports operations such as retrieving information about brands, categories, individual products, and managing user addresses. Overall, these endpoints define the functionalities necessary for a comprehensive online shopping experience.  </p>\n<h3 id=\"authentication\"><strong>Authentication</strong></h3>\n<ul>\n<li><p><strong>POST /auth/register:</strong> User registration</p>\n</li>\n<li><p><strong>POST /auth/login:</strong> User login</p>\n</li>\n<li><p><strong>PATCH /auth/add-to-wishlist:</strong> Add a product to the wishlist</p>\n</li>\n<li><p><strong>GET /auth/my-profile:</strong> Get user profile information</p>\n</li>\n<li><p><strong>GET /auth/get-wishlist-products:</strong> Get products in the user's wishlist</p>\n</li>\n<li><p><strong>DELETE /auth/delete-address:</strong> Delete a user's address</p>\n</li>\n<li><p><strong>PUT /auth/update-address:</strong> Update a user's address</p>\n</li>\n</ul>\n<h3 id=\"brands\">Brands</h3>\n<ul>\n<li><strong>GET /brands/get-all-brands:</strong> Get information about all brands</li>\n</ul>\n<h3 id=\"category\">Category</h3>\n<ul>\n<li><strong>GET /category/get-all-categories:</strong> Get information about all categories</li>\n</ul>\n<h3 id=\"cart\">Cart</h3>\n<ul>\n<li><p><strong>POST /cart/add-to-cart:</strong> Add a product to the shopping cart</p>\n</li>\n<li><p><strong>GET /cart/get-all-cart:</strong> Get information about all items in the shopping cart</p>\n</li>\n<li><p><strong>DELETE /cart/delete-cart:</strong> Delete the entire shopping cart</p>\n</li>\n<li><p><strong>PUT /cart/update-cart:</strong> Update the quantity or details of a product in the cart</p>\n</li>\n</ul>\n<h3 id=\"order\">Order</h3>\n<ul>\n<li><p><strong>GET /order/get-my-orders:</strong> Get a list of the user's orders</p>\n</li>\n<li><p><strong>GET /order/get-single-order:</strong> Get information about a single order</p>\n</li>\n</ul>\n<h3 id=\"products\">Products</h3>\n<ul>\n<li><p><strong>POST /products/add-products:</strong> Add a new product</p>\n</li>\n<li><p><strong>GET /products/get-single-product:</strong> Get information about a single product</p>\n</li>\n<li><p><strong>GET /products/get-all-products:</strong> Get information about all products</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"27009787","collectionId":"03a35187-1e9b-41ac-ab63-83cfe41de9ec","publishedId":"2s9Ykn8ghc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-16T15:39:27.000Z"},"item":[{"name":"auth","item":[{"name":"register","id":"5d7f38ee-74b0-4009-b159-3a5629bc7854","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\":\"mahesh tatipamula\",\r\n  \"email\":\"tatipamulamaheshgoud@gmail.com\",\r\n  \"password\":\"Mahesh@1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/user/register","description":"<h2 id=\"user-registration\">User Registration</h2>\n<p>This endpoint allows the user to register by providing their name, email, and password.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>name</code> (string): The name of the user.</li>\n<li><code>email</code> (string): The email address of the user.</li>\n<li><code>password</code> (string): The password for the user account.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><code>email</code> (string): The email address of the registered user.</li>\n<li><code>password</code> (string): The hashed password of the user.</li>\n<li><code>wishlist</code> (array): An array of items in the user's wishlist.</li>\n<li><code>addresses</code> (array): An array of addresses associated with the user.</li>\n<li><code>_id</code> (string): The unique ID of the registered user.</li>\n<li><code>createdAt</code> (string): The date and time when the user account was created.</li>\n<li><code>updatedAt</code> (string): The date and time when the user account was last updated.</li>\n<li><code>__v</code> (number): Version control field.</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"email\": \"tatipamulamaheshgoud@gmail.com\",\n    \"password\": \"$2b$10$pHQZqJDFx346UsNzVCwWhOivHYErZEBEf/vzTU5XOR33.MBRtHIa.\",\n    \"wishlist\": [],\n    \"addresses\": [],\n    \"_id\": \"657db93db09821e6c3ece54c\",\n    \"createdAt\": \"2023-12-16T14:50:37.014Z\",\n    \"updatedAt\": \"2023-12-16T14:50:37.014Z\",\n    \"__v\": 0\n}\n</code></pre>\n","urlObject":{"path":["register"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/user"],"query":[],"variable":[]}},"response":[{"id":"6327e90c-4ab7-422e-a35f-dc7a7925af0f","name":"register","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\":\"mahesh tatipamula\",\r\n  \"email\":\"tatipamulamaheshgoud@gmail.com\",\r\n  \"password\":\"Mahesh@1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/user/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"264"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 14:50:37 GMT"},{"key":"Etag","value":"W/\"108-h80sbcaP6PRZydPGpY8YsgpPvcE\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::mbqt7-1702738235135-ea8e2c4ff88d"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"tatipamulamaheshgoud@gmail.com\",\n    \"password\": \"$2b$10$pHQZqJDFx346UsNzVCwWhOivHYErZEBEf/vzTU5XOR33.MBRtHIa.\",\n    \"wishlist\": [],\n    \"addresses\": [],\n    \"_id\": \"657db93db09821e6c3ece54c\",\n    \"createdAt\": \"2023-12-16T14:50:37.014Z\",\n    \"updatedAt\": \"2023-12-16T14:50:37.014Z\",\n    \"__v\": 0\n}"}],"_postman_id":"5d7f38ee-74b0-4009-b159-3a5629bc7854"},{"name":"Login","id":"c24117fc-04e4-4eaf-9a36-5952218de4b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"mahesh.tatipamula43@gmail.com\",\r\n    \"password\": \"Mahesh@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/login","description":"<h3 id=\"user-login\">User Login</h3>\n<p>This endpoint allows the user to log in by providing their email and password.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>email</code> (string, required): The email of the user.</li>\n<li><code>password</code> (string, required): The password of the user.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><code>id</code> (string): The unique identifier of the user.</li>\n<li><code>token</code> (string): The authentication token for the logged-in user.</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<p>Request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"email\": \"user@example.com\",\n    \"password\": \"password123\"\n}\n\n</code></pre>\n<p>Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": \"65538b938fc4904467e9f3b9\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1NTM4YjkzOGZjNDkwNDQ2N2U5ZjNiOSIsImlhdCI6MTY5OTk3NDkwNSwiZXhwIjoxNzAwMDYxMzA1fQ.SX5ZKkyQGD4Bl8-GfdIb8OhdDNEi-E-I74wzIt6OylY\"\n}\n\n</code></pre>\n","urlObject":{"path":["user","login"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"c4e9c719-5717-400a-ade6-ac61e868ff3b","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"mahesh.tatipamula43@gmail.com\",\r\n    \"password\": \"Mahesh@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"215"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 14:54:44 GMT"},{"key":"Etag","value":"W/\"d7-k/4Id2EfXcMwm0VJX/E5o0RwbJs\""},{"key":"Server","value":"Vercel"},{"key":"Set-Cookie","value":"Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1NTNjNmJiZTAxMzRkYWU5ZTc3ZDQ5MyIsImlhdCI6MTcwMjczODQ4NCwiZXhwIjoxNzAyODI0ODg0fQ.okmDTxpvKPyffyJ0Gwsygqs5CFP_kpPEHL3XdLuqkaw; Max-Age=259200; Path=/; Expires=Tue, 19 Dec 2023 14:54:44 GMT; HttpOnly"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::w4k4b-1702738484068-e0496b3de750"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6553c6bbe0134dae9e77d493\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1NTNjNmJiZTAxMzRkYWU5ZTc3ZDQ5MyIsImlhdCI6MTcwMjczODQ4NCwiZXhwIjoxNzAyODI0ODg0fQ.okmDTxpvKPyffyJ0Gwsygqs5CFP_kpPEHL3XdLuqkaw\"\n}"}],"_postman_id":"c24117fc-04e4-4eaf-9a36-5952218de4b7"},{"name":"add-to-wishlist","id":"50158328-6d94-4185-8462-d4c2cdfce1f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/add-to-wishlist/6503e5fc5c5230d0b4c368aa","description":"<p>This endpoint allows users to add a product to their wishlist. The HTTP PATCH request is sent to https://ecom-backend-maheshtatipamula.vercel.app/api//user/add-to-wishlist/6503e5fc5c5230d0b4c368aa.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>email</code> (text, optional): The email of the user.</li>\n<li><code>password</code> (text, optional): The password of the user.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><code>message</code> (string): Indicates the status of the operation. Possible values include \"added\" to indicate successful addition to the wishlist.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"added\"\n}\n\n</code></pre>\n","urlObject":{"path":["user","add-to-wishlist","6503e5fc5c5230d0b4c368aa"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"377dc0ff-3b58-4efc-95e8-aad8a325efef","name":"add-to-wishlist","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"maheshgoud@gmail.com\",\r\n    \"password\": \"Mahesh@1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/add-to-wishlist/6503e5fc5c5230d0b4c368aa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"19"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 14:57:21 GMT"},{"key":"Etag","value":"W/\"13-WlpO+S0hFBJLC+5Z7lF5yp8Wf8k\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::9lcvm-1702738641123-f928c8e3dc5e"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"added\"\n}"}],"_postman_id":"50158328-6d94-4185-8462-d4c2cdfce1f4"},{"name":"my-profile","id":"55650fa8-5678-491c-ad66-6e5aa449b319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/my-profile","description":"<p>This endpoint makes an HTTP GET request to retrieve the user's profile information. The request does not require any parameters. The response will include the user's unique ID, email, wishlist, and addresses. The addresses array will contain details such as name, email, phone, country, street, city, region, postal code, and a unique identifier for each address. The createdAt and updatedAt fields indicate the creation and last update timestamps respectively.</p>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"65538b938fc4904467e9f3b9\",\n    \"email\": \"maheshgoud@gmail.com\",\n    \"wishlist\": [\n        \"6503e5fc5c5230d0b4c368aa\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"mahesh\",\n            \"email\": \"maheshgoud@gmail.com\",\n            \"phone\": 1234567890,\n            \"city\": \"hyderabad\",\n            \"street\": \"abids\",\n            \"postal\": \"500001\",\n            \"id\": \"1225222\"\n        }\n    ],\n    \"createdAt\": \"2023-11-14T15:00:35.755Z\",\n    \"updatedAt\": \"2023-11-14T15:28:46.988Z\",\n    \"__v\": 0\n}\n\n</code></pre>\n","urlObject":{"path":["user","my-profile"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"d3833fdc-9c8c-47cf-a827-c4ad5bdad209","name":"my-profile","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addresses\":{\r\n  \"name\":\"mahesh\",\r\n  \"email\":\"maheshgoud@gmail.com\",\r\n  \"phone\":1234567890,\r\n  \"city\":\"hyderabad\",\r\n  \"street\":\"abids\",\r\n  \"postal\":\"500001\"\r\n    }\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/my-profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"724"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 14:58:29 GMT"},{"key":"Etag","value":"W/\"2d4-H/3rhshXTW3yIW27W3z7mLUwsiU\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::5z6pc-1702738709280-3b27c6444364"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6553c6bbe0134dae9e77d493\",\n    \"email\": \"mahesh.tatipamula43@gmail.com\",\n    \"wishlist\": [\n        \"6503e5fc5c5230d0b4c368ab\",\n        \"6503e5fc5c5230d0b4c368e6\",\n        \"6503e5fc5c5230d0b4c368aa\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        {\n            \"name\": \"mahesh goud\",\n            \"email\": \"maheshgoud@gmail.com\",\n            \"phone\": \"7894561230\",\n            \"country\": \"India\",\n            \"street\": \"abids\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"Telangana\",\n            \"postal\": \"500001\",\n            \"id\": \"9d4ce35a-9149-44f7-b750-b95c1c538ee1\"\n        }\n    ],\n    \"createdAt\": \"2023-11-14T19:12:59.934Z\",\n    \"updatedAt\": \"2023-12-16T14:57:21.305Z\",\n    \"__v\": 0\n}"}],"_postman_id":"55650fa8-5678-491c-ad66-6e5aa449b319"},{"name":"get-wishlist-products","id":"89b1bc4a-b018-4edf-8b32-2dfb610a609c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/get-wishlist-products","description":"<p>This endpoint makes an HTTP GET request to retrieve the wishlist products for the user. The request should include the user's addresses information. The response will contain a list of wishlist products, each with a unique identifier, title, description, price, discount percentage, rating, stock availability, brand, category, thumbnail URL, a list of image URLs, and an ID.</p>\n<p>The response will have a status code of 200 upon successful execution. Here are some examples of the response:</p>\n<ol>\n<li>Samsung Galaxy Book<ul>\n<li>Title: Samsung Galaxy Book</li>\n<li>Description: Samsung Galaxy Book S (2020) Laptop With Intel Lakefield Chip, 8GB of RAM Launched</li>\n<li>Price: $1499</li>\n<li>Discount Percentage: 4.15%</li>\n<li>Rating: 4.25</li>\n<li>Stock: 21</li>\n<li>Brand: Samsung</li>\n<li>Category: Laptops</li>\n<li>Thumbnail: [Link to thumbnail image]</li>\n<li>Images: [List of image URLs]</li>\n<li>ID: 6503e5fc5c5230d0b4c368ab</li>\n</ul>\n</li>\n<li>Steel Analog Couple Watches<ul>\n<li>Title: Steel Analog Couple Watches</li>\n<li>Description: Elegant design, Stylish, Unique &amp; Trendy, Comfortable wear</li>\n<li>Price: $35</li>\n<li>Discount Percentage: 3.23%</li>\n<li>Rating: 4.79</li>\n<li>Stock: 23</li>\n<li>Brand: Eastern Watches</li>\n<li>Category: Women's Watches</li>\n<li>Thumbnail: [Link to thumbnail image]</li>\n<li>Images: [List of image URLs]</li>\n<li>ID: 6503e5fc5c5230d0b4c368e6</li>\n</ul>\n</li>\n<li>MacBook Pro<ul>\n<li>Title: MacBook Pro</li>\n<li>Description: MacBook Pro 2021 with mini-LED display may launch between September, November</li>\n<li>Price: $1749</li>\n<li>Discount Percentage: 11.02%</li>\n<li>Rating: 4.57</li>\n<li>Stock: 81</li>\n<li>Brand: Apple</li>\n<li>Category: Laptops</li>\n<li>Thumbnail: [Link to thumbnail image]</li>\n<li>Images: [List of image URLs]</li>\n<li>ID: 6503e5fc5c5230d0b4c368aa</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"path":["user","get-wishlist-products"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"098769c0-d9f1-454a-bdfe-513f947fe3de","name":"get-wishlist-products","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addresses\":{\r\n  \"name\":\"mahesh\",\r\n  \"email\":\"maheshgoud@gmail.com\",\r\n  \"phone\":1234567890,\r\n  \"city\":\"hyderabad\",\r\n  \"street\":\"abids\",\r\n  \"postal\":\"500001\"\r\n    }\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/get-wishlist-products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 14:59:27 GMT"},{"key":"Etag","value":"W/\"6a6-W/8/DLtu82+K8V4tSio1mrPfVTU\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::65drj-1702738767659-fa164d70407d"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"wishlist\": [\n        {\n            \"nid\": 7,\n            \"title\": \"Samsung Galaxy Book\",\n            \"description\": \"Samsung Galaxy Book S (2020) Laptop With Intel Lakefield Chip, 8GB of RAM Launched\",\n            \"price\": 1499,\n            \"discountPercentage\": 4.15,\n            \"rating\": 4.25,\n            \"stock\": 21,\n            \"brand\": \"Samsung\",\n            \"category\": \"laptops\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/7/thumbnail.jpg\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/7/1.jpg\",\n                \"https://i.dummyjson.com/data/products/7/2.jpg\",\n                \"https://i.dummyjson.com/data/products/7/3.jpg\",\n                \"https://i.dummyjson.com/data/products/7/thumbnail.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368ab\"\n        },\n        {\n            \"nid\": 66,\n            \"title\": \"Steel Analog Couple Watches\",\n            \"description\": \"Elegant design, Stylish ,Unique & Trendy,Comfortable wear\",\n            \"price\": 35,\n            \"discountPercentage\": 3.23,\n            \"rating\": 4.79,\n            \"stock\": 23,\n            \"brand\": \"Eastern Watches\",\n            \"category\": \"womens-watches\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/66/thumbnail.jpg\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/66/1.jpg\",\n                \"https://i.dummyjson.com/data/products/66/2.jpg\",\n                \"https://i.dummyjson.com/data/products/66/3.jpg\",\n                \"https://i.dummyjson.com/data/products/66/4.JPG\",\n                \"https://i.dummyjson.com/data/products/66/thumbnail.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368e6\"\n        },\n        {\n            \"nid\": 6,\n            \"title\": \"MacBook Pro\",\n            \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n            \"price\": 1749,\n            \"discountPercentage\": 11.02,\n            \"rating\": 4.57,\n            \"stock\": 81,\n            \"brand\": \"Apple\",\n            \"category\": \"laptops\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/6/1.png\",\n                \"https://i.dummyjson.com/data/products/6/2.jpg\",\n                \"https://i.dummyjson.com/data/products/6/3.png\",\n                \"https://i.dummyjson.com/data/products/6/4.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368aa\"\n        }\n    ]\n}"}],"_postman_id":"89b1bc4a-b018-4edf-8b32-2dfb610a609c"},{"name":"delete-address","id":"873f95b2-cf80-4b3f-81c4-4eb0362b579b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addresses\":{\r\n  \"name\":\"mahesh\",\r\n  \"email\":\"maheshgoud@gmail.com\",\r\n  \"phone\":1234567890,\r\n  \"city\":\"hyderabad\",\r\n  \"street\":\"abids\",\r\n  \"postal\":\"500001\"\r\n    }\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/delete-address/9d4ce35a-9149-44f7-b750-b95c1c538ee1","description":"<h3 id=\"delete-user-address\">Delete User Address</h3>\n<p>This endpoint is used to delete a specific address associated with a user.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: DELETE</p>\n</li>\n<li><p>URL: <code>https://ecom-backend-maheshtatipamula.vercel.app/api//user/delete-address/9d4ce35a-9149-44f7-b750-b95c1c538ee1</code></p>\n</li>\n<li><p>Payload:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"addresses\": {\n    \"name\": \"\",\n    \"email\": \"\",\n    \"phone\": 0,\n    \"city\": \"\",\n    \"street\": \"\",\n    \"postal\": \"\"\n  }\n}\n\n</code></pre>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"successfully deleted\"\n}\n\n</code></pre>\n</li>\n</ul>\n","urlObject":{"path":["user","delete-address","9d4ce35a-9149-44f7-b750-b95c1c538ee1"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"3912156e-01df-4169-9f4b-0a4c95c9ccfc","name":"delete-address","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addresses\":{\r\n  \"name\":\"mahesh\",\r\n  \"email\":\"maheshgoud@gmail.com\",\r\n  \"phone\":1234567890,\r\n  \"city\":\"hyderabad\",\r\n  \"street\":\"abids\",\r\n  \"postal\":\"500001\"\r\n    }\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/delete-address/9d4ce35a-9149-44f7-b750-b95c1c538ee1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"34"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:04:22 GMT"},{"key":"Etag","value":"W/\"22-c0jxJo2D+iTXOyi852WxVgBTfps\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::df2xj-1702739062148-eb6167887291"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"successfully deleted\"\n}"}],"_postman_id":"873f95b2-cf80-4b3f-81c4-4eb0362b579b"},{"name":"update-address","id":"96905d9d-6a72-4176-b29f-d6e6db44e30a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addresses\":{\r\n  \"name\":\"mahesh\",\r\n  \"email\":\"maheshgoud@gmail.com\",\r\n  \"phone\":1234567890,\r\n  \"city\":\"hyderabad\",\r\n  \"street\":\"abids\",\r\n  \"postal\":\"500001\",\r\n  \"id\":\"1225222\"\r\n    }\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8005/api/user/update","description":"<h3 id=\"update-user-details\">Update User Details</h3>\n<p>This endpoint allows the user to update their details, such as addresses and wishlist.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>The request should be a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">  {\n      \"addresses\": {\n          \"name\": \"\",\n          \"email\": \"\",\n          \"phone\": 0,\n          \"city\": \"\",\n          \"street\": \"\",\n          \"postal\": \"\",\n          \"id\": \"\"\n      }\n  }\n\n</code></pre>\n<ul>\n<li><code>addresses</code> (object): An object containing the user's address details.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li>Status: 200 OK</li>\n<li>The response will be a JSON object with the updated user details including addresses and wishlist.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"65538b938fc4904467e9f3b9\",\n    \"email\": \"maheshgoud@gmail.com\",\n    \"wishlist\": [\n        \"6503e5fc5c5230d0b4c368aa\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"mahesh\",\n            \"email\": \"maheshgoud@gmail.com\",\n            \"phone\": 1234567890,\n            \"city\": \"hyderabad\",\n            \"street\": \"abids\",\n            \"postal\": \"500001\"\n        },\n        ...\n    ],\n    \"createdAt\": \"2023-11-14T15:00:35.755Z\",\n    \"updatedAt\": \"2023-11-14T15:28:46.988Z\",\n    \"__v\": 0\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"8005","path":["api","user","update"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f0cdd6e3-4831-4c9e-b201-8fcfa91443d5","name":"update-address","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addresses\":{\r\n  \"name\":\"mahesh\",\r\n  \"email\":\"maheshgoud@gmail.com\",\r\n  \"phone\":1234567890,\r\n  \"city\":\"hyderabad\",\r\n  \"street\":\"abids\",\r\n  \"postal\":\"500001\",\r\n  \"id\":\"1225222\"\r\n    }\r\n\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//user/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"723"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:05:23 GMT"},{"key":"Etag","value":"W/\"2d3-Scro99lWMXb9eI2gpRWeeM68LIk\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::9pd4d-1702739123655-fc56bd43c747"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6553c6bbe0134dae9e77d493\",\n    \"email\": \"mahesh.tatipamula43@gmail.com\",\n    \"password\": \"$2b$10$NFJEGQwBnPUNQQnopvPiF.hTDHK3a2SwIlf/H92AIqKNC44DooK02\",\n    \"wishlist\": [\n        \"6503e5fc5c5230d0b4c368ab\",\n        \"6503e5fc5c5230d0b4c368e6\",\n        \"6503e5fc5c5230d0b4c368aa\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        {\n            \"name\": \"mahesh\",\n            \"email\": \"maheshgoud@gmail.com\",\n            \"phone\": 1234567890,\n            \"city\": \"hyderabad\",\n            \"street\": \"abids\",\n            \"postal\": \"500001\",\n            \"id\": \"1225222\"\n        }\n    ],\n    \"createdAt\": \"2023-11-14T19:12:59.934Z\",\n    \"updatedAt\": \"2023-12-16T15:05:23.772Z\",\n    \"__v\": 1\n}"}],"_postman_id":"96905d9d-6a72-4176-b29f-d6e6db44e30a"}],"id":"80553733-7d2f-4492-8b96-c401a1d7d7d5","description":"<p>The authentication endpoints handle user registration, login, profile management, and address operations. Users can register and log in, view and update their profiles, add products to wishlists, and manage their addresses.</p>\n","_postman_id":"80553733-7d2f-4492-8b96-c401a1d7d7d5"},{"name":"Brands","item":[{"name":"Get-all-Brands","id":"e00e6599-bbd0-4fa9-aeb2-d242aef60244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/brands/get-all-brands","description":"<p>This endpoint makes an HTTP GET request to retrieve all the brands from the e-commerce platform. The request does not require a request body.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 200</li>\n<li>The response will contain an array of objects, where each object represents a brand. Each brand object will have the following properties:<ul>\n<li>_id: (string) The unique identifier for the brand.</li>\n<li>value: (string) The value associated with the brand.</li>\n<li>label: (string) The label associated with the brand.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["get-all-brands"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/brands"],"query":[],"variable":[]}},"response":[{"id":"3d17da6c-4e46-48db-8ec8-4ae46ccd9af3","name":"Get-all-Brands","originalRequest":{"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/brands/get-all-brands"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:07:49 GMT"},{"key":"Etag","value":"W/\"18b0-DEm1Kh1xbJg5bh55sIan7oGfEKg\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::284hd-1702739269728-24593b067564"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"brands\": [\n        {\n            \"_id\": \"650478f45c5230d0b47b35f0\",\n            \"value\": \"Apple\",\n            \"label\": \"Apple\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f1\",\n            \"value\": \"Samsung\",\n            \"label\": \"Samsung\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f2\",\n            \"value\": \"OPPO\",\n            \"label\": \"OPPO\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f3\",\n            \"value\": \"Huawei\",\n            \"label\": \"Huawei\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f4\",\n            \"value\": \"Microsoft Surface\",\n            \"label\": \"Microsoft Surface\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f5\",\n            \"value\": \"Infinix\",\n            \"label\": \"Infinix\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f6\",\n            \"value\": \"HP Pavilion\",\n            \"label\": \"HP Pavilion\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f7\",\n            \"value\": \"Impression of Acqua Di Gio\",\n            \"label\": \"Impression of Acqua Di Gio\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f8\",\n            \"value\": \"Royal_Mirage\",\n            \"label\": \"Royal_Mirage\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35f9\",\n            \"value\": \"Fog Scent Xpressio\",\n            \"label\": \"Fog Scent Xpressio\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35fa\",\n            \"value\": \"Al Munakh\",\n            \"label\": \"Al Munakh\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35fb\",\n            \"value\": \"Lord - Al-Rehab\",\n            \"label\": \"Lord   Al Rehab\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35fc\",\n            \"value\": \"L'Oreal Paris\",\n            \"label\": \"L'Oreal Paris\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35fd\",\n            \"value\": \"Hemani Tea\",\n            \"label\": \"Hemani Tea\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35fe\",\n            \"value\": \"Dermive\",\n            \"label\": \"Dermive\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b35ff\",\n            \"value\": \"ROREC White Rice\",\n            \"label\": \"ROREC White Rice\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3600\",\n            \"value\": \"Fair & Clear\",\n            \"label\": \"Fair & Clear\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3601\",\n            \"value\": \"Saaf & Khaas\",\n            \"label\": \"Saaf & Khaas\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3602\",\n            \"value\": \"Bake Parlor Big\",\n            \"label\": \"Bake Parlor Big\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3603\",\n            \"value\": \"Baking Food Items\",\n            \"label\": \"Baking Food Items\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3604\",\n            \"value\": \"fauji\",\n            \"label\": \"fauji\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3605\",\n            \"value\": \"Dry Rose\",\n            \"label\": \"Dry Rose\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3606\",\n            \"value\": \"Boho Decor\",\n            \"label\": \"Boho Decor\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3607\",\n            \"value\": \"Flying Wooden\",\n            \"label\": \"Flying Wooden\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3608\",\n            \"value\": \"LED Lights\",\n            \"label\": \"LED Lights\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3609\",\n            \"value\": \"luxury palace\",\n            \"label\": \"luxury palace\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b360a\",\n            \"value\": \"Golden\",\n            \"label\": \"Golden\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b360b\",\n            \"value\": \"Furniture Bed Set\",\n            \"label\": \"Furniture Bed Set\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b360c\",\n            \"value\": \"Ratttan Outdoor\",\n            \"label\": \"Ratttan Outdoor\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b360d\",\n            \"value\": \"Kitchen Shelf\",\n            \"label\": \"Kitchen Shelf\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b360e\",\n            \"value\": \"Multi Purpose\",\n            \"label\": \"Multi Purpose\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b360f\",\n            \"value\": \"AmnaMart\",\n            \"label\": \"AmnaMart\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3610\",\n            \"value\": \"Professional Wear\",\n            \"label\": \"Professional Wear\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3611\",\n            \"value\": \"Soft Cotton\",\n            \"label\": \"Soft Cotton\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3612\",\n            \"value\": \"Top Sweater\",\n            \"label\": \"Top Sweater\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3613\",\n            \"value\": \"RED MICKY MOUSE..\",\n            \"label\": \"RED MICKY MOUSE..\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3614\",\n            \"value\": \"Digital Printed\",\n            \"label\": \"Digital Printed\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3615\",\n            \"value\": \"Ghazi Fabric\",\n            \"label\": \"Ghazi Fabric\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3616\",\n            \"value\": \"IELGY\",\n            \"label\": \"IELGY\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3617\",\n            \"value\": \"IELGY fashion\",\n            \"label\": \"IELGY fashion\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3618\",\n            \"value\": \"Synthetic Leather\",\n            \"label\": \"Synthetic Leather\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3619\",\n            \"value\": \"Sandals Flip Flops\",\n            \"label\": \"Sandals Flip Flops\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b361a\",\n            \"value\": \"Maasai Sandals\",\n            \"label\": \"Maasai Sandals\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b361b\",\n            \"value\": \"Arrivals Genuine\",\n            \"label\": \"Arrivals Genuine\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b361c\",\n            \"value\": \"Vintage Apparel\",\n            \"label\": \"Vintage Apparel\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b361d\",\n            \"value\": \"FREE FIRE\",\n            \"label\": \"FREE FIRE\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b361e\",\n            \"value\": \"The Warehouse\",\n            \"label\": \"The Warehouse\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b361f\",\n            \"value\": \"Sneakers\",\n            \"label\": \"Sneakers\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3620\",\n            \"value\": \"Rubber\",\n            \"label\": \"Rubber\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3621\",\n            \"value\": \"Naviforce\",\n            \"label\": \"Naviforce\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3622\",\n            \"value\": \"SKMEI 9117\",\n            \"label\": \"SKMEI 9117\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3623\",\n            \"value\": \"Strap Skeleton\",\n            \"label\": \"Strap Skeleton\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3624\",\n            \"value\": \"Stainless\",\n            \"label\": \"Stainless\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3625\",\n            \"value\": \"Eastern Watches\",\n            \"label\": \"Eastern Watches\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3626\",\n            \"value\": \"Luxury Digital\",\n            \"label\": \"Luxury Digital\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3627\",\n            \"value\": \"Watch Pearls\",\n            \"label\": \"Watch Pearls\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3628\",\n            \"value\": \"Bracelet\",\n            \"label\": \"Bracelet\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3629\",\n            \"value\": \"LouisWill\",\n            \"label\": \"LouisWill\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b362a\",\n            \"value\": \"Copenhagen Luxe\",\n            \"label\": \"Copenhagen Luxe\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b362b\",\n            \"value\": \"Steal Frame\",\n            \"label\": \"Steal Frame\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b362c\",\n            \"value\": \"Darojay\",\n            \"label\": \"Darojay\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b362d\",\n            \"value\": \"Fashion Jewellery\",\n            \"label\": \"Fashion Jewellery\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b362e\",\n            \"value\": \"Cuff Butterfly\",\n            \"label\": \"Cuff Butterfly\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b362f\",\n            \"value\": \"Designer Sun Glasses\",\n            \"label\": \"Designer Sun Glasses\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3630\",\n            \"value\": \"mastar watch\",\n            \"label\": \"mastar watch\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3631\",\n            \"value\": \"Car Aux\",\n            \"label\": \"Car Aux\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3632\",\n            \"value\": \"W1209 DC12V\",\n            \"label\": \"W1209 DC12V\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3633\",\n            \"value\": \"TC Reusable\",\n            \"label\": \"TC Reusable\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3634\",\n            \"value\": \"Neon LED Light\",\n            \"label\": \"Neon LED Light\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3635\",\n            \"value\": \"METRO 70cc Motorcycle - MR70\",\n            \"label\": \"METRO 70cc Motorcycle   MR70\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3636\",\n            \"value\": \"BRAVE BULL\",\n            \"label\": \"BRAVE BULL\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3637\",\n            \"value\": \"shock absorber\",\n            \"label\": \"shock absorber\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3638\",\n            \"value\": \"JIEPOLLY\",\n            \"label\": \"JIEPOLLY\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b3639\",\n            \"value\": \"Xiangle\",\n            \"label\": \"Xiangle\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b363a\",\n            \"value\": \"lightingbrilliance\",\n            \"label\": \"lightingbrilliance\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b363b\",\n            \"value\": \"Ifei Home\",\n            \"label\": \"Ifei Home\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b363c\",\n            \"value\": \"DADAWU\",\n            \"label\": \"DADAWU\"\n        },\n        {\n            \"_id\": \"650478f45c5230d0b47b363d\",\n            \"value\": \"YIOSI\",\n            \"label\": \"YIOSI\"\n        }\n    ]\n}"}],"_postman_id":"e00e6599-bbd0-4fa9-aeb2-d242aef60244"}],"id":"5bf88bab-c4e4-4326-8445-aec8175ba1dd","description":"<p>The Brands category provides endpoints to retrieve information about all brands available in the online shopping platform. Users can access a comprehensive list of brands, facilitating easy navigation and exploration of available products.</p>\n","_postman_id":"5bf88bab-c4e4-4326-8445-aec8175ba1dd"},{"name":"Category","item":[{"name":"Get-all-Categories","id":"441f8e57-3125-426f-817f-14943d4703e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//category/get-all-categories","description":"<p>This endpoint makes an HTTP GET request to retrieve all categories from the e-commerce platform.</p>\n<p>The request does not contain a request body, and the response returns a status code of 200 along with an array of categories. Each category in the array includes an _id, value, and label.</p>\n","urlObject":{"path":["category","get-all-categories"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"2c74cb6d-f765-4386-8259-0e3d6766a729","name":"Get-all-Categories","originalRequest":{"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//category/get-all-categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:10:36 GMT"},{"key":"Etag","value":"W/\"62a-0GjE2X3vYJiMT5XcpKSARPVokBU\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::6jsfl-1702739436664-4461982bf00c"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"categories\": [\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d11\",\n            \"value\": \"smartphones\",\n            \"label\": \"smartphones\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d12\",\n            \"value\": \"laptops\",\n            \"label\": \"laptops\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d13\",\n            \"value\": \"fragrances\",\n            \"label\": \"fragrances\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d14\",\n            \"value\": \"skincare\",\n            \"label\": \"skincare\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d15\",\n            \"value\": \"groceries\",\n            \"label\": \"groceries\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d16\",\n            \"value\": \"home-decoration\",\n            \"label\": \"home decoration\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d17\",\n            \"value\": \"furniture\",\n            \"label\": \"furniture\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d18\",\n            \"value\": \"tops\",\n            \"label\": \"tops\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d19\",\n            \"value\": \"womens-dresses\",\n            \"label\": \"womens dresses\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d1a\",\n            \"value\": \"womens-shoes\",\n            \"label\": \"womens shoes\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d1b\",\n            \"value\": \"mens-shirts\",\n            \"label\": \"mens shirts\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d1c\",\n            \"value\": \"mens-shoes\",\n            \"label\": \"mens shoes\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d1d\",\n            \"value\": \"mens-watches\",\n            \"label\": \"mens watches\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d1e\",\n            \"value\": \"womens-watches\",\n            \"label\": \"womens watches\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d1f\",\n            \"value\": \"womens-bags\",\n            \"label\": \"womens bags\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d20\",\n            \"value\": \"womens-jewellery\",\n            \"label\": \"womens jewellery\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d21\",\n            \"value\": \"sunglasses\",\n            \"label\": \"sunglasses\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d22\",\n            \"value\": \"automotive\",\n            \"label\": \"automotive\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d23\",\n            \"value\": \"motorcycle\",\n            \"label\": \"motorcycle\"\n        },\n        {\n            \"_id\": \"6504799a5c5230d0b47c0d24\",\n            \"value\": \"lighting\",\n            \"label\": \"lighting\"\n        }\n    ]\n}"}],"_postman_id":"441f8e57-3125-426f-817f-14943d4703e8"}],"id":"ea3f628c-9867-4417-a63c-b9873b074e92","description":"<p>Category endpoints offer information about all product categories within the online shopping system. Users can retrieve a comprehensive list of categories, aiding in organized product discovery and browsing.</p>\n","_postman_id":"ea3f628c-9867-4417-a63c-b9873b074e92"},{"name":"Cart","item":[{"name":"add-to-cart","id":"72cb8653-f947-40c4-a054-d0837d7f0918","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   \"prodId\":\"6503e5fc5c5230d0b4c368aa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//cart/add-to-cart","description":"<h3 id=\"add-to-cart\">Add to Cart</h3>\n<p>This endpoint allows the user to add a product to the cart.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>quantity</code> (number): The quantity of the product to be added to the cart.</li>\n<li><code>prodId</code> (string): The ID of the product to be added to the cart.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li>Status: 201 Created</li>\n<li><code>quantity</code> (number): The quantity of the product added to the cart.</li>\n<li><code>product</code> (object): Details of the product added to the cart, including ID, title, description, price, discount percentage, rating, stock, brand, category, thumbnail, images, and product ID.</li>\n<li><code>user</code> (string): The user ID associated with the cart addition.</li>\n<li><code>_id</code> (string): The unique ID of the cart addition.</li>\n<li><code>__v</code> (number): Version control field.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"quantity\": 2,\n    \"product\": {\n        \"nid\": 6,\n        \"title\": \"MacBook Pro\",\n        \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n        \"price\": 1749,\n        \"discountPercentage\": 11.02,\n        \"rating\": 4.57,\n        \"stock\": 81,\n        \"brand\": \"Apple\",\n        \"category\": \"laptops\",\n        \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n        \"images\": [\n            \"https://i.dummyjson.com/data/products/6/1.png\",\n            \"https://i.dummyjson.com/data/products/6/2.jpg\",\n            \"https://i.dummyjson.com/data/products/6/3.png\",\n            \"https://i.dummyjson.com/data/products/6/4.jpg\"\n        ],\n        \"id\": \"6503e5fc5c5230d0b4c368aa\"\n    },\n    \"user\": \"65538b938fc4904467e9f3b9\",\n    \"_id\": \"6553a03570593d46caa5b65d\",\n    \"__v\": 0\n}\n\n</code></pre>\n","urlObject":{"path":["cart","add-to-cart"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"0d8aec46-d8a5-4c06-a3b6-a0d14186908f","name":"add-to-cart","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"quantity\":2,\r\n   \"prodId\":\"6503e5fc5c5230d0b4c368aa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//cart/add-to-cart"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"630"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:12:36 GMT"},{"key":"Etag","value":"W/\"276-zwvostlT1+STVgP2cgHlCOz73Oc\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::bnf2k-1702739555971-9e134061f5aa"}],"cookie":[],"responseTime":null,"body":"{\n    \"quantity\": 2,\n    \"product\": {\n        \"nid\": 6,\n        \"title\": \"MacBook Pro\",\n        \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n        \"price\": 1749,\n        \"discountPercentage\": 11.02,\n        \"rating\": 4.57,\n        \"stock\": 81,\n        \"brand\": \"Apple\",\n        \"category\": \"laptops\",\n        \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n        \"images\": [\n            \"https://i.dummyjson.com/data/products/6/1.png\",\n            \"https://i.dummyjson.com/data/products/6/2.jpg\",\n            \"https://i.dummyjson.com/data/products/6/3.png\",\n            \"https://i.dummyjson.com/data/products/6/4.jpg\"\n        ],\n        \"id\": \"6503e5fc5c5230d0b4c368aa\"\n    },\n    \"user\": \"6553c6bbe0134dae9e77d493\",\n    \"_id\": \"657dbe647cb97e4dcda0e209\",\n    \"__v\": 0\n}"}],"_postman_id":"72cb8653-f947-40c4-a054-d0837d7f0918"},{"name":"get-all-cart","id":"1c74dd32-3878-4792-bb63-2a7eec7e1e65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//cart/get-all-cart","description":"<p>This endpoint makes an HTTP GET request to retrieve all items in the cart. It does not require a request body. The response will include an array of cart items, where each item contains details such as the unique identifier, quantity, product details including title, description, price, discount percentage, rating, stock, brand, category, thumbnail, images, and identifier, as well as the user and version. The status code for a successful request is 200.</p>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"_id\": \"6553a03570593d46caa5b65d\",\n        \"quantity\": 2,\n        \"product\": {\n            \"nid\": 6,\n            \"title\": \"MacBook Pro\",\n            \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n            \"price\": 1749,\n            \"discountPercentage\": 11.02,\n            \"rating\": 4.57,\n            \"stock\": 81,\n            \"brand\": \"Apple\",\n            \"category\": \"laptops\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/6/1.png\",\n                \"https://i.dummyjson.com/data/products/6/2.jpg\",\n                \"https://i.dummyjson.com/data/products/6/3.png\",\n                \"https://i.dummyjson.com/data/products/6/4.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368aa\"\n        },\n        \"user\": \"65538b938fc4904467e9f3b9\",\n        \"__v\": 0\n    }\n]\n\n</code></pre>\n","urlObject":{"path":["cart","get-all-cart"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"limit","value":"12"},{"disabled":true,"key":"category","value":"laptops"}],"variable":[]}},"response":[{"id":"76601efd-3caa-42a2-8c03-49dcda66009d","name":"get-all-cart","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://ecom-backend-maheshtatipamula.vercel.app/api//cart/get-all-cart","host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"path":["cart","get-all-cart"],"query":[{"key":"page","value":"2","type":"text","disabled":true},{"key":"limit","value":"12","type":"text","disabled":true},{"key":"category","value":"laptops","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:13:23 GMT"},{"key":"Etag","value":"W/\"50f-jdhKsd1Gvh8CinhRcah7343slhE\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::d57gz-1702739603774-769ead15fa91"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"655503d572b284121f5a25d0\",\n        \"quantity\": 1,\n        \"product\": {\n            \"nid\": 2,\n            \"title\": \"iPhone X\",\n            \"description\": \"SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...\",\n            \"price\": 899,\n            \"discountPercentage\": 17.94,\n            \"rating\": 4.44,\n            \"stock\": 18,\n            \"brand\": \"Apple\",\n            \"category\": \"smartphones\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/2/1.jpg\",\n                \"https://i.dummyjson.com/data/products/2/2.jpg\",\n                \"https://i.dummyjson.com/data/products/2/3.jpg\",\n                \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368a6\"\n        },\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"657dbe647cb97e4dcda0e209\",\n        \"quantity\": 2,\n        \"product\": {\n            \"nid\": 6,\n            \"title\": \"MacBook Pro\",\n            \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n            \"price\": 1749,\n            \"discountPercentage\": 11.02,\n            \"rating\": 4.57,\n            \"stock\": 81,\n            \"brand\": \"Apple\",\n            \"category\": \"laptops\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/6/1.png\",\n                \"https://i.dummyjson.com/data/products/6/2.jpg\",\n                \"https://i.dummyjson.com/data/products/6/3.png\",\n                \"https://i.dummyjson.com/data/products/6/4.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368aa\"\n        },\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"1c74dd32-3878-4792-bb63-2a7eec7e1e65"},{"name":"delete-cart","id":"90ac7e0a-baf2-47a2-ad7e-d566ad3737f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/cart/delete-cart-item/655503d572b284121f5a25d0","description":"<p>This endpoint sends an HTTP DELETE request to delete a specific item from the cart. The request should include the item ID in the URL path.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li>Method: <code>DELETE</code></li>\n<li>URL: <code>https://ecom-backend-maheshtatipamula.vercel.app/api/cart/delete-cart-item/655503d572b284121f5a25d0</code></li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will have a status code of 200 if the deletion is successful. The response body will contain the following fields:</p>\n<ul>\n<li><code>message</code>: A message indicating the success of the deletion operation.</li>\n</ul>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"product successfully deleted from the cart\"\n}\n\n</code></pre>\n","urlObject":{"path":["delete-cart-item","655503d572b284121f5a25d0"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/cart"],"query":[],"variable":[]}},"response":[{"id":"e7bf5948-6a7a-47a7-9344-70e0d23054fd","name":"delete-cart","originalRequest":{"method":"DELETE","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/cart/delete-cart-item/655503d572b284121f5a25d0"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"126"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:15:49 GMT"},{"key":"Etag","value":"W/\"7e-oo+ZBnRDkc9gpA1q9ErRhOqNoRM\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::gxt4m-1702739749001-98cfc5ea9e36"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"655503d572b284121f5a25d0\",\n    \"quantity\": 1,\n    \"product\": \"6503e5fc5c5230d0b4c368a6\",\n    \"user\": \"6553c6bbe0134dae9e77d493\",\n    \"__v\": 0\n}"}],"_postman_id":"90ac7e0a-baf2-47a2-ad7e-d566ad3737f6"},{"name":"update-cart","id":"ae03e0d6-415d-497b-9244-f63133eb0d9e","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://ecom-backend-maheshtatipamula.vercel.app/api//cart/update-cart-item/6553a163ed3faa474e42826b","description":"<h3 id=\"update-cart-item\">Update Cart Item</h3>\n<p>This endpoint is used to update the quantity of a specific item in the cart.</p>\n<h4 id=\"request\">Request</h4>\n<p>The request should be sent as an HTTP PUT to <code>https://ecom-backend-maheshtatipamula.vercel.app/api//cart/update-cart-item/6553a163ed3faa474e42826b</code> with the following payload in the raw request body type:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"quantity\": 0\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful update, the endpoint will return a status code of 200 along with the updated cart item object in the response body. The cart item object includes the updated quantity, product details, and user information.</p>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"6553a163ed3faa474e42826b\",\n    \"quantity\": 5,\n    \"product\": {\n        \"nid\": 6,\n        \"title\": \"MacBook Pro\",\n        \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n        \"price\": 1749,\n        \"discountPercentage\": 11.02,\n        \"rating\": 4.57,\n        \"stock\": 81,\n        \"brand\": \"Apple\",\n        \"category\": \"laptops\",\n        \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n        \"images\": [\n            \"https://i.dummyjson.com/data/products/6/1.png\",\n            \"https://i.dummyjson.com/data/products/6/2.jpg\",\n            \"https://i.dummyjson.com/data/products/6/3.png\",\n            \"https://i.dummyjson.com/data/products/6/4.jpg\"\n        ],\n        \"id\": \"6503e5fc5c5230d0b4c368aa\"\n    },\n    \"user\": \"65538b938fc4904467e9f3b9\",\n    \"__v\": 0\n}\n\n</code></pre>\n","urlObject":{"path":["cart","update-cart-item","6553a163ed3faa474e42826b"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"c86379b8-77c6-4e3c-973e-e68dffeae2b0","name":"update-cart","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 5\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//cart/update-cart-item/6553a163ed3faa474e42826b"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"630"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:16:55 GMT"},{"key":"Etag","value":"W/\"276-lCVLdAnRluWaJXgR/CNDcKNNrko\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::5z6pc-1702739815587-dcdf1c4d8c8e"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6553a163ed3faa474e42826b\",\n    \"quantity\": 5,\n    \"product\": {\n        \"nid\": 6,\n        \"title\": \"MacBook Pro\",\n        \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n        \"price\": 1749,\n        \"discountPercentage\": 11.02,\n        \"rating\": 4.57,\n        \"stock\": 81,\n        \"brand\": \"Apple\",\n        \"category\": \"laptops\",\n        \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n        \"images\": [\n            \"https://i.dummyjson.com/data/products/6/1.png\",\n            \"https://i.dummyjson.com/data/products/6/2.jpg\",\n            \"https://i.dummyjson.com/data/products/6/3.png\",\n            \"https://i.dummyjson.com/data/products/6/4.jpg\"\n        ],\n        \"id\": \"6503e5fc5c5230d0b4c368aa\"\n    },\n    \"user\": \"65538b938fc4904467e9f3b9\",\n    \"__v\": 0\n}"}],"_postman_id":"ae03e0d6-415d-497b-9244-f63133eb0d9e"}],"id":"6456ae73-df3a-45ae-8c03-ee884e89ade3","description":"<p>The Cart category involves operations related to the shopping cart. Users can add products to the cart, retrieve details about items in the cart, delete the entire cart, and update quantities or details of products in the cart.</p>\n","_postman_id":"6456ae73-df3a-45ae-8c03-ee884e89ade3"},{"name":"Order","item":[{"name":"get-my-orders","id":"4fb536a4-9402-4fb3-a2f3-14df67b3e4c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/orders/get-my-orders","description":"<p>This endpoint makes an HTTP GET request to retrieve the orders associated with the user. The response will include an array of order objects, each containing details such as order ID, items purchased, total amount, payment method, payment status, order status, selected delivery address, and timestamps for creation and last update.</p>\n<p>The response will have a status code of 200 upon successful execution.</p>\n<p>Sample Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"_id\": \"\",\n        \"items\": [\n            {\n                \"_id\": \"\",\n                \"quantity\": 0,\n                \"product\": {\n                    \"nid\": 0,\n                    \"title\": \"\",\n                    \"description\": \"\",\n                    \"price\": 0,\n                    \"discountPercentage\": 0,\n                    \"rating\": 0,\n                    \"stock\": 0,\n                    \"brand\": \"\",\n                    \"category\": \"\",\n                    \"thumbnail\": \"\",\n                    \"images\": [\"\"],\n                    \"id\": \"\"\n                },\n                \"user\": \"\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 0,\n        \"totalItems\": 0,\n        \"user\": \"\",\n        \"paymentMethod\": \"\",\n        \"paymentStatus\": \"\",\n        \"status\": \"\",\n        \"selectAddress\": {\n            \"name\": \"\",\n            \"email\": \"\",\n            \"phone\": \"\",\n            \"country\": \"\",\n            \"street\": \"\",\n            \"city\": \"\",\n            \"region\": \"\",\n            \"postal\": \"\",\n            \"id\": \"\"\n        },\n        \"createdAt\": \"\",\n        \"updatedAt\": \"\",\n        \"__v\": 0\n    }\n]\n\n</code></pre>\n","urlObject":{"path":["get-my-orders"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/orders"],"query":[],"variable":[]}},"response":[{"id":"2fe9d7c8-943b-406a-928b-8427dbb7f53b","name":"get-my-orders","originalRequest":{"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/orders/get-my-orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:17:44 GMT"},{"key":"Etag","value":"W/\"588e-p/vjDZMHEK+Cm24BjydOD/uGPJM\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::pjvn7-1702739863969-8bceab13dd78"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"6553c7377d1dd4b204cb6a95\",\n        \"items\": [\n            {\n                \"_id\": \"6553c6dee34bf1b0e839fdf1\",\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 2,\n                    \"title\": \"iPhone X\",\n                    \"description\": \"SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...\",\n                    \"price\": 899,\n                    \"discountPercentage\": 17.94,\n                    \"rating\": 4.44,\n                    \"stock\": 20,\n                    \"brand\": \"Apple\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/2/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/2/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/2/3.jpg\",\n                        \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a6\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"__v\": 0\n            },\n            {\n                \"_id\": \"6553c6f28b64527fbe959288\",\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 22,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"__v\": 0\n            },\n            {\n                \"_id\": \"6553c6fd8b64527fbe959291\",\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 1,\n                    \"title\": \"iPhone 9\",\n                    \"description\": \"An apple mobile which is nothing like apple\",\n                    \"price\": 549,\n                    \"discountPercentage\": 12.96,\n                    \"rating\": 4.69,\n                    \"stock\": 90,\n                    \"brand\": \"Apple\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/1/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/3.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/4.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a5\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"__v\": 0\n            },\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 63,\n                    \"title\": \"Royal Blue Premium Watch\",\n                    \"description\": \"Men Silver Chain Royal Blue Premium Watch Latest Analog Watch\",\n                    \"price\": 50,\n                    \"discountPercentage\": 2.56,\n                    \"rating\": 4.89,\n                    \"stock\": 141,\n                    \"brand\": \"SKMEI 9117\",\n                    \"category\": \"mens-watches\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/63/thumbnail.webp\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/63/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/3.png\",\n                        \"https://i.dummyjson.com/data/products/63/4.jpeg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368e3\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6553c7177d1dd4b204cb6a8c\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 1997,\n        \"totalItems\": 4,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-14T19:15:03.498Z\",\n        \"updatedAt\": \"2023-11-14T19:15:03.498Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65545511406ccc075407f882\",\n        \"items\": [\n            {\n                \"_id\": \"6553c7177d1dd4b204cb6a8c\",\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 63,\n                    \"title\": \"Royal Blue Premium Watch\",\n                    \"description\": \"Men Silver Chain Royal Blue Premium Watch Latest Analog Watch\",\n                    \"price\": 50,\n                    \"discountPercentage\": 2.56,\n                    \"rating\": 4.89,\n                    \"stock\": 140,\n                    \"brand\": \"SKMEI 9117\",\n                    \"category\": \"mens-watches\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/63/thumbnail.webp\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/63/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/3.png\",\n                        \"https://i.dummyjson.com/data/products/63/4.jpeg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368e3\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 50,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T05:20:18.293Z\",\n        \"updatedAt\": \"2023-11-15T05:20:18.293Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65545c709d3adb268375ae06\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 21,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"65545c699d3adb268375ae02\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T05:51:44.705Z\",\n        \"updatedAt\": \"2023-11-15T05:51:44.705Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65545d454462f92a586c2f16\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 20,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"65545d3d4462f92a586c2f12\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T05:55:17.336Z\",\n        \"updatedAt\": \"2023-11-15T05:55:17.336Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6554601178cd52fb7508cafb\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 19,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6554600a78cd52fb7508caf7\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T06:07:13.765Z\",\n        \"updatedAt\": \"2023-11-15T06:07:13.765Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6554601478cd52fb7508cb01\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 19,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6554600a78cd52fb7508caf7\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T06:07:16.244Z\",\n        \"updatedAt\": \"2023-11-15T06:07:16.244Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65546293ef53ae0958474d5d\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 19,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6554600a78cd52fb7508caf7\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T06:17:55.122Z\",\n        \"updatedAt\": \"2023-11-15T06:17:55.122Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65546298ef53ae0958474d63\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 19,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6554600a78cd52fb7508caf7\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T06:18:00.032Z\",\n        \"updatedAt\": \"2023-11-15T06:18:00.032Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6554960e91f3f99c9345da3e\",\n        \"items\": [\n            {\n                \"_id\": \"6554600a78cd52fb7508caf7\",\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 15,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T09:57:34.634Z\",\n        \"updatedAt\": \"2023-11-15T09:57:34.634Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"655496f16eb41e781cdf4128\",\n        \"items\": [\n            {\n                \"_id\": \"6554600a78cd52fb7508caf7\",\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 14,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:01:22.070Z\",\n        \"updatedAt\": \"2023-11-15T10:01:22.070Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6554972a6eb41e781cdf412e\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 5,\n                    \"title\": \"Huawei P30\",\n                    \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                    \"price\": 499,\n                    \"discountPercentage\": 10.58,\n                    \"rating\": 4.09,\n                    \"stock\": 13,\n                    \"brand\": \"Huawei\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a9\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"65549718a37f692778a5eccf\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 499,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:02:19.234Z\",\n        \"updatedAt\": \"2023-11-15T10:02:19.234Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65549756f3e673dd71360ecf\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 100,\n                    \"title\": \"Crystal chandelier maria theresa for 12 light\",\n                    \"description\": \"Crystal chandelier maria theresa for 12 light\",\n                    \"price\": 47,\n                    \"discountPercentage\": 16,\n                    \"rating\": 4.74,\n                    \"stock\": 132,\n                    \"brand\": \"YIOSI\",\n                    \"category\": \"lighting\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/100/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/100/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/100/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/100/3.jpg\",\n                        \"https://i.dummyjson.com/data/products/100/thumbnail.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c36908\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"655497501c9b2e13915e739b\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 47,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:03:02.657Z\",\n        \"updatedAt\": \"2023-11-15T10:03:02.657Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"655498331431fdfaad634413\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 15,\n                    \"title\": \"Eau De Perfume Spray\",\n                    \"description\": \"Genuine  Al-Rehab spray perfume from UAE/Saudi Arabia/Yemen High Quality\",\n                    \"price\": 30,\n                    \"discountPercentage\": 10.99,\n                    \"rating\": 4.7,\n                    \"stock\": 105,\n                    \"brand\": \"Lord - Al-Rehab\",\n                    \"category\": \"fragrances\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/15/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/15/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/15/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/15/3.jpg\",\n                        \"https://i.dummyjson.com/data/products/15/4.jpg\",\n                        \"https://i.dummyjson.com/data/products/15/thumbnail.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368b3\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6554982dd9cbd7f71cd3fb70\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 30,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:06:44.450Z\",\n        \"updatedAt\": \"2023-11-15T10:06:44.450Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65549926dac47e1b5b71e4df\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 1,\n                    \"title\": \"iPhone 9\",\n                    \"description\": \"An apple mobile which is nothing like apple\",\n                    \"price\": 549,\n                    \"discountPercentage\": 12.96,\n                    \"rating\": 4.69,\n                    \"stock\": 89,\n                    \"brand\": \"Apple\",\n                    \"category\": \"smartphones\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/1/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/3.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/4.jpg\",\n                        \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368a5\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6554991fd9cbd7f71cd3fb7e\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 549,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:10:47.239Z\",\n        \"updatedAt\": \"2023-11-15T10:10:47.239Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"655499fceac972f89af4716b\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 48,\n                    \"title\": \"Women Strip Heel\",\n                    \"description\": \"Features: Flip-flops, Mid Heel, Comfortable, Striped Heel, Antiskid, Striped\",\n                    \"price\": 40,\n                    \"discountPercentage\": 10.83,\n                    \"rating\": 4.02,\n                    \"stock\": 25,\n                    \"brand\": \"Sandals Flip Flops\",\n                    \"category\": \"womens-shoes\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/48/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/48/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/48/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/48/3.jpg\",\n                        \"https://i.dummyjson.com/data/products/48/4.jpg\",\n                        \"https://i.dummyjson.com/data/products/48/thumbnail.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368d4\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"655499f61c9b2e13915e73b3\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 40,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:14:20.851Z\",\n        \"updatedAt\": \"2023-11-15T10:14:20.851Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"65549c45bfe8f9da6d36106a\",\n        \"items\": [\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 63,\n                    \"title\": \"Royal Blue Premium Watch\",\n                    \"description\": \"Men Silver Chain Royal Blue Premium Watch Latest Analog Watch\",\n                    \"price\": 50,\n                    \"discountPercentage\": 2.56,\n                    \"rating\": 4.89,\n                    \"stock\": 139,\n                    \"brand\": \"SKMEI 9117\",\n                    \"category\": \"mens-watches\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/63/thumbnail.webp\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/63/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/3.png\",\n                        \"https://i.dummyjson.com/data/products/63/4.jpeg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368e3\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"65549c3ebfe8f9da6d361066\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 50,\n        \"totalItems\": 1,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:24:05.485Z\",\n        \"updatedAt\": \"2023-11-15T10:24:05.485Z\",\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"6554a14978f459c5e7bfebd5\",\n        \"items\": [\n            {\n                \"_id\": \"65549d13922db2110498d386\",\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 63,\n                    \"title\": \"Royal Blue Premium Watch\",\n                    \"description\": \"Men Silver Chain Royal Blue Premium Watch Latest Analog Watch\",\n                    \"price\": 50,\n                    \"discountPercentage\": 2.56,\n                    \"rating\": 4.89,\n                    \"stock\": 138,\n                    \"brand\": \"SKMEI 9117\",\n                    \"category\": \"mens-watches\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/63/thumbnail.webp\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/63/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/63/3.png\",\n                        \"https://i.dummyjson.com/data/products/63/4.jpeg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368e3\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"__v\": 0\n            },\n            {\n                \"quantity\": 1,\n                \"product\": {\n                    \"nid\": 66,\n                    \"title\": \"Steel Analog Couple Watches\",\n                    \"description\": \"Elegant design, Stylish ,Unique & Trendy,Comfortable wear\",\n                    \"price\": 35,\n                    \"discountPercentage\": 3.23,\n                    \"rating\": 4.79,\n                    \"stock\": 24,\n                    \"brand\": \"Eastern Watches\",\n                    \"category\": \"womens-watches\",\n                    \"thumbnail\": \"https://i.dummyjson.com/data/products/66/thumbnail.jpg\",\n                    \"images\": [\n                        \"https://i.dummyjson.com/data/products/66/1.jpg\",\n                        \"https://i.dummyjson.com/data/products/66/2.jpg\",\n                        \"https://i.dummyjson.com/data/products/66/3.jpg\",\n                        \"https://i.dummyjson.com/data/products/66/4.JPG\",\n                        \"https://i.dummyjson.com/data/products/66/thumbnail.jpg\"\n                    ],\n                    \"id\": \"6503e5fc5c5230d0b4c368e6\"\n                },\n                \"user\": \"6553c6bbe0134dae9e77d493\",\n                \"_id\": \"6554a0ef44071ec93c819413\",\n                \"__v\": 0\n            }\n        ],\n        \"totalAmount\": 85,\n        \"totalItems\": 2,\n        \"user\": \"6553c6bbe0134dae9e77d493\",\n        \"paymentMethod\": \"cash\",\n        \"paymentStatus\": \"pending\",\n        \"status\": \"pending\",\n        \"selectAddress\": {\n            \"name\": \"mahesh\",\n            \"email\": \"mahesh.tatipamula43@gmail.com\",\n            \"phone\": \"7896541230\",\n            \"country\": \"India\",\n            \"street\": \"near gunfoundary hanuman temple\",\n            \"city\": \"Hyderabad\",\n            \"region\": \"gunfoundary\",\n            \"postal\": \"500001\",\n            \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n        },\n        \"createdAt\": \"2023-11-15T10:45:30.158Z\",\n        \"updatedAt\": \"2023-11-15T10:45:30.158Z\",\n        \"__v\": 0\n    }\n]"}],"_postman_id":"4fb536a4-9402-4fb3-a2f3-14df67b3e4c1"},{"name":"get-single-order","id":"f80187f9-2c52-4e18-85d1-c78e431cdf8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/orders/get-my-order/6553c7377d1dd4b204cb6a95","description":"<p>This API endpoint allows you to retrieve a specific order by its ID. When you make a GET request to this endpoint with the order ID in the URL, it will return the details of the order.</p>\n<p>The response to this request will include the details of the order, such as the items in the order, total amount, total items, user information, payment method, payment status, order status, selected address, and timestamps for creation and update.</p>\n<p>Here is an example of the response format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"_id\": \"\",\n    \"items\": [\n        {\n            \"_id\": \"\",\n            \"quantity\": 0,\n            \"product\": {\n                \"nid\": 0,\n                \"title\": \"\",\n                \"description\": \"\",\n                \"price\": 0,\n                \"discountPercentage\": 0,\n                \"rating\": 0,\n                \"stock\": 0,\n                \"brand\": \"\",\n                \"category\": \"\",\n                \"thumbnail\": \"\",\n                \"images\": [\"\"],\n                \"id\": \"\"\n            },\n            \"user\": \"\",\n            \"__v\": 0\n        }\n    ],\n    \"totalAmount\": 0,\n    \"totalItems\": 0,\n    \"user\": \"\",\n    \"paymentMethod\": \"\",\n    \"paymentStatus\": \"\",\n    \"status\": \"\",\n    \"selectAddress\": {\n        \"name\": \"\",\n        \"email\": \"\",\n        \"phone\": \"\",\n        \"country\": \"\",\n        \"street\": \"\",\n        \"city\": \"\",\n        \"region\": \"\",\n        \"postal\": \"\",\n        \"id\": \"\"\n    },\n    \"createdAt\": \"\",\n    \"updatedAt\": \"\",\n    \"__v\": 0\n}\n\n</code></pre>\n","urlObject":{"path":["get-my-order","6553c7377d1dd4b204cb6a95"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/orders"],"query":[],"variable":[]}},"response":[{"id":"b266951f-14b1-4a5c-a54d-c0a63b7c83bb","name":"get-single-order","originalRequest":{"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/orders/get-my-order/6553c7377d1dd4b204cb6a95"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:21:40 GMT"},{"key":"Etag","value":"W/\"c37-VggKkGSCqlW/nSn6QbrIW5cGkh4\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::456lh-1702740099929-791d6b19ffd0"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6553c7377d1dd4b204cb6a95\",\n    \"items\": [\n        {\n            \"_id\": \"6553c6dee34bf1b0e839fdf1\",\n            \"quantity\": 1,\n            \"product\": {\n                \"nid\": 2,\n                \"title\": \"iPhone X\",\n                \"description\": \"SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...\",\n                \"price\": 899,\n                \"discountPercentage\": 17.94,\n                \"rating\": 4.44,\n                \"stock\": 20,\n                \"brand\": \"Apple\",\n                \"category\": \"smartphones\",\n                \"thumbnail\": \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\",\n                \"images\": [\n                    \"https://i.dummyjson.com/data/products/2/1.jpg\",\n                    \"https://i.dummyjson.com/data/products/2/2.jpg\",\n                    \"https://i.dummyjson.com/data/products/2/3.jpg\",\n                    \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\"\n                ],\n                \"id\": \"6503e5fc5c5230d0b4c368a6\"\n            },\n            \"user\": \"6553c6bbe0134dae9e77d493\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6553c6f28b64527fbe959288\",\n            \"quantity\": 1,\n            \"product\": {\n                \"nid\": 5,\n                \"title\": \"Huawei P30\",\n                \"description\": \"Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.\",\n                \"price\": 499,\n                \"discountPercentage\": 10.58,\n                \"rating\": 4.09,\n                \"stock\": 22,\n                \"brand\": \"Huawei\",\n                \"category\": \"smartphones\",\n                \"thumbnail\": \"https://i.dummyjson.com/data/products/5/thumbnail.jpg\",\n                \"images\": [\n                    \"https://i.dummyjson.com/data/products/5/1.jpg\",\n                    \"https://i.dummyjson.com/data/products/5/2.jpg\",\n                    \"https://i.dummyjson.com/data/products/5/3.jpg\"\n                ],\n                \"id\": \"6503e5fc5c5230d0b4c368a9\"\n            },\n            \"user\": \"6553c6bbe0134dae9e77d493\",\n            \"__v\": 0\n        },\n        {\n            \"_id\": \"6553c6fd8b64527fbe959291\",\n            \"quantity\": 1,\n            \"product\": {\n                \"nid\": 1,\n                \"title\": \"iPhone 9\",\n                \"description\": \"An apple mobile which is nothing like apple\",\n                \"price\": 549,\n                \"discountPercentage\": 12.96,\n                \"rating\": 4.69,\n                \"stock\": 90,\n                \"brand\": \"Apple\",\n                \"category\": \"smartphones\",\n                \"thumbnail\": \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\",\n                \"images\": [\n                    \"https://i.dummyjson.com/data/products/1/1.jpg\",\n                    \"https://i.dummyjson.com/data/products/1/2.jpg\",\n                    \"https://i.dummyjson.com/data/products/1/3.jpg\",\n                    \"https://i.dummyjson.com/data/products/1/4.jpg\",\n                    \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\"\n                ],\n                \"id\": \"6503e5fc5c5230d0b4c368a5\"\n            },\n            \"user\": \"6553c6bbe0134dae9e77d493\",\n            \"__v\": 0\n        },\n        {\n            \"quantity\": 1,\n            \"product\": {\n                \"nid\": 63,\n                \"title\": \"Royal Blue Premium Watch\",\n                \"description\": \"Men Silver Chain Royal Blue Premium Watch Latest Analog Watch\",\n                \"price\": 50,\n                \"discountPercentage\": 2.56,\n                \"rating\": 4.89,\n                \"stock\": 141,\n                \"brand\": \"SKMEI 9117\",\n                \"category\": \"mens-watches\",\n                \"thumbnail\": \"https://i.dummyjson.com/data/products/63/thumbnail.webp\",\n                \"images\": [\n                    \"https://i.dummyjson.com/data/products/63/1.jpg\",\n                    \"https://i.dummyjson.com/data/products/63/2.jpg\",\n                    \"https://i.dummyjson.com/data/products/63/3.png\",\n                    \"https://i.dummyjson.com/data/products/63/4.jpeg\"\n                ],\n                \"id\": \"6503e5fc5c5230d0b4c368e3\"\n            },\n            \"user\": \"6553c6bbe0134dae9e77d493\",\n            \"_id\": \"6553c7177d1dd4b204cb6a8c\",\n            \"__v\": 0\n        }\n    ],\n    \"totalAmount\": 1997,\n    \"totalItems\": 4,\n    \"user\": \"6553c6bbe0134dae9e77d493\",\n    \"paymentMethod\": \"cash\",\n    \"paymentStatus\": \"pending\",\n    \"status\": \"pending\",\n    \"selectAddress\": {\n        \"name\": \"mahesh\",\n        \"email\": \"mahesh.tatipamula43@gmail.com\",\n        \"phone\": \"7896541230\",\n        \"country\": \"India\",\n        \"street\": \"near gunfoundary hanuman temple\",\n        \"city\": \"Hyderabad\",\n        \"region\": \"gunfoundary\",\n        \"postal\": \"500001\",\n        \"id\": \"2801ea34-7f87-43ea-a3c7-918efac472ef\"\n    },\n    \"createdAt\": \"2023-11-14T19:15:03.498Z\",\n    \"updatedAt\": \"2023-11-14T19:15:03.498Z\",\n    \"__v\": 0\n}"}],"_postman_id":"f80187f9-2c52-4e18-85d1-c78e431cdf8e"}],"id":"ac70e142-bc8a-47bb-b2cb-b4dfd951b4b3","description":"<p>Order endpoints enable users to manage their orders. Users can retrieve a list of their orders and obtain detailed information about a specific order, facilitating order tracking and management</p>\n","_postman_id":"ac70e142-bc8a-47bb-b2cb-b4dfd951b4b3"},{"name":"Products","item":[{"name":"add-products","id":"bf44b3df-62f0-4abe-aebe-8546873d3d2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"apple watch\",\r\n    \"description\":\"this is apple\",\r\n    \"price\":\"255\",\r\n    \"brand\":\"apple\",\r\n    \"category\":\"watch\",\r\n    \"quantity\":\"02\",\r\n    \"color\":\"black\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//products/post-product","description":"<h3 id=\"add-product\">Add Product</h3>\n<p>This endpoint allows the user to add a new product to the e-commerce platform.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>title</code> (string): The title of the product.</li>\n<li><code>description</code> (string): The description of the product.</li>\n<li><code>price</code> (number): The price of the product.</li>\n<li><code>brand</code> (string): The brand of the product.</li>\n<li><code>category</code> (string): The category of the product.</li>\n<li><code>quantity</code> (number): The quantity of the product.</li>\n<li><code>color</code> (string): The color of the product.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><code>title</code> (string): The title of the added product.</li>\n<li><code>description</code> (string): The description of the added product.</li>\n<li><code>price</code> (number): The price of the added product.</li>\n<li><code>brand</code> (string): The brand of the added product.</li>\n<li><code>category</code> (string): The category of the added product.</li>\n<li><code>images</code> (array): Array of images for the added product.</li>\n<li><code>id</code> (string): The unique identifier of the added product.</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"title\": \"apple watch\",\n    \"description\": \"this is apple\",\n    \"price\": 255,\n    \"brand\": \"apple\",\n    \"category\": \"watch\",\n    \"images\": [],\n    \"id\": \"6553a7f5f756d8a1f83bb6f1\"\n}\n\n</code></pre>\n","urlObject":{"path":["products","post-product"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"88224396-7539-43ca-bb95-136ce67225c8","name":"add-products","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\":\"apple watch\",\r\n    \"description\":\"this is apple\",\r\n    \"price\":\"255\",\r\n    \"brand\":\"apple\",\r\n    \"category\":\"watch\",\r\n    \"quantity\":\"02\",\r\n    \"color\":\"black\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//products/post-product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"144"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:23:08 GMT"},{"key":"Etag","value":"W/\"90-ivsu8mMT3AYzMnrMQ1bSuv/mGyE\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"MISS"},{"key":"X-Vercel-Id","value":"bom1::iad1::6jsfl-1702740188635-2e8f2f8ac269"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"apple watch\",\n    \"description\": \"this is apple\",\n    \"price\": 255,\n    \"brand\": \"apple\",\n    \"category\": \"watch\",\n    \"images\": [],\n    \"id\": \"657dc0dc7cb97e4dcda0e21e\"\n}"}],"_postman_id":"bf44b3df-62f0-4abe-aebe-8546873d3d2f"},{"name":"get-single-product","id":"ab73c42a-88b0-4008-be0d-96024c2acb60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//products/get-a-product/6503e5fc5c5230d0b4c368aa","description":"<h1 id=\"get-a-product\">Get a Product</h1>\n<p>This endpoint retrieves the details of a specific product by its unique identifier.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET</code> https://ecom-backend-maheshtatipamula.vercel.app/api//products/get-a-product/6503e5fc5c5230d0b4c368aa</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request does not contain a request body.</p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"success-200-ok\">Success 200 OK</h3>\n<p>The successful response will contain the details of the product in the following format:</p>\n<ul>\n<li><code>nid</code> (number): The unique identifier of the product.</li>\n<li><code>title</code> (string): The title or name of the product.</li>\n<li><code>description</code> (string): The description of the product.</li>\n<li><code>price</code> (number): The price of the product.</li>\n<li><code>discountPercentage</code> (number): The discount percentage on the product.</li>\n<li><code>rating</code> (number): The rating of the product.</li>\n<li><code>stock</code> (number): The available stock of the product.</li>\n<li><code>brand</code> (string): The brand of the product.</li>\n<li><code>category</code> (string): The category of the product.</li>\n<li><code>thumbnail</code> (string): The URL of the thumbnail image of the product.</li>\n<li><code>images</code> (array): An array of URLs for additional images of the product.</li>\n<li><code>id</code> (string): The unique identifier of the product.</li>\n</ul>\n<h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"nid\": 6,\n    \"title\": \"MacBook Pro\",\n    \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n    \"price\": 1749,\n    \"discountPercentage\": 11.02,\n    \"rating\": 4.57,\n    \"stock\": 81,\n    \"brand\": \"Apple\",\n    \"category\": \"laptops\",\n    \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n    \"images\": [\n        \"https://i.dummyjson.com/data/products/6/1.png\",\n        \"https://i.dummyjson.com/data/products/6/2.jpg\",\n        \"https://i.dummyjson.com/data/products/6/3.png\",\n        \"https://i.dummyjson.com/data/products/6/4.jpg\"\n    ],\n    \"id\": \"6503e5fc5c5230d0b4c368aa\"\n}\n\n</code></pre>\n","urlObject":{"path":["products","get-a-product","6503e5fc5c5230d0b4c368aa"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/"],"query":[],"variable":[]}},"response":[{"id":"4a5dada5-205c-458e-99ef-c0b23b69806a","name":"get-single-product","originalRequest":{"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api//products/get-a-product/6503e5fc5c5230d0b4c368aa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"530"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 14:56:25 GMT"},{"key":"Etag","value":"W/\"212-nTLUeeYqTRQO092HKoyXMQMO614\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::5sdqn-1702738585210-be364c7c7a1e"}],"cookie":[],"responseTime":null,"body":"{\n    \"nid\": 6,\n    \"title\": \"MacBook Pro\",\n    \"description\": \"MacBook Pro 2021 with mini-LED display may launch between September, November\",\n    \"price\": 1749,\n    \"discountPercentage\": 11.02,\n    \"rating\": 4.57,\n    \"stock\": 81,\n    \"brand\": \"Apple\",\n    \"category\": \"laptops\",\n    \"thumbnail\": \"https://i.dummyjson.com/data/products/6/thumbnail.png\",\n    \"images\": [\n        \"https://i.dummyjson.com/data/products/6/1.png\",\n        \"https://i.dummyjson.com/data/products/6/2.jpg\",\n        \"https://i.dummyjson.com/data/products/6/3.png\",\n        \"https://i.dummyjson.com/data/products/6/4.jpg\"\n    ],\n    \"id\": \"6503e5fc5c5230d0b4c368aa\"\n}"}],"_postman_id":"ab73c42a-88b0-4008-be0d-96024c2acb60"},{"name":"Get-All-Products","id":"0e6bcb6b-78c1-4f0d-a011-69b710da66b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://ecom-backend-maheshtatipamula.vercel.app/api/products/get-all-products?limit=2","description":"<p>This endpoint makes an HTTP GET request to retrieve all products with a specified limit. The request should include the query parameter \"limit\" to indicate the maximum number of products to be returned.</p>\n<p>The response to the last call returned a JSON object with a status code of 200. The response includes an array of \"products\", each containing details such as \"nid\", \"title\", \"description\", \"price\", \"discountPercentage\", \"rating\", \"stock\", \"brand\", \"category\", \"thumbnail\", \"images\", and \"id\". Additionally, the response includes the \"totalDocuments\" indicating the total number of products available.</p>\n<p>No request body is required for this endpoint.</p>\n","urlObject":{"path":["get-all-products"],"host":["https://ecom-backend-maheshtatipamula.vercel.app/api/products"],"query":[{"disabled":true,"key":"page","value":"2"},{"key":"limit","value":"2"},{"disabled":true,"key":"category","value":"laptops"}],"variable":[]}},"response":[{"id":"83c71599-6ebd-4186-aa30-79918089cb48","name":"Get-All-Products","originalRequest":{"method":"GET","header":[{"key":"limit","value":"","type":"text","disabled":true}],"url":{"raw":"https://ecom-backend-maheshtatipamula.vercel.app/api/products/get-all-products?limit=2","host":["https://ecom-backend-maheshtatipamula.vercel.app/api/products"],"path":["get-all-products"],"query":[{"key":"page","value":"2","type":"text","disabled":true},{"key":"limit","value":"2"},{"key":"category","value":"laptops","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=0, must-revalidate"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Dec 2023 15:26:07 GMT"},{"key":"Etag","value":"W/\"47f-+Mb15SnAiUvNTO7rXpaCHewYEmo\""},{"key":"Server","value":"Vercel"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Vercel-Cache","value":"BYPASS"},{"key":"X-Vercel-Id","value":"bom1::iad1::5k5hl-1702740367806-4ee39f7941cc"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"products\": [\n        {\n            \"nid\": 1,\n            \"title\": \"iPhone 9\",\n            \"description\": \"An apple mobile which is nothing like apple\",\n            \"price\": 549,\n            \"discountPercentage\": 12.96,\n            \"rating\": 4.69,\n            \"stock\": 88,\n            \"brand\": \"Apple\",\n            \"category\": \"smartphones\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/1/1.jpg\",\n                \"https://i.dummyjson.com/data/products/1/2.jpg\",\n                \"https://i.dummyjson.com/data/products/1/3.jpg\",\n                \"https://i.dummyjson.com/data/products/1/4.jpg\",\n                \"https://i.dummyjson.com/data/products/1/thumbnail.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368a5\"\n        },\n        {\n            \"nid\": 2,\n            \"title\": \"iPhone X\",\n            \"description\": \"SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...\",\n            \"price\": 899,\n            \"discountPercentage\": 17.94,\n            \"rating\": 4.44,\n            \"stock\": 18,\n            \"brand\": \"Apple\",\n            \"category\": \"smartphones\",\n            \"thumbnail\": \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\",\n            \"images\": [\n                \"https://i.dummyjson.com/data/products/2/1.jpg\",\n                \"https://i.dummyjson.com/data/products/2/2.jpg\",\n                \"https://i.dummyjson.com/data/products/2/3.jpg\",\n                \"https://i.dummyjson.com/data/products/2/thumbnail.jpg\"\n            ],\n            \"id\": \"6503e5fc5c5230d0b4c368a6\"\n        }\n    ],\n    \"totalDocuments\": 104\n}"}],"_postman_id":"0e6bcb6b-78c1-4f0d-a011-69b710da66b4"}],"id":"785520b0-560c-471b-9ecc-fe8a148f1384","description":"<p>The Products category involves operations related to product management. Users can add new products, retrieve information about individual products, and obtain a comprehensive list of all available products on the platform. This category is essential for maintaining an up-to-date product catalog.</p>\n","_postman_id":"785520b0-560c-471b-9ecc-fe8a148f1384"}],"variable":[{"key":"ecom","value":"https://ecom-backend-maheshtatipamula.vercel.app/api/"}]}