{"info":{"_postman_id":"30e44290-db90-4235-a492-0064c7b7d922","name":"Store Manager API","description":"<html><head></head><body><p>Store Manager is a RESTful API offering comprehensive CRUD functionality for sales management, specifically drop shipping. Developed with TDD methodology, it follows a layered architecture (MSC).</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30159355","collectionId":"30e44290-db90-4235-a492-0064c7b7d922","publishedId":"2s9YJgTLHB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-07T18:12:19.000Z"},"item":[{"name":"Products","item":[{"name":"Get all products","event":[{"listen":"test","script":{"id":"8c1eb99e-4363-46f3-9d4e-2b658774b8f2","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"6c70dbd6-a583-4c1c-8250-a5cd206d1494","request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/products","description":"<p>Endpoint to retrieve all products. Perform a <code>GET</code> request to retrieve a list of all products. A successful request returns a <code>200</code> OK response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["products"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"06967e74-8694-4225-bf8f-37225736ccd4","name":"Get all products","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3001/products","protocol":"http","host":["127","0","0","1"],"port":"3001","path":["products"],"query":[{"key":"id","value":"1","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"121"},{"key":"ETag","value":"W/\"79-nprilVVrGWNp9eNlTHMvkrHOvHU\""},{"key":"Date","value":"Sat, 07 Oct 2023 15:27:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Martelo de Thor\"\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Traje de encolhimento\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Escudo do Capitão América\"\n    }\n]"}],"_postman_id":"6c70dbd6-a583-4c1c-8250-a5cd206d1494"},{"name":"Get a product by id","event":[{"listen":"test","script":{"id":"5c02b70f-8779-4166-8181-9d3801bbd5eb","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"e8b98d4f-e9ac-49b8-ab25-7f059400ad99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/products/1","description":"<p>Endpoint to retrieve a product by ID. Perform a <code>GET</code> request with the product ID. A successful request returns a <code>200</code> OK response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["products","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"b2291626-5771-4c21-bfa2-6fc70969a80d","name":"Get a product by id","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/products/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"ETag","value":"W/\"21-hsDJGEaNxOK41gPwFdbYLJp9tEg\""},{"key":"Date","value":"Sat, 07 Oct 2023 15:45:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Martelo de Thor\"\n}"}],"_postman_id":"e8b98d4f-e9ac-49b8-ab25-7f059400ad99"},{"name":"Get a product by name","event":[{"listen":"test","script":{"id":"b72c09c9-3666-4615-a0b8-9d1f0fdf7d59","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"c12e57c3-acb0-405d-9ee5-99866fc50cb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/products/search?q=Traje","description":"<p>Endpoint to retrieve products based on a search query. Perform a <code>GET</code> request with the <code>'q'</code> parameter to search for products. A successful request returns a <code>200</code> OK response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["products","search"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>Search query string to filter products.</p>\n","type":"text/plain"},"key":"q","value":"Traje"}],"variable":[]}},"response":[{"id":"69896d27-39a7-4ac1-b5af-2bb1e6a59387","name":"Get a product by name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3001/products/search?q=Traje","protocol":"http","host":["127","0","0","1"],"port":"3001","path":["products","search"],"query":[{"key":"q","value":"Traje","description":"Search query string to filter products."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-jyp7idThUwGeym6W+TrLClrraZs\""},{"key":"Date","value":"Sat, 07 Oct 2023 15:49:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"name\": \"Traje de encolhimento\"\n    }\n]"}],"_postman_id":"c12e57c3-acb0-405d-9ee5-99866fc50cb0"},{"name":"Add a new product","event":[{"listen":"test","script":{"id":"dfc0d4f8-867b-4369-8467-605a6250a99e","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript"}}],"id":"346b33f9-79b2-4d6e-b6fb-7c0789d8d58b","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Anel do Lanterna Verde\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/products","description":"<p>This endpoint allows you to create a new product. Make a <code>POST</code> request with JSON data in the request body. A successful request returns a <code>201</code> Created response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["products"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"f4348442-8ba5-4519-9a81-2111fa356b89","name":"Add a new product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Anel do Lanterna Verde\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-1IuJLhpikSk6QeithO/XmqWInHw\""},{"key":"Date","value":"Sat, 07 Oct 2023 15:57:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"Anel do Lanterna Verde\"\n}"}],"_postman_id":"346b33f9-79b2-4d6e-b6fb-7c0789d8d58b"},{"name":"Update a product","event":[{"listen":"test","script":{"id":"9e0b54bc-bd2d-4777-8614-2037d936ecfe","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript"}}],"id":"6d31a227-7a71-47e7-8a54-6c078a5b3fe4","request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Martelo do Batman\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/products/1","description":"<p>Endpoint to update a product. Perform a <code>PUT</code> request with the <code>product ID</code> and the updated product data in the request body. A successful request returns a <code>200</code> OK response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["products","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"81b0074a-ece4-4b01-afe9-99993aafbc59","name":"Update data","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Martelo do Batman\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/products/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"ETag","value":"W/\"23-VJCjPBXcp7LpiKdOkhkZlkkUodI\""},{"key":"Date","value":"Sat, 07 Oct 2023 16:04:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Martelo do Batman\"\n}"}],"_postman_id":"6d31a227-7a71-47e7-8a54-6c078a5b3fe4"},{"name":"Delete a product","event":[{"listen":"test","script":{"id":"aaea1e00-9f9f-41f4-97cc-1faf69dbc431","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript"}}],"id":"0ac12dbf-5f8d-4591-bc8d-d7e27106e204","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/products/1","description":"<p>Endpoint to delete a product. Perform a <code>DELETE</code> request with the <code>product ID</code>. A successful request returns a <code>204</code> No Content response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["products","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"0e2ec0da-c7cf-485f-8f97-edba7b3f5771","name":"Delete data","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/products/1"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Date","value":"Sat, 07 Oct 2023 16:09:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0ac12dbf-5f8d-4591-bc8d-d7e27106e204"}],"id":"42062e86-b913-40cf-b5d9-8960b05d8248","description":"<p>This folder contains a set of API endpoints related to product management. You can use these endpoints to perform CRUD (Create, Read, Update, Delete) operations for products in our e-commerce system.</p>\n","_postman_id":"42062e86-b913-40cf-b5d9-8960b05d8248"},{"name":"Sales","item":[{"name":"Get all sales","event":[{"listen":"test","script":{"id":"81065528-534f-4266-bcd7-4b74b7f572db","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"c098047f-e96e-45f1-805a-1200ccc2cc4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/sales","description":"<p>Get all sales records. Perform a <code>GET</code> request to retrieve a list of all sales records in the system. A successful request returns a <code>200</code> OK response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["sales"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"19a7333c-236b-4210-ab13-12811ef81126","name":"Get all sales","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/sales"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"151"},{"key":"ETag","value":"W/\"97-J6qKaq8qrLUO6OKDddnXeKQYGz0\""},{"key":"Date","value":"Sat, 07 Oct 2023 16:52:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"saleId\": 1,\n        \"productId\": 2,\n        \"quantity\": 10,\n        \"date\": \"2023-10-07T15:27:17.000Z\"\n    },\n    {\n        \"saleId\": 2,\n        \"productId\": 3,\n        \"quantity\": 15,\n        \"date\": \"2023-10-07T15:27:17.000Z\"\n    }\n]"}],"_postman_id":"c098047f-e96e-45f1-805a-1200ccc2cc4e"},{"name":"Get a sale by id","event":[{"listen":"test","script":{"id":"c13ad2ac-9e40-41af-9aa1-c93b282a31ca","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"91ec63f4-c4e3-45a2-ac78-3b9284b3d431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/sales/1","description":"<p>Endpoint to retrieve a sale by ID. Perform a <code>GET</code> request with the <code>sale ID</code>. A successful request returns a <code>200</code> OK response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["sales","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"98731c9a-ac65-46fa-8445-4ac3b2ed3640","name":"Get a sale by id","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/sales/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"ETag","value":"W/\"41-0r/OkEYDYMkr4sEYHNustR+7KuM\""},{"key":"Date","value":"Sat, 07 Oct 2023 16:53:34 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"productId\": 2,\n        \"quantity\": 10,\n        \"date\": \"2023-10-07T15:27:17.000Z\"\n    }\n]"}],"_postman_id":"91ec63f4-c4e3-45a2-ac78-3b9284b3d431"},{"name":"Add a new sale","event":[{"listen":"test","script":{"id":"89267489-e4e5-4dbc-b33f-ab2d17039609","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript"}}],"id":"e6303004-2bc0-4b69-a86e-57254f4c88fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"productId\": 2,\n        \"quantity\": 6\n    },\n    {\n        \"productId\": 3,\n        \"quantity\": 4\n    }\n]","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/sales","description":"<p>This endpoint allows you to create a new sale record. Make a <code>POST</code> request with JSON data in the request body. A successful request returns a <code>201</code> Created response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["sales"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"69d88578-0a76-45d9-98c2-5e0a4a36e94c","name":"Add a new sale","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"productId\": 2,\n        \"quantity\": 6\n    },\n    {\n        \"productId\": 3,\n        \"quantity\": 4\n    }\n]","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/sales"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"80"},{"key":"ETag","value":"W/\"50-PkfiVwrcy3XHHBNTP44wpPnTwDE\""},{"key":"Date","value":"Sat, 07 Oct 2023 17:00:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"itemsSold\": [\n        {\n            \"productId\": 2,\n            \"quantity\": 6\n        },\n        {\n            \"productId\": 3,\n            \"quantity\": 4\n        }\n    ]\n}"}],"_postman_id":"e6303004-2bc0-4b69-a86e-57254f4c88fa"},{"name":"Update a sale product quantity","event":[{"listen":"test","script":{"id":"598b6917-1b4e-4cdf-9250-978972de2489","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript"}}],"id":"1127053c-c868-4ee8-9e65-99260f47118f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\": 20\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/sales/1/products/2/quantity","description":"<p>This endpoint allows you to update the quantity of a product within a sale. Make a <code>PUT</code> request to update the quantity of a specific product in a sale. Include the <code>sale ID</code>, <code>product ID</code>, and the updated <code>quantity</code> in the JSON request body. A successful request returns a <code>200</code> OK response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["sales","1","products","2","quantity"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"76428fbd-3edb-4492-9e5f-b169590de349","name":"Update a sale product quantity","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"quantity\": 20\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/sales/1/products/2/quantity"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"74"},{"key":"ETag","value":"W/\"4a-nIqolYFAoBMEw6vaxH8RsCaeoVY\""},{"key":"Date","value":"Sat, 07 Oct 2023 17:03:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"date\": \"2023-10-07T15:27:17.000Z\",\n    \"productId\": 2,\n    \"quantity\": 20,\n    \"saleId\": 1\n}"}],"_postman_id":"1127053c-c868-4ee8-9e65-99260f47118f"},{"name":"Delete a sale","event":[{"listen":"test","script":{"id":"c3a9de78-f606-427e-b0ad-c7a5efd100ef","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript"}}],"id":"957146a9-5601-4b57-adf9-6c44068f1740","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3001/sales/1","description":"<p>This endpoint allows you to delete a product from a sale. Perform a <code>DELETE</code> request with the <code>product ID</code> to remove a specific product from a sale. A successful request returns a <code>204</code> No Content response.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["sales","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"fab8a63c-37dd-430a-abe3-dbe5eb6286af","name":"Delete a sale","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3001/sales/1"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, DELETE, OPTIONS, PUT, PATCH"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Date","value":"Sat, 07 Oct 2023 17:05:10 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"957146a9-5601-4b57-adf9-6c44068f1740"}],"id":"a3f8c981-794d-4181-80c3-20275fbda5a7","description":"<p>This folder provides API endpoints for sales management. You can utilize these endpoints to perform CRUD (Create, Read, Update, Delete) operations for sales records within our system, enabling comprehensive sales data management.</p>\n","_postman_id":"a3f8c981-794d-4181-80c3-20275fbda5a7"}],"event":[{"listen":"prerequest","script":{"id":"1a993d12-5ae3-460d-ba33-30917fd21031","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0cd4fd68-c13b-462a-8993-e148658b82a8","type":"text/javascript","exec":[""]}}],"variable":[{"key":"id","value":"1"},{"key":"saleId","value":"1"},{"key":"productId","value":"2"}]}