{"info":{"_postman_id":"bd255560-cb31-4cbd-9235-118c100ad669","name":"SpringMartX-Backend","description":"<html><head></head><body><h3 id=\"backend-spring-boot---springmartx\"><strong>Backend (Spring Boot - SpringMartX)</strong></h3>\n<ul>\n<li><p>🔐 <strong>Authentication &amp; Authorization</strong> (JWT-based security)</p>\n</li>\n<li><p>📂 <strong>Category Management</strong> (CRUD operations on product categories)</p>\n</li>\n<li><p>🛍️ <strong>Product Management</strong> (Adding, updating, and deleting products)</p>\n</li>\n<li><p>🛒 <strong>Cart Functionality</strong> (Add to cart, update, and remove items)</p>\n</li>\n<li><p>📦 <strong>Order Processing</strong> (Placing orders and handling payments)</p>\n</li>\n<li><p>🛡️ <strong>Security Features</strong> (User authentication and role-based access control)</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33652413","collectionId":"bd255560-cb31-4cbd-9235-118c100ad669","publishedId":"2sAYX3sPPt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-03T07:28:05.000Z"},"item":[{"name":"Authentication","item":[{"name":"Sign In","id":"3f286219-f51a-4000-b59d-3953501aed93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"jwt","jwt":{"basicConfig":[{"key":"algorithm","value":"<algorithm>"},{"key":"isSecretBase64Encoded","value":"<is-secret-base64encoded>"},{"key":"payload","value":"<payload>"},{"key":"addTokenTo","value":"<add-token-to>"},{"key":"headerPrefix","value":"<header-prefix>"},{"key":"queryParamKey","value":"<query-param-key>"},{"key":"header","value":"<header>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \r\n\"username\" : \"user1\" ,\r\n\"password\": \"password1\" \r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/auth/signin","urlObject":{"protocol":"http","port":"8080","path":["api","auth","signin"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f286219-f51a-4000-b59d-3953501aed93"},{"name":"Get user name","id":"c3ef7a22-9b32-410c-98fa-f2a131a2ed24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"jwt","jwt":{"basicConfig":[{"key":"algorithm","value":"<algorithm>"},{"key":"isSecretBase64Encoded","value":"<is-secret-base64encoded>"},{"key":"payload","value":"<payload>"},{"key":"addTokenTo","value":"<add-token-to>"},{"key":"headerPrefix","value":"<header-prefix>"},{"key":"queryParamKey","value":"<query-param-key>"},{"key":"header","value":"<header>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/auth/username","urlObject":{"protocol":"http","port":"8080","path":["api","auth","username"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3ef7a22-9b32-410c-98fa-f2a131a2ed24"},{"name":"User details","id":"c3f5e806-61d3-4d26-9e44-0a385e178278","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"jwt","jwt":{"basicConfig":[{"key":"algorithm","value":"<algorithm>"},{"key":"isSecretBase64Encoded","value":"<is-secret-base64encoded>"},{"key":"payload","value":"<payload>"},{"key":"addTokenTo","value":"<add-token-to>"},{"key":"headerPrefix","value":"<header-prefix>"},{"key":"queryParamKey","value":"<query-param-key>"},{"key":"header","value":"<header>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/auth/user","urlObject":{"protocol":"http","port":"8080","path":["api","auth","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3f5e806-61d3-4d26-9e44-0a385e178278"},{"name":"Sign out","id":"d723e528-c8cc-4016-98e4-eaf2f2bc3b84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"jwt","jwt":{"basicConfig":[{"key":"algorithm","value":"<algorithm>"},{"key":"isSecretBase64Encoded","value":"<is-secret-base64encoded>"},{"key":"payload","value":"<payload>"},{"key":"addTokenTo","value":"<add-token-to>"},{"key":"headerPrefix","value":"<header-prefix>"},{"key":"queryParamKey","value":"<query-param-key>"},{"key":"header","value":"<header>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:8080/api/auth/signout","urlObject":{"protocol":"http","port":"8080","path":["api","auth","signout"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d723e528-c8cc-4016-98e4-eaf2f2bc3b84"},{"name":"Sign Up","id":"63748b5b-9200-442c-b352-39c64ad28b4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \r\n\"username\" : \"user4\" ,\r\n\"password\": \"password1\" , \r\n\"email\" : \"user4@example.com\",\r\n\"role\" : [\"admidfdfn\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/auth/signup","urlObject":{"protocol":"http","port":"8080","path":["api","auth","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"63748b5b-9200-442c-b352-39c64ad28b4c"}],"id":"7d28b48d-b822-460d-8c36-d2968e03d44d","description":"<ul>\n<li><p><strong>User Registration</strong> (<code>POST /api/auth/signup</code>) – Register a new user.</p>\n</li>\n<li><p><strong>User Login</strong> (<code>POST /api/auth/signin</code>) – Authenticate and generate a JWT token</p>\n</li>\n</ul>\n","_postman_id":"7d28b48d-b822-460d-8c36-d2968e03d44d"},{"name":"Category","item":[{"name":"Get all category","id":"0d8b07c0-e4b1-43db-9e2b-c0ffd12fb30a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/public/categories?pageSize=5&sortBy=categoryId&sortOrder =ffdff","urlObject":{"protocol":"http","port":"8080","path":["api","public","categories"],"host":["localhost"],"query":[{"key":"pageSize","value":"5"},{"key":"sortBy","value":"categoryId"},{"key":"sortOrder ","value":"ffdff"}],"variable":[]}},"response":[],"_postman_id":"0d8b07c0-e4b1-43db-9e2b-c0ffd12fb30a"},{"name":"Delete all categories","id":"55e55d87-458b-438e-aa6a-79430906fc35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/admin/categories/1","urlObject":{"protocol":"http","port":"8080","path":["api","admin","categories","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"fd58d592-65da-46cf-b020-d79e606ddf21","name":"Delete all categories","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\"categoryId\" : \"1\" , \"categoryName\" : \"boob\"  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/public/categories/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sat, 21 Dec 2024 09:19:26 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": \"2024-12-21T09:19:26.616+00:00\",\n    \"status\": 404,\n    \"error\": \"Not Found\",\n    \"path\": \"/api/public/categories/1\"\n}"}],"_postman_id":"55e55d87-458b-438e-aa6a-79430906fc35"},{"name":"Create new Category","id":"1ad0aab4-7b44-40cc-96ea-1c56d2ad3bfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyMSIsImlhdCI6MTczNjk2NDY1NCwiZXhwIjoxNzM2OTY3NjU0fQ.FJ82hlC_LrHQJCMi2HDZccsV_sMtD456qTlPWfLcSoA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"categoryName\" : \"Electrical appliance\" \r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/public/categories","urlObject":{"protocol":"http","port":"8080","path":["api","public","categories"],"host":["localhost"],"query":[{"disabled":true,"key":"page","value":""}],"variable":[]}},"response":[],"_postman_id":"1ad0aab4-7b44-40cc-96ea-1c56d2ad3bfc"},{"name":"Update all categories","id":"4f7720d5-a697-470c-88e1-2a216cb7ff05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{ \"categoryName\" : \" no no no  \"  }","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/public/categories/1","urlObject":{"protocol":"http","port":"8080","path":["api","public","categories","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f7720d5-a697-470c-88e1-2a216cb7ff05"}],"id":"e32fd80a-5f4c-4c3a-99ed-904e494166f6","_postman_id":"e32fd80a-5f4c-4c3a-99ed-904e494166f6","description":""},{"name":"Product","item":[{"name":"Add product","id":"0736ccb4-3313-4620-bc60-cf9315e3e538","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"productId\": 53456,\r\n  \"productName\": \"guitar\" , \r\n  \"image\": \"http/image\",\r\n  \"description\": \"ok \",\r\n  \"quantity\": 4,\r\n  \"price\": 98,\r\n  \"specialPrice\": 50,\r\n  \"discount\": 12\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/admin/categories/1/product","description":"<h3 id=\"create-product-in-category\">Create Product in Category</h3>\n<p>This endpoint allows administrators to create a new product within a specific category.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>productName</code> (string): The name of the product.</p>\n</li>\n<li><p><code>image</code> (string): The image file of the product.</p>\n</li>\n<li><p><code>description</code> (string): The description of the product.</p>\n</li>\n<li><p><code>quantity</code> (integer): The quantity of the product available.</p>\n</li>\n<li><p><code>price</code> (integer): The regular price of the product.</p>\n</li>\n<li><p><code>specialPrice</code> (integer): The special discounted price of the product.</p>\n</li>\n<li><p><code>discount</code> (integer): The discount percentage applied to the product.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon successful creation, the endpoint returns the following fields for the newly created product:</p>\n<ul>\n<li><p><code>productId</code> (integer): The unique identifier of the product.</p>\n</li>\n<li><p><code>productName</code> (string): The name of the product.</p>\n</li>\n<li><p><code>image</code> (string): The image file of the product.</p>\n</li>\n<li><p><code>description</code> (string): The description of the product.</p>\n</li>\n<li><p><code>quantity</code> (integer): The quantity of the product available.</p>\n</li>\n<li><p><code>price</code> (integer): The regular price of the product.</p>\n</li>\n<li><p><code>specialPrice</code> (integer): The special discounted price of the product.</p>\n</li>\n<li><p><code>discount</code> (integer): The discount percentage applied to the product.</p>\n</li>\n</ul>\n<p>The response status code is <code>201</code> and the content type is <code>application/json</code>.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","admin","categories","1","product"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0736ccb4-3313-4620-bc60-cf9315e3e538"},{"name":"Update product image","id":"36633ee8-2592-4960-9461-d4673556c71c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"image ","type":"file","src":"/C:/Users/parth/Downloads/WhatsApp Image 2024-12-01 at 13.14.24_676eef7e.jpg"}]},"url":"http://localhost:8080/api/products/1/image","urlObject":{"protocol":"http","port":"8080","path":["api","products","1","image"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"36633ee8-2592-4960-9461-d4673556c71c"},{"name":"Delete Product","id":"65c77cd9-f4bf-4a82-b68b-95580da5a8fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyMSIsImlhdCI6MTczNjgzMTk2NSwiZXhwIjoxNzM2ODM0OTY1fQ.KKjl7gmVc_8OHBK0rJp_3XRZgn0vGr9fonMLYm7Z9FI; Path=/api; Max-Age=86400; Expires=Wed, 15 Jan 2025 05:19:25 GMT\"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"productId\": 53456,\r\n  \"productName\": \"Robft\",\r\n  \"image\": \"http//..../murmure\",\r\n  \"description\": \"hello! \",\r\n  \"quantity\": 4,\r\n  \"price\": 98,\r\n//   \"specialPrice\": 50,\r\n  \"discount\": 12\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/admin/products/3","urlObject":{"protocol":"http","port":"8080","path":["api","admin","products","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"65c77cd9-f4bf-4a82-b68b-95580da5a8fe"},{"name":"Update Product","id":"89cfb2d0-5956-425d-9a78-123c6c1d511e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"productId\": 1,\r\n  \"productName\": \"kitkat\",\r\n  \"image\": \"http//..../murmure\",\r\n  \"description\": \" AH love it ! \",\r\n  \"quantity\": 4,\r\n  \"price\": 98,\r\n//   \"specialPrice\": 50,\r\n  \"discount\": 12\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/admin/product/1","urlObject":{"protocol":"http","port":"8080","path":["api","admin","product","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"89cfb2d0-5956-425d-9a78-123c6c1d511e"},{"name":"Get all product","id":"43fd3274-0e74-458c-bea8-2c5b124a0df9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyMSIsImlhdCI6MTczNjY4MjE5OSwiZXhwIjoxNzM2Njg1MTk5fQ.mqYGI1xRJWKr8Dctg3XvVPfCBY9zo9D-pixAtWms1_I","type":"text"}],"url":"http://localhost:8080/api/public/products?pageSize=5&sortBy=productId&sortOrder =asc&pageNumber=0","urlObject":{"protocol":"http","port":"8080","path":["api","public","products"],"host":["localhost"],"query":[{"key":"pageSize","value":"5"},{"key":"sortBy","value":"productId"},{"key":"sortOrder ","value":"asc"},{"key":"pageNumber","value":"0"}],"variable":[]}},"response":[],"_postman_id":"43fd3274-0e74-458c-bea8-2c5b124a0df9"},{"name":"Get all product By category","id":"5e9ab85c-8c1e-410e-ae87-ba9d78f4a0db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/public/categories/1/products?pageSize=5&sortBy=productName&sortOrder =ffdff","urlObject":{"protocol":"http","port":"8080","path":["api","public","categories","1","products"],"host":["localhost"],"query":[{"key":"pageSize","value":"5"},{"key":"sortBy","value":"productName"},{"key":"sortOrder ","value":"ffdff"}],"variable":[]}},"response":[],"_postman_id":"5e9ab85c-8c1e-410e-ae87-ba9d78f4a0db"},{"name":"Get all product By Keyword","id":"58bdec2d-1cde-4815-ad3d-ff5a7f5bf174","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/public/products/Keyword/k","urlObject":{"protocol":"http","port":"8080","path":["api","public","products","Keyword","k"],"host":["localhost"],"query":[{"disabled":true,"key":"pageSize","value":"5"},{"disabled":true,"key":"sortBy","value":"productName"},{"disabled":true,"key":"sortOrder ","value":"ffdff"}],"variable":[]}},"response":[],"_postman_id":"58bdec2d-1cde-4815-ad3d-ff5a7f5bf174"},{"name":"http://localhost:8080/api/products/1/image","id":"9e823793-2203-49b4-a5a7-8073efd38963","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"url":"http://localhost:8080/api/products/1/image","urlObject":{"protocol":"http","port":"8080","path":["api","products","1","image"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e823793-2203-49b4-a5a7-8073efd38963"}],"id":"1c7df600-ae7a-48a3-a32c-1870cbefadef","_postman_id":"1c7df600-ae7a-48a3-a32c-1870cbefadef","description":""},{"name":"Addresss","item":[{"name":"Post Address","id":"94d7e72b-2694-4c29-ab0f-319f80763f29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"country\": \"India\" , \r\n    \"city\" : \"indore\" , \r\n    \"state\" : \"MP\" , \r\n       \"buildingName\" : \"B-2\" , \r\n       \"pincode\" : \"54rf34\" ,\r\n       \"street\" : \"sharmod..\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/addresses","urlObject":{"protocol":"http","port":"8080","path":["api","addresses"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"94d7e72b-2694-4c29-ab0f-319f80763f29"},{"name":"Get Address","id":"cd4a943f-782c-4c0d-811b-bd60d44be2b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/addresses","urlObject":{"protocol":"http","port":"8080","path":["api","addresses"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd4a943f-782c-4c0d-811b-bd60d44be2b3"},{"name":"Updating address","id":"ad23dc42-d536-40bb-ae6c-07157f22ca1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"     \r\n   {\r\n        \"addressId\": 1,\r\n        \"street\": \"New house\",\r\n        \"buildingName\": \"B-2\",\r\n        \"city\": \"indore\",\r\n        \"state\": \"MP\",\r\n        \"country\": \"India\",\r\n        \"pincode\": \"54rf34\"\r\n    }\r\n        \r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/addresses/1","urlObject":{"protocol":"http","port":"8080","path":["api","addresses","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad23dc42-d536-40bb-ae6c-07157f22ca1e"},{"name":"Get Address By Id","id":"058e4275-d5d7-4821-98c4-7ed9d9a68787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/addresses","urlObject":{"protocol":"http","port":"8080","path":["api","addresses"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"058e4275-d5d7-4821-98c4-7ed9d9a68787"},{"name":"Delete address","id":"fc51b643-8342-48a4-b68c-7bb093d863cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/addresses/1","urlObject":{"protocol":"http","port":"8080","path":["api","addresses","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc51b643-8342-48a4-b68c-7bb093d863cd"},{"name":"Get Address By User","id":"d9d68227-405b-49e7-882e-e8fc928d6541","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/users/addresses","urlObject":{"protocol":"http","port":"8080","path":["api","users","addresses"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9d68227-405b-49e7-882e-e8fc928d6541"}],"id":"0b111d07-e2ef-4e08-8317-095070de9476","_postman_id":"0b111d07-e2ef-4e08-8317-095070de9476","description":""},{"name":"Cart","item":[{"name":"Add product  to Cart","id":"2a20ad99-b4d9-49ce-a811-8ee5cbcb922b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8080/api/carts/products/1/quantity/2 ","urlObject":{"protocol":"http","port":"8080","path":["api","carts","products","1","quantity","2 "],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a20ad99-b4d9-49ce-a811-8ee5cbcb922b"},{"name":"increase , decrease  quantity of product to cart","id":"c1b92f60-6dc5-41aa-9b86-a9e615253959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8080/api/carts/products/1/quantity/2 ","urlObject":{"protocol":"http","port":"8080","path":["api","carts","products","1","quantity","2 "],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1b92f60-6dc5-41aa-9b86-a9e615253959"},{"name":"Get User Cart","id":"77c5a721-e44c-4f22-ab57-fda96d9f7cd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/carts/users/cart","urlObject":{"protocol":"http","port":"8080","path":["api","carts","users","cart"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"77c5a721-e44c-4f22-ab57-fda96d9f7cd2"},{"name":"Get all Carts","id":"93d8abb4-7233-40e1-a65b-a7b909f3059a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/carts","urlObject":{"protocol":"http","port":"8080","path":["api","carts"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"93d8abb4-7233-40e1-a65b-a7b909f3059a"}],"id":"5326606d-525c-456e-bed8-ddc51f5356ea","_postman_id":"5326606d-525c-456e-bed8-ddc51f5356ea","description":""},{"name":"Orders","item":[{"name":"Place Order","id":"391daf84-fbdc-4841-b487-afe19f497b5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"addressId\": 4,\r\n  \"paymentMethod\": \"Credit Card\",\r\n  \"pgName\": \"PayPal\",\r\n  \"pgPaymentId\": \"PAY123456789\",\r\n  \"pgStatus\": \"SUCCESS\",\r\n  \"pgResponseMessage\": \"Payment processed successfully.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/order/users/payments/CARD","urlObject":{"protocol":"http","port":"8080","path":["api","order","users","payments","CARD"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"391daf84-fbdc-4841-b487-afe19f497b5d"}],"id":"f6f69b41-a614-4b66-92ca-ab281b948bf3","_postman_id":"f6f69b41-a614-4b66-92ca-ab281b948bf3","description":""}]}