{"info":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","description":"<html><head></head><body><p>The Helm API provides a powerful set of tools to integrate with and automate various warehousing and fulfillment operations. Using this API, you can easily manage inventory, orders, shipments, and stock levels. It offers a range of functionalities to streamline your warehousing processes, including:</p>\n<ul>\n<li><p><strong>Order Management:</strong> Retrieve, create, and update orders to keep your fulfillment process in sync.</p>\n</li>\n<li><p><strong>Shipping:</strong> Manage shipments, print labels, and track the status of your packages effortlessly.</p>\n</li>\n<li><p><strong>Inventory Management:</strong> Add, update, and organize inventory items and stock levels to ensure accurate and up-to-date records.</p>\n</li>\n<li><p><strong>Stock Control:</strong> Perform bulk updates, stock adjustments, and manage inventory quantities in real-time.</p>\n</li>\n</ul>\n<p>With these capabilities, the Helm API allows you to optimize your warehouse operations, reduce manual tasks, and enhance the overall efficiency of your fulfillment workflow.</p>\n<hr>\n<h2 id=\"⚙️-environment-variable\">⚙️ Environment Variable</h2>\n<p>To make your requests more dynamic and reusable across environments.</p>\n<ul>\n<li><p>🔧 <strong>Base URL Variable:</strong><br>  <code>{{base_url}}</code> → <code>https://app-api.myhelm.app</code></p>\n</li>\n<li><p>✅ <strong>Example Usage:</strong><br>  <code>{{base_url}}/api/v1/orders</code></p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11966424","collectionId":"93006b1e-33ad-4b9f-83d1-9d07755eb965","publishedId":"2sB3dSNoNY","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0056FB"},"publishDate":"2025-12-10T15:47:33.000Z"},"item":[{"name":"Inventory","item":[{"name":"Categories","item":[{"name":"Index","id":"c2f3e855-5171-4d84-9211-737d28876057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category","description":"<p>This endpoint allows you to retrieve a list of categories. You can include additional related data in the response using the <code>includes</code> query parameter.</p>\n<h4 id=\"query-parameters\">Query Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>parent</code></td>\n<td>Includes the parent category.</td>\n</tr>\n<tr>\n<td><code>children</code></td>\n<td>Includes the child categories.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category"],"host":["http://localhost/api"],"query":[{"disabled":true,"description":{"content":"<p>optional|int default = null</p>\n","type":"text/plain"},"key":"parent_id","value":"1"},{"disabled":true,"description":{"content":"<p>optional|filter</p>\n","type":"text/plain"},"key":"name","value":"new46"}],"variable":[]}},"response":[{"id":"37891a72-a0c7-4749-beab-bc76805e296f","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/inventory/category","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","inventory","category"],"query":[{"key":"parent_id","value":"1","description":"optional|int default = null","disabled":true},{"key":"name","value":"new46","description":"optional|filter","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:25:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:25:37 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 7,\n            \"parent_id\": null,\n            \"name\": \"Phones & Accessories\",\n            \"description\": \"Phones & Accessories\",\n            \"created_at\": \"2024-11-12T12:17:41.000000Z\",\n            \"updated_at\": \"2024-11-12T12:17:41.000000Z\"\n        },\n        {\n            \"id\": 6,\n            \"parent_id\": null,\n            \"name\": \"PC & Video Games\",\n            \"description\": \"PC & Video Games\",\n            \"created_at\": \"2024-11-12T12:17:41.000000Z\",\n            \"updated_at\": \"2024-11-12T12:17:41.000000Z\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.046\"\n}"}],"_postman_id":"c2f3e855-5171-4d84-9211-737d28876057"},{"name":"Store","id":"c21e3f1e-90e8-44d1-bed8-c05f43f545d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"new category\",\n    \"parent_id\": null,\n    \"description\": null\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category","description":"<p>This endpoint allows you to create a new category within the system.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The name of the category. Must be unique within the company and have a maximum length of 80 characters.</td>\n</tr>\n<tr>\n<td><code>parent_id</code></td>\n<td><code>integer</code></td>\n<td>No</td>\n<td>The ID of the parent category. Must exist in the system and belong to the same company. Can be <code>null</code> for root categories.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>An optional description for the category. Maximum length of 80 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"75eb2442-9859-45aa-8da7-77f8b1283f50","name":"Store - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Helm\",\n    \"parent_id\": null,\n    \"description\": null\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:26:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:26:17 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8,\n        \"parent_id\": null,\n        \"name\": \"Helm\",\n        \"description\": null,\n        \"created_at\": \"2024-11-12T13:26:17.000000Z\",\n        \"updated_at\": \"2024-11-12T13:26:17.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.060\"\n}"},{"id":"f714c0ab-4e45-4f0c-8bf3-300a118b6a2a","name":"Store - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Helm\",\n    \"parent_id\": null,\n    \"description\": null\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:26:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:26:31 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"name\": [\n                \"You already have a category with that name.\"\n            ]\n        },\n        \"message\": \"You already have a category with that name.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.036\"\n}"}],"_postman_id":"c21e3f1e-90e8-44d1-bed8-c05f43f545d6"},{"name":"Bulk Create","id":"130c68cc-09ce-44da-8b74-c57bd19552ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"categories\": [\n        {\n            \"name\": \"new4\",\n            \"parent_id\": null,\n            \"description\": null\n        },\n        {\n            \"name\": \"new5\",\n            \"parent_id\": null,\n            \"description\": null\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-create","description":"<p>This endpoint allows you to create multiple categories in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>categories</code></td>\n<td><code>array</code></td>\n<td>Yes</td>\n<td>An array of category objects to be created. Must include at least one category and up to the maximum limit.</td>\n</tr>\n<tr>\n<td><code>categories.\\*.name</code></td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>The name of the category. Must be unique within the company, distinct in the request, and have a maximum length of 80 characters.</td>\n</tr>\n<tr>\n<td><code>categories.\\*.parent_id</code></td>\n<td><code>integer</code></td>\n<td>No</td>\n<td>The ID of the parent category. Must exist in the system and belong to the same company. Can be <code>null</code> for root categories.</td>\n</tr>\n<tr>\n<td><code>categories.\\*.description</code></td>\n<td><code>string</code></td>\n<td>No</td>\n<td>An optional description for the category. Maximum length of 80 characters.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"8dc7c415-84ab-4598-9a1d-5e02171fa1c4","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"categories\": [\n        {\n            \"name\": \"new4\",\n            \"parent_id\": null,\n            \"description\": null\n        },\n        {\n            \"name\": \"new5\",\n            \"parent_id\": null,\n            \"description\": null\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:26:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:26:47 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 9,\n            \"parent_id\": null,\n            \"name\": \"new4\",\n            \"description\": null,\n            \"created_at\": \"2024-11-12T13:26:47.000000Z\",\n            \"updated_at\": \"2024-11-12T13:26:47.000000Z\"\n        },\n        {\n            \"id\": 10,\n            \"parent_id\": null,\n            \"name\": \"new5\",\n            \"description\": null,\n            \"created_at\": \"2024-11-12T13:26:47.000000Z\",\n            \"updated_at\": \"2024-11-12T13:26:47.000000Z\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.049\"\n}"},{"id":"82e3eec2-2c92-4b89-9f9b-721eba776082","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"categories\": [\n        {\n            \"name\": \"new4\",\n            \"parent_id\": null,\n            \"description\": null\n        },\n        {\n            \"name\": \"new5\",\n            \"parent_id\": null,\n            \"description\": null\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:30:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:30:00 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"categories.0.name\": [\n                \"You already have a category with that name.\"\n            ],\n            \"categories.1.name\": [\n                \"You already have a category with that name.\"\n            ]\n        },\n        \"message\": \"You already have a category with that name. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.043\"\n}"}],"_postman_id":"130c68cc-09ce-44da-8b74-c57bd19552ec"},{"name":"Update","id":"5dfa168b-bf54-4533-9171-228dd0ca5d8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Category\",\n    \"description\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/{{category_id}}","description":"<p>This endpoint allows you to update an existing category in the system.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>category_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the category to be updated. Must exist in the system and belong to the same company. *</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>string</code></td>\n<td>The new name for the category. Must be unique within the company and have a maximum length of 80 characters. *</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td><code>string</code></td>\n<td>An optional description for the category. Maximum length of 80 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p><code>name</code> must be unique, excluding the current category being updated.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category","{{category_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"e84e330f-f02b-4c89-b741-4d956ceed071","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"new category\",\n    \"description\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/{{category_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:31:28 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:31:28 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"a3af01ae-7ccb-4fe1-a2f2-49aefafd857b","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Despatch Cloud\",\n    \"description\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/{{category_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:31:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:31:58 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"name\": [\n                \"The Name has already been taken.\"\n            ]\n        },\n        \"message\": \"The Name has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.038\"\n}"}],"_postman_id":"5dfa168b-bf54-4533-9171-228dd0ca5d8f"},{"name":"Bulk Update","id":"0c6594df-55d0-4659-86cf-dfb189dab83a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"categories\": [\n        {\n            \"id\": 1,\n            \"name\": \"new\",\n            \"description\": \"whoila\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"new\",\n            \"description\": \"fg\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-update","description":"<p>This endpoint allows you to update multiple categories in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>categories</code></td>\n<td><code>array</code></td>\n<td>An array of category objects to be updated. Must include at least one category and up to the maximum limit. *</td>\n</tr>\n<tr>\n<td><code>categories.\\*.id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the category to be updated. Must exist in the system and belong to the same company. *</td>\n</tr>\n<tr>\n<td><code>categories.\\*.name</code></td>\n<td><code>string</code></td>\n<td>The new name for the category. Must be unique within the company, distinct in the request, and have a maximum length of 80 characters. *</td>\n</tr>\n<tr>\n<td><code>categories.\\*.description</code></td>\n<td><code>string</code></td>\n<td>An optional description for the category. Maximum length of 80 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p><code>categories.\\*.name</code> must be unique within the company, excluding the current category being updated.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"57fb8d3e-28d2-4b86-a032-8227327f3de9","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"categories\": [\n        {\n            \"id\": 1,\n            \"name\": \"first\",\n            \"description\": \"whoila\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"first\",\n            \"description\": \"fg\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-update"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:32:24 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:32:24 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"39a7b789-feab-40e6-9439-b9ca635e5019","name":"Bulk Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"categories\": [\n        {\n            \"id\": 1,\n            \"name\": \"new\",\n            \"description\": \"whoila\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"new\",\n            \"description\": \"fg\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:33:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:33:48 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"categories.0.name\": [\n                \"The Category Name field has a duplicate value.\"\n            ],\n            \"categories.1.name\": [\n                \"The Category Name field has a duplicate value.\"\n            ]\n        },\n        \"message\": \"The Category Name field has a duplicate value. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.037\"\n}"}],"_postman_id":"0c6594df-55d0-4659-86cf-dfb189dab83a"},{"name":"Destroy","id":"535d380a-dc71-48f1-8884-8e3f3065a425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/{{category_id}}","description":"<p>This endpoint deletes a category by its <code>category_id</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category","{{category_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"fb734dd6-a8f6-40dc-b6ee-4bba5c9eb548","name":"Destroy - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/{{category_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:35:26 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:35:26 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"7b43f098-1a1c-4192-ad6b-b9db0f70a28d","name":"Destroy - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/{{category_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:37:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:37:20 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"category_id\": [\n                \"The selected Category is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Category is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.037\"\n}"}],"_postman_id":"535d380a-dc71-48f1-8884-8e3f3065a425"},{"name":"Attach","id":"b4a3e889-fd5d-48d2-aebe-8a2009a4fdc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/category/{{category_id}}/attach","description":"<p>This endpoint attaches an inventory item to a category using the provided <code>category_id</code>, and <code>inventory_id</code> in the URL parameters.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","category","{{category_id}}","attach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9f2ac835-ae69-46c4-9105-b194127b0f4c","name":"Attach - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/category/{{category_id}}/attach"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:58:37 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:58:37 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"dbe51d9b-f4b5-49cb-82ce-e298f0fe4163","name":"Attach - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/category/{{category_id}}/attach"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:58:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:58:45 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_id\": [\n                \"The Inventory has already been taken.\"\n            ]\n        },\n        \"message\": \"The Inventory has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.037\"\n}"}],"_postman_id":"b4a3e889-fd5d-48d2-aebe-8a2009a4fdc8"},{"name":"Detach","id":"c0c4c60a-f23d-4145-aca6-62c0ef240b18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/category/{{category_id}}/detach","description":"<p>This endpoint detaches an inventory item from a category using the provided <code>company_id</code>, <code>category_id</code>, and <code>inventory_id</code> in the URL parameters.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","category","{{category_id}}","detach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"82b44945-7a63-4baa-9351-a1cd452f2bbb","name":"Detach - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory//category//detach"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:58:56 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:58:56 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"e55692b3-0966-4e4d-b7fa-214a1d5ecee0","name":"Detach - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/category/{{category_id}}/detach"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 13:59:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 15:59:57 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_id\": [\n                \"The selected Inventory is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.041\"\n}"}],"_postman_id":"c0c4c60a-f23d-4145-aca6-62c0ef240b18"},{"name":"Bulk Attach","id":"425f0431-899b-47ac-a98e-7b1f9db7fcb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 1,\r\n            \"category_id\": 1\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-attach","description":"<p>This endpoint allows you to attach multiple inventory items to categories in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventories</code></td>\n<td><code>array</code></td>\n<td>An array of inventory-category pairs to be attached. Must include at least one pair and up to the maximum limit. *</td>\n</tr>\n<tr>\n<td><code>inventories.*.category_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the category to attach the inventory to. Must exist in the system and belong to the same company. *</td>\n</tr>\n<tr>\n<td><code>inventories.*.inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to be attached. Must exist in the system, belong to the same company, and be unique within the specified category. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Parameters marked with <code>*</code> are required.</p>\n</li>\n<li><p><code>inventories.*.inventory_id</code> must be unique within the specified <code>category_id</code>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category","bulk-attach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"1f7681ec-87d0-4c49-976b-3029686ef7c2","name":"Bulk Attach - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 5,\r\n            \"category_id\": 5\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-attach"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 14:07:51 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 16:07:51 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"698df5d9-905c-4a35-82a3-602e20628839","name":"Bulk Attach - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 5,\r\n            \"category_id\": 5\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-attach"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 14:08:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 16:08:42 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventories.0.inventory_id\": [\n                \"The Inventory has already been taken.\"\n            ]\n        },\n        \"message\": \"The Inventory has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"425f0431-899b-47ac-a98e-7b1f9db7fcb8"},{"name":"Bulk Detach","id":"36dad2c3-05ed-4fd9-a8cf-35e044d5f051","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 5,\r\n            \"category_id\": 5\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-detach","description":"<p>This endpoint allows you to detach multiple inventory items from their associated categories in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventories</code></td>\n<td><code>array</code></td>\n<td>An array of inventory-category pairs to be detached. Must include at least one pair and up to the maximum limit. *</td>\n</tr>\n<tr>\n<td><code>inventories.*.category_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the category from which the inventory item will be detached. Must exist in the system and belong to the same company. *</td>\n</tr>\n<tr>\n<td><code>inventories.*.inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to be detached. Must exist in the system, belong to the same company, and currently be attached to the specified category. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Parameters marked with <code>*</code> are required.</p>\n</li>\n<li><p>The number of inventory-category pairs is limited to <code>250</code> by default (configurable).</p>\n</li>\n<li><p>Each <code>inventory_id</code> must currently be attached to the specified <code>category_id</code> to be eligible for detachment.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","category","bulk-detach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0ddefacb-7440-478a-a9ec-3b798b884e7b","name":"Bulk Attach - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 5,\r\n            \"category_id\": 5\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-detach"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 14:09:31 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 16:09:31 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"3276af13-730c-452f-accf-503ddcaa7adb","name":"Bulk Attach - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 5,\r\n            \"category_id\": 5\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/category/bulk-detach"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 14:09:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 16:09:41 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventories.0.inventory_id\": [\n                \"The selected Inventory is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.041\"\n}"}],"_postman_id":"36dad2c3-05ed-4fd9-a8cf-35e044d5f051"}],"id":"b2708755-4876-45b3-8fa8-feb06c6179e0","_postman_id":"b2708755-4876-45b3-8fa8-feb06c6179e0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Group Items","item":[{"name":"Index","id":"48cd8758-b360-44ef-8633-98918aecea32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items","description":"<p>This endpoint allows you to retrieve a list of inventory items linked to a specific group-type inventory.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","items"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"7b61ed72-c7c7-4283-8599-0f3101d7eef2","name":"Index","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:42:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:42:13 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"inventory_id\": 78,\n            \"inventory_item_id\": 6,\n            \"quantity\": 1,\n            \"open_orders\": 7,\n            \"physical_stock\": 0,\n            \"available_stock\": 0,\n            \"inventory_item\": {\n                \"id\": 6,\n                \"inventory_type_id\": 1,\n                \"inventory_type_name\": \"INVENTORY\",\n                \"code\": \"classic-varsity-top\",\n                \"meta\": {\n                    \"id\": 5,\n                    \"name\": \"Classic Varsity Top\",\n                    \"hs_code\": \"72923\",\n                    \"image\": null,\n                    \"sizes\": null,\n                    \"price\": 60,\n                    \"cost_price\": null\n                },\n                \"category\": null,\n                \"sync_status\": 2,\n                \"synced_at\": \"2024-11-12T15:42:08.000000Z\",\n                \"is_no_stock\": false,\n                \"channels_id\": null,\n                \"archived_at\": null,\n                \"created_at\": \"2024-11-12T12:18:50.000000Z\",\n                \"updated_at\": \"2024-11-12T15:42:08.000000Z\"\n            }\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.046\"\n}"}],"_postman_id":"48cd8758-b360-44ef-8633-98918aecea32"},{"name":"Attach","id":"e7bb0205-ddac-447c-ae1d-669a6171b1ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 5\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/{{inventory_item_id}}/attach","description":"<p>This endpoint allows you to attach an inventory item to a group-type inventory with a specified quantity.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the company. Must exist in the system. *</td>\n</tr>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the group-type inventory. Must exist, belong to the company, and be of type <code>GROUP</code>. *</td>\n</tr>\n<tr>\n<td><code>inventory_item_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to be attached. Must exist, belong to the company, and be of type <code>INVENTORY</code>. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>quantity</code></td>\n<td><code>integer</code></td>\n<td>The quantity of the inventory item. Must be at least 1. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p><code>inventory_item_id</code> must be unique within the specified <code>inventory_id</code> (group-type inventory).</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","items","{{inventory_item_id}}","attach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"6e41917f-13be-468f-8c12-0a4a090a7a0d","name":"Attach - 201","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 5\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/{{inventory_item_id}}/attach"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:31:28 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:31:28 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e7bb0205-ddac-447c-ae1d-669a6171b1ad"},{"name":"Detach","id":"c5e05f75-af02-4038-872a-85be8254c31d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/{{inventory_item_id}}/detach","description":"<p>This endpoint allows you to detach an inventory item from a group-type inventory.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","items","{{inventory_item_id}}","detach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"37f10779-1f95-440f-82f0-9190c1b38e3e","name":"Detach - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/{{inventory_item_id}}/detach"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:31:47 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:31:47 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c5e05f75-af02-4038-872a-85be8254c31d"},{"name":"Bulk Attach","id":"115e22c9-804e-44b0-926d-4f19f81576f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_item_id\": 1,\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-attach","description":"<p>This endpoint allows you to attach multiple inventory items to a group-type inventory with specified quantities in a single request.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the company. Must exist in the system. *</td>\n</tr>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the group-type inventory. Must exist, belong to the company, and be of type <code>GROUP</code>. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td><code>array</code></td>\n<td>An array of inventory items to be attached. Must include at least one item. *</td>\n</tr>\n<tr>\n<td><code>items.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>The quantity of the inventory item. Must be at least 1. *</td>\n</tr>\n<tr>\n<td><code>items.\\*.inventory_item_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to be attached. Must exist, belong to the company, and be of type <code>INVENTORY</code>. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p><code>items.\\*.inventory_item_id</code> must be unique within the specified <code>inventory_id</code> (group-type inventory).</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","items","bulk-attach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"4618a0da-adca-46a4-8dfd-7d8b73de9677","name":"Bulk Attach - 201","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_item_id\": 6,\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-attach"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:40:30 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:40:30 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"a170f159-ded1-4b40-892d-d14f7a1a9ebe","name":"Bulk Attach - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_item_id\": 6,\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-attach"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:40:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:40:40 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"items.0.inventory_item_id\": [\n                \"The Inventory Item has already been taken.\"\n            ]\n        },\n        \"message\": \"The Inventory Item has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.039\"\n}"}],"_postman_id":"115e22c9-804e-44b0-926d-4f19f81576f6"},{"name":"Bulk Detach","id":"a1f16617-6d4f-4138-b5e5-42d74cf098f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [1,2,3]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-detach","description":"<p>This endpoint allows you to detach multiple inventory items from a group-type inventory in a single request.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the group-type inventory. Must exist, belong to the company, and be of type <code>GROUP</code>. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td><code>array</code></td>\n<td>An array of inventory item IDs to be detached. Must include at least one item. *</td>\n</tr>\n<tr>\n<td><code>items.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of an inventory item to be detached. Must exist and currently be attached to the specified group inventory. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p><code>items.\\*</code> must already be linked to the specified <code>inventory_id</code> (group-type inventory) to be eligible for detachment.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","items","bulk-detach"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"aacd4d6d-e7cc-49d7-a8b4-c48c53441fdf","name":"Bulk Detach - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [5,6]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-detach"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:41:40 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:41:40 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"832d0fd6-f60a-4d5c-b1de-c71e0c6c0bbd","name":"Bulk Detach - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [5,6]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-detach"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:41:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:41:47 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"items.0\": [\n                \"The selected Item is invalid.\"\n            ],\n            \"items.1\": [\n                \"The selected Item is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Item is invalid. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.040\"\n}"}],"_postman_id":"a1f16617-6d4f-4138-b5e5-42d74cf098f6"},{"name":"Update","id":"24e4f12c-67bb-4555-b642-e5c0cffed79e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/{{inventory_item_id}}","description":"<p>This endpoint allows you to update the quantity of an inventory item already attached to a group-type inventory.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the group-type inventory. Must exist, belong to the company, and be of type <code>GROUP</code>. *</td>\n</tr>\n<tr>\n<td><code>inventory_item_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to be updated. Must exist, belong to the company, and already be attached to the specified group inventory. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>quantity</code></td>\n<td><code>integer</code></td>\n<td>The new quantity for the inventory item. Must be at least 1. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p><code>quantity</code> is the only field that is updated for the specified inventory item.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","items","{{inventory_item_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"08ff6efb-69e6-4e47-8915-f1e37d38f888","name":"Update - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/{{inventory_item_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:42:08 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:42:08 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"f6dd7784-8f50-47ce-b472-5a2c9a434d0e","name":"Update - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"quantity\": -1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/{{inventory_item_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:43:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:43:07 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"quantity\": [\n                \"The Quantity must be at least 1.\"\n            ]\n        },\n        \"message\": \"The Quantity must be at least 1.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.038\"\n}"}],"_postman_id":"24e4f12c-67bb-4555-b642-e5c0cffed79e"},{"name":"Bulk Update","id":"67b5d48f-48b9-4aa1-9009-7b5dcead31bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_item_id\": 1,\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-update","description":"<p>This endpoint allows you to update the quantities of multiple inventory items already attached to a group-type inventory in a single request.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the group-type inventory. Must exist, belong to the company, and be of type <code>GROUP</code>. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td><code>array</code></td>\n<td>An array of inventory items to be updated. Must include at least one item. *</td>\n</tr>\n<tr>\n<td><code>items.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>The new quantity for the inventory item. Must be at least 1. *</td>\n</tr>\n<tr>\n<td><code>items.\\*.inventory_item_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of an inventory item to update. Must exist, belong to the company, and already be attached to the specified group inventory. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>Each <code>items.\\*.inventory_item_id</code> must already be linked to the specified <code>inventory_id</code> (group-type inventory).</p>\n</li>\n<li><p>The request updates only the <code>quantity</code> for the specified inventory items.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","items","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"a6386e04-7f44-445c-a666-066696237c5d","name":"Bulk Update - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_item_id\": 5,\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-update"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:49:06 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:49:06 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"e47c544c-8446-4cb2-a53d-3b968dbf44f0","name":"Bulk Update - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_item_id\": 45,\r\n            \"quantity\": 1\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/items/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 15:49:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 17:49:33 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"items.0.inventory_item_id\": [\n                \"The selected Inventory Item is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory Item is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"67b5d48f-48b9-4aa1-9009-7b5dcead31bf"}],"id":"617270a6-19a9-4426-b7da-efec4cb33114","_postman_id":"617270a6-19a9-4426-b7da-efec4cb33114","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Stocks","item":[{"name":"Update Basic Stock","id":"b7bdb9f0-3d83-4662-a295-64f236688881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 80,\n    \"trigger_level\": 1100,\n    \"shelf\": \"lol\",\n    \"stock_change_reason\": \"Lorem text\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/basic","description":"<p>StartFragment</p>\n<p>This endpoint allows you to update the stock quantity of an inventory item. This endpoint is only available when the warehouse settings are configured in <strong>basic mode</strong>.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to update. Must exist, belong to the company, and not be of type <code>SERVICE CHARGE</code>. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>quantity</code></td>\n<td><code>integer</code></td>\n<td>The new stock quantity for the inventory item. *</td>\n</tr>\n<tr>\n<td><code>trigger_level</code></td>\n<td><code>integer</code></td>\n<td>An optional trigger level for stock alerts.</td>\n</tr>\n<tr>\n<td><code>stock_change_reason</code></td>\n<td><code>string</code></td>\n<td>An optional reason for the stock change. Maximum length of 255 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>This endpoint is only available when <strong>basic mode</strong> is enabled in warehouse settings.</p>\n</li>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>The <code>inventory_id</code> must not belong to an item of type <code>SERVICE CHARGE</code>.</p>\n</li>\n</ul>\n<p>EndFragment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","basic"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7bdb9f0-3d83-4662-a295-64f236688881"},{"name":"Stock Information","id":"02ef1f34-fc4c-4abd-a0b5-49a876190453","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/levels","description":"<p>This endpoint retrieves the current stock level of a specified inventory item.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist, belong to the company, and not be of type <code>SERVICE_CHARGE</code>. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>The <code>inventory_id</code> must not belong to an item of type <code>SERVICE_CHARGE</code>.</p>\n</li>\n<li><p>This endpoint returns the current stock level of the specified inventory item</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","levels"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"99d29c1c-0d8b-4bb4-9c0c-5b430131af80","name":"Stock Information - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/levels"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:01:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:01:40 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"physical_stock\": 907,\n        \"available_stock\": 387,\n        \"open_orders\": 520,\n        \"available_to_pick\": 0,\n        \"purchase_order\": 0\n    },\n    \"success\": true,\n    \"execution_time\": \"0.286\"\n}"}],"_postman_id":"02ef1f34-fc4c-4abd-a0b5-49a876190453"},{"name":"Index","id":"e35b718a-230b-454e-951c-b15938a1a6ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks","description":"<p>This endpoint retrieves all stock records for the specified inventory.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"aa73aee9-0a67-4db0-8790-0197a08ae619","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:01:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:01:53 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"quantity\": 907,\n            \"stock_change_reason\": \"test\",\n            \"location\": {\n                \"id\": 1,\n                \"company_id\": 1,\n                \"warehouse_id\": 1,\n                \"zone_id\": null,\n                \"code\": \"default\",\n                \"sequence_number\": 1,\n                \"is_default\": true,\n                \"is_system_location\": 0,\n                \"system_location_type\": 1,\n                \"dedicated_location_id\": null,\n                \"deletion_protection\": false,\n                \"storage_type\": [\n                    2\n                ],\n                \"settings\": {\n                    \"company_id\": 1,\n                    \"warehouse_id\": 1,\n                    \"location_id\": 1,\n                    \"location_type\": 1,\n                    \"colour_type\": 1,\n                    \"description\": null,\n                    \"max_stock_quantity\": 0,\n                    \"length\": null,\n                    \"width\": null,\n                    \"height\": null,\n                    \"exclude_qty_from_available\": 0,\n                    \"force_elp\": 0\n                },\n                \"zone\": null,\n                \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n                \"updated_at\": \"2024-12-23T14:13:51.000000Z\"\n            },\n            \"warehouse\": {\n                \"id\": 1,\n                \"company_id\": 1,\n                \"name\": \"test\",\n                \"is_default\": true,\n                \"use_advanced_mode\": true,\n                \"count_injection_percentage\": 0,\n                \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n                \"updated_at\": \"2024-12-23T17:24:21.000000Z\"\n            },\n            \"replenishment\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.195\"\n}"}],"_postman_id":"e35b718a-230b-454e-951c-b15938a1a6ec"},{"name":"Store","id":"6e9340a1-c1d1-41b3-8b98-7ba8de78d82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"location_id\": {{location_id}},\n    \"quantity\": 5\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks","description":"<p>This endpoint allows you to add stock for a specific inventory item at a designated location. This endpoint is only available when the warehouse settings are configured in <strong>full mode</strong>.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist and belong to the company. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>location_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the warehouse location. Must exist, belong to the company, and not already linked to the specified inventory item. *</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td><code>integer</code></td>\n<td>The quantity of stock to be added. Must be a positive integer. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL and request body parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>The <code>location_id</code> must not already be associated with the specified <code>inventory_id</code>.</p>\n</li>\n<li><p>This endpoint is only available when <strong>full mode</strong> is enabled in warehouse settings.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"5b169c4d-6335-498a-a3fa-6838191846df","name":"Store - 201","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"location_id\": {{location_id}},\n    \"quantity\": 5\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:06:57 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:06:57 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"db503292-18ae-4f3a-b873-3f084d36f598","name":"Store - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"location_id\": {{location_id}},\n    \"quantity\": 5\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:04:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:04:49 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"location_id\": [\n                \"The selected Location is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Location is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.048\"\n}"}],"_postman_id":"6e9340a1-c1d1-41b3-8b98-7ba8de78d82c"},{"name":"Update","id":"84108fcd-36a9-4910-ac02-035afc9f1451","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 5,\n    \"stock_change_reason\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/{{stock_id}}","description":"<p>This endpoint allows you to update the quantity of stock for a specific inventory item at a designated location. This endpoint is only available when the warehouse settings are configured in <strong>full mode</strong>.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist and belong to the company. *</td>\n</tr>\n<tr>\n<td><code>stock_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the stock record to update. Must exist, belong to the company, and be linked to the specified inventory. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>quantity</code></td>\n<td><code>integer</code></td>\n<td>The new quantity for the stock record. Must be a positive integer. *</td>\n</tr>\n<tr>\n<td><code>stock_change_reason</code></td>\n<td><code>string</code></td>\n<td>The reason for the stock change. Maximum length of 255 characters. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL and request body parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>This endpoint is only available when <strong>full mode</strong> is enabled in warehouse settings.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","{{stock_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0715ec6d-4c36-4964-8582-c1bd0fb0f6d2","name":"Update - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 5,\n    \"stock_change_reason\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/{{stock_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:07:58 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:07:58 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"84108fcd-36a9-4910-ac02-035afc9f1451"},{"name":"Delete","id":"17de9411-6b49-4167-be93-2074c7eaac5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/{{stock_id}}","description":"<p>This endpoint deletes a specific stock record for an inventory item at a designated location.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist, belong to the company, and be of type <code>INVENTORY</code>. *</td>\n</tr>\n<tr>\n<td><code>stock_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the stock record to delete. Must exist, belong to the company, and be linked to the specified inventory. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>This endpoint deletes the specified stock record associated with the <code>inventory_id</code>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","{{stock_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"c1d51f98-523e-4bdb-85d7-718b77bccf6e","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/{{stock_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:08:27 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:08:27 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"17de9411-6b49-4167-be93-2074c7eaac5b"},{"name":"Bulk Create","id":"0a9b16ef-ff0b-470e-ab83-42fb31f55f71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"stocks\": [\n        {\n            \"location_id\": {{location_id}},\n            \"quantity\": 5\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-create","description":"<p>This endpoint allows you to add multiple stock records for a specific inventory item at different locations in a single request. This endpoint is only available when the warehouse settings are configured in <strong>full mode</strong>.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist and belong to the company. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>stocks</code></td>\n<td><code>array</code></td>\n<td>An array of stock records to be created. Must include at least one record. *</td>\n</tr>\n<tr>\n<td><code>stocks.\\*.location_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the warehouse location. Must exist, belong to the company, and not already linked to the specified inventory. *</td>\n</tr>\n<tr>\n<td><code>stocks.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>The quantity of stock to be added. Must be a positive integer. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>URL and request body parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>Each <code>stocks.\\*.location_id</code> must not already be associated with the specified <code>inventory_id</code>.</p>\n</li>\n<li><p>The number of stock records in the <code>stocks</code> array is limited by the system configuration (<code>bulk_limits.stocks.create</code>).</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"eaf1d7dd-6c67-4e01-9d6a-34714fd2845c","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"stocks\": [\n        {\n            \"location_id\": {{location_id}},\n            \"quantity\": 5\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:53:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:53:49 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 76,\n            \"location_id\": 1,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.333\"\n}"},{"id":"ed790a43-b8ae-4050-877b-cdab5da23716","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"stocks\": [\n        {\n            \"location_id\": {{location_id}},\n            \"quantity\": 5\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:54:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:54:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"stocks.0.location_id\": [\n                \"The Location has already been taken.\"\n            ]\n        },\n        \"message\": \"The Location has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.048\"\n}"}],"_postman_id":"0a9b16ef-ff0b-470e-ab83-42fb31f55f71"},{"name":"Bulk Update","id":"c87337b2-8b86-4f39-ad6c-899237260a05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"stocks\": [\n        {\n            \"stock_id\": 761,\n            \"quantity\": 5,\n            \"stock_change_reason\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-update","description":"<p>This endpoint updates stock quantities for multiple records in full mode.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist and be valid. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>stocks</code></td>\n<td><code>array</code></td>\n<td>List of stock records to update. *</td>\n</tr>\n<tr>\n<td><code>stocks.\\*.stock_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the stock record. Must exist and belong to the inventory. *</td>\n</tr>\n<tr>\n<td><code>stocks.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>New quantity for the stock record. *</td>\n</tr>\n<tr>\n<td><code>stocks.\\*.stock_change_reason</code></td>\n<td><code>string</code></td>\n<td>Reason for the stock change. Max 255 characters. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Parameters marked with <code>\\*</code> are required.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"2b75657f-bd5e-4628-b2c9-a29743e073f4","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"stocks\": [\n        {\n            \"stock_id\": 76,\n            \"quantity\": 5,\n            \"stock_change_reason\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:54:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:54:50 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 76,\n            \"location_id\": 1,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.305\"\n}"},{"id":"da72f7f1-e834-4590-81bd-00faf0fd2070","name":"Bulk Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"stocks\": [\n        {\n            \"stock_id\": 761,\n            \"quantity\": 5,\n            \"stock_change_reason\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:55:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:55:13 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"stocks.0.stock_id\": [\n                \"The selected Stock is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Stock is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.050\"\n}"}],"_postman_id":"c87337b2-8b86-4f39-ad6c-899237260a05"},{"name":"Bulk Delete","id":"f32fdbde-ba00-4262-b5a6-d0f05a9b2006","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"stock_ids\": [\r\n        1,\r\n        2\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-delete","description":"<p>This endpoint deletes multiple stock records for an inventory item in full mode.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist and be valid. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>stock_ids</code></td>\n<td><code>array</code></td>\n<td>List of stock record IDs to delete. *</td>\n</tr>\n<tr>\n<td><code>stock_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each stock record. Must exist and belong to the inventory. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Parameters marked with <code>\\*</code> are required.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"649926a9-8445-498c-84e2-f6901ec8a0f8","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"stock_ids\": [\r\n        74,\r\n        76\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:55:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:55:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 74,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 76,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.599\"\n}"}],"_postman_id":"f32fdbde-ba00-4262-b5a6-d0f05a9b2006"},{"name":"Change Priorities","id":"63b454f4-ab50-49a9-9890-98400c26127a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"priorities\": [\n        {\n            \"stock_id\": 1,\n            \"priority\": 2\n        },\n        {\n            \"stock_id\": 2,\n            \"priority\": 2\n        },\n        {\n            \"stock_id\": 3,\n            \"priority\": 3\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/change-priorities","description":"<p>This endpoint updates the priority order of location stocks for an inventory item.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item. Must exist and be valid. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>priorities</code></td>\n<td><code>array</code></td>\n<td>List of stock priorities to update. *</td>\n</tr>\n<tr>\n<td><code>priorities.\\*.stock_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the stock record. Must exist and belong to the inventory. *</td>\n</tr>\n<tr>\n<td><code>priorities.\\*.priority</code></td>\n<td><code>integer</code></td>\n<td>The new priority value for the stock. Must be unique. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Parameters marked with <code>\\*</code> are required.</p>\n</li>\n<li><p>Each priority must be distinct.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","stocks","change-priorities"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9bf7634b-b8d9-4598-88d0-e585b0527d28","name":"Change Priorities - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"priorities\": [\n        {\n            \"stock_id\": 75,\n            \"priority\": 2\n        },\n        {\n            \"stock_id\": 74,\n            \"priority\": 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/stocks/change-priorities"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 16:09:42 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 16:09:42 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"63b454f4-ab50-49a9-9890-98400c26127a"}],"id":"198ef1da-e1cf-4526-a831-0d91bf388ff9","_postman_id":"198ef1da-e1cf-4526-a831-0d91bf388ff9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Suppliers","item":[{"name":"List","id":"6f47e0d1-9e55-464f-944f-c6f85d96724c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","suppliers"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"14cfc092-4896-426f-bf26-8b9846ae1204","name":"List - 200","originalRequest":{"method":"GET","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:30:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:30:45 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"company_id\": 1,\n            \"inventory_id\": 1,\n            \"supplier_id\": 9,\n            \"supplier_code\": \"TEST\",\n            \"currency_id\": 1,\n            \"item_cost\": \"1422.05000000000000000000\",\n            \"lead_time\": 1,\n            \"lead_time_type\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 1,\n            \"priority\": 0,\n            \"created_at\": \"2025-01-08T23:29:19.000000Z\",\n            \"updated_at\": \"2025-01-08T23:30:13.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": 2,\n            \"company_id\": 1,\n            \"inventory_id\": 1,\n            \"supplier_id\": 8,\n            \"supplier_code\": \"TEST1\",\n            \"currency_id\": 1,\n            \"item_cost\": \"1422.05000000000000000000\",\n            \"lead_time\": 1,\n            \"lead_time_type\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 2,\n            \"priority\": 0,\n            \"created_at\": \"2025-01-08T23:30:13.000000Z\",\n            \"updated_at\": \"2025-01-08T23:30:13.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.044\"\n}"}],"_postman_id":"6f47e0d1-9e55-464f-944f-c6f85d96724c"},{"name":"Update or Create","id":"029b3f77-e703-4881-ad38-d2e5b6a9b682","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"supplier_id\": 8,\n            \"supplier_code\": \"TEST1\",\n            \"currency_id\": 1,\n            \"item_cost\": 1422.05,\n            \"lead_time\": 1,\n            \"lead_time_type\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 2\n        },\n        {\n            \"id\": 1,\n            \"supplier_id\": 9,\n            \"supplier_code\": \"TEST\",\n            \"currency_id\": 1,\n            \"item_cost\": 1422.05,\n            \"lead_time\": 1,\n            \"lead_time_type\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","suppliers"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"045b6e88-9f3c-4076-9c58-4b98ab35e289","name":"Update or Create - 200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"supplier_id\": 8,\n            \"supplier_code\": \"TEST1\",\n            \"currency_id\": 1,\n            \"item_cost\": 1422.05,\n            \"lead_time\": 1,\n            \"lead_time_type\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 2\n        },\n        {\n            \"id\": 1,\n            \"supplier_id\": 9,\n            \"supplier_code\": \"TEST\",\n            \"currency_id\": 1,\n            \"item_cost\": 1422.05,\n            \"lead_time\": 1,\n            \"lead_time_type\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:30:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:30:13 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"supplier_id\": 8,\n            \"inventory_id\": 1,\n            \"company_id\": 1,\n            \"item_cost\": 1422.05,\n            \"lead_time_type\": 1,\n            \"lead_time\": 1,\n            \"supplier_code\": \"TEST1\",\n            \"currency_id\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 2,\n            \"updated_at\": \"2025-01-08T23:30:13.000000Z\",\n            \"created_at\": \"2025-01-08T23:30:13.000000Z\",\n            \"id\": 2,\n            \"supplier\": {\n                \"id\": 8,\n                \"company_id\": 1,\n                \"contact_id\": 45,\n                \"file_manager_id\": null,\n                \"url\": null,\n                \"last_address_postcode\": \"YO25 9FQ\",\n                \"archived_by\": null,\n                \"archived_at\": null,\n                \"deleted_at\": null,\n                \"created_at\": \"2025-01-08T23:02:41.000000Z\",\n                \"updated_at\": \"2025-01-08T23:02:41.000000Z\",\n                \"photo\": null,\n                \"contact\": {\n                    \"id\": 45,\n                    \"name\": \"Name\",\n                    \"surname\": null,\n                    \"phone\": \"123123\",\n                    \"email\": \"supplier@mail.com\",\n                    \"hash\": \"c935a137de2be12948823ada38921915\",\n                    \"email_hash\": \"1478fd967285273b018d1b2e309d70f4\",\n                    \"deleted_at\": null,\n                    \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"updated_at\": \"2025-01-08T21:46:53.000000Z\"\n                },\n                \"file_manager\": null\n            },\n            \"inventory\": {\n                \"id\": 1,\n                \"company_id\": 1,\n                \"inventory_type_id\": 1,\n                \"code\": \"ocean-blue-shirt\",\n                \"remote_code\": \"ocean-blue-shirt\",\n                \"channels_id\": \"5a86e0e2-5197-4421-b7a5-1b850748a3b4\",\n                \"archived_at\": null,\n                \"sync_status\": 0,\n                \"synced_at\": null,\n                \"is_no_stock\": false,\n                \"deleted_at\": null,\n                \"created_at\": \"2025-01-06T12:49:11.000000Z\",\n                \"updated_at\": \"2025-01-06T12:49:13.000000Z\"\n            }\n        },\n        {\n            \"id\": 1,\n            \"company_id\": 1,\n            \"inventory_id\": 1,\n            \"supplier_id\": 9,\n            \"supplier_code\": \"TEST\",\n            \"currency_id\": 1,\n            \"item_cost\": 1422.05,\n            \"lead_time\": 1,\n            \"lead_time_type\": 1,\n            \"minimum_order_quantity\": 11,\n            \"inventory_container_id\": 1,\n            \"priority\": 0,\n            \"created_at\": \"2025-01-08T23:29:19.000000Z\",\n            \"updated_at\": \"2025-01-08T23:30:13.000000Z\",\n            \"deleted_at\": null,\n            \"supplier\": {\n                \"id\": 9,\n                \"company_id\": 1,\n                \"contact_id\": 54,\n                \"file_manager_id\": null,\n                \"url\": null,\n                \"last_address_postcode\": \"YO25 9FQ\",\n                \"archived_by\": null,\n                \"archived_at\": null,\n                \"deleted_at\": null,\n                \"created_at\": \"2025-01-08T23:02:58.000000Z\",\n                \"updated_at\": \"2025-01-08T23:05:00.000000Z\",\n                \"photo\": null,\n                \"contact\": {\n                    \"id\": 54,\n                    \"name\": \"Namea\",\n                    \"surname\": null,\n                    \"phone\": \"123123\",\n                    \"email\": \"supplier@mail.com\",\n                    \"hash\": \"bea15726f16a3cbd510973adac78e3e1\",\n                    \"email_hash\": \"1478fd967285273b018d1b2e309d70f4\",\n                    \"deleted_at\": null,\n                    \"created_at\": \"2025-01-08T23:05:00.000000Z\",\n                    \"updated_at\": \"2025-01-08T23:05:00.000000Z\"\n                },\n                \"file_manager\": null\n            },\n            \"inventory\": {\n                \"id\": 1,\n                \"company_id\": 1,\n                \"inventory_type_id\": 1,\n                \"code\": \"ocean-blue-shirt\",\n                \"remote_code\": \"ocean-blue-shirt\",\n                \"channels_id\": \"5a86e0e2-5197-4421-b7a5-1b850748a3b4\",\n                \"archived_at\": null,\n                \"sync_status\": 0,\n                \"synced_at\": null,\n                \"is_no_stock\": false,\n                \"deleted_at\": null,\n                \"created_at\": \"2025-01-06T12:49:11.000000Z\",\n                \"updated_at\": \"2025-01-06T12:49:13.000000Z\"\n            }\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.075\"\n}"}],"_postman_id":"029b3f77-e703-4881-ad38-d2e5b6a9b682"},{"name":"Delete","id":"03e4c6b2-1eae-49f4-ab52-9e5d8e020f98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers/{{supplier_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","suppliers","{{supplier_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"38cf0c0b-8d56-4bdd-8a1e-cf34f1594271","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers/{{supplier_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:32:13 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:32:13 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"03e4c6b2-1eae-49f4-ab52-9e5d8e020f98"},{"name":"Sorting","id":"bb741d58-fce1-4035-8c1f-3a8a62721ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"sorting\": [\n        {\n            \"id\": 1,\n            \"priority\": 1\n        },\n         {\n            \"id\": 2,\n            \"priority\": 2\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers/sorting","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","suppliers","sorting"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"30ffd083-795d-4959-a86b-72ad07ff371c","name":"Sorting - 204","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"sorting\": [\n        {\n            \"id\": 1,\n            \"priority\": 1\n        },\n         {\n            \"id\": 2,\n            \"priority\": 2\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers/sorting"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:31:34 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:31:34 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"bb741d58-fce1-4035-8c1f-3a8a62721ea2"},{"name":"Bulk Delete","id":"59ad825b-11ae-473e-bf40-c137c0acb0d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"inventory_suppliers\": [\n        1,\n        2\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers/bulk-delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","suppliers","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"75f794d6-9113-410b-90cc-c4b0c6cba2bb","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"inventory_suppliers\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/suppliers/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:39:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:39:02 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"supplier_code\": \"TEST\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.059\"\n}"}],"_postman_id":"59ad825b-11ae-473e-bf40-c137c0acb0d2"}],"id":"4f43a585-1ac7-4f79-9bf7-9c55d82d67ff","_postman_id":"4f43a585-1ac7-4f79-9bf7-9c55d82d67ff","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Inventory Types","id":"4eee3dc3-6dcc-4c60-a6b6-56a4a531e84d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/types","description":"<p><strong>Description:</strong><br />You can view the available values for inventory types through this endpoint. These values will be required when making create or update requests involving the <code>inventory_type_id</code> field.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"90fa2e36-c92b-44e3-945f-3076d22030af","name":"Inventory Types - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 21:53:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Tue, 05 Nov 2024 23:53:06 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"INVENTORY\": 1,\n        \"GROUP\": 2,\n        \"SERVICE_CHARGE\": 3\n    },\n    \"success\": true,\n    \"execution_time\": \"0.051\"\n}"}],"_postman_id":"4eee3dc3-6dcc-4c60-a6b6-56a4a531e84d"},{"name":"Index","id":"38c4f5e3-2348-4a1a-8142-fe54d405ec47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory?includes=meta.description,meta.country","description":"<p><strong>Description:</strong><br />The <code>Index</code> endpoint is used to list existing inventory records. This endpoint allows you to search and filter inventory items using various filter options.</p>\n<p><strong>Filters:</strong> <em>(All filters are optional)</em></p>\n<ul>\n<li><p><strong>code</strong>: <code>string</code> | Filter by inventory code.</p>\n</li>\n<li><p><strong>inventory_type_id</strong>: <code>int</code> | Filter by inventory type. Possible values are:</p>\n<ul>\n<li><p><code>1</code> =&gt; Inventory type</p>\n</li>\n<li><p><code>2</code> =&gt; Group type</p>\n</li>\n<li><p><code>3</code> =&gt; Service charge</p>\n</li>\n</ul>\n</li>\n<li><p><strong>name</strong>: <code>string</code> | Search by inventory name.</p>\n</li>\n<li><p><strong>hs_code</strong>: <code>string</code> | Search by HS code.</p>\n</li>\n<li><p><strong>barcode</strong>: <code>string</code> | Search by barcode.</p>\n</li>\n<li><p><strong>country_id</strong>: <code>int</code> | Filter by country of origin.</p>\n</li>\n<li><p><strong>archived</strong>: <code>boolean</code> | <code>true</code> to include archived records, <code>false</code> for non-archived records only.</p>\n</li>\n</ul>\n<p><strong>Relation Values:</strong><br />When listing inventory, you can include additional related data in the response by specifying the resources to be included. The system allows the following resources to be included:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Resource</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>meta.description</code></td>\n<td>Provides the description of the inventory item.</td>\n</tr>\n<tr>\n<td><code>meta.country</code></td>\n<td>Returns the country of origin.</td>\n</tr>\n<tr>\n<td><code>dimension</code></td>\n<td>Includes the dimension details of the product.</td>\n</tr>\n<tr>\n<td><code>groupItems.inventoryItem.meta</code></td>\n<td>Returns the items and meta information for inventory of type \"Group\".</td>\n</tr>\n<tr>\n<td><code>category.category</code></td>\n<td>Provides the category name associated with the inventory.</td>\n</tr>\n<tr>\n<td><code>courierService.courierService.courier</code></td>\n<td>Returns the assigned courier service and courier for the inventory.</td>\n</tr>\n<tr>\n<td><code>tags.tag</code></td>\n<td>Lists the tags assigned to the inventory.</td>\n</tr>\n<tr>\n<td><code>shelf.shelf</code></td>\n<td>If using basic mode, provides the shelf information for the inventory.</td>\n</tr>\n<tr>\n<td><code>linkedChannelProduct.channel</code></td>\n<td>Returns channel information if the product is linked to a channel.</td>\n</tr>\n<tr>\n<td><code>barcodes</code></td>\n<td>Provides the barcodes associated with the product.</td>\n</tr>\n</tbody>\n</table>\n</div><p>To use these resources, specify them as a comma-separated list in the <code>includes</code> query string parameter.<br /><strong>Example:</strong> <code>includes=barcodes,dimension,meta.description</code></p>\n<h2 id=\"sorting-options\">Sorting Options</h2>\n<p>Supported sorting values can be used with <code>sort_by</code> and <code>sort_direction</code> parameters.</p>\n<ul>\n<li><p><strong>sort_direction</strong>: Can be set to <code>asc</code> (ascending) or <code>desc</code> (descending).</p>\n</li>\n<li><p><strong>sort_by</strong>: The following fields are supported:</p>\n<ul>\n<li><p><code>id</code></p>\n</li>\n<li><p><code>created_at</code></p>\n</li>\n<li><p><code>meta.name</code></p>\n</li>\n<li><p><code>code</code></p>\n</li>\n<li><p><code>inventory_type_id</code></p>\n</li>\n<li><p><code>meta.price</code></p>\n</li>\n<li><p><code>meta.hs_code</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<p>The default sorting is <code>id =&gt; desc</code>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"meta.description,meta.country"}],"variable":[]}},"response":[{"id":"66e0e182-1e4c-46fc-8a55-12f260f39454","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/inventory?includes=tags.tag,dimension","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","inventory"],"query":[{"key":"includes","value":"tags.tag,dimension"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 01 Nov 2024 22:52:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=4IVSiF6EgxN4Erhq5LSHOAJy7RMC2DHL5LlxC7vr; expires=Sat, 02 Nov 2024 00:52:34 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"inventory_type_id\": 1,\n            \"inventory_type_name\": \"INVENTORY\",\n            \"code\": \"sample-item\",\n            \"meta\": {\n                \"id\": 1,\n                \"name\": \"Sample Item\",\n                \"hs_code\": \"12345\",\n                \"image\": \"https://cdn.example.com/path/to/image.jpg\",\n                \"sizes\": null,\n                \"price\": 69.99,\n                \"cost_price\": null,\n                \"country\": {\n                    \"id\": 100,\n                    \"name\": \"Country Name\",\n                    \"alpha_2_code\": \"CN\",\n                    \"alpha_3_code\": \"CNT\",\n                    \"numeric_code\": 100,\n                    \"subregion\": \"sample-region\"\n                },\n                \"description\": [\n                    {\n                        \"id\": 1,\n                        \"type\": 1,\n                        \"type_name\": \"PRODUCT\",\n                        \"description\": \"Sample product description\"\n                    },\n                    {\n                        \"id\": 2,\n                        \"type\": 2,\n                        \"type_name\": \"CUSTOMS\",\n                        \"description\": \"Sample customs description\"\n                    }\n                ]\n            },\n            \"levels\": {\n                \"physical_stock\": 100,\n                \"available_stock\": 95,\n                \"open_orders\": 5\n            },\n            \"dimension\": {\n                \"height\": 1.5,\n                \"weight\": 0.5,\n                \"width\": 1.2,\n                \"length\": 1.8,\n                \"nest_height\": 1.5\n            },\n            \"category\": {\n                \"id\": 1,\n                \"parent_id\": null,\n                \"name\": \"Sample Category\",\n                \"description\": \"Sample category description\",\n                \"parent\": null\n            },\n            \"courierService\": null,\n            \"groupItems\": [],\n            \"settings\": {\n                \"is_packaging_item\": false,\n                \"not_for_resale\": false,\n                \"auto_sync_stock\": true\n            },\n            \"barcodes\": [\n                {\n                    \"id\": 1,\n                    \"inventory_barcode_type_id\": 1,\n                    \"inventory_barcode_type_name\": \"PACK\",\n                    \"value\": \"123456\"\n                },\n                {\n                    \"id\": 2,\n                    \"inventory_barcode_type_id\": 2,\n                    \"inventory_barcode_type_name\": \"BOX\",\n                    \"value\": \"654321\"\n                }\n            ],\n            \"custom_fields_count\": 0,\n            \"associated_group_count\": 0,\n            \"can_delete\": false,\n            \"sync_status\": 0,\n            \"synced_at\": null,\n            \"is_no_stock\": false,\n            \"channels_id\": \"uuid-example-1234\",\n            \"archived_at\": null,\n            \"created_at\": \"2024-11-01T00:00:00Z\",\n            \"updated_at\": \"2024-11-01T00:00:01Z\"\n        }\n    ],\n    \"success\": true\n}\n"},{"id":"eda1a2a6-1379-4604-b1e0-5d8373ac2581","name":"Index - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/inventory?includes=totals","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","inventory"],"query":[{"key":"includes","value":"totals"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 01 Nov 2024 22:54:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=4IVSiF6EgxN4Erhq5LSHOAJy7RMC2DHL5LlxC7vr; expires=Sat, 02 Nov 2024 00:54:24 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"includable\": [\n                \"Invalid includes parameters\"\n            ]\n        },\n        \"message\": \"Invalid includes parameters\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.372\"\n}"}],"_postman_id":"38c4f5e3-2348-4a1a-8142-fe54d405ec47"},{"name":"Show","id":"06afa3da-d76e-449d-9dad-4f49e5be97be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}?includes=meta.description,meta.country","description":"<p><strong>Description:</strong><br />The <code>Show</code> endpoint is used to show existing inventory records. This endpoint allows you to search and filter inventory items using various filter options.</p>\n<p><strong>Relation Values:</strong><br />When showing inventory, you can include additional related data in the response by specifying the resources to be included. The system allows the following resources to be included:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Resource</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>meta.description</code></td>\n<td>Provides the description of the inventory item.</td>\n</tr>\n<tr>\n<td><code>meta.country</code></td>\n<td>Returns the country of origin.</td>\n</tr>\n<tr>\n<td><code>dimension</code></td>\n<td>Includes the dimension details of the product.</td>\n</tr>\n<tr>\n<td><code>groupItems.inventoryItem.meta</code></td>\n<td>Returns the items and meta information for inventory of type \"Group\".</td>\n</tr>\n<tr>\n<td><code>category.category</code></td>\n<td>Provides the category name associated with the inventory.</td>\n</tr>\n<tr>\n<td><code>courierService.courierService.courier</code></td>\n<td>Returns the assigned courier service and courier for the inventory.</td>\n</tr>\n<tr>\n<td><code>tags.tag</code></td>\n<td>Lists the tags assigned to the inventory.</td>\n</tr>\n<tr>\n<td><code>shelf.shelf</code></td>\n<td>If using basic mode, provides the shelf information for the inventory.</td>\n</tr>\n<tr>\n<td><code>linkedChannelProduct.channel</code></td>\n<td>Returns channel information if the product is linked to a channel.</td>\n</tr>\n<tr>\n<td><code>barcodes</code></td>\n<td>Provides the barcodes associated with the product.</td>\n</tr>\n</tbody>\n</table>\n</div><p>To use these resources, specify them as a comma-separated list in the <code>includes</code> query string parameter.<br /><strong>Example:</strong> <code>includes=barcodes,dimension,meta.description</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"meta.description,meta.country"}],"variable":[]}},"response":[{"id":"6b07bae8-ddea-467d-9a1f-41c63d4467c3","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}?includes=meta.description,meta.country","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}"],"query":[{"key":"includes","value":"meta.description,meta.country"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 22:10:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 00:10:02 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"inventory_type_id\": 1,\n        \"inventory_type_name\": \"INVENTORY\",\n        \"code\": \"sample-code\",\n        \"meta\": {\n            \"id\": 4,\n            \"name\": \"Sample product title\",\n            \"hs_code\": \"102030\",\n            \"image\": null,\n            \"sizes\": null,\n            \"price\": 50.5,\n            \"cost_price\": 0\n        },\n        \"stocks\": [\n            {\n                \"id\": 4,\n                \"quantity\": 50,\n                \"stock_change_reason\": null,\n                \"replenishment\": null\n            }\n        ],\n        \"category\": null,\n        \"courierService\": null,\n        \"settings\": {\n            \"is_packaging_item\": false,\n            \"not_for_resale\": false,\n            \"auto_sync_stock\": true\n        },\n        \"shelf\": {\n            \"id\": 4,\n            \"name\": \"sample-shelf\"\n        },\n        \"custom_fields_count\": 0,\n        \"associated_group_count\": 0,\n        \"can_delete\": true,\n        \"sync_status\": 0,\n        \"synced_at\": null,\n        \"is_no_stock\": false,\n        \"channels_id\": \"0f4c306b-ef79-4b4d-936f-a79d8eac12d6\",\n        \"archived_at\": null,\n        \"created_at\": \"2024-11-05T22:00:19.000000Z\",\n        \"updated_at\": \"2024-11-05T22:00:20.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.042\"\n}"},{"id":"9d839792-6221-46c4-8ca0-aba14b18daa2","name":"Show - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}?includes=meta.description,meta.country","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}"],"query":[{"key":"includes","value":"meta.description,meta.country"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 22:10:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 00:10:38 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_id\": [\n                \"The selected Inventory is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.034\"\n}"}],"_postman_id":"06afa3da-d76e-449d-9dad-4f49e5be97be"},{"name":"Create","id":"2a675936-08db-4860-bb74-75b85b5a57ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"sample-code\",\r\n    \"inventory_type_id\": 1,\r\n    \"name\": \"Sample product title\",\r\n    \"courier_service_id\": 3,\r\n    \"tax_group_id\": 0,\r\n    \"is_packaging_item\": false,\r\n    \"not_for_resale\": false,\r\n    \"auto_sync_stock\": true,\r\n    \"height\": 5,\r\n    \"weight\": 0.5,\r\n    \"width\": 2,\r\n    \"length\": 3,\r\n    \"nest_height\": 3.5,\r\n    \"shelf\": \"sample-shelf\",\r\n    \"tags\": [\r\n        \"tag1\",\r\n        \"tag2\"\r\n    ],\r\n    \"quantity\": 50,\r\n    \"description\": \"Sample product description\",\r\n    \"customs_description\": \"Sample customs description\",\r\n    \"hs_code\": \"sample-hs-code\",\r\n    \"country_id\": 0,\r\n    \"cost_price\": 0.0,\r\n    \"price\": 0.0,\r\n    \"barcodes\": [\r\n        {\r\n            \"inventory_barcode_type_id\": 1,\r\n            \"value\": \"sample-barcode\"\r\n        }\r\n    ],\r\n    \"containers\": [\r\n        {\r\n            \"inventory_container_type_id\": 1,\r\n            \"height\": 5,\r\n            \"weight\": 1,\r\n            \"width\": 25,\r\n            \"length\": 10,\r\n            \"quantity\": 12\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory","description":"<p><strong>Description:</strong></p>\n<p>Use this endpoint to create a new inventory item for a specific company. Ensure that all required fields are provided and adhere to the validation rules.</p>\n<ul>\n<li><p><strong>company_id</strong> and <strong>code</strong> are mandatory for each request.</p>\n</li>\n<li><p>Ensure <strong>code</strong> is unique within the given company.</p>\n</li>\n<li><p><strong>inventory_type_id</strong> must be a valid type from the available inventory types.</p>\n</li>\n<li><p>Optional fields can be included as needed (e.g., <strong>tags</strong>, <strong>barcodes</strong>, <strong>containers</strong>), and certain nested fields (e.g., <strong>tags</strong>, <strong>barcodes</strong>, <strong>containers</strong>) may have specific validation requirements.</p>\n</li>\n<li><p>Numeric fields (e.g., <strong>height</strong>, <strong>weight</strong>, <strong>quantity</strong>) must be non-negative values.</p>\n</li>\n<li><p>Boolean fields (e.g., <strong>is_packaging_item</strong>, <strong>not_for_resale</strong>) accept only true or false values.</p>\n</li>\n</ul>\n<p>Use this endpoint to structure each inventory item with attributes like dimensions, tags, barcodes, and additional metadata. Refer to the field definitions in the table below for guidance.</p>\n<p>Form fields;</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique inventory code, minimum 1 character, max 125 characters</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Yes</td>\n<td>Inventory name, string between 1 and 255 characters</td>\n</tr>\n<tr>\n<td>inventory_type_id</td>\n<td>integer</td>\n<td>Yes</td>\n<td>Type ID of the inventory, must be within defined types</td>\n</tr>\n<tr>\n<td>courier_service_id</td>\n<td>integer</td>\n<td>No</td>\n<td>Courier service ID, if provided, must exist and be active</td>\n</tr>\n<tr>\n<td>tax_group_id</td>\n<td>integer</td>\n<td>No</td>\n<td>Tax group ID, if provided, must exist within the company</td>\n</tr>\n<tr>\n<td>is_packaging_item</td>\n<td>boolean</td>\n<td>No</td>\n<td>Indicates if the item is a packaging item</td>\n</tr>\n<tr>\n<td>not_for_resale</td>\n<td>boolean</td>\n<td>No</td>\n<td>Indicates if the item is not for resale</td>\n</tr>\n<tr>\n<td>auto_sync_stock</td>\n<td>boolean</td>\n<td>No</td>\n<td>Indicates if stock synchronization is enabled</td>\n</tr>\n<tr>\n<td>height</td>\n<td>numeric</td>\n<td>No</td>\n<td>Height of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric</td>\n<td>No</td>\n<td>Weight of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>width</td>\n<td>numeric</td>\n<td>No</td>\n<td>Width of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>length</td>\n<td>numeric</td>\n<td>No</td>\n<td>Length of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>nest_height</td>\n<td>numeric</td>\n<td>No</td>\n<td>Nest height of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>shelf</td>\n<td>string</td>\n<td>No</td>\n<td>Shelf identifier, alphanumeric with dashes, up to 100 characters</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array</td>\n<td>No</td>\n<td>Tags associated with the inventory item</td>\n</tr>\n<tr>\n<td>tags.*</td>\n<td>string</td>\n<td>Yes</td>\n<td>Individual tag, required if tags are provided, max 100 characters</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>numeric</td>\n<td>Yes</td>\n<td>Quantity of the item, non-negative numeric value</td>\n</tr>\n<tr>\n<td>country_id</td>\n<td>integer</td>\n<td>No</td>\n<td>ID of the country of origin, if provided, must exist in countries table</td>\n</tr>\n<tr>\n<td>hs_code</td>\n<td>numeric</td>\n<td>No</td>\n<td>Harmonized System Code for customs, numeric between 6-10 digits</td>\n</tr>\n<tr>\n<td>customs_description</td>\n<td>string</td>\n<td>No</td>\n<td>Custom description for customs, max 100 characters</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>No</td>\n<td>Description of the item, max 100 characters</td>\n</tr>\n<tr>\n<td>cost_price</td>\n<td>numeric</td>\n<td>No</td>\n<td>Cost price of the item, non-negative numeric value</td>\n</tr>\n<tr>\n<td>price</td>\n<td>numeric</td>\n<td>No</td>\n<td>Selling price of the item, non-negative numeric value</td>\n</tr>\n<tr>\n<td>barcodes</td>\n<td>array</td>\n<td>No</td>\n<td>Barcodes associated with the inventory item</td>\n</tr>\n<tr>\n<td>barcodes.*.inventory_barcode_type_id</td>\n<td>integer</td>\n<td>Yes</td>\n<td>ID of barcode type, must be within defined barcode types</td>\n</tr>\n<tr>\n<td>barcodes.*.value</td>\n<td>string</td>\n<td>Yes</td>\n<td>Value of the barcode, unique within inventory, max 255 characters</td>\n</tr>\n<tr>\n<td>containers</td>\n<td>array</td>\n<td>No</td>\n<td>Containers associated with the inventory item</td>\n</tr>\n<tr>\n<td>containers.*.inventory_container_type_id</td>\n<td>integer</td>\n<td>Yes</td>\n<td>Container type ID, must be within defined container types</td>\n</tr>\n<tr>\n<td>containers.*.height</td>\n<td>numeric</td>\n<td>No</td>\n<td>Height of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.weight</td>\n<td>numeric</td>\n<td>No</td>\n<td>Weight of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.width</td>\n<td>numeric</td>\n<td>No</td>\n<td>Width of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.length</td>\n<td>numeric</td>\n<td>No</td>\n<td>Length of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.quantity</td>\n<td>numeric</td>\n<td>Yes</td>\n<td>Quantity of items within the container, non-negative numeric value</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"1625bef4-5508-49f3-a6da-60ad7b4f4eeb","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"sample-code\",\r\n    \"inventory_type_id\": 1,\r\n    \"name\": \"Sample product title\",\r\n    \"is_packaging_item\": false,\r\n    \"not_for_resale\": false,\r\n    \"auto_sync_stock\": true,\r\n    \"height\": 5,\r\n    \"weight\": 0.5,\r\n    \"width\": 2,\r\n    \"length\": 3,\r\n    \"nest_height\": 3.5,\r\n    \"shelf\": \"sample-shelf\",\r\n    \"tags\": [\r\n        \"tag1\",\r\n        \"tag2\"\r\n    ],\r\n    \"quantity\": 50,\r\n    \"description\": \"Sample product description\",\r\n    \"customs_description\": \"Sample customs description\",\r\n    \"hs_code\": \"102030\",\r\n    \"country_id\": 232,\r\n    \"cost_price\": 0.0,\r\n    \"price\": 50.5,\r\n    \"barcodes\": [\r\n        {\r\n            \"inventory_barcode_type_id\": 1,\r\n            \"value\": \"sample-barcode\"\r\n        }\r\n    ],\r\n    \"containers\": [\r\n        {\r\n            \"inventory_container_type_id\": 1,\r\n            \"height\": 5,\r\n            \"weight\": 1,\r\n            \"width\": 25,\r\n            \"length\": 10,\r\n            \"quantity\": 12\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 22:00:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 00:00:19 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"inventory_type_id\": 1,\n        \"inventory_type_name\": \"INVENTORY\",\n        \"code\": \"sample-code\",\n        \"category\": null,\n        \"custom_fields_count\": 0,\n        \"associated_group_count\": 0,\n        \"sync_status\": null,\n        \"synced_at\": null,\n        \"is_no_stock\": null,\n        \"channels_id\": null,\n        \"archived_at\": null,\n        \"created_at\": \"2024-11-05T22:00:19.000000Z\",\n        \"updated_at\": \"2024-11-05T22:00:19.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.142\"\n}"},{"id":"3c4ae6bd-b285-4c7e-90e6-4e9585844c69","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"sample-code\",\r\n    \"inventory_type_id\": 1,\r\n    \"name\": \"Sample product title\",\r\n    \"courier_service_id\": 3,\r\n    \"tax_group_id\": 0,\r\n    \"is_packaging_item\": false,\r\n    \"not_for_resale\": false,\r\n    \"auto_sync_stock\": true,\r\n    \"height\": 5,\r\n    \"weight\": 0.5,\r\n    \"width\": 2,\r\n    \"length\": 3,\r\n    \"nest_height\": 3.5,\r\n    \"shelf\": \"sample-shelf\",\r\n    \"tags\": [\r\n        \"tag1\",\r\n        \"tag2\"\r\n    ],\r\n    \"quantity\": 50,\r\n    \"description\": \"Sample product description\",\r\n    \"customs_description\": \"Sample customs description\",\r\n    \"hs_code\": \"sample-hs-code\",\r\n    \"country_id\": 0,\r\n    \"cost_price\": 0.0,\r\n    \"price\": 0.0,\r\n    \"barcodes\": [\r\n        {\r\n            \"inventory_barcode_type_id\": 1,\r\n            \"value\": \"sample-barcode\"\r\n        }\r\n    ],\r\n    \"containers\": [\r\n        {\r\n            \"inventory_container_type_id\": 1,\r\n            \"height\": 5,\r\n            \"weight\": 1,\r\n            \"width\": 25,\r\n            \"length\": 10,\r\n            \"quantity\": 12\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 22:02:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 00:02:42 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"code\": [\n                \"The Code has already been taken.\"\n            ],\n            \"courier_service_id\": [\n                \"The selected Courier Service is invalid.\"\n            ],\n            \"tax_group_id\": [\n                \"The selected Tax Group is invalid.\"\n            ],\n            \"country_id\": [\n                \"The selected Country is invalid.\"\n            ],\n            \"hs_code\": [\n                \"The HS Code must be a number.\",\n                \"The HS Code must be between 6 and 10 digits.\"\n            ]\n        },\n        \"message\": \"The Code has already been taken. (and 5 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.345\"\n}"}],"_postman_id":"2a675936-08db-4860-bb74-75b85b5a57ca"},{"name":"Update","id":"3e31ec5e-c38f-4d3b-b2ba-6b3de1654446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Sample product title\",\r\n    \"courier_service_id\": 3,\r\n    \"tax_group_id\": 0,\r\n    \"is_packaging_item\": false,\r\n    \"not_for_resale\": false,\r\n    \"auto_sync_stock\": true,\r\n    \"height\": 5,\r\n    \"weight\": 0.5,\r\n    \"width\": 2,\r\n    \"length\": 3,\r\n    \"nest_height\": 3.5,\r\n    \"shelf\": \"sample-shelf\",\r\n    \"tags\": [\r\n        \"tag1\",\r\n        \"tag2\"\r\n    ],\r\n    \"quantity\": 50,\r\n    \"description\": \"Sample product description\",\r\n    \"customs_description\": \"Sample customs description\",\r\n    \"hs_code\": \"203040\",\r\n    \"country_id\": 0,\r\n    \"cost_price\": 0.0,\r\n    \"price\": 0.0,\r\n    \"barcodes\": [\r\n        {\r\n            \"inventory_barcode_type_id\": 1,\r\n            \"value\": \"sample-barcode\"\r\n        }\r\n    ],\r\n    \"containers\": [\r\n        {\r\n            \"inventory_container_type_id\": 1,\r\n            \"height\": 5,\r\n            \"weight\": 1,\r\n            \"width\": 25,\r\n            \"length\": 10,\r\n            \"quantity\": 12\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}","description":"<p><strong>Description:</strong></p>\n<p>Use this endpoint to update an existing inventory item for a specific company. Ensure <strong>company_id</strong> and <strong>inventory_id</strong> are provided to identify the target item, and adhere to the validation rules for each field.</p>\n<ul>\n<li><p><strong>company_id</strong> and <strong>inventory_id</strong> are mandatory and must correspond to an existing inventory item that belongs to the specified company.</p>\n</li>\n<li><p>Optional fields (e.g., <strong>tags</strong>, <strong>barcodes</strong>, <strong>containers</strong>) can be updated individually, and nested fields have specific validation requirements.</p>\n</li>\n<li><p>Numeric fields (e.g., <strong>height</strong>, <strong>weight</strong>, <strong>quantity</strong>) must be non-negative values.</p>\n</li>\n<li><p>Boolean fields (e.g., <strong>is_packaging_item</strong>, <strong>not_for_resale</strong>) accept only true or false values.</p>\n</li>\n<li><p>If updating <strong>code</strong>, ensure it remains unique within the company.</p>\n</li>\n</ul>\n<p>This endpoint allows you to modify attributes such as dimensions, tags, barcodes, and metadata for an inventory item. Refer to the field definitions in the table below for details on acceptable values and requirements.</p>\n<p>Form fields;</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>inventory_id</td>\n<td>integer</td>\n<td>Yes</td>\n<td>ID of the inventory, must exist and belong to the specified company</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>No</td>\n<td>Inventory name, string between 1 and 255 characters</td>\n</tr>\n<tr>\n<td>courier_service_id</td>\n<td>integer</td>\n<td>No</td>\n<td>Courier service ID, if provided, must exist and be active</td>\n</tr>\n<tr>\n<td>tax_group_id</td>\n<td>integer</td>\n<td>No</td>\n<td>Tax group ID, if provided, must exist within the company</td>\n</tr>\n<tr>\n<td>is_packaging_item</td>\n<td>boolean</td>\n<td>No</td>\n<td>Indicates if the item is a packaging item</td>\n</tr>\n<tr>\n<td>not_for_resale</td>\n<td>boolean</td>\n<td>No</td>\n<td>Indicates if the item is not for resale</td>\n</tr>\n<tr>\n<td>auto_sync_stock</td>\n<td>boolean</td>\n<td>No</td>\n<td>Indicates if stock synchronization is enabled</td>\n</tr>\n<tr>\n<td>height</td>\n<td>numeric</td>\n<td>No</td>\n<td>Height of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric</td>\n<td>No</td>\n<td>Weight of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>width</td>\n<td>numeric</td>\n<td>No</td>\n<td>Width of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>length</td>\n<td>numeric</td>\n<td>No</td>\n<td>Length of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>nest_height</td>\n<td>numeric</td>\n<td>No</td>\n<td>Nest height of the inventory, numeric, non-negative</td>\n</tr>\n<tr>\n<td>shelf</td>\n<td>string</td>\n<td>No</td>\n<td>Shelf identifier, alphanumeric with dashes, up to 100 characters</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array</td>\n<td>No</td>\n<td>Tags associated with the inventory item</td>\n</tr>\n<tr>\n<td>tags.*</td>\n<td>string</td>\n<td>Yes</td>\n<td>Individual tag, required if tags are provided, max 100 characters</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>numeric</td>\n<td>No</td>\n<td>Quantity of the item, non-negative numeric value</td>\n</tr>\n<tr>\n<td>country_id</td>\n<td>integer</td>\n<td>No</td>\n<td>ID of the country of origin, if provided, must exist in countries table</td>\n</tr>\n<tr>\n<td>hs_code</td>\n<td>numeric</td>\n<td>No</td>\n<td>Harmonized System Code for customs, numeric between 6-10 digits</td>\n</tr>\n<tr>\n<td>customs_description</td>\n<td>string</td>\n<td>No</td>\n<td>Custom description for customs, max 100 characters</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>No</td>\n<td>Description of the item, max 100 characters</td>\n</tr>\n<tr>\n<td>cost_price</td>\n<td>numeric</td>\n<td>No</td>\n<td>Cost price of the item, non-negative numeric value</td>\n</tr>\n<tr>\n<td>price</td>\n<td>numeric</td>\n<td>No</td>\n<td>Selling price of the item, non-negative numeric value</td>\n</tr>\n<tr>\n<td>barcodes</td>\n<td>array</td>\n<td>No</td>\n<td>Barcodes associated with the inventory item</td>\n</tr>\n<tr>\n<td>barcodes.*.inventory_barcode_type_id</td>\n<td>integer</td>\n<td>Yes</td>\n<td>ID of barcode type, must be within defined barcode types</td>\n</tr>\n<tr>\n<td>barcodes.*.value</td>\n<td>string</td>\n<td>Yes</td>\n<td>Value of the barcode, unique within inventory, max 255 characters</td>\n</tr>\n<tr>\n<td>containers</td>\n<td>array</td>\n<td>No</td>\n<td>Containers associated with the inventory item</td>\n</tr>\n<tr>\n<td>containers.*.inventory_container_type_id</td>\n<td>integer</td>\n<td>Yes</td>\n<td>Container type ID, must be within defined container types</td>\n</tr>\n<tr>\n<td>containers.*.height</td>\n<td>numeric</td>\n<td>No</td>\n<td>Height of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.weight</td>\n<td>numeric</td>\n<td>No</td>\n<td>Weight of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.width</td>\n<td>numeric</td>\n<td>No</td>\n<td>Width of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.length</td>\n<td>numeric</td>\n<td>No</td>\n<td>Length of the container, numeric, non-negative</td>\n</tr>\n<tr>\n<td>containers.*.quantity</td>\n<td>numeric</td>\n<td>Yes</td>\n<td>Quantity of items within the container, non-negative numeric value</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"d9e897a4-f60c-49a3-bdbe-0973f3421f96","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"auto_sync_stock\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 22:41:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 00:41:22 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"inventory_type_id\": 1,\n        \"inventory_type_name\": \"INVENTORY\",\n        \"code\": \"sample-code\",\n        \"category\": null,\n        \"sync_status\": 0,\n        \"synced_at\": null,\n        \"is_no_stock\": false,\n        \"channels_id\": \"0f4c306b-ef79-4b4d-936f-a79d8eac12d6\",\n        \"archived_at\": null,\n        \"created_at\": \"2024-11-05T22:00:19.000000Z\",\n        \"updated_at\": \"2024-11-05T22:00:20.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.089\"\n}"},{"id":"db67e84f-9f07-4bf3-9e31-c60fa9da3c3c","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Sample product title\",\r\n    \"courier_service_id\": 3,\r\n    \"tax_group_id\": 0,\r\n    \"is_packaging_item\": false,\r\n    \"not_for_resale\": false,\r\n    \"auto_sync_stock\": true,\r\n    \"height\": 5,\r\n    \"weight\": 0.5,\r\n    \"width\": 2,\r\n    \"length\": 3,\r\n    \"nest_height\": 3.5,\r\n    \"shelf\": \"sample-shelf\",\r\n    \"tags\": [\r\n        \"tag1\",\r\n        \"tag2\"\r\n    ],\r\n    \"quantity\": 50,\r\n    \"description\": \"Sample product description\",\r\n    \"customs_description\": \"Sample customs description\",\r\n    \"hs_code\": \"203040\",\r\n    \"country_id\": 0,\r\n    \"cost_price\": 0.0,\r\n    \"price\": 0.0,\r\n    \"barcodes\": [\r\n        {\r\n            \"inventory_barcode_type_id\": 1,\r\n            \"value\": \"sample-barcode\"\r\n        }\r\n    ],\r\n    \"containers\": [\r\n        {\r\n            \"inventory_container_type_id\": 1,\r\n            \"height\": 5,\r\n            \"weight\": 1,\r\n            \"width\": 25,\r\n            \"length\": 10,\r\n            \"quantity\": 12\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 22:42:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 00:42:05 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"courier_service_id\": [\n                \"The selected Courier Service is invalid.\"\n            ],\n            \"tax_group_id\": [\n                \"The selected Tax Group is invalid.\"\n            ],\n            \"country_id\": [\n                \"The selected Country is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Courier Service is invalid. (and 2 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.061\"\n}"}],"_postman_id":"3e31ec5e-c38f-4d3b-b2ba-6b3de1654446"},{"name":"Delete","id":"abfb1cdb-7914-4ee9-bc79-62d0efcba067","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}","description":"<p>This endpoint deletes a specified inventory item.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to delete. Must exist and be valid. *</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Parameters marked with <code>\\*</code> are required.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"a0c25508-db75-4686-9ecd-cfe0f78127c9","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 11:51:22 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 13:51:22 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"68feebb0-74da-4b8a-9a0e-f22ba0a4a9e2","name":"Delete - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 11:51:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 13:51:57 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_id\": [\n                \"The selected Inventory is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.036\"\n}"}],"_postman_id":"abfb1cdb-7914-4ee9-bc79-62d0efcba067"},{"name":"Bulk Create","id":"8a6a1c3f-d7bd-4dce-b184-b848f12a6428","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"code\": \"sample-code\",\r\n            \"inventory_type_id\": 1,\r\n            \"name\": \"Sample product title\",\r\n            \"courier_service_id\": 3,\r\n            \"tax_group_id\": 0,\r\n            \"is_packaging_item\": false,\r\n            \"not_for_resale\": false,\r\n            \"auto_sync_stock\": true,\r\n            \"height\": 5,\r\n            \"weight\": 0.5,\r\n            \"width\": 2,\r\n            \"length\": 3,\r\n            \"nest_height\": 3.5,\r\n            \"shelf\": \"sample-shelf\",\r\n            \"tags\": [\r\n                \"tag1\",\r\n                \"tag2\"\r\n            ],\r\n            \"quantity\": 50,\r\n            \"description\": \"Sample product description\",\r\n            \"customs_description\": \"Sample customs description\",\r\n            \"hs_code\": \"sample-hs-code\",\r\n            \"country_id\": 0,\r\n            \"cost_price\": 0.0,\r\n            \"price\": 0.0,\r\n            \"barcodes\": [\r\n                {\r\n                    \"inventory_barcode_type_id\": 1,\r\n                    \"value\": \"sample-barcode\"\r\n                }\r\n            ],\r\n            \"containers\": [\r\n                {\r\n                    \"inventory_container_type_id\": 1,\r\n                    \"height\": 5,\r\n                    \"weight\": 1,\r\n                    \"width\": 25,\r\n                    \"length\": 10,\r\n                    \"quantity\": 12\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-create","description":"<p>This endpoint allows you to create multiple inventory items in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventories</code></td>\n<td><code>array</code></td>\n<td>List of inventory items to create. Must include at least one item and up to the limit of 250.</td>\n</tr>\n<tr>\n<td><code>inventories.*.code</code></td>\n<td><code>string</code></td>\n<td>Unique inventory code. Min length 1, max 125 characters.</td>\n</tr>\n<tr>\n<td><code>inventories.*.name</code></td>\n<td><code>string</code></td>\n<td>Inventory name. Min length 1, max 255 characters.</td>\n</tr>\n<tr>\n<td><code>inventories.*.inventory_type_id</code></td>\n<td><code>integer</code></td>\n<td>Inventory type ID. Must match predefined types.</td>\n</tr>\n<tr>\n<td><code>inventories.*.courier_service_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) ID of the assigned courier service.</td>\n</tr>\n<tr>\n<td><code>inventories.*.tax_group_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Tax group ID. Must exist.</td>\n</tr>\n<tr>\n<td><code>inventories.*.quantity</code></td>\n<td><code>integer</code></td>\n<td>Initial stock quantity. Must be non-negative.</td>\n</tr>\n<tr>\n<td><code>inventories.*.tags</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of tags. Each tag must be a string and max 100 characters.</td>\n</tr>\n<tr>\n<td><code>inventories.*.barcodes</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of barcodes with type and value.</td>\n</tr>\n<tr>\n<td><code>inventories.*.containers</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of container details. Includes height, weight, width, length, and quantity.</td>\n</tr>\n<tr>\n<td><code>inventories.*.dimensions</code></td>\n<td><code>object</code></td>\n<td>(Optional) Includes <code>height</code>, <code>width</code>, <code>length</code>, and <code>weight</code>.</td>\n</tr>\n<tr>\n<td><code>inventories.*.country_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Country of origin ID. Must exist.</td>\n</tr>\n<tr>\n<td><code>inventories.*.hs_code</code></td>\n<td><code>string</code></td>\n<td>(Optional) HS code (6-10 digits).</td>\n</tr>\n<tr>\n<td><code>inventories.*.description</code></td>\n<td><code>string</code></td>\n<td>(Optional) Description of the inventory item. Max 100 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Required parameters are marked explicitly in their description (e.g., \"Must include...\").</p>\n</li>\n<li><p>Bulk limit: Max 250 inventory items per request.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"90d6b714-0db1-421c-a710-83ffbcef35d0","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"code\": \"sample-code5\",\r\n            \"inventory_type_id\": 1,\r\n            \"name\": \"Sample product title\",\r\n            \"is_packaging_item\": false,\r\n            \"not_for_resale\": false,\r\n            \"auto_sync_stock\": true,\r\n            \"height\": 5,\r\n            \"weight\": 0.5,\r\n            \"width\": 2,\r\n            \"length\": 3,\r\n            \"nest_height\": 3.5,\r\n            \"shelf\": \"sample-shelf\",\r\n            \"tags\": [\r\n                \"tag1\",\r\n                \"tag2\"\r\n            ],\r\n            \"quantity\": 50,\r\n            \"description\": \"Sample product description\",\r\n            \"customs_description\": \"Sample customs description\",\r\n            \"cost_price\": 0.0,\r\n            \"price\": 0.0\r\n        },\r\n        {\r\n            \"code\": \"sample-code6\",\r\n            \"inventory_type_id\": 1,\r\n            \"name\": \"Sample product title\",\r\n            \"is_packaging_item\": false,\r\n            \"not_for_resale\": false,\r\n            \"auto_sync_stock\": true,\r\n            \"height\": 5,\r\n            \"weight\": 0.5,\r\n            \"width\": 2,\r\n            \"length\": 3,\r\n            \"nest_height\": 3.5,\r\n            \"shelf\": \"sample-shelf\",\r\n            \"tags\": [\r\n                \"tag1\",\r\n                \"tag2\"\r\n            ],\r\n            \"quantity\": 50,\r\n            \"description\": \"Sample product description\",\r\n            \"customs_description\": \"Sample customs description\",\r\n            \"cost_price\": 0.0,\r\n            \"price\": 0.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 23:42:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 01:42:23 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 19,\n            \"code\": \"sample-code5\",\n            \"message\": null,\n            \"status\": true\n        },\n        {\n            \"id\": 20,\n            \"code\": \"sample-code6\",\n            \"message\": null,\n            \"status\": true\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.184\"\n}"},{"id":"c35b42dc-afdb-4fd1-ae5c-bd37e0b78e30","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"code\": \"sample-code4\",\r\n            \"inventory_type_id\": 1,\r\n            \"name\": \"Sample product title\",\r\n            \"is_packaging_item\": false,\r\n            \"not_for_resale\": false,\r\n            \"auto_sync_stock\": true,\r\n            \"height\": 5,\r\n            \"weight\": 0.5,\r\n            \"width\": 2,\r\n            \"length\": 3,\r\n            \"nest_height\": 3.5,\r\n            \"shelf\": \"sample-shelf\",\r\n            \"tags\": [\r\n                \"tag1\",\r\n                \"tag2\"\r\n            ],\r\n            \"quantity\": 50,\r\n            \"description\": \"Sample product description\",\r\n            \"customs_description\": \"Sample customs description\",\r\n            \"cost_price\": 0.0,\r\n            \"price\": 0.0\r\n        },\r\n        {\r\n            \"code\": \"sample-code3\",\r\n            \"inventory_type_id\": 1,\r\n            \"name\": \"Sample product title\",\r\n            \"is_packaging_item\": false,\r\n            \"not_for_resale\": false,\r\n            \"auto_sync_stock\": true,\r\n            \"height\": 5,\r\n            \"weight\": 0.5,\r\n            \"width\": 2,\r\n            \"length\": 3,\r\n            \"nest_height\": 3.5,\r\n            \"shelf\": \"sample-shelf\",\r\n            \"tags\": [\r\n                \"tag1\",\r\n                \"tag2\"\r\n            ],\r\n            \"quantity\": 50,\r\n            \"description\": \"Sample product description\",\r\n            \"customs_description\": \"Sample customs description\",\r\n            \"cost_price\": 0.0,\r\n            \"price\": 0.0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 23:41:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 01:41:18 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventories.0.code\": [\n                \"The Code has already been taken.\"\n            ],\n            \"inventories.1.code\": [\n                \"The Code has already been taken.\"\n            ]\n        },\n        \"message\": \"The Code has already been taken. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.045\"\n}"}],"_postman_id":"8a6a1c3f-d7bd-4dce-b184-b848f12a6428"},{"name":"Bulk Update","id":"edcaa4ad-4629-4db8-8245-6025db919153","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 20,\r\n            \"name\": \"Sample product title\",\r\n            \"courier_service_id\": 3,\r\n            \"tax_group_id\": 0,\r\n            \"is_packaging_item\": false,\r\n            \"not_for_resale\": false,\r\n            \"auto_sync_stock\": true,\r\n            \"height\": 5,\r\n            \"weight\": 0.5,\r\n            \"width\": 2,\r\n            \"length\": 3,\r\n            \"nest_height\": 3.5,\r\n            \"shelf\": \"sample-shelf\",\r\n            \"tags\": [\r\n                \"tag1\",\r\n                \"tag2\"\r\n            ],\r\n            \"quantity\": 50,\r\n            \"description\": \"Sample product description\",\r\n            \"customs_description\": \"Sample customs description\",\r\n            \"hs_code\": \"sample-hs-code\",\r\n            \"country_id\": 0,\r\n            \"cost_price\": 0.0,\r\n            \"price\": 0.0,\r\n            \"barcodes\": [\r\n                {\r\n                    \"inventory_barcode_type_id\": 1,\r\n                    \"value\": \"sample-barcode\"\r\n                }\r\n            ],\r\n            \"containers\": [\r\n                {\r\n                    \"inventory_container_type_id\": 1,\r\n                    \"height\": 5,\r\n                    \"weight\": 1,\r\n                    \"width\": 25,\r\n                    \"length\": 10,\r\n                    \"quantity\": 12\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-update","description":"<p>This endpoint allows you to update multiple inventory items in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventories</code></td>\n<td><code>array</code></td>\n<td>List of inventory items to update. Must include at least one item.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to update. Must exist and belong to the company.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Inventory name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.courier_service_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) ID of the assigned courier service.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.tax_group_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Tax group ID. Must exist.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Updated stock quantity.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.tags</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of tags. Each tag must be a string and max 100 characters.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.barcodes</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of barcodes with type and value.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.containers</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of container details. Includes height, weight, width, length, and quantity.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.dimensions</code></td>\n<td><code>object</code></td>\n<td>(Optional) Includes <code>height</code>, <code>width</code>, <code>length</code>, and <code>weight</code>.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.country_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Country of origin ID. Must exist.</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.hs_code</code></td>\n<td><code>string</code></td>\n<td>(Optional) HS code (6-10 digits).</td>\n</tr>\n<tr>\n<td><code>inventories.\\*.description</code></td>\n<td><code>string</code></td>\n<td>(Optional) Description of the inventory item. Max 100 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>At least one field within each inventory object is required to be updated.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"af9e630a-e5ca-4742-a780-919d5aaa7f37","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 19,\r\n            \"name\": \"New title\",\r\n            \"quantity\": 50,\r\n            \"price\": 0.0\r\n        },\r\n        {\r\n            \"inventory_id\": 20,\r\n            \"price\": 80\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 23:51:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 01:51:54 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 19,\n            \"code\": \"sample-code5\",\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 20,\n            \"code\": \"sample-code6\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.145\"\n}"},{"id":"ed059538-7b9a-43b6-af1c-82d3f1f28df1","name":"Bulk Create - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventories\": [\r\n        {\r\n            \"inventory_id\": 30,\r\n            \"name\": \"New title\",\r\n            \"quantity\": 50,\r\n            \"price\": 0.0\r\n        },\r\n        {\r\n            \"inventory_id\": 20,\r\n            \"price\": 80\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 05 Nov 2024 23:52:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=bwbnB4bgZFd6guglZdFsZveqDekmHTnq09JohUDi; expires=Wed, 06 Nov 2024 01:52:23 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventories.0.inventory_id\": [\n                \"The selected Inventory is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"edcaa4ad-4629-4db8-8245-6025db919153"},{"name":"Archive","id":"2a18eb89-15f0-4bfe-b5bc-0f9870508dc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/archive","description":"<p>This endpoint archives a specified inventory item.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to archive. Must exist and not be archived or deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only inventory items that are not already archived or deleted can be archived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9264c284-2294-4fcf-a10a-7748097460b0","name":"Archive - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/archive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 11:56:51 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 13:56:51 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"83c6d51c-1b88-4041-9ebc-9d22919ae09c","name":"Archive - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/archive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 11:57:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 13:57:13 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory\": [\n                \"The inventory is already archived.\"\n            ]\n        },\n        \"message\": \"The inventory is already archived.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.036\"\n}"}],"_postman_id":"2a18eb89-15f0-4bfe-b5bc-0f9870508dc9"},{"name":"Restore","id":"344c9021-b591-4b41-b16c-9b77dacd5ed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/restore","description":"<p>This endpoint unarchives a specified inventory item.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the inventory item to unarchive. Must exist and be currently archived.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only inventory items that are archived and not deleted can be unarchived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","{{inventory_id}}","restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"985ea77f-3cc9-459f-9830-d0705c8a5525","name":"Restore - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/restore"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 11:57:38 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 13:57:38 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"e29b3a46-3fe8-4ead-9498-ad6fe70596fc","name":"Restore - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/{{inventory_id}}/restore"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 11:57:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 13:57:55 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory\": [\n                \"The inventory is already non-archived.\"\n            ]\n        },\n        \"message\": \"The inventory is already non-archived.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.040\"\n}"}],"_postman_id":"344c9021-b591-4b41-b16c-9b77dacd5ed3"},{"name":"Bulk Archive","id":"d26e7fc7-981e-4b9f-975f-0949248c4bf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-archive","description":"<p>This endpoint archives multiple inventory items in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_ids</code></td>\n<td><code>array</code></td>\n<td>List of inventory item IDs to archive. Must include at least one and up to 250.</td>\n</tr>\n<tr>\n<td><code>inventory_ids.\\\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each inventory item. Must exist and not be archived or deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Only inventory items that are not already archived or deleted can be archived.</p>\n</li>\n<li><p>Maximum of 250 inventory items per request.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","bulk-archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"a31253e2-1f05-4f75-9802-62f1b2869d58","name":"Bulk Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 12:21:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 14:21:04 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 10,\n            \"code\": \"code1\",\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 11,\n            \"code\": \"code2\",\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 12,\n            \"code\": \"code3\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.060\"\n}"},{"id":"8b808db9-b2aa-43ca-b3b2-178d95171a79","name":"Bulk Archive - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-archive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 12:21:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 14:21:47 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_ids.0\": [\n                \"The selected Inventories is invalid.\"\n            ],\n            \"inventory_ids.1\": [\n                \"The selected Inventories is invalid.\"\n            ],\n            \"inventory_ids.2\": [\n                \"The selected Inventories is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventories is invalid. (and 2 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.039\"\n}"}],"_postman_id":"d26e7fc7-981e-4b9f-975f-0949248c4bf4"},{"name":"Bulk Restore","id":"9017a243-894d-44dc-a3d5-edd33cac346e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/public-api/v1/companies/{{company_id}}/inventory/bulk-restore","description":"<p>This endpoint unarchives multiple inventory items in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_ids</code></td>\n<td><code>array</code></td>\n<td>List of inventory item IDs to unarchive. Must include at least one and up to 250.</td>\n</tr>\n<tr>\n<td><code>inventory_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each inventory item. Must exist and currently be archived.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Only inventory items that are archived and not deleted can be unarchived.</p>\n</li>\n<li><p>Maximum of 250 inventory items per request.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["public-api","v1","companies","{{company_id}}","inventory","bulk-restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"d3938acc-1bf5-460e-b2a0-951b35ab2f80","name":"Bulk Restore - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 12:22:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 14:22:08 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 10,\n            \"code\": \"code1\",\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 11,\n            \"code\": \"code2\",\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 12,\n            \"code\": \"code3\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.061\"\n}"},{"id":"aca854fd-9533-4e88-b966-90231bbcfa6a","name":"Bulk Restore - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-restore"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 12:22:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 14:22:37 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_ids.0\": [\n                \"The selected Inventories is invalid.\"\n            ],\n            \"inventory_ids.1\": [\n                \"The selected Inventories is invalid.\"\n            ],\n            \"inventory_ids.2\": [\n                \"The selected Inventories is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventories is invalid. (and 2 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"9017a243-894d-44dc-a3d5-edd33cac346e"},{"name":"Bulk Delete","id":"23f9ccdb-6618-4197-95bb-4b82ea6f63c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [1]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-delete","description":"<p>This endpoint deletes multiple inventory items in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>inventory_ids</code></td>\n<td><code>array</code></td>\n<td>List of inventory item IDs to delete. Must include at least one and up to 250.</td>\n</tr>\n<tr>\n<td><code>inventory_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each inventory item. Must exist and not be already deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Only inventory items that are not already deleted can be processed.</p>\n</li>\n<li><p>Maximum of 250 inventory items per request.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","inventory","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9a64a917-3176-4725-9f07-beade825db51","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [10, 11, 12]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 12:22:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 14:22:52 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 10,\n            \"code\": \"code1\",\n            \"status\": false,\n            \"message\": \"You cannot delete the inventory because it is linked to an order!\"\n        },\n        {\n            \"id\": 11,\n            \"code\": \"code2\",\n            \"status\": false,\n            \"message\": null\n        },\n        {\n            \"id\": 12,\n            \"code\": \"code3\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.043\"\n}"},{"id":"beeed519-d20f-499b-a390-a5b5c9ded136","name":"Bulk Delete - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_ids\": [1]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/inventory/bulk-delete"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 12 Nov 2024 12:24:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=xeng60tZBswy72ZQ2c8LkYx80vAHbZGT3Z2C3OyJ; expires=Tue, 12 Nov 2024 14:24:25 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_ids.0\": [\n                \"The selected Inventories is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventories is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.038\"\n}"}],"_postman_id":"23f9ccdb-6618-4197-95bb-4b82ea6f63c9"}],"id":"261f1433-371e-4a14-98df-5bcd2c7f32aa","description":"<p>The Inventory section of the API enables seamless management of your warehouse inventory. It provides a variety of functionalities to help you maintain accurate inventory records and streamline stock control. With this section, you can:</p>\n<ul>\n<li><p><strong>Create</strong> new inventory items to keep your product catalog updated.</p>\n</li>\n<li><p><strong>Update</strong> existing inventory details as changes occur.</p>\n</li>\n<li><p><strong>List</strong> all inventory records with filtering options to find specific items.</p>\n</li>\n<li><p><strong>Show</strong> detailed information for a single inventory item.</p>\n</li>\n<li><p><strong>Delete</strong> inventory records when they are no longer needed.</p>\n</li>\n</ul>\n<p>These features allow for efficient inventory management, ensuring your stock levels and product information remain accurate and up-to-date.</p>\n","_postman_id":"261f1433-371e-4a14-98df-5bcd2c7f32aa","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Customer","item":[{"name":"Customer Types","id":"a8b32c79-71d0-4d8b-aae6-5d506fba05dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/types","description":"<p>This endpoint retrieves a list of all available customer types.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0c4cc1de-e79c-4c3d-9c34-9f4c6fecfa1f","name":"Customer Types - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/customers/types","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","customers","types"],"query":[{"key":"type","value":"1","description":"1=Individual, 2=Company","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 15 Nov 2024 14:43:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IllUM1VaN0tsTXVCbFdKbEg4VmNoN1E9PSIsInZhbHVlIjoidEoxYWljWnIxSkxqN1NRM0VyblpWa01lQUtJNXpPeDJBVVpXUFViUlA4NHlvdnQ4VDU0SVBodnhicVZGZ1hvL2kxRExEb1NHTkU0SUFicm1Eem9GL09KdlArS3dHMEFBZE5COVYwY0Fvemoya2xKM2pGRHE1TWdTRXFXeVdXLzkiLCJtYWMiOiJkNzI3NmQzZTAwNjE4NGY0YTJiMWQyZWI5MDc5YWYwYzA3MTU0NjI1ZjJhMThjM2E3NDhkOGJlNmZkODJhZDgzIiwidGFnIjoiIn0%3D; expires=Sun, 15 Dec 2024 14:43:07 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=dOrA29MdLDzcbs92OQDmE0vWNVhPd2eCv3GPVKDC; expires=Sun, 15 Dec 2024 14:43:07 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"value\": 1,\n            \"map\": \"Individual\"\n        },\n        {\n            \"value\": 2,\n            \"map\": \"Company\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.140\"\n}"}],"_postman_id":"a8b32c79-71d0-4d8b-aae6-5d506fba05dd"},{"name":"List","id":"b3c2492b-fe47-4995-af1b-3ab9d333092c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers","description":"<p>This endpoint retrieves a list of customers with optional filtering and related data inclusion.</p>\n<h4 id=\"query-parameters\">Query Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>archived</code></td>\n<td><code>boolean</code></td>\n<td>Filter by archived (<code>true</code>) or unarchived (<code>false</code>) customers.</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td><code>string</code></td>\n<td>Search customers by name or surname.</td>\n</tr>\n<tr>\n<td><code>id</code></td>\n<td><code>integer</code> or <code>array</code></td>\n<td>Filter by specific customer IDs.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td><code>integer</code> or <code>array</code></td>\n<td>Filter by tag IDs.</td>\n</tr>\n<tr>\n<td><code>customer_type</code></td>\n<td><code>integer</code> or <code>array</code></td>\n<td>Filter by customer type.</td>\n</tr>\n<tr>\n<td><code>last_ordered_date_from</code></td>\n<td><code>string</code></td>\n<td>Filter by orders placed on or after this date (<code>YYYY-MM-DD</code>).</td>\n</tr>\n<tr>\n<td><code>last_ordered_date_to</code></td>\n<td><code>string</code></td>\n<td>Filter by orders placed on or before this date (<code>YYYY-MM-DD</code>).</td>\n</tr>\n<tr>\n<td><code>average_spend_from</code></td>\n<td><code>float</code></td>\n<td>Filter by average spend greater than or equal to this value.</td>\n</tr>\n<tr>\n<td><code>average_spend_to</code></td>\n<td><code>float</code></td>\n<td>Filter by average spend less than or equal to this value.</td>\n</tr>\n<tr>\n<td><code>total_spend_from</code></td>\n<td><code>float</code></td>\n<td>Filter by total spend greater than or equal to this value.</td>\n</tr>\n<tr>\n<td><code>total_spend_to</code></td>\n<td><code>float</code></td>\n<td>Filter by total spend less than or equal to this value.</td>\n</tr>\n<tr>\n<td><code>total_orders_from</code></td>\n<td><code>integer</code></td>\n<td>Filter by total orders greater than or equal to this value.</td>\n</tr>\n<tr>\n<td><code>total_orders_to</code></td>\n<td><code>integer</code></td>\n<td>Filter by total orders less than or equal to this value.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>string</code></td>\n<td>Search customers by full name.</td>\n</tr>\n<tr>\n<td><code>postcode</code></td>\n<td><code>string</code> or <code>array</code></td>\n<td>Filter by postcode or multiple postcodes.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"includes\">Includes:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Relation</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customerContacts</code></td>\n<td>Include customer contact details.</td>\n</tr>\n<tr>\n<td><code>customerAddresses</code></td>\n<td>Include customer addresses.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>Include associated tags.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>Include customer notes.</td>\n</tr>\n<tr>\n<td><code>orders</code></td>\n<td>Include related orders.</td>\n</tr>\n<tr>\n<td><code>statistic</code></td>\n<td>Include customer statistics (e.g., total spend, order count).</td>\n</tr>\n<tr>\n<td><code>fileManager</code></td>\n<td>Include related files or documents.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Filters can be combined to narrow down results.</p>\n</li>\n<li><p>Use the <code>includes</code> query parameter to retrieve related data in the response.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"7bc10898-4085-4fac-beb2-f469b58a0d0f","name":"List - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/customers?includes=customerContacts,customerAddresses,tags,notes","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","customers"],"query":[{"key":"includes","value":"customerContacts,customerAddresses,tags,notes"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 20:28:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"231"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 20:28:08 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"customerContacts\": [],\n            \"customerAddresses\": [\n                {\n                    \"id\": 25,\n                    \"customer_id\": 25,\n                    \"ship_to_somebody_else\": true,\n                    \"archived_at\": null,\n                    \"archived_by\": null,\n                    \"created_at\": \"2024-11-12T12:20:29.000000Z\",\n                    \"updated_at\": \"2024-11-12T12:20:29.000000Z\"\n                }\n            ],\n            \"notes\": [],\n            \"tags\": [],\n            \"id\": 25,\n            \"company_id\": 1,\n            \"contact_id\": 37,\n            \"type\": 1,\n            \"type_name\": \"Individual\",\n            \"created_at\": \"2024-11-12T12:20:29.000000Z\",\n            \"archived_at\": null,\n            \"archived_by\": null\n        },\n        {\n            \"customerContacts\": [\n                {\n                    \"id\": 12,\n                    \"company_customer_id\": 24,\n                    \"customer_id\": null,\n                    \"contact_id\": 36,\n                    \"title\": \"\",\n                    \"is_using_in_order\": true,\n                    \"archived_at\": null,\n                    \"archived_by\": null\n                }\n            ],\n            \"customerAddresses\": [\n                {\n                    \"id\": 24,\n                    \"customer_id\": 24,\n                    \"ship_to_somebody_else\": true,\n                    \"archived_at\": null,\n                    \"archived_by\": null,\n                    \"created_at\": \"2024-11-12T12:20:29.000000Z\",\n                    \"updated_at\": \"2024-11-12T12:20:29.000000Z\"\n                }\n            ],\n            \"notes\": [],\n            \"tags\": [],\n            \"id\": 24,\n            \"company_id\": 1,\n            \"contact_id\": 35,\n            \"type\": 2,\n            \"type_name\": \"Company\",\n            \"created_at\": \"2024-11-12T12:20:29.000000Z\",\n            \"archived_at\": null,\n            \"archived_by\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"b3c2492b-fe47-4995-af1b-3ab9d333092c"},{"name":"Show","id":"665a555e-2c59-4e98-b8b2-3af6e020a18f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}?includes=customerContacts,customerAddresses,tags,notes,orders,statistic,fileManager","description":"<p>This endpoint retrieves detailed information about a specific customer, with optional related data inclusion.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the customer to retrieve. Must exist and be valid.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"includes\">Includes:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Relation</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customerContacts</code></td>\n<td>Include customer contact details.</td>\n</tr>\n<tr>\n<td><code>customerAddresses</code></td>\n<td>Include customer addresses.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>Include associated tags.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>Include customer notes.</td>\n</tr>\n<tr>\n<td><code>orders</code></td>\n<td>Include related orders.</td>\n</tr>\n<tr>\n<td><code>statistic</code></td>\n<td>Include customer statistics (e.g., total spend, order count).</td>\n</tr>\n<tr>\n<td><code>fileManager</code></td>\n<td>Include related files or documents.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Use the <code>includes</code> query parameter to specify which related data should be included in the response.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","{{customer_id}}"],"host":["http://localhost/api"],"query":[{"description":{"content":"<p>customerContacts,customerAddresses,tags,notes,orders,statistic,fileManager</p>\n","type":"text/plain"},"key":"includes","value":"customerContacts,customerAddresses,tags,notes,orders,statistic,fileManager"}],"variable":[]}},"response":[{"id":"efd19507-3255-49e9-b4d0-7fd2f0bfbeae","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}?includes=customerContacts,customerAddresses,tags,notes,orders,statistic,fileManager","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","customers","{{customer_id}}"],"query":[{"key":"includes","value":"customerContacts,customerAddresses,tags,notes,orders,statistic,fileManager","description":"customerContacts,customerAddresses,tags,notes,orders,statistic,fileManager"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 20:29:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 20:29:13 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"customerContacts\": [],\n        \"customerAddresses\": [\n            {\n                \"id\": 1,\n                \"customer_id\": 1,\n                \"ship_to_somebody_else\": true,\n                \"archived_at\": null,\n                \"archived_by\": null,\n                \"created_at\": \"2024-11-12T12:20:29.000000Z\",\n                \"updated_at\": \"2024-11-12T12:20:29.000000Z\"\n            }\n        ],\n        \"notes\": [],\n        \"tags\": [],\n        \"statistic\": {\n            \"id\": 22,\n            \"customer_id\": 1,\n            \"orders_count\": 1,\n            \"average_spend\": 50,\n            \"total_spend\": 50,\n            \"return_value\": 0,\n            \"return_ratio\": 0,\n            \"last_ordered_date\": \"2024-11-12T12:20:42.000000Z\",\n            \"created_at\": \"2024-11-12T12:20:42.000000Z\",\n            \"updated_at\": \"2024-11-12T12:20:42.000000Z\"\n        },\n        \"contact\": {\n            \"id\": 1,\n            \"name\": \"Name\",\n            \"surname\": \"Surname\",\n            \"phone\": \"01835-703597\",\n            \"email\": \"dc@despatchcloud.com\",\n            \"hash\": \"b3fe594526c6ea575c6785ee08c011b8\",\n            \"email_hash\": \"aff4d7f9c6ea1eebb8763127a61906b9\",\n            \"deleted_at\": null,\n            \"created_at\": \"2024-11-12T12:20:29.000000Z\",\n            \"updated_at\": \"2024-11-12T12:20:29.000000Z\"\n        },\n        \"id\": 1,\n        \"company_id\": 1,\n        \"contact_id\": 1,\n        \"type\": 1,\n        \"type_name\": \"Individual\",\n        \"is_using_in_order\": true,\n        \"file_manager\": null,\n        \"created_at\": \"2024-11-12T12:20:29.000000Z\",\n        \"archived_at\": null,\n        \"archived_by\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.050\"\n}"}],"_postman_id":"665a555e-2c59-4e98-b8b2-3af6e020a18f"},{"name":"Create","id":"053aa8a6-b839-4b00-9848-4f5fade22a33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"company_name\": \"\",\n    \"name\": \"name\",\n    \"surname\": \"surname\",\n    \"email\": \"dc@despatchcloud.com\",\n    \"phone\": \"111\",\n    \"tags\": [\n        \"abc\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"123456\",\n            \"company_name\": \"Despatch Cloud\",\n            \"email\": \"info@despatchcloud.com\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"AA10 AAA\",\n            \"vat_number\": \"123\",\n            \"eori\": \"123\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers","description":"<p>StartFragment</p>\n<p>This endpoint creates a new customer with optional addresses, tags, and file attachments.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td><code>string</code></td>\n<td>Customer type (<code>individual</code>, <code>company</code>, etc.). Must be one of the predefined types.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>string</code></td>\n<td>Customer's first name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>surname</code></td>\n<td><code>string</code></td>\n<td>(Optional for companies) Customer's last name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td><code>string</code></td>\n<td>Customer's email address. Must be unique.</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Customer's phone number. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of tags associated with the customer. Max 100 characters each.</td>\n</tr>\n<tr>\n<td><code>addresses</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of customer addresses.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.company_name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Company name for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.name</code></td>\n<td><code>string</code></td>\n<td>(Optional) First name for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.surname</code></td>\n<td><code>string</code></td>\n<td>(Optional) Last name for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Phone number for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.email</code></td>\n<td><code>string</code></td>\n<td>(Optional) Email address for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.address_line_1</code></td>\n<td><code>string</code></td>\n<td>Address line 1. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.address_line_2</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 2.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.address_line_3</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 3.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.city</code></td>\n<td><code>string</code></td>\n<td>City for the address. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.county</code></td>\n<td><code>string</code></td>\n<td>(Optional) County for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.country_id</code></td>\n<td><code>integer</code></td>\n<td>Country ID for the address. Must exist.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.postcode</code></td>\n<td><code>string</code></td>\n<td>(Optional) Postcode for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.vat_number</code></td>\n<td><code>string</code></td>\n<td>(Optional) VAT number for the address. Max 50 characters.</td>\n</tr>\n<tr>\n<td><code>addresses.\\\\*.eori</code></td>\n<td><code>string</code></td>\n<td>(Optional) EORI number for the address. Max 50 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p><code>type</code> determines if <code>surname</code> is required (not required for companies).</p>\n</li>\n<li><p>Tags and addresses are optional but must follow their respective structures when provided.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0fb18a49-8fdd-4b8b-ac6a-0de07eda5e06","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"company_name\": \"\",\n    \"name\": \"name\",\n    \"surname\": \"surname\",\n    \"email\": \"dc@despatchcloud.com\",\n    \"phone\": \"111\",\n    \"tags\": [\n        \"abc\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"123456\",\n            \"company_name\": \"Despatch Cloud\",\n            \"email\": \"info@despatchcloud.com\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"AA10 AAA\",\n            \"vat_number\": \"123\",\n            \"eori\": \"123\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 20:44:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 20:44:11 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"contact\": {\n            \"id\": 39,\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"111\",\n            \"email\": \"dc@despatchcloud.com\",\n            \"hash\": \"2374674e38e89b9b8b7a19edf1eaef72\",\n            \"email_hash\": \"9651da10a945aa4ea71499bfaa94538c\",\n            \"deleted_at\": null,\n            \"created_at\": \"2024-11-16T20:44:11.000000Z\",\n            \"updated_at\": \"2024-11-16T20:44:11.000000Z\"\n        },\n        \"id\": 26,\n        \"company_id\": 1,\n        \"contact_id\": 39,\n        \"type\": 1,\n        \"type_name\": \"Individual\",\n        \"is_using_in_order\": false,\n        \"created_at\": \"2024-11-16T20:44:11.000000Z\",\n        \"archived_at\": null,\n        \"archived_by\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.083\"\n}"},{"id":"559711dc-1934-458b-aa1c-095f541cd3db","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"company_name\": \"\",\n    \"name\": \"name\",\n    \"surname\": \"surname\",\n    \"email\": \"dc@despatchcloud.com\",\n    \"phone\": \"111\",\n    \"tags\": [\n        \"abc\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"123456\",\n            \"company_name\": \"Despatch Cloud\",\n            \"email\": \"info@despatchcloud.com\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"AA10 AAA\",\n            \"vat_number\": \"123\",\n            \"eori\": \"123\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 20:44:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 20:44:34 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"email\": [\n                \"A customer already exists with the same name and email.\"\n            ]\n        },\n        \"message\": \"A customer already exists with the same name and email.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"053aa8a6-b839-4b00-9848-4f5fade22a33"},{"name":"Update","id":"89654322-07d3-416f-b5fa-18f2dbd4fbda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"company_name\": \"\",\n    \"name\": \"name\",\n    \"surname\": \"surname\",\n    \"email\": \"dc@despatchcloud.com\",\n    \"phone\": \"111\",\n    \"tags\": [\n        \"abc\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"123456\",\n            \"company_name\": \"Despatch Cloud\",\n            \"email\": \"info@despatchcloud.com\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"AA10 AAA\",\n            \"vat_number\": \"123\",\n            \"eori\": \"123\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}","description":"<p>This endpoint updates the details of an existing customer, including optional addresses and tags.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the customer to update. Must exist and be valid.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td><code>string</code></td>\n<td>Customer type (<code>individual</code>, <code>company</code>, etc.). Must be one of the predefined types.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>string</code></td>\n<td>Customer's first name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>surname</code></td>\n<td><code>string</code></td>\n<td>(Optional for companies) Customer's last name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td><code>string</code></td>\n<td>Customer's email address. Must be unique.</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Customer's phone number. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of tags associated with the customer. Max 100 characters each.</td>\n</tr>\n<tr>\n<td><code>addresses</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of customer addresses.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Address ID for updating an existing address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.company_name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Company name for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.name</code></td>\n<td><code>string</code></td>\n<td>(Optional) First name for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.surname</code></td>\n<td><code>string</code></td>\n<td>(Optional) Last name for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Phone number for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.email</code></td>\n<td><code>string</code></td>\n<td>(Optional) Email address for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.address_line_1</code></td>\n<td><code>string</code></td>\n<td>Address line 1. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.address_line_2</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 2.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.address_line_3</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 3.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.city</code></td>\n<td><code>string</code></td>\n<td>City for the address. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.county</code></td>\n<td><code>string</code></td>\n<td>(Optional) County for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.country_id</code></td>\n<td><code>integer</code></td>\n<td>Country ID for the address. Must exist.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.postcode</code></td>\n<td><code>string</code></td>\n<td>(Optional) Postcode for the address.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.vat_number</code></td>\n<td><code>string</code></td>\n<td>(Optional) VAT number for the address. Max 50 characters.</td>\n</tr>\n<tr>\n<td><code>addresses.\\*.eori</code></td>\n<td><code>string</code></td>\n<td>(Optional) EORI number for the address. Max 50 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p><code>type</code> determines if <code>surname</code> is required (not required for companies).</p>\n</li>\n<li><p>Tags and addresses are optional but must follow their respective structures when provided.</p>\n</li>\n<li><p>Existing addresses can be updated using their <code>id</code>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","{{customer_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"543b9e17-b1c1-427c-bbc7-7d11d2d8b0ee","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"company_name\": \"\",\n    \"name\": \"name\",\n    \"surname\": \"surname\",\n    \"email\": \"dc@despatchcloud.com\",\n    \"phone\": \"111\",\n    \"tags\": [\n        \"abc\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"123456\",\n            \"company_name\": \"Despatch Cloud\",\n            \"email\": \"info@despatchcloud.com\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"AA10 AAA\",\n            \"vat_number\": \"123\",\n            \"eori\": \"123\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:03:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:03:05 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"contact\": {\n            \"id\": 39,\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"111\",\n            \"email\": \"dc@despatchcloud.com\",\n            \"hash\": \"2374674e38e89b9b8b7a19edf1eaef72\",\n            \"email_hash\": \"9651da10a945aa4ea71499bfaa94538c\",\n            \"deleted_at\": null,\n            \"created_at\": \"2024-11-16T20:44:11.000000Z\",\n            \"updated_at\": \"2024-11-16T20:44:11.000000Z\"\n        },\n        \"id\": 26,\n        \"company_id\": 1,\n        \"contact_id\": 39,\n        \"type\": 1,\n        \"type_name\": \"Individual\",\n        \"is_using_in_order\": false,\n        \"created_at\": \"2024-11-16T20:44:11.000000Z\",\n        \"archived_at\": null,\n        \"archived_by\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.062\"\n}"},{"id":"181a81c5-eab8-4245-9619-7ae41255ea8e","name":"Update","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"company_name\": \"\",\n    \"name\": \"name\",\n    \"surname\": \"surname\",\n    \"email\": \"cc@despatchcloud.com\",\n    \"phone\": \"111\",\n    \"tags\": [\n        \"abc\"\n    ],\n    \"addresses\": [\n        {\n            \"name\": \"name\",\n            \"surname\": \"surname\",\n            \"phone\": \"123456\",\n            \"company_name\": \"Despatch Cloud\",\n            \"email\": \"info@despatchcloud.com\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"AA10 AAA\",\n            \"vat_number\": \"123\",\n            \"eori\": \"123\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:03:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:03:35 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"email\": [\n                \"A customer already exists with the same name and email.\"\n            ]\n        },\n        \"message\": \"A customer already exists with the same name and email.\",\n        \"exception\": \"ValidationException\",\n        \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/FormRequest.php\",\n        \"line\": 168\n    },\n    \"success\": false,\n    \"execution_time\": \"0.045\"\n}"}],"_postman_id":"89654322-07d3-416f-b5fa-18f2dbd4fbda"},{"name":"Delete","id":"b7b2ccc7-5455-4a82-b1f4-16762d6d44d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}","description":"<p>This endpoint deletes a specified customer.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the customer to delete. Must exist and be valid.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only active customers can be deleted.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","{{customer_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"78d081e5-0e20-4064-b7c0-73fcd430688c","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:08:26 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:08:26 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"d576b77a-3cfe-4e24-a216-432f4ddd89dd","name":"Delete - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:08:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:08:58 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"customer_id\": [\n                \"The selected Customer is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Customer is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.361\"\n}"}],"_postman_id":"b7b2ccc7-5455-4a82-b1f4-16762d6d44d4"},{"name":"Archive","id":"110b0b62-a4f9-4ea1-a806-0a49076b6b9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}/archive","description":"<p>This endpoint archives a specified customer.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the customer to archive. Must exist and not already archived.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only active and unarchived customers can be archived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","{{customer_id}}","archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"3bc3373e-4f49-40f6-8136-dd43aa36d233","name":"Archive - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}/archive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:13:57 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:13:57 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"73dd4bc0-5147-4b7e-8117-06716e0560cb","name":"Delete - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}/archive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:14:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:14:12 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"customer_id\": [\n                \"The selected Customer is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Customer is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.037\"\n}"}],"_postman_id":"110b0b62-a4f9-4ea1-a806-0a49076b6b9f"},{"name":"Restore","id":"2bd0cd66-f028-43e2-88ee-51d6cdd5d5ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}/restore","description":"<p>This endpoint unarchives a specified customer.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the customer to unarchive. Must exist, be archived, and not deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only archived customers can be unarchived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","{{customer_id}}","restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"ee9d1212-3537-4a34-8e07-f67074695196","name":"Restore - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}/restore"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:14:29 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"234"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:14:29 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"2bba5157-d84d-40c5-b2c7-cf7ec1b3c2ce","name":"Restore - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/customers/{{customer_id}}/restore"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:14:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"233"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:14:43 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"customer_id\": [\n                \"The selected Customer is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Customer is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.036\"\n}"}],"_postman_id":"2bd0cd66-f028-43e2-88ee-51d6cdd5d5ee"},{"name":"Bulk Create","id":"21d0e206-156f-46ec-a513-9eb522334006","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customers\": [\r\n        {\r\n            \"type\": 1,\r\n            \"company_name\": \"\",\r\n            \"name\": \"name\",\r\n            \"surname\": \"surname\",\r\n            \"email\": \"dc@despatchcloud.com\",\r\n            \"phone\": \"111\",\r\n            \"tags\": [\r\n                \"abc\"\r\n            ],\r\n            \"addresses\": [\r\n                {\r\n                    \"name\": \"name\",\r\n                    \"surname\": \"surname\",\r\n                    \"phone\": \"123456\",\r\n                    \"company_name\": \"Despatch Cloud\",\r\n                    \"email\": \"info@despatchcloud.com\",\r\n                    \"address_line_1\": \"Line 1\",\r\n                    \"address_line_2\": \"Line 2\",\r\n                    \"city\": \"City\",\r\n                    \"county\": \"County\",\r\n                    \"country_id\": 1,\r\n                    \"postcode\": \"AA10 AAA\",\r\n                    \"vat_number\": \"123\",\r\n                    \"eori\": \"123\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-create","description":"<p>This endpoint allows you to create multiple customers in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customers</code></td>\n<td><code>array</code></td>\n<td>List of customers to create. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.type</code></td>\n<td><code>string</code></td>\n<td>Customer type (<code>individual</code>, <code>company</code>, etc.). Must be one of the predefined types.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.name</code></td>\n<td><code>string</code></td>\n<td>Customer's first name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.surname</code></td>\n<td><code>string</code></td>\n<td>(Optional for companies) Customer's last name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.email</code></td>\n<td><code>string</code></td>\n<td>Customer's email address. Must be unique.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Customer's phone number. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.tags</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of tags associated with the customer. Max 100 characters each.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of customer addresses.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.company_name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Company name for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.name</code></td>\n<td><code>string</code></td>\n<td>(Optional) First name for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.surname</code></td>\n<td><code>string</code></td>\n<td>(Optional) Last name for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Phone number for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.email</code></td>\n<td><code>string</code></td>\n<td>(Optional) Email address for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.address_line_1</code></td>\n<td><code>string</code></td>\n<td>Address line 1. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.address_line_2</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 2.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.address_line_3</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 3.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.city</code></td>\n<td><code>string</code></td>\n<td>City for the address. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.county</code></td>\n<td><code>string</code></td>\n<td>(Optional) County for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.country_id</code></td>\n<td><code>integer</code></td>\n<td>Country ID for the address. Must exist.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.postcode</code></td>\n<td><code>string</code></td>\n<td>(Optional) Postcode for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.vat_number</code></td>\n<td><code>string</code></td>\n<td>(Optional) VAT number for the address. Max 50 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.eori</code></td>\n<td><code>string</code></td>\n<td>(Optional) EORI number for the address. Max 50 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Each customer must have a unique email address.</p>\n</li>\n<li><p><code>type</code> determines if <code>surname</code> is required (not required for companies).</p>\n</li>\n<li><p>Tags and addresses are optional but must follow their respective structures when provided.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"8a018fdf-b276-47f0-86ed-2028c163c510","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customers\": [\r\n        {\r\n            \"type\": 1,\r\n            \"company_name\": \"\",\r\n            \"name\": \"name\",\r\n            \"surname\": \"surname\",\r\n            \"email\": \"dc@despatchcloud.com\",\r\n            \"phone\": \"111\",\r\n            \"tags\": [\r\n                \"abc\"\r\n            ],\r\n            \"addresses\": [\r\n                {\r\n                    \"id\": 3,\r\n                    \"name\": \"name\",\r\n                    \"surname\": \"surname\",\r\n                    \"phone\": \"123456\",\r\n                    \"company_name\": \"Despatch Cloud\",\r\n                    \"email\": \"info@despatchcloud.com\",\r\n                    \"address_line_1\": \"Line 1\",\r\n                    \"address_line_2\": \"Line 2\",\r\n                    \"city\": \"City\",\r\n                    \"county\": \"County\",\r\n                    \"country_id\": 1,\r\n                    \"postcode\": \"AA10 AAA\",\r\n                    \"vat_number\": \"123\",\r\n                    \"eori\": \"123\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:33:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:33:46 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 27,\n            \"email\": \"dc@despatchcloud.com\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.078\"\n}"},{"id":"03076258-2597-415a-8821-bf981b3d7ef2","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customers\": [\r\n        {\r\n            \"type\": 1,\r\n            \"company_name\": \"\",\r\n            \"name\": \"name\",\r\n            \"surname\": \"surname\",\r\n            \"email\": \"dc@despatchcloud.com\",\r\n            \"phone\": \"111\",\r\n            \"tags\": [\r\n                \"abc\"\r\n            ],\r\n            \"addresses\": [\r\n                {\r\n                    \"id\": 3,\r\n                    \"name\": \"name\",\r\n                    \"surname\": \"surname\",\r\n                    \"phone\": \"123456\",\r\n                    \"company_name\": \"Despatch Cloud\",\r\n                    \"email\": \"info@despatchcloud.com\",\r\n                    \"address_line_1\": \"Line 1\",\r\n                    \"address_line_2\": \"Line 2\",\r\n                    \"city\": \"City\",\r\n                    \"county\": \"County\",\r\n                    \"country_id\": 1,\r\n                    \"postcode\": \"AA10 AAA\",\r\n                    \"vat_number\": \"123\",\r\n                    \"eori\": \"123\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:34:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:34:08 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"customers.0.email\": [\n                \"A customer already exists with the same name and email.\"\n            ]\n        },\n        \"message\": \"A customer already exists with the same name and email.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.045\"\n}"}],"_postman_id":"21d0e206-156f-46ec-a513-9eb522334006"},{"name":"Bulk Update","id":"efb754ee-3c82-49cd-b0b4-2b94a6b85061","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customers\": [\r\n        {\r\n            \"customer_id\": 1,\r\n            \"type\": 1,\r\n            \"company_name\": \"\",\r\n            \"name\": \"name\",\r\n            \"surname\": \"surname\",\r\n            \"email\": \"dc@despatchcloud.com\",\r\n            \"phone\": \"111\",\r\n            \"tags\": [\r\n                \"abc\"\r\n            ],\r\n            \"addresses\": [\r\n                {\r\n                    \"id\": 3,\r\n                    \"name\": \"name\",\r\n                    \"surname\": \"surname\",\r\n                    \"phone\": \"123456\",\r\n                    \"company_name\": \"Despatch Cloud\",\r\n                    \"email\": \"info@despatchcloud.com\",\r\n                    \"address_line_1\": \"Line 1\",\r\n                    \"address_line_2\": \"Line 2\",\r\n                    \"city\": \"City\",\r\n                    \"county\": \"County\",\r\n                    \"country_id\": 1,\r\n                    \"postcode\": \"AA10 AAA\",\r\n                    \"vat_number\": \"123\",\r\n                    \"eori\": \"123\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-update","description":"<p>This endpoint updates multiple customers and their associated addresses in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customers</code></td>\n<td><code>array</code></td>\n<td>List of customers to update. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.customer_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the customer to update. Must exist and belong to the company.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.type</code></td>\n<td><code>string</code></td>\n<td>Customer type (<code>individual</code>, <code>company</code>, etc.). Must be one of the predefined types.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.name</code></td>\n<td><code>string</code></td>\n<td>Customer's first name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.surname</code></td>\n<td><code>string</code></td>\n<td>(Optional for companies) Customer's last name. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.email</code></td>\n<td><code>string</code></td>\n<td>Customer's email address. Must be unique.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Customer's phone number. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.tags</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of tags associated with the customer. Max 100 characters each.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses</code></td>\n<td><code>array</code></td>\n<td>(Optional) List of customer addresses.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Address ID for updating an existing address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.company_name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Company name for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.name</code></td>\n<td><code>string</code></td>\n<td>(Optional) First name for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.surname</code></td>\n<td><code>string</code></td>\n<td>(Optional) Last name for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.phone</code></td>\n<td><code>string</code></td>\n<td>(Optional) Phone number for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.email</code></td>\n<td><code>string</code></td>\n<td>(Optional) Email address for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.address_line_1</code></td>\n<td><code>string</code></td>\n<td>Address line 1. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.address_line_2</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 2.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.address_line_3</code></td>\n<td><code>string</code></td>\n<td>(Optional) Address line 3.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.city</code></td>\n<td><code>string</code></td>\n<td>City for the address. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.county</code></td>\n<td><code>string</code></td>\n<td>(Optional) County for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.country_id</code></td>\n<td><code>integer</code></td>\n<td>Country ID for the address. Must exist.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.postcode</code></td>\n<td><code>string</code></td>\n<td>(Optional) Postcode for the address.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.vat_number</code></td>\n<td><code>string</code></td>\n<td>(Optional) VAT number for the address. Max 50 characters.</td>\n</tr>\n<tr>\n<td><code>customers.\\*.addresses.\\*.eori</code></td>\n<td><code>string</code></td>\n<td>(Optional) EORI number for the address. Max 50 characters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Each <code>customer_id</code> must exist and belong to the same company.</p>\n</li>\n<li><p>Existing addresses can be updated using their <code>id</code>.</p>\n</li>\n<li><p>Tags and addresses are optional but must follow their respective structures when provided.</p>\n</li>\n<li><p>Each customer must have a unique email address.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"558db5e2-41a8-4b97-b9cb-490cbfb8eb6d","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customers\": [\r\n        {\r\n            \"customer_id\": 28,\r\n            \"type\": 1,\r\n            \"company_name\": \"\",\r\n            \"name\": \"name\",\r\n            \"surname\": \"surname\",\r\n            \"email\": \"dcc@despatchcloud.com\",\r\n            \"phone\": \"111\",\r\n            \"tags\": [\r\n                \"abc\"\r\n            ],\r\n            \"addresses\": [\r\n                {\r\n                    \"name\": \"name\",\r\n                    \"surname\": \"surname\",\r\n                    \"phone\": \"123456\",\r\n                    \"company_name\": \"Despatch Cloud\",\r\n                    \"email\": \"dc@despatchcloud.com\",\r\n                    \"address_line_1\": \"Line 1\",\r\n                    \"address_line_2\": \"Line 2\",\r\n                    \"city\": \"City\",\r\n                    \"county\": \"County\",\r\n                    \"country_id\": 1,\r\n                    \"postcode\": \"AA10 AAA\",\r\n                    \"vat_number\": \"123\",\r\n                    \"eori\": \"123\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:43:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:43:17 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 28,\n            \"email\": \"dcc@despatchcloud.com\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.059\"\n}"},{"id":"4938b628-6c51-46d9-b782-855acb7dd9ec","name":"Bulk Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customers\": [\r\n        {\r\n            \"customer_id\": 1,\r\n            \"type\": 1,\r\n            \"company_name\": \"\",\r\n            \"name\": \"name\",\r\n            \"surname\": \"surname\",\r\n            \"email\": \"dc@despatchcloud.com\",\r\n            \"phone\": \"111\",\r\n            \"tags\": [\r\n                \"abc\"\r\n            ],\r\n            \"addresses\": [\r\n                {\r\n                    \"id\": 3,\r\n                    \"name\": \"name\",\r\n                    \"surname\": \"surname\",\r\n                    \"phone\": \"123456\",\r\n                    \"company_name\": \"Despatch Cloud\",\r\n                    \"email\": \"info@despatchcloud.com\",\r\n                    \"address_line_1\": \"Line 1\",\r\n                    \"address_line_2\": \"Line 2\",\r\n                    \"city\": \"City\",\r\n                    \"county\": \"County\",\r\n                    \"country_id\": 1,\r\n                    \"postcode\": \"AA10 AAA\",\r\n                    \"vat_number\": \"123\",\r\n                    \"eori\": \"123\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:39:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:39:39 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"customers.0.email\": [\n                \"A customer already exists with the same name and email.\"\n            ],\n            \"customers.0.addresses.0.id\": [\n                \"The selected customers.0.addresses.0.id is invalid.\"\n            ]\n        },\n        \"message\": \"A customer already exists with the same name and email. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.043\"\n}"}],"_postman_id":"efb754ee-3c82-49cd-b0b4-2b94a6b85061"},{"name":"Bulk Archive","id":"ef3e289b-e144-410f-a67c-54a831ece7f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customer_ids\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-archive","description":"<p>This endpoint archives multiple customers in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_ids</code></td>\n<td><code>array</code></td>\n<td>List of customer IDs to archive. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customer_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each customer. Must exist, be active, and not already archived.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only active and unarchived customers can be archived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","bulk-archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"f6eb4364-3dd6-4709-a284-d798770138af","name":"Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customer_ids\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:21:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:21:48 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 22,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 10,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.055\"\n}"}],"_postman_id":"ef3e289b-e144-410f-a67c-54a831ece7f9"},{"name":"Bulk Restore","id":"9be12d6e-5fe6-466a-a245-17a2d502de01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customer_ids\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-restore","description":"<p>This endpoint unarchives multiple customers in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_ids</code></td>\n<td><code>array</code></td>\n<td>List of customer IDs to unarchive. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customer_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each customer. Must exist, be archived, and not deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only archived customers can be unarchived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","bulk-restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"e1b27bee-1a0d-4075-9934-fb404e215c74","name":"Bulk Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customer_ids\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:25:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:25:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 22,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 10,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.063\"\n}"}],"_postman_id":"9be12d6e-5fe6-466a-a245-17a2d502de01"},{"name":"Bulk Delete","id":"b19beaa3-93c3-4cee-9def-02457f622210","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customer_ids\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-restore","description":"<p>This endpoint deletes multiple customers in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_ids</code></td>\n<td><code>array</code></td>\n<td>List of customer IDs to delete. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customer_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each customer. Must exist, be active, and not archived or deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only active and unarchived customers can be deleted.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","customers","bulk-restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"8e897dc1-bc6b-4c4d-9b1c-2ef5bce29c6e","name":"Bulk Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customer_ids\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:25:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:25:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 22,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 10,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.063\"\n}"},{"id":"4215690c-5544-4024-8638-9413208c3f87","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customer_ids\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/customers/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 16 Nov 2024 21:27:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=XA32jAbufIyWgdHcyZJHB7xm58SqjOYXySc1dL35; expires=Mon, 16 Dec 2024 21:27:24 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 22,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 10,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.055\"\n}"}],"_postman_id":"b19beaa3-93c3-4cee-9def-02457f622210"}],"id":"c700597f-69e9-436d-a16b-9729e42dd1d7","_postman_id":"c700597f-69e9-436d-a16b-9729e42dd1d7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Order","item":[{"name":"Items","item":[{"name":"Index","id":"ccf58670-6f06-47e5-9c36-26e33a9fe1da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items?includes=inventory.meta,total,children.total,children.inventory.meta","description":"<p>This endpoint retrieves a list of order items with optional related data inclusion.</p>\n<h4 id=\"includes\">Includes:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Relation</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order</code></td>\n<td>Include details of the associated order.</td>\n</tr>\n<tr>\n<td><code>previousOrder</code></td>\n<td>Include details of the previous order.</td>\n</tr>\n<tr>\n<td><code>allocate</code></td>\n<td>Include allocation details for the order items.</td>\n</tr>\n<tr>\n<td><code>children</code></td>\n<td>Include details of child order items.</td>\n</tr>\n<tr>\n<td><code>children.options</code></td>\n<td>Include options for child order items.</td>\n</tr>\n<tr>\n<td><code>children.total</code></td>\n<td>Include total values for child order items.</td>\n</tr>\n<tr>\n<td><code>children.inventory</code></td>\n<td>Include inventory details for child order items.</td>\n</tr>\n<tr>\n<td><code>children.inventory.meta</code></td>\n<td>Include metadata for inventory of child order items.</td>\n</tr>\n<tr>\n<td><code>total</code></td>\n<td>Include total value for the order items.</td>\n</tr>\n<tr>\n<td><code>meta</code></td>\n<td>Include metadata for the order items.</td>\n</tr>\n<tr>\n<td><code>inventory</code></td>\n<td>Include inventory details for the order items.</td>\n</tr>\n<tr>\n<td><code>inventory.meta</code></td>\n<td>Include metadata for the inventory of the order items.</td>\n</tr>\n<tr>\n<td><code>options</code></td>\n<td>Include additional options for the order items.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Use the <code>includes</code> query parameter to specify which related data should be included in the response.</p>\n</li>\n<li><p>Combining multiple <code>includes</code> values is supported to retrieve comprehensive details.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"inventory.meta,total,children.total,children.inventory.meta"}],"variable":[]}},"response":[{"id":"362b43cb-9f17-45b0-accd-2c4e94ac1b30","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items?includes=inventory.meta,total,children.total,children.inventory.meta","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items"],"query":[{"key":"includes","value":"inventory.meta,total,children.total,children.inventory.meta"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 19:39:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 19:39:29 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 152,\n            \"order_id\": 80,\n            \"inventory_id\": 22,\n            \"previous_order_id\": null,\n            \"order_item_parent_id\": null,\n            \"is_group\": 0,\n            \"name\": \"Item Name\",\n            \"remote_id\": \"8\",\n            \"remote_alt_id\": null,\n            \"previous_order_item_id\": null,\n            \"quantity\": 5,\n            \"total_quantity\": 5,\n            \"is_service_charge\": false,\n            \"imported_from_channels\": true,\n            \"total\": {\n                \"id\": 152,\n                \"order_item_id\": 152,\n                \"unit_price\": 5,\n                \"total_price\": 25,\n                \"total_discount\": 5,\n                \"tax_rate\": 0,\n                \"total_tax\": 0,\n                \"unit_discount\": 1\n            },\n            \"inventory\": {\n                \"id\": 22,\n                \"inventory_type_id\": 1,\n                \"inventory_type_name\": \"INVENTORY\",\n                \"code\": \"led-high-tops\",\n                \"meta\": {\n                    \"id\": 22,\n                    \"name\": \"LED High Tops\",\n                    \"hs_code\": \"93598\",\n                    \"image\": \"https://cdn.despatchcloud.org/uploads/2024/12/8/1/2b24879a-a457-4cf4-aec9-b9515e2a00a7\",\n                    \"sizes\": null,\n                    \"price\": 80,\n                    \"cost_price\": null\n                },\n                \"levels\": {\n                    \"physical_stock\": 936,\n                    \"available_stock\": 933,\n                    \"open_orders\": 3\n                },\n                \"sync_status\": 2,\n                \"synced_at\": \"2024-12-08T17:01:43.000000Z\",\n                \"is_no_stock\": false,\n                \"channels_id\": \"746a28a3-9a25-4860-9814-432cdb0803a3\",\n                \"archived_at\": null,\n                \"created_at\": \"2024-12-08T15:12:00.000000Z\",\n                \"updated_at\": \"2024-12-08T17:01:43.000000Z\"\n            },\n            \"children\": [],\n            \"merged_at\": null,\n            \"splitted_at\": null,\n            \"created_at\": \"2024-12-08T15:12:56.000000Z\",\n            \"updated_at\": \"2024-12-08T17:01:42.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": 153,\n            \"order_id\": 80,\n            \"inventory_id\": 24,\n            \"previous_order_id\": null,\n            \"order_item_parent_id\": null,\n            \"is_group\": 0,\n            \"name\": \"7 Shakra Bracelet Black\",\n            \"remote_id\": \"0\",\n            \"remote_alt_id\": null,\n            \"previous_order_item_id\": null,\n            \"quantity\": 3,\n            \"total_quantity\": 3,\n            \"is_service_charge\": false,\n            \"imported_from_channels\": true,\n            \"total\": {\n                \"id\": 153,\n                \"order_item_id\": 153,\n                \"unit_price\": 42.99,\n                \"total_price\": 128.97,\n                \"total_discount\": 0,\n                \"tax_rate\": 0,\n                \"total_tax\": 0,\n                \"unit_discount\": 0\n            },\n            \"inventory\": {\n                \"id\": 24,\n                \"inventory_type_id\": 1,\n                \"inventory_type_name\": \"INVENTORY\",\n                \"code\": \"chain-bracelet-b\",\n                \"meta\": {\n                    \"id\": 24,\n                    \"name\": \"7 Shakra Bracelet Black\",\n                    \"hs_code\": \"97538\",\n                    \"image\": \"https://cdn.despatchcloud.org/uploads/2024/12/8/1/44b221ef-755c-41bb-a14e-bf12f53b5bb2\",\n                    \"sizes\": null,\n                    \"price\": 42.99,\n                    \"cost_price\": null\n                },\n                \"levels\": {\n                    \"physical_stock\": 297,\n                    \"available_stock\": 291,\n                    \"open_orders\": 6\n                },\n                \"sync_status\": 2,\n                \"synced_at\": \"2024-12-08T17:01:43.000000Z\",\n                \"is_no_stock\": false,\n                \"channels_id\": \"c1d6a04e-c8ca-4f4f-bbd2-a9302844bc17\",\n                \"archived_at\": null,\n                \"created_at\": \"2024-12-08T15:12:02.000000Z\",\n                \"updated_at\": \"2024-12-08T17:01:43.000000Z\"\n            },\n            \"children\": [],\n            \"merged_at\": null,\n            \"splitted_at\": null,\n            \"created_at\": \"2024-12-08T15:12:56.000000Z\",\n            \"updated_at\": \"2024-12-08T15:12:56.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/public-api/v1/companies/1/orders/80/items?includes=inventory.meta%2Ctotal%2Cchildren.total%2Cchildren.inventory.meta&page=1\",\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"path\": \"http://localhost/public-api/v1/companies/1/orders/80/items\",\n        \"per_page\": 10,\n        \"to\": 2\n    },\n    \"success\": true,\n    \"execution_time\": \"0.062\"\n}"},{"id":"90c660ad-c545-4303-b581-7dbd9355241c","name":"Index - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items?includes=inventory.meta,total,children.total,children.inventory.meta","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items"],"query":[{"key":"includes","value":"inventory.meta,total,children.total,children.inventory.meta"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 19:40:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 19:40:04 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"order_id\": [\n                \"The selected Order is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Order is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.040\"\n}"}],"_postman_id":"ccf58670-6f06-47e5-9c36-26e33a9fe1da"},{"name":"Create","id":"f99c9f3c-2b10-4d62-8861-e715da054444","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_id\": 99,\r\n    \"name\": \"Test Item Name\",\r\n    \"quantity\": \"5\",\r\n    \"options\": \"test\",\r\n    \"unit_price\": 15.43,\r\n    \"unit_discount\": 5,\r\n    \"meta\": {\r\n        \"hs_code\": 102030,\r\n        \"country_id\": 5\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items","description":"<p>This endpoint allows you to create an order item within an existing order.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order to add the item to. Must exist, be updatable, and not archived or deleted.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Name of the order item. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the associated inventory item. Must exist and belong to the company.</td>\n</tr>\n<tr>\n<td><code>meta</code></td>\n<td><code>array</code></td>\n<td>(Optional) Metadata for the order item.</td>\n</tr>\n<tr>\n<td><code>meta.hs_code</code></td>\n<td><code>integer</code></td>\n<td>(Optional) HS code for the order item. Must be 6-10 digits.</td>\n</tr>\n<tr>\n<td><code>meta.country_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Country ID for the order item's origin. Must exist.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td><code>integer</code></td>\n<td>The quantity of the order item. Must be at least 1.</td>\n</tr>\n<tr>\n<td><code>options</code></td>\n<td><code>string</code></td>\n<td>(Optional) Additional options or customizations for the order item.</td>\n</tr>\n<tr>\n<td><code>unit_price</code></td>\n<td><code>decimal</code></td>\n<td>The price per unit of the order item. Must be greater than or equal to 0.</td>\n</tr>\n<tr>\n<td><code>unit_discount</code></td>\n<td><code>decimal</code></td>\n<td>(Optional) Discount per unit. Must be less than or equal to the <code>unit_price</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>The <code>order_id</code> must reference an order in a status that allows updates.</p>\n</li>\n<li><p>Validation ensures that <code>unit_price</code> and <code>unit_discount</code> are accurate and within allowed ranges.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"583ce047-f623-4fd2-a4a0-9e0565c3acf0","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_id\": 3,\r\n    \"name\": \"Test Item Name\",\r\n    \"quantity\": \"5\",\r\n    \"options\": \"test\",\r\n    \"unit_price\": 15.43,\r\n    \"unit_discount\": 5,\r\n    \"meta\": {\r\n        \"hs_code\": 102030,\r\n        \"country_id\": 5\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 19:51:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 19:51:51 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 192,\n        \"order_id\": 70,\n        \"inventory_id\": 3,\n        \"previous_order_id\": null,\n        \"order_item_parent_id\": null,\n        \"is_group\": false,\n        \"name\": \"Test Item Name\",\n        \"remote_id\": null,\n        \"remote_alt_id\": null,\n        \"previous_order_item_id\": null,\n        \"quantity\": \"5\",\n        \"total_quantity\": \"5\",\n        \"is_service_charge\": false,\n        \"imported_from_channels\": null,\n        \"children\": [],\n        \"merged_at\": null,\n        \"splitted_at\": null,\n        \"created_at\": \"2024-12-08T19:51:50.000000Z\",\n        \"updated_at\": \"2024-12-08T19:51:50.000000Z\",\n        \"deleted_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.491\"\n}"},{"id":"73eb2568-19e7-4b17-a60a-f10d635e1cb5","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_id\": 99,\r\n    \"name\": \"Test Item Name\",\r\n    \"quantity\": \"5\",\r\n    \"options\": \"test\",\r\n    \"unit_price\": 15.43,\r\n    \"unit_discount\": 5,\r\n    \"meta\": {\r\n        \"hs_code\": 102030,\r\n        \"country_id\": 5\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 19:55:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 19:55:02 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"inventory_id\": [\n                \"The selected Inventory is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.052\"\n}"}],"_postman_id":"f99c9f3c-2b10-4d62-8861-e715da054444"},{"name":"Update","id":"04284e57-e898-43ea-826e-8114f183aaf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test Item Name\",\r\n    \"quantity\": \"5\",\r\n    \"options\": \"test\",\r\n    \"unit_price\": 15.43,\r\n    \"unit_discount\": 5,\r\n    \"meta\": {\r\n        \"hs_code\": \"1020302\",\r\n        \"country_id\": 5\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/{{order_item_id}}","description":"<p>This endpoint allows you to update an existing order item.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order containing the item to update. Must exist, be updatable, and not archived or deleted.</td>\n</tr>\n<tr>\n<td><code>order_item_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order item to update. Must exist within the specified order and not be a child item.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Name of the order item. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td><code>integer</code></td>\n<td>The updated quantity of the order item. Must be at least 1.</td>\n</tr>\n<tr>\n<td><code>options</code></td>\n<td><code>string</code></td>\n<td>(Optional) Updated options or customizations for the order item.</td>\n</tr>\n<tr>\n<td><code>unit_price</code></td>\n<td><code>decimal</code></td>\n<td>The updated price per unit of the order item. Must be greater than or equal to 0.</td>\n</tr>\n<tr>\n<td><code>unit_discount</code></td>\n<td><code>decimal</code></td>\n<td>(Optional) Updated discount per unit. Must be less than or equal to the <code>unit_price</code>.</td>\n</tr>\n<tr>\n<td><code>meta</code></td>\n<td><code>array</code></td>\n<td>(Optional) Updated metadata for the order item.</td>\n</tr>\n<tr>\n<td><code>meta.hs_code</code></td>\n<td><code>string</code></td>\n<td>(Optional) Updated HS code for the order item. Must be 6-10 digits.</td>\n</tr>\n<tr>\n<td><code>meta.country_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Updated country ID for the order item's origin. Must exist.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>The <code>order_id</code> must reference an order in a status that allows updates.</p>\n</li>\n<li><p>The <code>order_item_id</code> must be a direct item within the order and not a child item.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items","{{order_item_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"211dd7a4-5c8f-48d0-9502-374b01920c57","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inventory_id\": 99,\r\n    \"name\": \"Test Item Name\",\r\n    \"quantity\": \"5\",\r\n    \"options\": \"test\",\r\n    \"unit_price\": 15.43,\r\n    \"unit_discount\": 5,\r\n    \"meta\": {\r\n        \"hs_code\": \"102030\",\r\n        \"country_id\": 5\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/{{order_item_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:05:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:05:18 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 131,\n        \"order_id\": 70,\n        \"inventory_id\": 64,\n        \"previous_order_id\": null,\n        \"order_item_parent_id\": null,\n        \"is_group\": 0,\n        \"name\": \"Test Item Name\",\n        \"remote_id\": \"7\",\n        \"remote_alt_id\": null,\n        \"previous_order_item_id\": null,\n        \"quantity\": 5,\n        \"total_quantity\": 5,\n        \"is_service_charge\": false,\n        \"imported_from_channels\": true,\n        \"merged_at\": null,\n        \"splitted_at\": null,\n        \"created_at\": \"2024-12-08T15:12:54.000000Z\",\n        \"updated_at\": \"2024-12-08T20:05:18.000000Z\",\n        \"deleted_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.370\"\n}"},{"id":"c9f2c88d-ee6d-49ff-b294-333e1b5f5943","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Test Item Name\",\r\n    \"quantity\": \"5\",\r\n    \"options\": \"test\",\r\n    \"unit_price\": 15.43,\r\n    \"unit_discount\": 5,\r\n    \"meta\": {\r\n        \"hs_code\": \"10203\",\r\n        \"country_id\": 5\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/{{order_item_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:06:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"233"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:06:36 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"meta.hs_code\": [\n                \"The HS Code must be between 6 and 10 digits.\"\n            ]\n        },\n        \"message\": \"The HS Code must be between 6 and 10 digits.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.053\"\n}"}],"_postman_id":"04284e57-e898-43ea-826e-8114f183aaf4"},{"name":"Delete","id":"34740311-fda5-4056-9218-30079246d493","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/{{order_item_id}}","description":"<p>This endpoint deletes a specified order item.</p>\n<h4 id=\"url-parameters\">URL Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order containing the item to delete. Must exist, be updatable, and not archived or deleted.</td>\n</tr>\n<tr>\n<td><code>order_item_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order item to delete. Must exist within the specified order and not be a child item.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>The <code>order_id</code> must reference an order in a status that allows updates.</p>\n</li>\n<li><p>The <code>order_item_id</code> must belong to the specified order, be active, and not a child item.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items","{{order_item_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"b8791cd9-131d-4aaa-a4fe-41a8d9759486","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/{{order_item_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:14:04 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:14:04 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"368cfade-2c02-40c1-876f-cef0b4f789c4","name":"Delete - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/{{order_item_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:14:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:14:22 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"order_item_id\": [\n                \"The selected Order Item is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Order Item is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.041\"\n}"}],"_postman_id":"34740311-fda5-4056-9218-30079246d493"},{"name":"Bulk Create","id":"08bd431b-4cf1-452b-adb5-805b465b7f71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_id\": 99,\r\n            \"name\": \"Test Item Name\",\r\n            \"quantity\": \"5\",\r\n            \"options\": \"test\",\r\n            \"unit_price\": 15.43,\r\n            \"unit_discount\": 5,\r\n            \"meta\": {\r\n                \"hs_code\": 102030,\r\n                \"country_id\": 5\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-create","description":"<p>This endpoint allows you to create multiple order items within a single order.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order to which the items will be added. Must exist, be updatable, and not archived or deleted.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>array</code></td>\n<td>List of items to add to the order. Must include at least one item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Name of the order item. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>items.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>The quantity of the order item. Must be at least 1.</td>\n</tr>\n<tr>\n<td><code>items.\\*.options</code></td>\n<td><code>string</code></td>\n<td>(Optional) Options or customizations for the order item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.meta</code></td>\n<td><code>array</code></td>\n<td>(Optional) Metadata for the order item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.meta.hs_code</code></td>\n<td><code>integer</code></td>\n<td>(Optional) HS code for the order item. Must be 6-10 digits.</td>\n</tr>\n<tr>\n<td><code>items.\\*.meta.country_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Country ID for the order item's origin. Must exist.</td>\n</tr>\n<tr>\n<td><code>items.\\*.inventory_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the associated inventory item. Must exist, be distinct, and belong to the company.</td>\n</tr>\n<tr>\n<td><code>items.\\*.unit_price</code></td>\n<td><code>decimal</code></td>\n<td>The price per unit of the order item. Must be greater than or equal to 0.</td>\n</tr>\n<tr>\n<td><code>items.\\*.unit_discount</code></td>\n<td><code>decimal</code></td>\n<td>(Optional) Discount per unit. Must be less than or equal to the <code>unit_price</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>The <code>order_id</code> must reference an order in a status that allows updates.</p>\n</li>\n<li><p>Validation ensures that <code>unit_price</code> and <code>unit_discount</code> are accurate and within allowed ranges.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"81d3d284-541d-4b8a-8db8-f073ac6d4c50","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_id\": 5,\r\n            \"name\": \"Test Item Name\",\r\n            \"quantity\": \"5\",\r\n            \"options\": \"test\",\r\n            \"unit_price\": 15.43,\r\n            \"unit_discount\": 5,\r\n            \"meta\": {\r\n                \"hs_code\": 102030,\r\n                \"country_id\": 5\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:21:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:21:59 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 203,\n            \"inventory_id\": 5,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.367\"\n}"},{"id":"de092280-93f6-43b4-81e1-ffbf79b104bf","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"inventory_id\": 599,\r\n            \"name\": \"Test Item Name\",\r\n            \"quantity\": \"5\",\r\n            \"options\": \"test\",\r\n            \"unit_price\": 15.43,\r\n            \"unit_discount\": 5,\r\n            \"meta\": {\r\n                \"hs_code\": 102030,\r\n                \"country_id\": 5\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:22:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:22:22 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"items.0.inventory_id\": [\n                \"The selected Inventory is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Inventory is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.046\"\n}"}],"_postman_id":"08bd431b-4cf1-452b-adb5-805b465b7f71"},{"name":"Bulk Update","id":"9c4bf3f9-2e62-4d1a-b517-a58227cc5f56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"order_item_id\": 131,\r\n            \"inventory_id\": 99,\r\n            \"name\": \"Test Item Name\",\r\n            \"quantity\": \"5\",\r\n            \"options\": \"test\",\r\n            \"unit_price\": 15.43,\r\n            \"unit_discount\": 5,\r\n            \"meta\": {\r\n                \"hs_code\": 102030,\r\n                \"country_id\": 5\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-update","description":"<p>This endpoint allows you to update multiple order items within a single order.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order containing the items to update. Must exist, be updatable, and not archived or deleted.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>array</code></td>\n<td>List of items to update within the order. Must include at least one item and up to 250 items.</td>\n</tr>\n<tr>\n<td><code>items.\\*.order_item_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order item to update. Must exist within the specified order and not be a child item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.name</code></td>\n<td><code>string</code></td>\n<td>(Optional) Updated name of the order item. Max 255 characters.</td>\n</tr>\n<tr>\n<td><code>items.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>Updated quantity of the order item. Must be at least 1.</td>\n</tr>\n<tr>\n<td><code>items.\\*.options</code></td>\n<td><code>string</code></td>\n<td>(Optional) Updated options or customizations for the order item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.meta</code></td>\n<td><code>array</code></td>\n<td>(Optional) Updated metadata for the order item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.meta.hs_code</code></td>\n<td><code>string</code></td>\n<td>(Optional) Updated HS code for the order item. Must be 6-10 digits.</td>\n</tr>\n<tr>\n<td><code>items.\\*.meta.country_id</code></td>\n<td><code>integer</code></td>\n<td>(Optional) Updated country ID for the order item's origin. Must exist.</td>\n</tr>\n<tr>\n<td><code>items.\\*.unit_price</code></td>\n<td><code>decimal</code></td>\n<td>Updated price per unit of the order item. Must be greater than or equal to 0.</td>\n</tr>\n<tr>\n<td><code>items.\\*.unit_discount</code></td>\n<td><code>decimal</code></td>\n<td>(Optional) Updated discount per unit. Must be less than or equal to the <code>unit_price</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>The <code>order_id</code> must reference an order in a status that allows updates.</p>\n</li>\n<li><p>Each <code>order_item_id</code> must exist within the specified order, and only direct items (not child items) can be updated.</p>\n</li>\n<li><p>Validation ensures accurate and logical values for <code>unit_price</code> and <code>unit_discount</code>.</p>\n</li>\n<li><p>Bulk updates are limited to a maximum of 250 items per request.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"7090d7ca-62c0-4886-884a-4041414715c4","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"order_item_id\": 132,\r\n            \"inventory_id\": 99,\r\n            \"name\": \"Test Item Name\",\r\n            \"quantity\": \"5\",\r\n            \"options\": \"test\",\r\n            \"unit_price\": 15.43,\r\n            \"unit_discount\": 5,\r\n            \"meta\": {\r\n                \"hs_code\": \"102030\",\r\n                \"country_id\": 5\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:39:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:39:42 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 132,\n            \"inventory_id\": 73,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.485\"\n}"},{"id":"a568ad37-9ce9-43d6-8485-dde505ec4c84","name":"Bulk Create - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"order_item_id\": 132,\r\n            \"inventory_id\": 99,\r\n            \"name\": \"Test Item Name\",\r\n            \"quantity\": \"5\",\r\n            \"options\": \"test\",\r\n            \"unit_price\": 15.43,\r\n            \"unit_discount\": 5,\r\n            \"meta\": {\r\n                \"hs_code\": \"10200\",\r\n                \"country_id\": 5\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:40:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:40:15 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"items.0.meta.hs_code\": [\n                \"The HS Code must be between 6 and 10 digits.\"\n            ]\n        },\n        \"message\": \"The HS Code must be between 6 and 10 digits.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.054\"\n}"}],"_postman_id":"9c4bf3f9-2e62-4d1a-b517-a58227cc5f56"},{"name":"Bulk Delete","id":"e93d1e96-c45f-49db-811e-44a227977cdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"order_item_ids\": [132]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-delete","description":"<p>This endpoint allows you to delete multiple order items within a single order.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the order containing the items to delete. Must exist, be updatable, and not archived or deleted.</td>\n</tr>\n<tr>\n<td><code>order_item_ids</code></td>\n<td><code>array</code></td>\n<td>List of order item IDs to delete. Must include at least one item and up to 250 items.</td>\n</tr>\n<tr>\n<td><code>order_item_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each order item to delete. Must exist within the specified order and not be deleted.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>The <code>order_id</code> must reference an order in a status that allows updates.</p>\n</li>\n<li><p>Each <code>order_item_id</code> must belong to the specified order and must not already be deleted.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","items","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"93495f7a-f79b-46ae-984c-b57b5da51065","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"order_item_ids\": [132]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:59:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:59:16 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 132,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"3.408\"\n}"},{"id":"ea5a14b0-57b6-4487-b854-8f64ee87b49e","name":"Bulk Delete - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"order_item_ids\": [132]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/items/bulk-delete"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 20:59:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 20:59:34 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"order_item_ids.0\": [\n                \"The selected Order Items is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Order Items is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.045\"\n}"}],"_postman_id":"e93d1e96-c45f-49db-811e-44a227977cdd"}],"id":"7341afb5-78c4-4277-a635-1b8866e103ac","_postman_id":"7341afb5-78c4-4277-a635-1b8866e103ac","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Statuses","id":"185d82f9-34ca-4889-845a-5208f0f12172","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/orders/statuses","description":"<p>This endpoint retrieves a list of all available order statuses in the system.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","statuses"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"1406903b-f6dc-4954-b649-5d3a3ba05f76","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/orders/statuses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 19:40:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 19:40:49 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"DRAFT\": 0,\n        \"RECEIVED\": 1,\n        \"PROCESSING\": 2,\n        \"PICKING\": 3,\n        \"PARTIALLY_PICKED\": 4,\n        \"PICKED\": 5,\n        \"PACKING\": 6,\n        \"DESPATCHED\": 7,\n        \"CANCELLED\": 8,\n        \"RETURNED\": 9,\n        \"PARTIALLY_RETURNED\": 10,\n        \"SORTING\": 11,\n        \"SORTED\": 12,\n        \"BACKORDER\": 13\n    },\n    \"success\": true,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"185d82f9-34ca-4889-845a-5208f0f12172"},{"name":"Index","id":"2f621f7c-85ab-4aef-8cf4-e02583aaea54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/orders?includes=totals","description":"<p>This endpoint retrieves a list of orders with optional filters and related data inclusion.</p>\n<h4 id=\"filters\">Filters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>store_id</code></td>\n<td><code>integer</code></td>\n<td>Filter orders by store ID. Supports multiple IDs.</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td><code>integer</code></td>\n<td>Filter orders by channel ID. Supports multiple IDs.</td>\n</tr>\n<tr>\n<td><code>order_number</code></td>\n<td><code>string</code></td>\n<td>Filter orders by order number. Supports partial matches and multiple values.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"includes\">Includes:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Relation</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>store</code></td>\n<td>Include store details.</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Include channel details.</td>\n</tr>\n<tr>\n<td><code>totals</code></td>\n<td>Include order total details.</td>\n</tr>\n<tr>\n<td><code>totals.currency</code></td>\n<td>Include currency information for totals.</td>\n</tr>\n<tr>\n<td><code>meta</code></td>\n<td>Include metadata for the order.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>Include order notes.</td>\n</tr>\n<tr>\n<td><code>channel.settings</code></td>\n<td>Include channel settings.</td>\n</tr>\n<tr>\n<td><code>allocation</code></td>\n<td>Include allocation details.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td>Include order items.</td>\n</tr>\n<tr>\n<td><code>items.allocate</code></td>\n<td>Include allocation details for items.</td>\n</tr>\n<tr>\n<td><code>items.inventory</code></td>\n<td>Include inventory details for items.</td>\n</tr>\n<tr>\n<td><code>items.inventory.meta</code></td>\n<td>Include metadata for item inventory.</td>\n</tr>\n<tr>\n<td><code>items.inventory.barcodes</code></td>\n<td>Include barcodes for item inventory.</td>\n</tr>\n<tr>\n<td><code>items.total</code></td>\n<td>Include totals for items.</td>\n</tr>\n<tr>\n<td><code>items.meta</code></td>\n<td>Include metadata for items.</td>\n</tr>\n<tr>\n<td><code>items.options</code></td>\n<td>Include options for items.</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>Include customer details.</td>\n</tr>\n<tr>\n<td><code>customer.fileManager</code></td>\n<td>Include customer's file manager details.</td>\n</tr>\n<tr>\n<td><code>customer.contact</code></td>\n<td>Include customer contact details.</td>\n</tr>\n<tr>\n<td><code>customerContact</code></td>\n<td>Include primary customer contact details.</td>\n</tr>\n<tr>\n<td><code>customerContact.contact</code></td>\n<td>Include primary contact details.</td>\n</tr>\n<tr>\n<td><code>customerContact.fileManager</code></td>\n<td>Include file manager details for the contact.</td>\n</tr>\n<tr>\n<td><code>shippingAddress</code></td>\n<td>Include shipping address details.</td>\n</tr>\n<tr>\n<td><code>shippingAddress.address</code></td>\n<td>Include shipping address information.</td>\n</tr>\n<tr>\n<td><code>shippingAddress.address.country</code></td>\n<td>Include country details for the shipping address.</td>\n</tr>\n<tr>\n<td><code>shippingAddress.contact</code></td>\n<td>Include contact details for the shipping address.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress</code></td>\n<td>Include invoice address details.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress.address</code></td>\n<td>Include invoice address information.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress.address.country</code></td>\n<td>Include country details for the invoice address.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress.contact</code></td>\n<td>Include contact details for the invoice address.</td>\n</tr>\n<tr>\n<td><code>preferredCourierService</code></td>\n<td>Include preferred courier service details.</td>\n</tr>\n<tr>\n<td><code>preferredCourierService.courierService</code></td>\n<td>Include courier service details.</td>\n</tr>\n<tr>\n<td><code>preferredCourierService.courierService.courier</code></td>\n<td>Include courier details.</td>\n</tr>\n<tr>\n<td><code>statusTimeline</code></td>\n<td>Include status timeline details for the order.</td>\n</tr>\n<tr>\n<td><code>shipment</code></td>\n<td>Include shipment details.</td>\n</tr>\n<tr>\n<td><code>shipment.meta</code></td>\n<td>Include metadata for the shipment.</td>\n</tr>\n<tr>\n<td><code>shipment.shipmentFile</code></td>\n<td>Include shipment file details.</td>\n</tr>\n<tr>\n<td><code>shipment.courierService.courier</code></td>\n<td>Include courier details for the shipment.</td>\n</tr>\n<tr>\n<td><code>shipment.parcels.tracking</code></td>\n<td>Include tracking details for shipment parcels.</td>\n</tr>\n<tr>\n<td><code>shipment.parcels.tracking.timeline</code></td>\n<td>Include timeline details for parcel tracking.</td>\n</tr>\n<tr>\n<td><code>shipment.parcels.tracking.timeline.images</code></td>\n<td>Include images for parcel tracking timeline.</td>\n</tr>\n<tr>\n<td><code>mergedOrderTotals</code></td>\n<td>Include merged order totals.</td>\n</tr>\n<tr>\n<td><code>mergedOrderTotals.mergedOrder</code></td>\n<td>Include details of merged orders.</td>\n</tr>\n<tr>\n<td><code>tags.tag</code></td>\n<td>Include order tags.</td>\n</tr>\n<tr>\n<td><code>folder.folder</code></td>\n<td>Include folder details for the order.</td>\n</tr>\n<tr>\n<td><code>events</code></td>\n<td>Include events related to the order.</td>\n</tr>\n<tr>\n<td><code>user</code></td>\n<td>Include user details associated with the order.</td>\n</tr>\n<tr>\n<td><code>payment</code></td>\n<td>Include payment details for the order.</td>\n</tr>\n<tr>\n<td><code>refund</code></td>\n<td>Include refund details for the order.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Use filters to narrow down the list of orders.</p>\n</li>\n<li><p>Use <code>includes</code> to specify which related data should be returned in the response.</p>\n</li>\n<li><p>Supports combining multiple <code>includes</code> for comprehensive details.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"totals"}],"variable":[]}},"response":[{"id":"c0b56741-5e18-4e1d-a109-8b31621e6aa9","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/orders?includes=totals","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","orders"],"query":[{"key":"includes","value":"totals"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Nov 2024 20:20:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6Ikl4YjY1Mk9XS1I3N3lUTXhDSnA0Snc9PSIsInZhbHVlIjoiL3N3Mi8rVzcwUHg0dHBDOWFMU1NQVnp0ajBBUVJGaW5OOFdFdE1veENhYXE1RVlOUWhsVEVMeFNvaE4vVzlsOHVlRHgxL1pmY0lGazBuTmN0V29qQVp2dHJYYkFITFU4U0F2Zlg5MFR3RllLakJLTm1FVGxmakV0L1FPVmU0UmYiLCJtYWMiOiIyODFkYjM0OTc1ZDg0YzgwMzVkMTM3MTE1YmQwZWYyNjExMWVmYjZiODIxNGI5OWY3NjM2ZjA4MDQ4ODY0ZTM1IiwidGFnIjoiIn0%3D; expires=Thu, 26 Dec 2024 20:20:21 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=IL0je8x8yzYk1eZNqkd1Xdqisf9VYUEiLnbDHF2X; expires=Thu, 26 Dec 2024 20:20:21 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 10,\n            \"company_id\": 1,\n            \"user_id\": 1,\n            \"store_id\": 1,\n            \"channel_id\": 1,\n            \"order_number\": \"OR-5CE403D9\",\n            \"channel_order_id\": null,\n            \"remote_id\": null,\n            \"remote_alt_id\": null,\n            \"customer_id\": null,\n            \"shipping_address_id\": null,\n            \"invoice_address_id\": null,\n            \"is_hold\": false,\n            \"previous_status\": 0,\n            \"status\": 0,\n            \"order_date\": \"2024-11-25T20:48:34.000000Z\",\n            \"order_type\": 2,\n            \"is_manual\": true,\n            \"is_fulfillable\": false,\n            \"totals\": {\n                \"id\": 10,\n                \"currency_id\": 1,\n                \"currency_rate\": 1,\n                \"total_price\": \"1794.0000\",\n                \"total_tax\": 0,\n                \"tax_rate\": 0,\n                \"total_shipping\": 0,\n                \"discount\": 0,\n                \"total_discount\": 0,\n                \"subtotal\": 1794\n            },\n            \"active_shipment_exists\": false,\n            \"despatchable\": {\n                \"despatchable\": false,\n                \"message\": \"Orders with Draft status cannot be despatched.\"\n            },\n            \"is_splitted\": false,\n            \"total_quantity\": 13,\n            \"created_at\": \"2024-11-25T20:48:34.000000Z\",\n            \"despatched_at\": null,\n            \"customer_changed_at\": null,\n            \"despatch_target_date\": null,\n            \"is_merged\": 0,\n            \"merged_at\": null,\n            \"merged_order_id\": null,\n            \"archived_at\": null,\n            \"cancelled_at\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.262\"\n}"}],"_postman_id":"2f621f7c-85ab-4aef-8cf4-e02583aaea54"},{"name":"Show","id":"52fc404c-4665-40c9-a234-f1e403e7a519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}?includes=store","description":"<p>This endpoint retrieves detailed information about a specific order, including optional related data.</p>\n<h4 id=\"includes\">Includes:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Relation</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>store</code></td>\n<td>Include store details.</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>Include channel details.</td>\n</tr>\n<tr>\n<td><code>totals</code></td>\n<td>Include order total details.</td>\n</tr>\n<tr>\n<td><code>totals.currency</code></td>\n<td>Include currency information for totals.</td>\n</tr>\n<tr>\n<td><code>meta</code></td>\n<td>Include metadata for the order.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>Include order notes.</td>\n</tr>\n<tr>\n<td><code>channel.settings</code></td>\n<td>Include channel settings.</td>\n</tr>\n<tr>\n<td><code>allocation</code></td>\n<td>Include allocation details.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td>Include order items.</td>\n</tr>\n<tr>\n<td><code>items.allocate</code></td>\n<td>Include allocation details for items.</td>\n</tr>\n<tr>\n<td><code>items.inventory</code></td>\n<td>Include inventory details for items.</td>\n</tr>\n<tr>\n<td><code>items.inventory.meta</code></td>\n<td>Include metadata for item inventory.</td>\n</tr>\n<tr>\n<td><code>items.inventory.barcodes</code></td>\n<td>Include barcodes for item inventory.</td>\n</tr>\n<tr>\n<td><code>items.total</code></td>\n<td>Include totals for items.</td>\n</tr>\n<tr>\n<td><code>items.meta</code></td>\n<td>Include metadata for items.</td>\n</tr>\n<tr>\n<td><code>items.options</code></td>\n<td>Include options for items.</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>Include customer details.</td>\n</tr>\n<tr>\n<td><code>customer.fileManager</code></td>\n<td>Include customer's file manager details.</td>\n</tr>\n<tr>\n<td><code>customer.contact</code></td>\n<td>Include customer contact details.</td>\n</tr>\n<tr>\n<td><code>customerContact</code></td>\n<td>Include primary customer contact details.</td>\n</tr>\n<tr>\n<td><code>customerContact.contact</code></td>\n<td>Include primary contact details.</td>\n</tr>\n<tr>\n<td><code>customerContact.fileManager</code></td>\n<td>Include file manager details for the contact.</td>\n</tr>\n<tr>\n<td><code>shippingAddress</code></td>\n<td>Include shipping address details.</td>\n</tr>\n<tr>\n<td><code>shippingAddress.address</code></td>\n<td>Include shipping address information.</td>\n</tr>\n<tr>\n<td><code>shippingAddress.address.country</code></td>\n<td>Include country details for the shipping address.</td>\n</tr>\n<tr>\n<td><code>shippingAddress.contact</code></td>\n<td>Include contact details for the shipping address.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress</code></td>\n<td>Include invoice address details.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress.address</code></td>\n<td>Include invoice address information.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress.address.country</code></td>\n<td>Include country details for the invoice address.</td>\n</tr>\n<tr>\n<td><code>invoiceAddress.contact</code></td>\n<td>Include contact details for the invoice address.</td>\n</tr>\n<tr>\n<td><code>preferredCourierService</code></td>\n<td>Include preferred courier service details.</td>\n</tr>\n<tr>\n<td><code>preferredCourierService.courierService</code></td>\n<td>Include courier service details.</td>\n</tr>\n<tr>\n<td><code>preferredCourierService.courierService.courier</code></td>\n<td>Include courier details.</td>\n</tr>\n<tr>\n<td><code>statusTimeline</code></td>\n<td>Include status timeline details for the order.</td>\n</tr>\n<tr>\n<td><code>shipment</code></td>\n<td>Include shipment details.</td>\n</tr>\n<tr>\n<td><code>shipment.meta</code></td>\n<td>Include metadata for the shipment.</td>\n</tr>\n<tr>\n<td><code>shipment.shipmentFile</code></td>\n<td>Include shipment file details.</td>\n</tr>\n<tr>\n<td><code>shipment.courierService.courier</code></td>\n<td>Include courier details for the shipment.</td>\n</tr>\n<tr>\n<td><code>shipment.parcels.tracking</code></td>\n<td>Include tracking details for shipment parcels.</td>\n</tr>\n<tr>\n<td><code>shipment.parcels.tracking.timeline</code></td>\n<td>Include timeline details for parcel tracking.</td>\n</tr>\n<tr>\n<td><code>shipment.parcels.tracking.timeline.images</code></td>\n<td>Include images for parcel tracking timeline.</td>\n</tr>\n<tr>\n<td><code>mergedOrderTotals</code></td>\n<td>Include merged order totals.</td>\n</tr>\n<tr>\n<td><code>mergedOrderTotals.mergedOrder</code></td>\n<td>Include details of merged orders.</td>\n</tr>\n<tr>\n<td><code>tags.tag</code></td>\n<td>Include order tags.</td>\n</tr>\n<tr>\n<td><code>folder.folder</code></td>\n<td>Include folder details for the order.</td>\n</tr>\n<tr>\n<td><code>events</code></td>\n<td>Include events related to the order.</td>\n</tr>\n<tr>\n<td><code>user</code></td>\n<td>Include user details associated with the order.</td>\n</tr>\n<tr>\n<td><code>payment</code></td>\n<td>Include payment details for the order.</td>\n</tr>\n<tr>\n<td><code>refund</code></td>\n<td>Include refund details for the order.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Use the <code>includes</code> query parameter to specify which related data to include in the response.</p>\n</li>\n<li><p>Supports combining multiple <code>includes</code> for comprehensive order details.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"store"}],"variable":[]}},"response":[{"id":"2341ffdb-2f52-44b3-8cc5-a9e428a6d35d","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}?includes=store","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","orders","{{order_id}}"],"query":[{"key":"includes","value":"store"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Nov 2024 20:21:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6Im1VeGVpSk5TQ05KT3BBaHpZSFNFbEE9PSIsInZhbHVlIjoiRFZKeEl1SE50T1U4d3prYlZBYWpFQjlISXZWa01CWTlZWGNzcXR0ZEY4TGM3anFIa1FxaVd6M1RiS2Z3V2RONDVPTk9scURsc1Y1NVlFeEo0bjByZ1BMUXVJOS9DZ3Y4V0IyOGY4UmYrMFgrNXNqaTJQRmZKQkRHTWo2d1lSMEIiLCJtYWMiOiIwZmQ5NTIwNDg5MWVkNDhkMGZkZDA5NzY4ZWQyOWFlYWE2ZjNlMDFiOWQ1ODY4ZjEyOGRkYTM4ZDQ3NjFhYzAyIiwidGFnIjoiIn0%3D; expires=Thu, 26 Dec 2024 20:21:38 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=xuhKW5LiVyX02UlPPW4UctXGY6cmh2uX8L2TkZWx; expires=Thu, 26 Dec 2024 20:21:38 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 10,\n        \"company_id\": 1,\n        \"user_id\": 1,\n        \"store_id\": 1,\n        \"channel_id\": 1,\n        \"order_number\": \"OR-5CE403D9\",\n        \"channel_order_id\": null,\n        \"remote_id\": null,\n        \"remote_alt_id\": null,\n        \"customer_id\": null,\n        \"shipping_address_id\": null,\n        \"invoice_address_id\": null,\n        \"is_hold\": false,\n        \"previous_status\": 0,\n        \"status\": 0,\n        \"order_date\": \"2024-11-25T20:48:34.000000Z\",\n        \"order_type\": 2,\n        \"is_manual\": true,\n        \"is_fulfillable\": false,\n        \"store\": {\n            \"id\": 1,\n            \"company_id\": 1,\n            \"name\": \"My Store\",\n            \"created_at\": \"2024-11-18T10:19:05.000000Z\",\n            \"updated_at\": \"2024-11-18T10:19:05.000000Z\"\n        },\n        \"hasMergedOrders\": false,\n        \"active_shipment_exists\": false,\n        \"despatchable\": {\n            \"despatchable\": false,\n            \"message\": \"Orders with Draft status cannot be despatched.\"\n        },\n        \"is_splitted\": false,\n        \"created_at\": \"2024-11-25T20:48:34.000000Z\",\n        \"despatched_at\": null,\n        \"customer_changed_at\": null,\n        \"despatch_target_date\": null,\n        \"is_merged\": 0,\n        \"merged_at\": null,\n        \"merged_order_id\": null,\n        \"archived_at\": null,\n        \"cancelled_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.040\"\n}"},{"id":"5faeef69-068b-4dd4-b88b-ea02c9fef65d","name":"Show - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}?includes=store","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","orders","{{order_id}}"],"query":[{"key":"includes","value":"store"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Nov 2024 20:22:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6Im1JVTdYTXA5cGxmd0VmTDVCNk0yM3c9PSIsInZhbHVlIjoibkxvNlVSSFg3WkxCem9SQlhuZkNOUmdxdlJnZzF4aXlVVDJMenMzMzBZWE4yQVRYVEJVUkpqL1BOZUsvNEdVNnREZzh3MG83M1lCRTBTd2Z3YmwyZHR4NnBoWDJpOXVKaVZ4QXczMWlrNUhLQ2dIa2pqbjlGVFZqTHgwV25Mc2siLCJtYWMiOiJjNjI5ZjVmNTQ5OTg5ZDIyNDYwMTgwNzcwMTBhNzE4OTM1YjVlYjRkY2FlMjA0YWRjNzVlMGEzYTM2Y2VkMzI4IiwidGFnIjoiIn0%3D; expires=Thu, 26 Dec 2024 20:22:00 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=SLC8aehCCFcP8fHQQrrrAMVWIvj3SVvPwAyDFzwJ; expires=Thu, 26 Dec 2024 20:22:00 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"order_id\": [\n                \"The selected Order is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Order is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.037\"\n}"}],"_postman_id":"52fc404c-4665-40c9-a234-f1e403e7a519"},{"name":"Create","id":"ed36bc33-6a89-4eec-81e4-6c1bf3bdea1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 5,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"country_iso_code\": \"GB\",\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders","description":"<p>This endpoint allows you to create a new order with customer, shipping, and item details.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td><code>string</code></td>\n<td>Order status. Must be <code>draft</code> or <code>new_order</code>.</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the channel associated with the order. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>is_hold</code></td>\n<td><code>boolean</code></td>\n<td>Optional flag to mark the order on hold.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td><code>string</code></td>\n<td>Optional reference for the order.</td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td><code>string</code></td>\n<td>Payment method used.</td>\n</tr>\n<tr>\n<td><code>payment_reference</code></td>\n<td><code>string</code></td>\n<td>Payment reference details.</td>\n</tr>\n<tr>\n<td><code>currency_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the currency used. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td><code>array</code></td>\n<td>Customer details. Must include <code>id</code>, <code>name</code>, <code>surname</code>, <code>email</code>, and <code>is_company</code> fields.</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td><code>array</code></td>\n<td>Shipping address details. Required if <code>is_invoice_same_as_shipping</code> is false.</td>\n</tr>\n<tr>\n<td><code>totals</code></td>\n<td><code>array</code></td>\n<td>Order total details. Must include <code>total_shipping</code> and <code>discount</code>.</td>\n</tr>\n<tr>\n<td><code>courier</code></td>\n<td><code>array</code></td>\n<td>Optional courier details. Includes <code>courier_service_id</code> and courier references.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>array</code></td>\n<td>Array of items to include in the order. Each item requires <code>inventory_id</code>, <code>quantity</code>, and <code>unit_price</code>.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td><code>array</code></td>\n<td>Optional order notes, such as delivery, gift, or customer notes.</td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the folder to categorize the order.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td><code>array</code></td>\n<td>Tags to associate with the order.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>If <code>is_invoice_same_as_shipping</code> is false, the <code>invoice_address</code> parameter is required.</p>\n</li>\n<li><p>Each item in the <code>items</code> array requires a <code>unit_price</code> and can optionally include <code>unit_discount</code>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"eb9b777e-858b-4e45-964f-aefed39b96dc","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 1,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"102030\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"country_iso_code\": \"GB\",\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"country_iso_code\": \"GB\",\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": null,\r\n        \"is_locked\": false,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 Nov 2024 20:45:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=uzNZdoGUozb808OxA60SWmwNHN3DR6a3IoVQRFKz; expires=Fri, 29 Nov 2024 22:45:45 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 103,\n        \"company_id\": 1,\n        \"user_id\": 1,\n        \"store_id\": 1,\n        \"channel_id\": 1,\n        \"order_number\": \"OR-D3E981F0\",\n        \"channel_order_id\": null,\n        \"remote_id\": \"123123\",\n        \"remote_alt_id\": null,\n        \"customer_id\": null,\n        \"shipping_address_id\": null,\n        \"invoice_address_id\": null,\n        \"is_hold\": false,\n        \"previous_status\": null,\n        \"status\": 0,\n        \"order_date\": \"2024-11-29T20:45:45.000000Z\",\n        \"order_type\": 4,\n        \"is_manual\": true,\n        \"is_fulfillable\": null,\n        \"created_at\": \"2024-11-29T20:45:45.000000Z\",\n        \"despatched_at\": null,\n        \"customer_changed_at\": null,\n        \"despatch_target_date\": null,\n        \"is_merged\": null,\n        \"merged_at\": null,\n        \"merged_order_id\": null,\n        \"archived_at\": null,\n        \"cancelled_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.767\"\n}"},{"id":"3510f559-3a0a-48a5-ae37-78b6b6e20c5c","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 1,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"country_iso_code\": \"GB\",\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"country_iso_code\": \"GB\",\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 Nov 2024 20:46:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=uzNZdoGUozb808OxA60SWmwNHN3DR6a3IoVQRFKz; expires=Fri, 29 Nov 2024 22:46:23 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"courier.courier_service_id\": [\n                \"The selected courier.courier service id is invalid.\"\n            ],\n            \"items.0.meta.hs_code\": [\n                \"The HS Code must be a number.\",\n                \"The HS Code must be between 6 and 10 digits.\"\n            ]\n        },\n        \"message\": \"The selected courier.courier service id is invalid. (and 2 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.059\"\n}"}],"_postman_id":"ed36bc33-6a89-4eec-81e4-6c1bf3bdea1e"},{"name":"Bulk Create","id":"302c23e3-524e-4f71-9d6f-fc54eae6ccd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [\r\n        {\r\n            \"status\": 0,\r\n            \"channel_id\": 1,\r\n            \"is_hold\": false,\r\n            \"reference\": \"123123\",\r\n            \"payment_method\": \"Bank Transfer\",\r\n            \"payment_reference\": \"BT-123\",\r\n            \"currency_id\": 1,\r\n            \"items\": [\r\n                {\r\n                    \"name\": \"Item Name\",\r\n                    \"inventory_id\": 1,\r\n                    \"quantity\": 5,\r\n                    \"unit_price\": 5,\r\n                    \"unit_discount\": 1,\r\n                    \"meta\": {\r\n                        \"hs_code\": \"HS Code\",\r\n                        \"country_id\": 1\r\n                    },\r\n                    \"options\": \"Red colour\"\r\n                }\r\n            ],\r\n            \"customer\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"email\": \"mail@example.com\",\r\n                \"phone\": \"123\",\r\n                \"is_company\": true,\r\n                \"company_name\": \"Despatch Cloud\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"country_iso_code\": \"GB\",\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"is_invoice_same_as_shipping\": false,\r\n            \"invoice_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"country_iso_code\": \"GB\",\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"totals\": {\r\n                \"total_shipping\": 1,\r\n                \"discount\": 1\r\n            },\r\n            \"courier\": {\r\n                \"courier_service_id\": 1,\r\n                \"is_locked\": true,\r\n                \"label_reference\": 1,\r\n                \"label_secondary_reference\": 2\r\n            },\r\n            \"notes\": {\r\n                \"delivery_note\": \"Delivery note\",\r\n                \"gift_note\": \"Gift Note\",\r\n                \"customer_note\": \"Customer Note\"\r\n            },\r\n            \"folder_id\": 1,\r\n            \"tags\": [\r\n                \"test\"\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-create","description":"<p>This endpoint allows creating multiple orders in a single request. Each order must include basic details, items, and optionally customer and shipping information.</p>\n<h4 id=\"request-parameters\">Request Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>orders</code></td>\n<td><code>array</code></td>\n<td>List of orders to be created. Maximum of 250 orders per request.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.status</code></td>\n<td><code>string</code></td>\n<td>Order status. Allowed values: <code>draft</code>, <code>new_order</code>.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.channel_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the order channel. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.is_hold</code></td>\n<td><code>boolean</code></td>\n<td>Optional flag to mark the order as on hold.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.reference</code></td>\n<td><code>string</code></td>\n<td>Optional order reference.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.payment_method</code></td>\n<td><code>string</code></td>\n<td>Payment method.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.payment_reference</code></td>\n<td><code>string</code></td>\n<td>Payment reference details.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.currency_id</code></td>\n<td><code>integer</code></td>\n<td>Currency ID. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.totals</code></td>\n<td><code>array</code></td>\n<td>Order totals. Must include <code>total_shipping</code> and optionally <code>discount</code>.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.courier</code></td>\n<td><code>array</code></td>\n<td>Optional courier details (e.g., <code>courier_service_id</code>).</td>\n</tr>\n<tr>\n<td><code>orders.\\*.items</code></td>\n<td><code>array</code></td>\n<td>List of items for the order. Each item requires <code>inventory_id</code>, <code>quantity</code>, and <code>unit_price</code>.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.notes</code></td>\n<td><code>array</code></td>\n<td>Optional order notes such as delivery or gift notes.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.folder_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the folder to categorize the order.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.tags</code></td>\n<td><code>array</code></td>\n<td>List of tags to associate with the order.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer</code></td>\n<td><code>array</code></td>\n<td>Customer details. Must include <code>id</code>, <code>name</code>, <code>surname</code>, <code>email</code>, and <code>is_company</code>.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.shipping_address</code></td>\n<td><code>array</code></td>\n<td>Optional shipping address details. Required if <code>is_invoice_same_as_shipping</code> is false.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.is_invoice_same_as_shipping</code></td>\n<td><code>boolean</code></td>\n<td>Indicates if the invoice address is the same as the shipping address.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Each item in the <code>orders.\\*.items</code> array requires a <code>unit_price</code> and can optionally include <code>unit_discount</code>.</p>\n</li>\n<li><p>If <code>is_invoice_same_as_shipping</code> is false, the <code>invoice_address</code> parameter must be provided.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"ba59a7dd-2bae-47d2-b6e0-8810d08c9b82","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [\r\n        {\r\n            \"status\": 0,\r\n            \"channel_id\": 1,\r\n            \"is_hold\": false,\r\n            \"reference\": \"123123\",\r\n            \"payment_method\": \"Bank Transfer\",\r\n            \"payment_reference\": \"BT-123\",\r\n            \"currency_id\": 1,\r\n            \"items\": [\r\n                {\r\n                    \"name\": \"Item Name\",\r\n                    \"inventory_id\": 1,\r\n                    \"quantity\": 5,\r\n                    \"unit_price\": 5,\r\n                    \"unit_discount\": 1,\r\n                    \"meta\": {\r\n                        \"hs_code\": \"102030\",\r\n                        \"country_id\": 1\r\n                    },\r\n                    \"options\": \"Red colour\"\r\n                }\r\n            ],\r\n            \"customer\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"email\": \"mail@example.com\",\r\n                \"phone\": \"123\",\r\n                \"is_company\": true,\r\n                \"company_name\": \"Despatch Cloud\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"country_iso_code\": \"GB\",\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"is_invoice_same_as_shipping\": false,\r\n            \"invoice_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"country_iso_code\": \"GB\",\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"totals\": {\r\n                \"total_shipping\": 1,\r\n                \"discount\": 1\r\n            },\r\n            \"courier\": {\r\n                \"courier_service_id\": null,\r\n                \"is_locked\": true,\r\n                \"label_reference\": 1,\r\n                \"label_secondary_reference\": 2\r\n            },\r\n            \"notes\": {\r\n                \"delivery_note\": \"Delivery note\",\r\n                \"gift_note\": \"Gift Note\",\r\n                \"customer_note\": \"Customer Note\"\r\n            },\r\n            \"folder_id\": 1,\r\n            \"tags\": [\r\n                \"test\"\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 Nov 2024 21:33:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=uzNZdoGUozb808OxA60SWmwNHN3DR6a3IoVQRFKz; expires=Fri, 29 Nov 2024 23:33:44 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 104,\n            \"order_number\": \"OR-FA5E04DB\",\n            \"remote_id\": \"123123\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"1.042\"\n}"},{"id":"d4cc74c7-09c2-4f7e-bba2-9179a9e18e45","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [\r\n        {\r\n            \"status\": 0,\r\n            \"channel_id\": 1,\r\n            \"is_hold\": false,\r\n            \"reference\": \"123123\",\r\n            \"payment_method\": \"Bank Transfer\",\r\n            \"payment_reference\": \"BT-123\",\r\n            \"currency_id\": 1,\r\n            \"items\": [\r\n                {\r\n                    \"name\": \"Item Name\",\r\n                    \"inventory_id\": 1,\r\n                    \"quantity\": 5,\r\n                    \"unit_price\": 5,\r\n                    \"unit_discount\": 1,\r\n                    \"meta\": {\r\n                        \"hs_code\": \"HS Code\",\r\n                        \"country_id\": 1\r\n                    },\r\n                    \"options\": \"Red colour\"\r\n                }\r\n            ],\r\n            \"customer\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"email\": \"mail@example.com\",\r\n                \"phone\": \"123\",\r\n                \"is_company\": true,\r\n                \"company_name\": \"Despatch Cloud\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"country_iso_code\": \"GB\",\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"is_invoice_same_as_shipping\": false,\r\n            \"invoice_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"country_iso_code\": \"GB\",\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"totals\": {\r\n                \"total_shipping\": 1,\r\n                \"discount\": 1\r\n            },\r\n            \"courier\": {\r\n                \"courier_service_id\": 1,\r\n                \"is_locked\": true,\r\n                \"label_reference\": 1,\r\n                \"label_secondary_reference\": 2\r\n            },\r\n            \"notes\": {\r\n                \"delivery_note\": \"Delivery note\",\r\n                \"gift_note\": \"Gift Note\",\r\n                \"customer_note\": \"Customer Note\"\r\n            },\r\n            \"folder_id\": 1,\r\n            \"tags\": [\r\n                \"test\"\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 Nov 2024 21:38:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=uzNZdoGUozb808OxA60SWmwNHN3DR6a3IoVQRFKz; expires=Fri, 29 Nov 2024 23:38:21 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"orders.0.courier.courier_service_id\": [\n                \"The selected Courier Service is invalid.\"\n            ],\n            \"orders.0.items.0.meta.hs_code\": [\n                \"The HS Code must be a number.\",\n                \"The HS Code must be between 6 and 10 digits.\"\n            ]\n        },\n        \"message\": \"The selected Courier Service is invalid. (and 2 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.072\"\n}"}],"_postman_id":"302c23e3-524e-4f71-9d6f-fc54eae6ccd6"},{"name":"Update","id":"9c81f49a-6563-45dd-b3ac-e5ab1a026749","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 1,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 1,\r\n    \"items\": [\r\n        {\r\n            \"id\": 187,\r\n            \"name\": \"Item Name\",\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"203040\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": null,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}","description":"<p>This endpoint allows updating an existing order. You can modify the order's details, customer information, shipping address, items, and more.</p>\n<hr />\n<h4 id=\"request-parameters\">Request Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the order to update. Must exist in the system and not be deleted.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>string</code></td>\n<td>Optional new status for the order. Allowed value: <code>new_order</code>.</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td><code>integer</code></td>\n<td>Optional ID of the order channel. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>is_hold</code></td>\n<td><code>boolean</code></td>\n<td>Optional flag to mark the order as on hold.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td><code>string</code></td>\n<td>Optional order reference.</td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td><code>string</code></td>\n<td>Optional payment method.</td>\n</tr>\n<tr>\n<td><code>payment_reference</code></td>\n<td><code>string</code></td>\n<td>Optional payment reference details.</td>\n</tr>\n<tr>\n<td><code>shipping_method</code></td>\n<td><code>string</code></td>\n<td>Optional shipping method.</td>\n</tr>\n<tr>\n<td><code>currency_id</code></td>\n<td><code>integer</code></td>\n<td>Optional currency ID. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td><code>object</code></td>\n<td>Optional updated customer details.</td>\n</tr>\n<tr>\n<td><code>customer.id</code></td>\n<td><code>integer</code></td>\n<td>Customer ID. Must exist in the system and belong to the same company.</td>\n</tr>\n<tr>\n<td><code>customer.name</code></td>\n<td><code>string</code></td>\n<td>Customer's name.</td>\n</tr>\n<tr>\n<td><code>customer.surname</code></td>\n<td><code>string</code></td>\n<td>Customer's surname.</td>\n</tr>\n<tr>\n<td><code>customer.email</code></td>\n<td><code>string</code></td>\n<td>Customer's email.</td>\n</tr>\n<tr>\n<td><code>customer.phone</code></td>\n<td><code>string</code></td>\n<td>Optional customer phone number.</td>\n</tr>\n<tr>\n<td><code>customer.is_company</code></td>\n<td><code>boolean</code></td>\n<td>Indicates if the customer is a company.</td>\n</tr>\n<tr>\n<td><code>customer.company_name</code></td>\n<td><code>string</code></td>\n<td>Required if <code>is_company</code> is true.</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td><code>object</code></td>\n<td>Optional updated shipping address.</td>\n</tr>\n<tr>\n<td><code>shipping_address.id</code></td>\n<td><code>integer</code></td>\n<td>Address ID. Must belong to the customer.</td>\n</tr>\n<tr>\n<td><code>shipping_address.\\*</code></td>\n<td><code>varied</code></td>\n<td>Address details (e.g., <code>name</code>, <code>surname</code>, <code>city</code>, <code>postcode</code>, etc.).</td>\n</tr>\n<tr>\n<td><code>is_invoice_same_as_shipping</code></td>\n<td><code>boolean</code></td>\n<td>Indicates if the invoice address is the same as the shipping address.</td>\n</tr>\n<tr>\n<td><code>totals</code></td>\n<td><code>object</code></td>\n<td>Optional updated totals for the order.</td>\n</tr>\n<tr>\n<td><code>totals.total_shipping</code></td>\n<td><code>numeric</code></td>\n<td>Optional shipping total.</td>\n</tr>\n<tr>\n<td><code>courier</code></td>\n<td><code>object</code></td>\n<td>Optional updated courier details.</td>\n</tr>\n<tr>\n<td><code>courier.courier_service_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the courier service.</td>\n</tr>\n<tr>\n<td><code>courier.is_locked</code></td>\n<td><code>boolean</code></td>\n<td>Indicates if the courier service is locked.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>array</code></td>\n<td>Optional updated list of items in the order.</td>\n</tr>\n<tr>\n<td><code>items.\\*.id</code></td>\n<td><code>integer</code></td>\n<td>ID of the existing order item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>Updated quantity of the item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.unit_price</code></td>\n<td><code>numeric</code></td>\n<td>Updated price of the item.</td>\n</tr>\n<tr>\n<td><code>items.\\*.unit_discount</code></td>\n<td><code>numeric</code></td>\n<td>Optional discount on the item's price.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td><code>object</code></td>\n<td>Optional updated notes for the order (e.g., <code>delivery_note</code>, <code>gift_note</code>, <code>customer_note</code>).</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td><code>array</code></td>\n<td>Optional updated tags for the order.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>If <code>is_invoice_same_as_shipping</code> is false, the <code>invoice_address</code> parameter must be provided.</p>\n</li>\n<li><p>Existing items must be referenced by their <code>id</code> for updates.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"84349446-6d5a-4904-b093-953847e228bd","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"1231235\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 1,\r\n    \"items\": [\r\n        {\r\n            \"id\": 187,\r\n            \"name\": \"Item Name\",\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"203040\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": null,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 Nov 2024 23:10:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=uzNZdoGUozb808OxA60SWmwNHN3DR6a3IoVQRFKz; expires=Sat, 30 Nov 2024 01:10:10 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 104,\n        \"company_id\": 1,\n        \"user_id\": 1,\n        \"store_id\": 1,\n        \"channel_id\": 1,\n        \"order_number\": \"OR-FA5E04DB\",\n        \"channel_order_id\": null,\n        \"remote_id\": \"1231235\",\n        \"remote_alt_id\": null,\n        \"customer_id\": 27,\n        \"shipping_address_id\": 28,\n        \"invoice_address_id\": 29,\n        \"is_hold\": false,\n        \"previous_status\": 0,\n        \"status\": 0,\n        \"order_date\": \"2024-11-29T21:33:43.000000Z\",\n        \"order_type\": 2,\n        \"is_manual\": true,\n        \"is_fulfillable\": false,\n        \"created_at\": \"2024-11-29T21:33:43.000000Z\",\n        \"despatched_at\": null,\n        \"customer_changed_at\": \"2024-11-29T21:33:43.000000Z\",\n        \"despatch_target_date\": null,\n        \"is_merged\": 0,\n        \"merged_at\": null,\n        \"merged_order_id\": null,\n        \"archived_at\": null,\n        \"cancelled_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.547\"\n}"},{"id":"5e47c246-b9dd-4bce-821c-5d3bed62fcff","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 1,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 1,\r\n    \"items\": [\r\n        {\r\n            \"id\": 187,\r\n            \"name\": \"Item Name\",\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"203040\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": null,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 29 Nov 2024 23:08:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=uzNZdoGUozb808OxA60SWmwNHN3DR6a3IoVQRFKz; expires=Sat, 30 Nov 2024 01:08:02 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"status\": [\n                \"You cannot update the order in status New Order!\"\n            ]\n        },\n        \"message\": \"You cannot update the order in status New Order!\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.090\"\n}"}],"_postman_id":"9c81f49a-6563-45dd-b3ac-e5ab1a026749"},{"name":"Bulk Update","id":"18daa489-1c8e-435e-bc2d-ff7942978f49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [\r\n        {\r\n            \"order_id\": 80,\r\n            \"status\": 1,\r\n            \"channel_id\": 1,\r\n            \"is_hold\": false,\r\n            \"reference\": \"123123\",\r\n            \"payment_method\": \"Bank Transfer\",\r\n            \"payment_reference\": \"BT-123\",\r\n            \"currency_id\": 1,\r\n            \"items\": [\r\n                {\r\n                    \"id\": 152,\r\n                    \"name\": \"Item Name\",\r\n                    \"quantity\": 5,\r\n                    \"unit_price\": 5,\r\n                    \"unit_discount\": 1,\r\n                    \"meta\": {\r\n                        \"hs_code\": \"203040\",\r\n                        \"country_id\": 1\r\n                    },\r\n                    \"options\": \"Red colour\"\r\n                }\r\n            ],\r\n            \"customer\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"email\": \"mail@example.com\",\r\n                \"phone\": \"123\",\r\n                \"is_company\": true,\r\n                \"company_name\": \"Despatch Cloud\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"is_invoice_same_as_shipping\": false,\r\n            \"invoice_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"totals\": {\r\n                \"total_shipping\": 1,\r\n                \"discount\": 1\r\n            },\r\n            \"courier\": {\r\n                \"courier_service_id\": null,\r\n                \"is_locked\": true,\r\n                \"label_reference\": 1,\r\n                \"label_secondary_reference\": 2\r\n            },\r\n            \"notes\": {\r\n                \"delivery_note\": \"Delivery note\",\r\n                \"gift_note\": \"Gift Note\",\r\n                \"customer_note\": \"Customer Note\"\r\n            },\r\n            \"folder_id\": 1,\r\n            \"tags\": [\r\n                \"test\"\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-update","description":"<p>This endpoint allows updating multiple orders in a single request. Each order's details, including items, shipping address, customer details, and more, can be updated.</p>\n<hr />\n<h4 id=\"request-parameters\">Request Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>orders</code></td>\n<td><code>array</code></td>\n<td>Array of orders to be updated. Each order must include <code>order_id</code>.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.order_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the order to update. Must exist and belong to the specified company.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.status</code></td>\n<td><code>string</code></td>\n<td>Optional new status for the order. Allowed value: <code>new_order</code>.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.channel_id</code></td>\n<td><code>integer</code></td>\n<td>Optional ID of the order channel.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.is_hold</code></td>\n<td><code>boolean</code></td>\n<td>Optional flag to mark the order as on hold.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.reference</code></td>\n<td><code>string</code></td>\n<td>Optional order reference.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.payment_method</code></td>\n<td><code>string</code></td>\n<td>Optional payment method.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.payment_reference</code></td>\n<td><code>string</code></td>\n<td>Optional payment reference.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.shipping_method</code></td>\n<td><code>string</code></td>\n<td>Optional shipping method.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.currency_id</code></td>\n<td><code>integer</code></td>\n<td>Optional currency ID. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer</code></td>\n<td><code>object</code></td>\n<td>Optional updated customer details.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer.id</code></td>\n<td><code>integer</code></td>\n<td>Customer ID. Must exist in the system and belong to the same company.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer.name</code></td>\n<td><code>string</code></td>\n<td>Customer's name.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer.surname</code></td>\n<td><code>string</code></td>\n<td>Customer's surname.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer.email</code></td>\n<td><code>string</code></td>\n<td>Customer's email.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer.phone</code></td>\n<td><code>string</code></td>\n<td>Optional customer phone number.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer.is_company</code></td>\n<td><code>boolean</code></td>\n<td>Indicates if the customer is a company.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.customer.company_name</code></td>\n<td><code>string</code></td>\n<td>Required if <code>is_company</code> is true.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.shipping_address</code></td>\n<td><code>object</code></td>\n<td>Optional updated shipping address.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.shipping_address.id</code></td>\n<td><code>integer</code></td>\n<td>Address ID. Must belong to the customer.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.shipping_address.\\*</code></td>\n<td><code>varied</code></td>\n<td>Shipping address details (e.g., <code>name</code>, <code>surname</code>, <code>city</code>, <code>postcode</code>, etc.).</td>\n</tr>\n<tr>\n<td><code>orders.\\*.is_invoice_same_as_shipping</code></td>\n<td><code>boolean</code></td>\n<td>Indicates if the invoice address is the same as the shipping address.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.totals</code></td>\n<td><code>object</code></td>\n<td>Optional updated totals for the order.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.totals.total_shipping</code></td>\n<td><code>numeric</code></td>\n<td>Optional shipping total.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.courier</code></td>\n<td><code>object</code></td>\n<td>Optional updated courier details.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.courier.courier_service_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the courier service.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.courier.is_locked</code></td>\n<td><code>boolean</code></td>\n<td>Indicates if the courier service is locked.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.items</code></td>\n<td><code>array</code></td>\n<td>Optional updated list of items in the order.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.items.\\*.id</code></td>\n<td><code>integer</code></td>\n<td>ID of the existing order item.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.items.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>Updated quantity of the item.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.items.\\*.unit_price</code></td>\n<td><code>numeric</code></td>\n<td>Updated price of the item.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.items.\\*.unit_discount</code></td>\n<td><code>numeric</code></td>\n<td>Optional discount on the item's price.</td>\n</tr>\n<tr>\n<td><code>orders.\\*.notes</code></td>\n<td><code>object</code></td>\n<td>Optional updated notes for the order (e.g., <code>delivery_note</code>, <code>gift_note</code>, <code>customer_note</code>).</td>\n</tr>\n<tr>\n<td><code>orders.\\*.tags</code></td>\n<td><code>array</code></td>\n<td>Optional updated tags for the order.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>If <code>is_invoice_same_as_shipping</code> is false, the <code>invoice_address</code> parameter must be provided.</p>\n</li>\n<li><p>Existing items must be referenced by their <code>id</code> for updates.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"50b333be-75f9-41e9-839b-144c68e02b15","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [\r\n        {\r\n            \"order_id\": 80,\r\n            \"status\": 1,\r\n            \"channel_id\": 1,\r\n            \"is_hold\": false,\r\n            \"reference\": \"123123\",\r\n            \"payment_method\": \"Bank Transfer\",\r\n            \"payment_reference\": \"BT-123\",\r\n            \"currency_id\": 1,\r\n            \"items\": [\r\n                {\r\n                    \"id\": 152,\r\n                    \"name\": \"Item Name\",\r\n                    \"quantity\": 5,\r\n                    \"unit_price\": 5,\r\n                    \"unit_discount\": 1,\r\n                    \"meta\": {\r\n                        \"hs_code\": \"203040\",\r\n                        \"country_id\": 1\r\n                    },\r\n                    \"options\": \"Red colour\"\r\n                }\r\n            ],\r\n            \"customer\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"email\": \"mail@example.com\",\r\n                \"phone\": \"123\",\r\n                \"is_company\": true,\r\n                \"company_name\": \"Despatch Cloud\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"is_invoice_same_as_shipping\": false,\r\n            \"invoice_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"totals\": {\r\n                \"total_shipping\": 1,\r\n                \"discount\": 1\r\n            },\r\n            \"courier\": {\r\n                \"courier_service_id\": null,\r\n                \"is_locked\": true,\r\n                \"label_reference\": 1,\r\n                \"label_secondary_reference\": 2\r\n            },\r\n            \"notes\": {\r\n                \"delivery_note\": \"Delivery note\",\r\n                \"gift_note\": \"Gift Note\",\r\n                \"customer_note\": \"Customer Note\"\r\n            },\r\n            \"folder_id\": 1,\r\n            \"tags\": [\r\n                \"test\"\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:07:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:07:52 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 80,\n            \"order_number\": \"OR-8BF78FC2\",\n            \"status\": false,\n            \"message\": \"You cannot update the order in status New Order!\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.201\"\n}"},{"id":"284cebc0-7f5e-467a-aa0e-0662e8d1d38d","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [\r\n        {\r\n            \"order_id\": 80,\r\n            \"status\": 1,\r\n            \"channel_id\": 1,\r\n            \"is_hold\": false,\r\n            \"reference\": \"123123\",\r\n            \"payment_method\": \"Bank Transfer\",\r\n            \"payment_reference\": \"BT-123\",\r\n            \"currency_id\": 1,\r\n            \"items\": [\r\n                {\r\n                    \"id\": 151,\r\n                    \"name\": \"Item Name\",\r\n                    \"quantity\": 5,\r\n                    \"unit_price\": 5,\r\n                    \"unit_discount\": 1,\r\n                    \"meta\": {\r\n                        \"hs_code\": \"203040\",\r\n                        \"country_id\": 1\r\n                    },\r\n                    \"options\": \"Red colour\"\r\n                }\r\n            ],\r\n            \"customer\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"email\": \"mail@example.com\",\r\n                \"phone\": \"123\",\r\n                \"is_company\": true,\r\n                \"company_name\": \"Despatch Cloud\"\r\n            },\r\n            \"shipping_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"is_invoice_same_as_shipping\": false,\r\n            \"invoice_address\": {\r\n                \"id\": 1,\r\n                \"name\": \"Lorem\",\r\n                \"surname\": \"Ipsum\",\r\n                \"company_name\": \"Despatch Cloud\",\r\n                \"phone\": \"123\",\r\n                \"email\": \"mail@example.com\",\r\n                \"address_line_1\": \"Address line 1\",\r\n                \"address_line_2\": \"Address line 2\",\r\n                \"city\": \"City\",\r\n                \"county\": \"County\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"Postcode\",\r\n                \"vat_number\": \"Vat Number\",\r\n                \"eori\": \"Eori Number\"\r\n            },\r\n            \"totals\": {\r\n                \"total_shipping\": 1,\r\n                \"discount\": 1\r\n            },\r\n            \"courier\": {\r\n                \"courier_service_id\": null,\r\n                \"is_locked\": true,\r\n                \"label_reference\": 1,\r\n                \"label_secondary_reference\": 2\r\n            },\r\n            \"notes\": {\r\n                \"delivery_note\": \"Delivery note\",\r\n                \"gift_note\": \"Gift Note\",\r\n                \"customer_note\": \"Customer Note\"\r\n            },\r\n            \"folder_id\": 1,\r\n            \"tags\": [\r\n                \"test\"\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:08:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:08:22 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"orders.0.items.0.id\": [\n                \"The selected Item ID is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Item ID is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.073\"\n}"}],"_postman_id":"18daa489-1c8e-435e-bc2d-ff7942978f49"},{"name":"Archive","id":"afa2e8a9-e0f6-494c-b175-ecae7f143959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 5,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/archive","description":"<p>This endpoint is used to archive an order. Archiving an order marks it as archived, making it inactive but not permanently deleted.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9ffbf651-58a6-43c2-bd84-1187e842d8a0","name":"Create - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 5,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/archive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:43:51 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:43:51 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"0806b02d-665c-42f5-8f59-ab9f1cd5bde6","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 5,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/archive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:44:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:44:26 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"order_id\": [\n                \"The selected Order is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Order is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.154\"\n}"}],"_postman_id":"afa2e8a9-e0f6-494c-b175-ecae7f143959"},{"name":"Restore","id":"31f592d8-99ae-4b38-a3c4-58f3f0390cdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 5,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/restore","description":"<p>This endpoint is used to unarchive an order, reactivating it after it has been archived.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","{{order_id}}","restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"22d3fba4-0ccc-49ac-b39f-2f55c07c9758","name":"Archive - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 5,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/restore"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:44:37 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:44:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"06871793-4ec5-4a67-a556-7d94dd18d415","name":"Archive - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": 0,\r\n    \"channel_id\": 1,\r\n    \"is_hold\": false,\r\n    \"reference\": \"123123\",\r\n    \"payment_method\": \"Bank Transfer\",\r\n    \"payment_reference\": \"BT-123\",\r\n    \"currency_id\": 5,\r\n    \"items\": [\r\n        {\r\n            \"name\": \"Item Name\",\r\n            \"inventory_id\": 1,\r\n            \"quantity\": 5,\r\n            \"unit_price\": 5,\r\n            \"unit_discount\": 1,\r\n            \"meta\": {\r\n                \"hs_code\": \"HS Code\",\r\n                \"country_id\": 1\r\n            },\r\n            \"options\": \"Red colour\"\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"email\": \"mail@example.com\",\r\n        \"phone\": \"123\",\r\n        \"is_company\": true,\r\n        \"company_name\": \"Despatch Cloud\"\r\n    },\r\n    \"shipping_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"is_invoice_same_as_shipping\": false,\r\n    \"invoice_address\": {\r\n        \"id\": 1,\r\n        \"name\": \"Lorem\",\r\n        \"surname\": \"Ipsum\",\r\n        \"company_name\": \"Despatch Cloud\",\r\n        \"phone\": \"123\",\r\n        \"email\": \"mail@example.com\",\r\n        \"address_line_1\": \"Address line 1\",\r\n        \"address_line_2\": \"Address line 2\",\r\n        \"city\": \"City\",\r\n        \"county\": \"County\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"Postcode\",\r\n        \"vat_number\": \"Vat Number\",\r\n        \"eori\": \"Eori Number\"\r\n    },\r\n    \"totals\": {\r\n        \"total_shipping\": 1,\r\n        \"discount\": 1\r\n    },\r\n    \"courier\": {\r\n        \"courier_service_id\": 1,\r\n        \"is_locked\": true,\r\n        \"label_reference\": 1,\r\n        \"label_secondary_reference\": 2\r\n    },\r\n    \"notes\": {\r\n        \"delivery_note\": \"Delivery note\",\r\n        \"gift_note\": \"Gift Note\",\r\n        \"customer_note\": \"Customer Note\"\r\n    },\r\n    \"folder_id\": 1,\r\n    \"tags\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/{{order_id}}/restore"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:44:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:44:48 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"order_id\": [\n                \"The selected Order is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Order is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.044\"\n}"}],"_postman_id":"31f592d8-99ae-4b38-a3c4-58f3f0390cdc"},{"name":"Bulk Archive","id":"0ca63d16-6059-4bab-bb1d-eac9d73d8864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [70, 71]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-archive","description":"<p>Archives multiple orders in a single request.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>orders</code></td>\n<td><code>array</code></td>\n<td>Array of order IDs to be archived.</td>\n</tr>\n<tr>\n<td><code>orders.\\\\*</code></td>\n<td><code>integer</code></td>\n<td>ID of the order. Must belong to the company and not already archived or deleted.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","bulk-archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"5b18771b-8561-4a08-8159-c2e6299a5db8","name":"Bulk Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [70, 71]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:57:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:57:56 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 70,\n            \"status\": false,\n            \"message\": \"You cannot update the order in status New Order!\"\n        },\n        {\n            \"id\": 71,\n            \"status\": false,\n            \"message\": \"You cannot update the order in status New Order!\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.170\"\n}"},{"id":"8c3ebcc2-4ff9-4f1b-a6e4-3d455cb2592a","name":"Bulk Archive - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [70, 999]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-archive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:58:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:58:21 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"orders.1\": [\n                \"The selected orders.1 is invalid.\"\n            ]\n        },\n        \"message\": \"The selected orders.1 is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.058\"\n}"}],"_postman_id":"0ca63d16-6059-4bab-bb1d-eac9d73d8864"},{"name":"Bulk Restore","id":"6eaf73e0-5096-49ea-b522-f004087e73e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [70, 71]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-restore","description":"<p>Unarchives multiple orders in a single request.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>orders</code></td>\n<td><code>array</code></td>\n<td>Array of order IDs to be unarchived.</td>\n</tr>\n<tr>\n<td><code>orders.\\*</code></td>\n<td><code>integer</code></td>\n<td>ID of the order. Must belong to the company, be archived, and not deleted.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","orders","bulk-restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"c6dd1cd2-7c55-4149-a2e1-d36d7a9a22fb","name":"Bulk Restore - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [70, 71]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:59:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:59:09 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 70,\n            \"status\": false,\n            \"message\": \"Order already unarchived!\"\n        },\n        {\n            \"id\": 71,\n            \"status\": false,\n            \"message\": \"Order already unarchived!\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.051\"\n}"},{"id":"fd08e443-f47a-48c9-9ea8-51a580c233d4","name":"Bulk Restore - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"orders\": [70, 711]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/orders/bulk-restore"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 08 Dec 2024 18:59:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=w5VJzCUIHUSbF8qEuqJIz30MlaNlxC5D0MafHQHC; expires=Tue, 07 Jan 2025 18:59:33 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"orders.1\": [\n                \"The selected orders.1 is invalid.\"\n            ]\n        },\n        \"message\": \"The selected orders.1 is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.050\"\n}"}],"_postman_id":"6eaf73e0-5096-49ea-b522-f004087e73e7"}],"id":"55e486a8-f429-491a-8b43-e1770f7e069a","_postman_id":"55e486a8-f429-491a-8b43-e1770f7e069a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Shipments","item":[{"name":"Files","item":[{"name":"Renew Label URL","id":"b468bf27-6c9f-4858-a354-49e3d59d12ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/{{shipment_id}}/files/{{shipment_file_id}}/renew","description":"<p>Fetches a temporary label link for a shipment. The link is valid for a limited duration (e.g., 1 hour).</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipment_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the shipment. Must belong to the company, have a status of success, and not be deleted.</td>\n</tr>\n<tr>\n<td><code>shipment_file_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the shipment file. Must belong to the specified shipment and be of label type.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","shipments","{{shipment_id}}","files","{{shipment_file_id}}","renew"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"6fe7c474-1899-4cf6-872a-e8b7a75cc941","name":"Renew Label URL - 200","originalRequest":{"method":"POST","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/{{shipment_id}}/files/{{shipment_file_id}}/renew"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 11 Dec 2024 23:35:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=op94NblAKow1AzTRS4YdoetykJ1dxUdOnSfWq1Zo; expires=Thu, 12 Dec 2024 01:35:32 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"url\": \"https://storageserversam.s3.eu-west-2.amazonaws.com/courierapi/pdf_test_ls0AHUH3o7hZbgKJb3S0_1.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2GR3ABGL2AFT4WNM%2F20241211%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20241211T232049Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=096fdfe4d283a06785d6a2b761f0dbf01b3807b49226d5f45f872dd900222966\",\n        \"pages\": 1\n    },\n    \"success\": true,\n    \"execution_time\": \"0.244\"\n}"}],"_postman_id":"b468bf27-6c9f-4858-a354-49e3d59d12ba"},{"name":"Renew Batch Label URL","id":"7f54e687-0153-4614-a0eb-b93628a21ffd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/batch/{{batch_id}}/files/{{batch_file_id}}/renew","description":"<p>Fetches a temporary label link for a batch shipment. The link is valid for a limited duration (e.g., 1 hour).</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>batch_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the shipment batch. Must belong to the company, have a valid status, and not be deleted.</td>\n</tr>\n<tr>\n<td><code>batch_file_id</code></td>\n<td><code>integer</code></td>\n<td>ID of the batch file. Must belong to the specified batch.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","shipments","batch","{{batch_id}}","files","{{batch_file_id}}","renew"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f54e687-0153-4614-a0eb-b93628a21ffd"}],"id":"63a18d43-cb89-4b34-ae3a-d1e745053ac0","_postman_id":"63a18d43-cb89-4b34-ae3a-d1e745053ac0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Batch","item":[{"name":"Create","id":"5ad6555e-0b22-4e7f-99c2-f3ddd9759cdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"label_size\": 4,\r\n    \"apply_product_changes\": false,\r\n    \"order_status\": 7,\r\n    \"shipments\": [\r\n        {\r\n            \"order_id\": 98,\r\n            \"store_id\": 1,\r\n            \"channel_id\": 2,\r\n            \"courier_id\": 1,\r\n            \"courier_service_id\": 1,\r\n            \"customer_id\": 18,\r\n            \"shipping_address_id\": 18,\r\n            \"vat_number\": \"123\",\r\n            \"eori\": \"123\",\r\n            \"ioss\": null,\r\n            \"shipping_cost\": 5,\r\n            \"customs_description\": \"customs desc test\",\r\n            \"delivery_instructions\": \"Delivery Instructions test\",\r\n            \"shipping_address\": {\r\n                \"name\": \"Name\",\r\n                \"surname\": \"Surname\",\r\n                \"email\": \"example@example.com\",\r\n                \"phone\": \"123-123\",\r\n                \"company_name\": \"Shipping Company Name\",\r\n                \"address_line_1\": \"Shipping line 1\",\r\n                \"address_line_2\": \"rwar\",\r\n                \"city\": \"Parkham\",\r\n                \"county\": \"Devon\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"EX39 5DJ\"\r\n            },\r\n            \"parcels\": [\r\n                {\r\n                    \"id\": \"223\",\r\n                    \"items\": [\r\n                        {\r\n                            \"order_item_id\": 186,\r\n                            \"quantity\": 1,\r\n                            \"description\": \"test 2\",\r\n                            \"value\": 5,\r\n                            \"inventory_id\": 52,\r\n                            \"code\": \"silver-crane-necklace\",\r\n                            \"hs_code\": \"102030\",\r\n                            \"weight\": 0.5,\r\n                            \"length\": \"2.12\",\r\n                            \"width\": \"2.38\",\r\n                            \"height\": \"2.38\",\r\n                            \"country_id\": 232,\r\n                            \"is_changed\": false\r\n                        },\r\n                        {\r\n                            \"order_item_id\": 187,\r\n                            \"quantity\": 2,\r\n                            \"description\": \"test\",\r\n                            \"value\": 0,\r\n                            \"inventory_id\": 34,\r\n                            \"code\": \"choker-pendant-closeup\",\r\n                            \"hs_code\": \"102030\",\r\n                            \"weight\": 1,\r\n                            \"length\": \"1.00\",\r\n                            \"width\": \"2.60\",\r\n                            \"height\": \"2.85\",\r\n                            \"country_id\": 232,\r\n                            \"is_changed\": false\r\n                        }\r\n                    ],\r\n                    \"package_template_id\": null,\r\n                    \"package_template_type\": false,\r\n                    \"dim_length\": \"3.12\",\r\n                    \"dim_width\": \"4.98\",\r\n                    \"dim_height\": \"5.23\",\r\n                    \"weight\": \"2.50\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/batch","description":"<p>This endpoint allows the creation of batch shipments, including parcel and item details.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_id</code></td>\n<td><code>integer</code></td>\n<td>The ID of the company associated with the batch shipment. Must exist and not be deleted.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td><code>array</code></td>\n<td>Optional tags for the batch shipment. Each tag must be a string.</td>\n</tr>\n<tr>\n<td><code>shipments</code></td>\n<td><code>array</code></td>\n<td>Array of shipment details. Each shipment contains parcels and items.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels</code></td>\n<td><code>array</code></td>\n<td>Array of parcels for the shipment. Each parcel contains items and their details.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels.\\*.items</code></td>\n<td><code>array</code></td>\n<td>Array of items in the parcel. Each item contains its quantity, weight, and other details.</td>\n</tr>\n<tr>\n<td><code>label_size</code></td>\n<td><code>string</code></td>\n<td>Required. Specifies the label size. Must be one of the predefined sizes in <code>ShipmentLabelSizes</code>.</td>\n</tr>\n<tr>\n<td><code>apply_product_changes</code></td>\n<td><code>boolean</code></td>\n<td>Indicates whether product changes should be applied.</td>\n</tr>\n<tr>\n<td><code>include_packaging_slip</code></td>\n<td><code>boolean</code></td>\n<td>Optional. Whether to include a packaging slip in the shipment.</td>\n</tr>\n<tr>\n<td><code>include_collection_list</code></td>\n<td><code>boolean</code></td>\n<td>Optional. Whether to include a collection list in the shipment.</td>\n</tr>\n<tr>\n<td><code>auto_print</code></td>\n<td><code>boolean</code></td>\n<td>Optional. Automatically print the label if set to true.</td>\n</tr>\n<tr>\n<td><code>batch_shipment_id</code></td>\n<td><code>integer</code></td>\n<td>Optional. ID of a previously failed batch shipment. Must belong to the company.</td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td><code>integer</code></td>\n<td>Optional. ID of the order folder. Must be active and associated with the company.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels.\\*.items.\\*.quantity</code></td>\n<td><code>integer</code></td>\n<td>Quantity of the item in the parcel. Minimum value is 1.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.courier_service_id</code></td>\n<td><code>integer</code></td>\n<td>Required. ID of the courier service for the shipment. Must be active and not deleted.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.courier_id</code></td>\n<td><code>integer</code></td>\n<td>Required. ID of the courier. Must be active and associated with the company.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.shipping_address</code></td>\n<td><code>array</code></td>\n<td>Required. Contains details of the shipping address.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.shipping_address.name</code></td>\n<td><code>string</code></td>\n<td>Required. Recipient's first name.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.shipping_address.surname</code></td>\n<td><code>string</code></td>\n<td>Required. Recipient's last name.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.shipping_address.email</code></td>\n<td><code>string</code></td>\n<td>Required. Recipient's email address.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.shipping_address.address_line_1</code></td>\n<td><code>string</code></td>\n<td>Required. Address line 1.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.shipping_address.city</code></td>\n<td><code>string</code></td>\n<td>Required. City of the shipping address.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.shipping_address.country_id</code></td>\n<td><code>integer</code></td>\n<td>Required. ID of the country for the shipping address. Must exist in the system.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels.\\*.dim_width</code></td>\n<td><code>numeric</code></td>\n<td>Required if no package template is specified. Width of the parcel.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels.\\*.dim_height</code></td>\n<td><code>numeric</code></td>\n<td>Required if no package template is specified. Height of the parcel.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels.\\*.dim_length</code></td>\n<td><code>numeric</code></td>\n<td>Required if no package template is specified. Length of the parcel.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels.\\*.items.\\*.inventory_id</code></td>\n<td><code>integer</code></td>\n<td>Required if no item code is specified. ID of the inventory item.</td>\n</tr>\n<tr>\n<td><code>shipments.\\*.parcels.\\*.items.\\*.code</code></td>\n<td><code>string</code></td>\n<td>Required if no inventory ID is specified. Code of the item.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>All shipments within the batch are validated individually.</p>\n</li>\n<li><p>Rules for parcels and items depend on whether the shipment is linked to an order or standalone.</p>\n</li>\n<li><p>Validation ensures consistency between sender and recipient addresses, including customs details when applicable.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","shipments","batch"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"415219d5-b9ee-41cc-9f2f-31ae510649f6","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"label_size\": 4,\r\n    \"apply_product_changes\": false,\r\n    \"order_status\": 7,\r\n    \"shipments\": [\r\n        {\r\n            \"order_id\": 98,\r\n            \"store_id\": 1,\r\n            \"channel_id\": 2,\r\n            \"courier_id\": 1,\r\n            \"courier_service_id\": 1,\r\n            \"customer_id\": 18,\r\n            \"shipping_address_id\": 18,\r\n            \"vat_number\": \"123\",\r\n            \"eori\": \"123\",\r\n            \"ioss\": null,\r\n            \"shipping_cost\": 5,\r\n            \"customs_description\": \"customs desc test\",\r\n            \"delivery_instructions\": \"Delivery Instructions test\",\r\n            \"shipping_address\": {\r\n                \"name\": \"Name\",\r\n                \"surname\": \"Surname\",\r\n                \"email\": \"example@example.com\",\r\n                \"phone\": \"123-123\",\r\n                \"company_name\": \"Shipping Company Name\",\r\n                \"address_line_1\": \"Shipping line 1\",\r\n                \"address_line_2\": \"rwar\",\r\n                \"city\": \"Parkham\",\r\n                \"county\": \"Devon\",\r\n                \"country_id\": 1,\r\n                \"postcode\": \"EX39 5DJ\"\r\n            },\r\n            \"parcels\": [\r\n                {\r\n                    \"id\": \"223\",\r\n                    \"items\": [\r\n                        {\r\n                            \"order_item_id\": 186,\r\n                            \"quantity\": 1,\r\n                            \"description\": \"test 2\",\r\n                            \"value\": 5,\r\n                            \"inventory_id\": 52,\r\n                            \"code\": \"silver-crane-necklace\",\r\n                            \"hs_code\": \"102030\",\r\n                            \"weight\": 0.5,\r\n                            \"length\": \"2.12\",\r\n                            \"width\": \"2.38\",\r\n                            \"height\": \"2.38\",\r\n                            \"country_id\": 232,\r\n                            \"is_changed\": false\r\n                        },\r\n                        {\r\n                            \"order_item_id\": 187,\r\n                            \"quantity\": 2,\r\n                            \"description\": \"test\",\r\n                            \"value\": 0,\r\n                            \"inventory_id\": 34,\r\n                            \"code\": \"choker-pendant-closeup\",\r\n                            \"hs_code\": \"102030\",\r\n                            \"weight\": 1,\r\n                            \"length\": \"1.00\",\r\n                            \"width\": \"2.60\",\r\n                            \"height\": \"2.85\",\r\n                            \"country_id\": 232,\r\n                            \"is_changed\": false\r\n                        }\r\n                    ],\r\n                    \"package_template_id\": null,\r\n                    \"package_template_type\": false,\r\n                    \"dim_length\": \"3.12\",\r\n                    \"dim_width\": \"4.98\",\r\n                    \"dim_height\": \"5.23\",\r\n                    \"weight\": \"2.50\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/batch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 11 Dec 2024 23:52:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=op94NblAKow1AzTRS4YdoetykJ1dxUdOnSfWq1Zo; expires=Thu, 12 Dec 2024 01:52:39 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"company_id\": 1,\n        \"user_id\": 1,\n        \"reference\": \"BA-B9759B27\",\n        \"status\": 0,\n        \"label_size\": 4,\n        \"set_order_status\": 7,\n        \"include_packaging_slip\": false,\n        \"include_collection_list\": false,\n        \"auto_print\": false,\n        \"generate_commercial_invoice\": true,\n        \"label_format\": \"pdf\",\n        \"updated_at\": \"2024-12-11T23:52:39.000000Z\",\n        \"created_at\": \"2024-12-11T23:52:39.000000Z\",\n        \"id\": 2\n    },\n    \"success\": true,\n    \"execution_time\": \"0.410\"\n}"}],"_postman_id":"5ad6555e-0b22-4e7f-99c2-f3ddd9759cdb"}],"id":"b9b3bb70-7db6-4bc6-b892-15bf6c483c9a","_postman_id":"b9b3bb70-7db6-4bc6-b892-15bf6c483c9a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Index","id":"1beb2512-5b31-4231-bf4e-db8760ee0113","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments?includes=shipmentFile","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","shipments"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"shipmentFile"}],"variable":[]}},"response":[{"id":"26adc2b7-5d3c-4143-8286-d39063e7e972","name":"Create - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 11 Dec 2024 23:22:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=op94NblAKow1AzTRS4YdoetykJ1dxUdOnSfWq1Zo; expires=Thu, 12 Dec 2024 01:22:10 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 5,\n            \"company_id\": 1,\n            \"user_id\": 1,\n            \"courier_id\": 1,\n            \"courier_service_id\": 1,\n            \"store_id\": 1,\n            \"channel_id\": 2,\n            \"order_id\": 98,\n            \"shipping_address_id\": 30,\n            \"request_id\": \"40c34ed0-a5ae-48ce-b730-28f545a90a19\",\n            \"dc_request_id\": \"371023115\",\n            \"tracking_request_id\": \"371023115\",\n            \"tracking_request_hash\": \"1369711349\",\n            \"status\": 1,\n            \"batch_id\": null,\n            \"channels_sync_status\": 0,\n            \"channels_retry_count\": 0,\n            \"label_size\": 2,\n            \"channels_synced_at\": null,\n            \"archived_user_id\": null,\n            \"shipping_cost\": 0,\n            \"postcode\": \"EX39 5DJ\",\n            \"before_order_status\": 6,\n            \"system_log_id\": \"ULwGuJMBtfYto7Qhcsqm\",\n            \"is_testing_courier\": true,\n            \"total_parcel_weight\": 2.5,\n            \"include_packaging_slip\": false,\n            \"include_collection_list\": false,\n            \"generate_commercial_invoice\": true,\n            \"send_channels\": true,\n            \"is_manual_shipment\": false,\n            \"archived_at\": null,\n            \"video_recording_file_manager_id\": null,\n            \"created_at\": \"2024-12-11T23:20:47.000000Z\",\n            \"updated_at\": \"2024-12-11T23:20:50.000000Z\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.073\"\n}"}],"_postman_id":"1beb2512-5b31-4231-bf4e-db8760ee0113"},{"name":"Show","id":"469aa8d9-1ef2-4f65-b41c-b7340b4573b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/{{shipment_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","shipments","{{shipment_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9b37d4c3-0568-446b-a4cd-02894ddf64ed","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/{{shipment_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 11 Dec 2024 23:28:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=op94NblAKow1AzTRS4YdoetykJ1dxUdOnSfWq1Zo; expires=Thu, 12 Dec 2024 01:28:57 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 5,\n        \"company_id\": 1,\n        \"user_id\": 1,\n        \"courier_id\": 1,\n        \"courier_service_id\": 1,\n        \"store_id\": 1,\n        \"channel_id\": 2,\n        \"order_id\": 98,\n        \"shipping_address_id\": 30,\n        \"request_id\": \"40c34ed0-a5ae-48ce-b730-28f545a90a19\",\n        \"dc_request_id\": \"371023115\",\n        \"tracking_request_id\": \"371023115\",\n        \"tracking_request_hash\": \"1369711349\",\n        \"status\": 1,\n        \"batch_id\": null,\n        \"channels_sync_status\": 0,\n        \"channels_retry_count\": 0,\n        \"label_size\": 2,\n        \"channels_synced_at\": null,\n        \"archived_user_id\": null,\n        \"shipping_cost\": 0,\n        \"postcode\": \"EX39 5DJ\",\n        \"before_order_status\": 6,\n        \"system_log_id\": \"ULwGuJMBtfYto7Qhcsqm\",\n        \"is_testing_courier\": true,\n        \"total_parcel_weight\": 2.5,\n        \"include_packaging_slip\": false,\n        \"include_collection_list\": false,\n        \"generate_commercial_invoice\": true,\n        \"send_channels\": true,\n        \"is_manual_shipment\": false,\n        \"archived_at\": null,\n        \"video_recording_file_manager_id\": null,\n        \"created_at\": \"2024-12-11T23:20:47.000000Z\",\n        \"updated_at\": \"2024-12-11T23:20:50.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.079\"\n}"}],"_postman_id":"469aa8d9-1ef2-4f65-b41c-b7340b4573b3"},{"name":"Create","id":"dc423db7-b6ed-4f7f-972b-b68bbfb8f672","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"order_id\": 98,\r\n    \"store_id\": 1,\r\n    \"channel_id\": 2,\r\n    \"courier_id\": 1,\r\n    \"courier_service_id\": 1,\r\n    \"customer_id\": 18,\r\n    \"shipping_address_id\": 18,\r\n    \"vat_number\": \"123\",\r\n    \"eori\": \"123\",\r\n    \"ioss\": null,\r\n    \"shipping_cost\": 5,\r\n    \"customs_description\": \"customs desc test\",\r\n    \"delivery_instructions\": \"Delivery Instructions test\",\r\n    \"shipping_address\": {\r\n        \"name\": \"Name\",\r\n        \"surname\": \"Surname\",\r\n        \"email\": \"example@example.com\",\r\n        \"phone\": \"123-123\",\r\n        \"company_name\": \"Shipping Company Name\",\r\n        \"address_line_1\": \"Shipping line 1\",\r\n        \"address_line_2\": \"rwar\",\r\n        \"city\": \"Parkham\",\r\n        \"county\": \"Devon\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"EX39 5DJ\"\r\n    },\r\n    \"parcels\": [\r\n        {\r\n            \"id\": \"223\",\r\n            \"items\": [\r\n                {\r\n                    \"order_item_id\": 186,\r\n                    \"quantity\": 1,\r\n                    \"description\": \"test 2\",\r\n                    \"value\": 5,\r\n                    \"inventory_id\": 52,\r\n                    \"code\": \"silver-crane-necklace\",\r\n                    \"hs_code\": \"102030\",\r\n                    \"weight\": 0.5,\r\n                    \"length\": \"2.12\",\r\n                    \"width\": \"2.38\",\r\n                    \"height\": \"2.38\",\r\n                    \"country_id\": 232\r\n                },\r\n                {\r\n                    \"order_item_id\": 187,\r\n                    \"quantity\": 2,\r\n                    \"description\": \"test\",\r\n                    \"value\": 0,\r\n                    \"inventory_id\": 34,\r\n                    \"code\": \"choker-pendant-closeup\",\r\n                    \"hs_code\": \"102030\",\r\n                    \"weight\": 1,\r\n                    \"length\": \"1.00\",\r\n                    \"width\": \"2.60\",\r\n                    \"height\": \"2.85\",\r\n                    \"country_id\": 232\r\n                }\r\n            ],\r\n            \"package_template_id\": null,\r\n            \"package_template_type\": false,\r\n            \"dim_length\": \"3.12\",\r\n            \"dim_width\": \"4.98\",\r\n            \"dim_height\": \"5.23\",\r\n            \"weight\": \"2.50\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/shipments","description":"<p>This endpoint allows the creation of shipments with associated parcels and items.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_id</code></td>\n<td><code>integer</code></td>\n<td>Required. The ID of the company creating the shipment.</td>\n</tr>\n<tr>\n<td><code>store_id</code></td>\n<td><code>integer</code></td>\n<td>Required. The ID of the store linked to the shipment.</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td><code>integer</code></td>\n<td>Required. The ID of the channel associated with the shipment.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td><code>array</code></td>\n<td>Optional. Tags to associate with the shipment.</td>\n</tr>\n<tr>\n<td><code>include_packaging_slip</code></td>\n<td><code>boolean</code></td>\n<td>Optional. Whether to include a packaging slip.</td>\n</tr>\n<tr>\n<td><code>include_collection_list</code></td>\n<td><code>boolean</code></td>\n<td>Optional. Whether to include a collection list.</td>\n</tr>\n<tr>\n<td><code>parcels</code></td>\n<td><code>array</code></td>\n<td>Required. Array of parcel objects, each containing items.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items</code></td>\n<td><code>array</code></td>\n<td>Required. Array of items in the parcel.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.quantity</code></td>\n<td><code>numeric</code></td>\n<td>Required. The quantity of the item.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.tax_value</code></td>\n<td><code>numeric</code></td>\n<td>Optional. Tax value for the item.</td>\n</tr>\n<tr>\n<td><code>courier_id</code></td>\n<td><code>integer</code></td>\n<td>Required. The ID of the courier service for the shipment.</td>\n</tr>\n<tr>\n<td><code>courier_service_id</code></td>\n<td><code>integer</code></td>\n<td>Required. The specific service of the courier.</td>\n</tr>\n<tr>\n<td><code>is_calculated_by_shipping_rule</code></td>\n<td><code>boolean</code></td>\n<td>Optional. Whether shipping rules should be applied.</td>\n</tr>\n<tr>\n<td><code>customer_id</code></td>\n<td><code>integer</code></td>\n<td>Optional. The ID of the customer associated with the shipment.</td>\n</tr>\n<tr>\n<td><code>shipping_address_id</code></td>\n<td><code>integer</code></td>\n<td>Optional. The ID of the shipping address.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.weight</code></td>\n<td><code>numeric</code></td>\n<td>Required. Weight of the parcel. Must be greater than zero.</td>\n</tr>\n<tr>\n<td><code>delivery_instructions</code></td>\n<td><code>string</code></td>\n<td>Optional. Delivery instructions for the courier.</td>\n</tr>\n<tr>\n<td><code>order_id</code></td>\n<td><code>integer</code></td>\n<td>Optional. The ID of the order linked to the shipment.</td>\n</tr>\n<tr>\n<td><code>shipping_cost</code></td>\n<td><code>numeric</code></td>\n<td>Optional. Shipping cost for the shipment.</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td><code>array</code></td>\n<td>Required. Contains the details of the shipping address.</td>\n</tr>\n<tr>\n<td><code>shipping_address.name</code></td>\n<td><code>string</code></td>\n<td>Required. Recipient's first name.</td>\n</tr>\n<tr>\n<td><code>shipping_address.surname</code></td>\n<td><code>string</code></td>\n<td>Required. Recipient's last name.</td>\n</tr>\n<tr>\n<td><code>shipping_address.email</code></td>\n<td><code>string</code></td>\n<td>Required. Recipient's email address.</td>\n</tr>\n<tr>\n<td><code>shipping_address.address_line_1</code></td>\n<td><code>string</code></td>\n<td>Required. Address line 1.</td>\n</tr>\n<tr>\n<td><code>shipping_address.city</code></td>\n<td><code>string</code></td>\n<td>Required. City for the address.</td>\n</tr>\n<tr>\n<td><code>shipping_address.country_id</code></td>\n<td><code>integer</code></td>\n<td>Required. Country ID for the shipping address.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.package_template_id</code></td>\n<td><code>integer</code></td>\n<td>Required if using a package template. The ID of the package template.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.dim_width</code></td>\n<td><code>numeric</code></td>\n<td>Required if no package template is provided. Width of the parcel.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.dim_height</code></td>\n<td><code>numeric</code></td>\n<td>Required if no package template is provided. Height of the parcel.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.dim_length</code></td>\n<td><code>numeric</code></td>\n<td>Required if no package template is provided. Length of the parcel.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.order_item_id</code></td>\n<td><code>integer</code></td>\n<td>Required if linked to an order. The ID of the order item.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.inventory_id</code></td>\n<td><code>integer</code></td>\n<td>Required if not using a code. The ID of the inventory item.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.code</code></td>\n<td><code>string</code></td>\n<td>Required if no inventory ID is provided.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.name</code></td>\n<td><code>string</code></td>\n<td>Required if the shipment's destination country differs from the sender's country.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.description</code></td>\n<td><code>string</code></td>\n<td>Required for international shipments. Description of the item.</td>\n</tr>\n<tr>\n<td><code>parcels.\\\\*.items.\\\\*.hs_code</code></td>\n<td><code>string</code></td>\n<td>Required for international shipments. Harmonized System code of the item.</td>\n</tr>\n<tr>\n<td><code>customs_description</code></td>\n<td><code>string</code></td>\n<td>Required for international shipments. Customs description for the shipment.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li><p>Validation adjusts dynamically based on whether the shipment is linked to an order or standalone.</p>\n</li>\n<li><p>International shipments require additional customs-related fields, such as <code>hs_code</code> and <code>customs_description</code>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","shipments"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"3fd5c5d8-ca8a-4a23-b2b4-d0080080bd04","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"order_id\": 98,\r\n    \"store_id\": 1,\r\n    \"channel_id\": 2,\r\n    \"courier_id\": 1,\r\n    \"courier_service_id\": 1,\r\n    \"customer_id\": 18,\r\n    \"shipping_address_id\": 18,\r\n    \"vat_number\": \"123\",\r\n    \"eori\": \"123\",\r\n    \"ioss\": null,\r\n    \"shipping_cost\": 5,\r\n    \"customs_description\": \"customs desc test\",\r\n    \"delivery_instructions\": \"Delivery Instructions test\",\r\n    \"shipping_address\": {\r\n        \"name\": \"Name\",\r\n        \"surname\": \"Surname\",\r\n        \"email\": \"example@example.com\",\r\n        \"phone\": \"123-123\",\r\n        \"company_name\": \"Shipping Company Name\",\r\n        \"address_line_1\": \"Shipping line 1\",\r\n        \"address_line_2\": \"rwar\",\r\n        \"city\": \"Parkham\",\r\n        \"county\": \"Devon\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"EX39 5DJ\"\r\n    },\r\n    \"parcels\": [\r\n        {\r\n            \"id\": \"223\",\r\n            \"items\": [\r\n                {\r\n                    \"order_item_id\": 186,\r\n                    \"quantity\": 1,\r\n                    \"description\": \"test 2\",\r\n                    \"value\": 5,\r\n                    \"inventory_id\": 52,\r\n                    \"code\": \"silver-crane-necklace\",\r\n                    \"hs_code\": \"92222\",\r\n                    \"weight\": 0.5,\r\n                    \"length\": \"2.12\",\r\n                    \"width\": \"2.38\",\r\n                    \"height\": \"2.38\",\r\n                    \"country_id\": 232\r\n                },\r\n                {\r\n                    \"order_item_id\": 187,\r\n                    \"quantity\": 2,\r\n                    \"description\": \"test\",\r\n                    \"value\": 0,\r\n                    \"inventory_id\": 34,\r\n                    \"code\": \"choker-pendant-closeup\",\r\n                    \"hs_code\": \"44524\",\r\n                    \"weight\": 1,\r\n                    \"length\": \"1.00\",\r\n                    \"width\": \"2.60\",\r\n                    \"height\": \"2.85\",\r\n                    \"country_id\": 232\r\n                }\r\n            ],\r\n            \"package_template_id\": null,\r\n            \"package_template_type\": false,\r\n            \"dim_length\": \"3.12\",\r\n            \"dim_width\": \"4.98\",\r\n            \"dim_height\": \"5.23\",\r\n            \"weight\": \"2.50\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/shipments"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 11 Dec 2024 23:14:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=op94NblAKow1AzTRS4YdoetykJ1dxUdOnSfWq1Zo; expires=Thu, 12 Dec 2024 01:14:23 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"parcels.0.items.0.hs_code\": [\n                \"The HS Code must be between 6 and 10 digits.\"\n            ],\n            \"parcels.0.items.1.hs_code\": [\n                \"The HS Code must be between 6 and 10 digits.\"\n            ]\n        },\n        \"message\": \"The HS Code must be between 6 and 10 digits. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.139\"\n}"},{"id":"0754ef23-1468-4992-af3b-4f03ccfd775f","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"order_id\": 98,\r\n    \"store_id\": 1,\r\n    \"channel_id\": 2,\r\n    \"courier_id\": 1,\r\n    \"courier_service_id\": 1,\r\n    \"customer_id\": 18,\r\n    \"shipping_address_id\": 18,\r\n    \"vat_number\": \"123\",\r\n    \"eori\": \"123\",\r\n    \"ioss\": null,\r\n    \"shipping_cost\": 5,\r\n    \"customs_description\": \"customs desc test\",\r\n    \"delivery_instructions\": \"Delivery Instructions test\",\r\n    \"shipping_address\": {\r\n        \"name\": \"Name\",\r\n        \"surname\": \"Surname\",\r\n        \"email\": \"example@example.com\",\r\n        \"phone\": \"123-123\",\r\n        \"company_name\": \"Shipping Company Name\",\r\n        \"address_line_1\": \"Shipping line 1\",\r\n        \"address_line_2\": \"rwar\",\r\n        \"city\": \"Parkham\",\r\n        \"county\": \"Devon\",\r\n        \"country_id\": 1,\r\n        \"postcode\": \"EX39 5DJ\"\r\n    },\r\n    \"parcels\": [\r\n        {\r\n            \"id\": \"223\",\r\n            \"items\": [\r\n                {\r\n                    \"order_item_id\": 186,\r\n                    \"quantity\": 1,\r\n                    \"description\": \"test 2\",\r\n                    \"value\": 5,\r\n                    \"inventory_id\": 52,\r\n                    \"code\": \"silver-crane-necklace\",\r\n                    \"hs_code\": \"102030\",\r\n                    \"weight\": 0.5,\r\n                    \"length\": \"2.12\",\r\n                    \"width\": \"2.38\",\r\n                    \"height\": \"2.38\",\r\n                    \"country_id\": 232\r\n                },\r\n                {\r\n                    \"order_item_id\": 187,\r\n                    \"quantity\": 2,\r\n                    \"description\": \"test\",\r\n                    \"value\": 0,\r\n                    \"inventory_id\": 34,\r\n                    \"code\": \"choker-pendant-closeup\",\r\n                    \"hs_code\": \"102030\",\r\n                    \"weight\": 1,\r\n                    \"length\": \"1.00\",\r\n                    \"width\": \"2.60\",\r\n                    \"height\": \"2.85\",\r\n                    \"country_id\": 232\r\n                }\r\n            ],\r\n            \"package_template_id\": null,\r\n            \"package_template_type\": false,\r\n            \"dim_length\": \"3.12\",\r\n            \"dim_width\": \"4.98\",\r\n            \"dim_height\": \"5.23\",\r\n            \"weight\": \"2.50\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/shipments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 11 Dec 2024 23:49:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"213"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=op94NblAKow1AzTRS4YdoetykJ1dxUdOnSfWq1Zo; expires=Thu, 12 Dec 2024 01:49:42 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8,\n        \"company_id\": 1,\n        \"user_id\": 1,\n        \"courier_id\": 1,\n        \"courier_service_id\": 1,\n        \"store_id\": 1,\n        \"channel_id\": 2,\n        \"order_id\": 98,\n        \"reference\": {\n            \"id\": 4,\n            \"shipment_id\": 8,\n            \"reference\": \"SH-5FB252DB\"\n        },\n        \"shipment_manifest\": null,\n        \"shipping_address_id\": 30,\n        \"request_id\": \"d13c266a-b05a-4024-96c7-c962ddb0b350\",\n        \"dc_request_id\": \"371035959\",\n        \"tracking_request_id\": \"371035959\",\n        \"tracking_request_hash\": \"700517160\",\n        \"status\": 1,\n        \"batch_id\": null,\n        \"channels_sync_status\": 0,\n        \"channels_retry_count\": 0,\n        \"label_size\": 2,\n        \"channels_synced_at\": null,\n        \"archived_user_id\": null,\n        \"shipping_cost\": 0,\n        \"postcode\": \"EX39 5DJ\",\n        \"before_order_status\": 6,\n        \"system_log_id\": null,\n        \"error\": [],\n        \"is_testing_courier\": true,\n        \"total_parcel_weight\": 2.5,\n        \"include_packaging_slip\": false,\n        \"include_collection_list\": false,\n        \"generate_commercial_invoice\": true,\n        \"send_channels\": true,\n        \"is_manual_shipment\": false,\n        \"archived_at\": null,\n        \"video_recording_file_manager_id\": null,\n        \"parcels\": [\n            {\n                \"id\": 6,\n                \"company_id\": 1,\n                \"shipment_id\": 8,\n                \"package_template_id\": null,\n                \"dim_width\": 4.9799999999999995,\n                \"dim_height\": 5.2299999999999995,\n                \"dim_length\": 3.12,\n                \"parcel_weight\": 2.5,\n                \"weight\": 2.5,\n                \"packaging_weight\": 0,\n                \"created_at\": \"2024-12-11T23:49:40.000000Z\",\n                \"updated_at\": \"2024-12-11T23:49:40.000000Z\"\n            }\n        ],\n        \"shipment_file\": {\n            \"id\": 5,\n            \"shipment_id\": 8,\n            \"key\": \"pdf_test_Jq3yu0v9MB9ADePmUSGM_1.pdf\",\n            \"type\": \"PDF\",\n            \"file_type_id\": 1,\n            \"downloaded_at\": null,\n            \"created_at\": \"2024-12-11T23:49:41.000000Z\",\n            \"updated_at\": \"2024-12-11T23:49:41.000000Z\"\n        },\n        \"created_at\": \"2024-12-11T23:49:40.000000Z\",\n        \"updated_at\": \"2024-12-11T23:49:41.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"2.568\"\n}"}],"_postman_id":"dc423db7-b6ed-4f7f-972b-b68bbfb8f672"},{"name":"Cancel","id":"28dcbf07-64a1-42e4-b4e4-d227e0bbeb6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/shipments/{{shipment_id}}","description":"<p>Cancel the label</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","shipments","{{shipment_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"28dcbf07-64a1-42e4-b4e4-d227e0bbeb6b"}],"id":"7745ee3e-9b60-4186-a380-3768917180a8","_postman_id":"7745ee3e-9b60-4186-a380-3768917180a8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Couriers","item":[{"name":"Courier Service","item":[{"name":"List","id":"46321791-1216-4ac1-91ea-83303d21f425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}","services"],"host":["http://localhost/api"],"query":[{"disabled":true,"description":{"content":"<p>asc, desc</p>\n","type":"text/plain"},"key":"sort_direction","value":"asc"}],"variable":[]}},"response":[{"id":"9ddaec67-8d22-4caf-be5c-e22ae43e14ca","name":"List - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}","services"],"query":[{"key":"sort_direction","value":"asc","description":"asc, desc","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:20:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:20:51 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Test Label\",\n            \"courier_id\": 1,\n            \"has_preset\": 0,\n            \"shipping_service_id\": \"Test\",\n            \"label_reference\": 2,\n            \"label_secondary_reference\": 1,\n            \"status\": false,\n            \"created_at\": \"2024-12-24T22:20:34.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"46321791-1216-4ac1-91ea-83303d21f425"},{"name":"Show","id":"1f81e4b2-7b42-41f9-840b-57721d41f367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services/{{courier_service_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}","services","{{courier_service_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"1e51841b-3595-428c-bdef-ce293c712f11","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services/{{courier_service_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:23:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:23:36 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Test Label\",\n        \"courier_id\": 1,\n        \"has_preset\": 0,\n        \"shipping_service_id\": \"Test\",\n        \"label_reference\": 2,\n        \"label_secondary_reference\": 1,\n        \"status\": false,\n        \"courier\": {\n            \"id\": 1,\n            \"company_id\": 1,\n            \"name\": \"Courier Name\",\n            \"friendly_courier_name\": \"Test\",\n            \"key\": \"Test\",\n            \"collection_times\": {\n                \"monday\": [\n                    \"11:00\"\n                ],\n                \"tuesday\": [\n                    \"11:00\"\n                ],\n                \"wednesday\": [\n                    \"11:00\"\n                ],\n                \"thursday\": [\n                    \"11:00\"\n                ],\n                \"friday\": [\n                    \"11:00\"\n                ],\n                \"saturday\": [\n                    \"11:00\"\n                ],\n                \"sunday\": [\n                    \"11:00\"\n                ]\n            },\n            \"status\": 1,\n            \"is_test_account\": 1,\n            \"logo_filename\": \"test.jpg\",\n            \"logo\": \"logo url\",\n            \"created_at\": \"2024-12-24T22:19:43.000000Z\"\n        },\n        \"created_at\": \"2024-12-24T22:20:34.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.102\"\n}"}],"_postman_id":"1f81e4b2-7b42-41f9-840b-57721d41f367"},{"name":"Create","id":"493f917c-5764-49a5-bb34-f7c3775ff3b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"courier_service_name\": \"Test Label\",\n    \"shipping_service_id\": \"DHL-DOM\",\n    \"label_reference\": 2,\n    \"label_secondary_reference\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}","services"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"d3efc482-7fba-44f8-a802-c62b30f67785","name":"Create - 201","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"courier_service_name\": \"Test Label\",\n    \"shipping_service_id\": \"Test\",\n    \"label_reference\": 2,\n    \"label_secondary_reference\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:20:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:20:34 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"name\": \"Test Label\",\n    \"courier_id\": 1,\n    \"has_preset\": false,\n    \"shipping_service_id\": \"Test\",\n    \"label_reference\": 2,\n    \"label_secondary_reference\": 1,\n    \"status\": null,\n    \"created_at\": \"2024-12-24T22:20:34.000000Z\"\n}"}],"_postman_id":"493f917c-5764-49a5-bb34-f7c3775ff3b5"},{"name":"Update","id":"7e0348c6-0e35-4464-a6dd-daa15ea5a3a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"courier_service_name\": \"service name\",\n    \"status\": false,\n    \"label_reference\": 2,\n    \"label_secondary_reference\": 1,\n    \"presets\": {\n        \"global_product_code\": \"test\",\n        \"local_product_code\": \"test\"\n    },\n    \"specifics\": [\n        {\n            \"key\": \"valid_servicges\",\n            \"value\": \"test\"\n        },\n        {\n            \"key\": \"valid_servicegs_s\",\n            \"value\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services/{{courier_service_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}","services","{{courier_service_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"25ff1abf-0d47-4f4e-993d-8dc97615a89f","name":"Update - 204","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"courier_service_name\": \"service name\",\n    \"status\": false,\n    \"label_reference\": 2,\n    \"label_secondary_reference\": 1,\n    \"presets\": {\n        \"global_product_code\": \"test\",\n        \"local_product_code\": \"test\"\n    },\n    \"specifics\": [\n        {\n            \"key\": \"valid_servicges\",\n            \"value\": \"test\"\n        },\n        {\n            \"key\": \"valid_servicegs_s\",\n            \"value\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services/{{courier_service_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:24:52 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:24:52 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7e0348c6-0e35-4464-a6dd-daa15ea5a3a5"},{"name":"Delete","id":"291b5737-116c-4744-b92f-e3b399bc547f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services/{{courier_service_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}","services","{{courier_service_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9d01b6d0-8b28-4ee6-99c3-5348aa56bedd","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}/services/{{courier_service_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:25:04 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:25:04 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"291b5737-116c-4744-b92f-e3b399bc547f"}],"id":"b082e3e6-a4ac-4c40-9fc2-a93bc4a58b7c","_postman_id":"b082e3e6-a4ac-4c40-9fc2-a93bc4a58b7c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Available Couriers","id":"ff4ddfe5-8649-41b0-a1f1-5d488122830b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/available","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","available"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"7b15add3-15b1-4ad6-b5f6-6814c2d7fc16","name":"Available Couriers - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/available"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:11:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6Ik02WWJVaVJYY2hvZmtNZ0lRRGw2cHc9PSIsInZhbHVlIjoicjVyK1R0MU4yN1Vla3JjckdXZGxDZ0J2SGdiTFcxcWJieEhoQ3Z2UmdlVExiTmVEQmdMajlvT1ZNTm5QY0xYSWo0YW9VdVliaWRDenVnL0JPWnpXTUNhWWNKY3cwaVIwVllQZ1ZYd2F2eHBUNmJXazRNYk9yR3RudFpZanoybVoiLCJtYWMiOiI1MzgxY2IyMjYyYzJhODcxYjdlZDkyYTk1Mzc1NWVjOGNiYmJhN2YyMjVhZThiOWJhYTg5YmU4MWFkMjM3Nzg1IiwidGFnIjoiIn0%3D; expires=Thu, 16 Jan 2025 20:11:16 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=B746cDH0KnfmPvPY3cp2aL9URhdShjUW40QgY8he; expires=Thu, 16 Jan 2025 20:11:16 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"key\": \"CourierKey\",\n        \"name\": \"Courier Name\",\n        \"logo\": \"Courier logo image url\",\n        \"thumbnail\": \"Courier thumbnail image url\",\n        \"status\": \"production\",\n        \"digital_customs\": true,\n        \"owned_by_user\": 2669\n    }\n]"}],"_postman_id":"ff4ddfe5-8649-41b0-a1f1-5d488122830b"},{"name":"Dynamic Form","id":"ebd0459c-9ea0-4b64-84e1-d089422261ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_key}}/dynamic-form","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_key}}","dynamic-form"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"6cd43010-2554-44d1-be95-0ca4318e44d0","name":"Dynamic Form - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_key}}/dynamic-form"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:13:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6InppcnlTdFpab1haK3RSaG1lZ1BUNFE9PSIsInZhbHVlIjoiTkYzcHdhenh0VE0rWW9BQlN6bE9RM0RhSHkzVlZvYjJybm5MSzZYU2dUN2c4WjZnMXNlMW4vNXFpUnFhZjhmN1gwNys4K1p0RkNzbXY4YmxtK0NsdHhjaTl3QXlmRlJxdmJ3Vkx4Um96THNpdVd5MXJ0MUxLdktRdzZtOHVqaWciLCJtYWMiOiJlNzU4ZWJkMjg2YmRjNjUyYWE1Y2Q1NzdlZmE3ZGZhMDE5N2JlNjJiNzY3YmIxYTQ4NTgyNGRjY2Q1NzM0MTk5IiwidGFnIjoiIn0%3D; expires=Thu, 16 Jan 2025 20:13:51 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=7j0aiLmyUVqDCevvhTTWPv4vpKjrkRqLzbRCzQlF; expires=Thu, 16 Jan 2025 20:13:51 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"client_key\": \"string|sensitive\",\n    \"client_secret\": \"string|sensitive\",\n    \"pickup_location\": \"string\",\n    \"account_number\": \"required|string\"\n}"}],"_postman_id":"ebd0459c-9ea0-4b64-84e1-d089422261ad"},{"name":"Presets","id":"210ba51f-6199-4059-972c-3bcbd9e48b6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_key}}/presets","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_key}}","presets"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"ad52f1af-ce78-4a0d-b75b-98ac3c589fbf","name":"Presets - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_key}}/presets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:17:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IkNacW44SzhhT1JyY1F3eFB6VEY2WlE9PSIsInZhbHVlIjoiMTltbzRhTjBlZXNPN2NiUnRiR3Ivc21CRjU3NitxZkIxVDdPRnBxTEh4OGV5WW5tc3h6eEdnYmVSSEdGamZ4YzFIcHozaUM4azlXSFF3NTF5bUJERlQrT21iT0pUckFoNEgxVmNuK2kzL21jem1qUUV0NWNEbHJhclNCeGZvTHYiLCJtYWMiOiJhZjBhMzcyMWY1NTg3ZTIzZGNmNTFhMTY1ODU0MmU4MWJjMzNlNmJmM2ZlNDlhZjg5ZjY0N2VjZDQzYjllZjc1IiwidGFnIjoiIn0%3D; expires=Thu, 16 Jan 2025 20:17:29 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=7S6RSqiefYwxvVE0JxocjNpoo4tNaTghlXHFOcs5; expires=Thu, 16 Jan 2025 20:17:29 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"user_presets\": [],\n    \"system_presets\": [\n        {\n            \"id\": 330,\n            \"created_at\": \"2020-01-14T14:02:14.000000Z\",\n            \"updated_at\": \"2020-01-14T14:02:14.000000Z\",\n            \"dc_service_id\": \"DHL-DOM\",\n            \"api_user_id\": null,\n            \"courier\": \"DHL\",\n            \"json\": \"{\\r\\n\\\"global_product_code\\\" : \\\"N\\\", \\r\\n\\\"local_product_code\\\" : \\\"C\\\"\\r\\n}\",\n            \"name\": \"DHL Domestic Express\",\n            \"notes\": null,\n            \"rule_weight_min\": null,\n            \"rule_weight_max\": null,\n            \"rule_length_min\": null,\n            \"rule_length_max\": null,\n            \"rule_width_min\": null,\n            \"rule_width_max\": null,\n            \"rule_height_min\": null,\n            \"rule_height_max\": null,\n            \"rule_girth_min\": null,\n            \"rule_girth_max\": null,\n            \"rule_volume_min\": null,\n            \"rule_volume_max\": null,\n            \"rule_value_min\": null,\n            \"rule_value_max\": null,\n            \"rule_exclude_postcodes\": null,\n            \"rule_include_postcodes\": null,\n            \"rule_exclude_keywords\": null,\n            \"rule_include_keywords\": null,\n            \"rule_validate_ioss\": null,\n            \"rule_supported_countries\": null,\n            \"lead_time\": null\n        }\n    ]\n}"}],"_postman_id":"210ba51f-6199-4059-972c-3bcbd9e48b6d"},{"name":"Index","id":"818bc685-0c3f-482f-8063-dae1799638a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"eb7533e2-c624-427f-b197-9c6546143985","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:32:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:32:42 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"company_id\": 1,\n            \"name\": \"Courier Name\",\n            \"friendly_courier_name\": \"Test\",\n            \"key\": \"Test\",\n            \"collection_times\": {\n                \"monday\": [\n                    \"11:00\"\n                ],\n                \"tuesday\": [\n                    \"11:00\"\n                ]\n            },\n            \"status\": 1,\n            \"is_test_account\": 1,\n            \"logo_filename\": \"test.jpg\",\n            \"logo\": \"Courier Logo URL\",\n            \"created_at\": \"2024-12-17T20:31:03.000000Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/public-api/v1/companies/1/couriers?page=1\",\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"path\": \"http://localhost/public-api/v1/companies/1/couriers\",\n        \"per_page\": 10,\n        \"to\": 2\n    }\n}"}],"_postman_id":"818bc685-0c3f-482f-8063-dae1799638a7"},{"name":"Show","id":"e5ac8ed6-f974-47ce-b8e7-40c0cb1ad337","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"ce9ca481-88a1-4419-a13e-35c3fd6e67bd","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:47:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:47:27 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"company_id\": 1,\n    \"name\": \"Deneme\",\n    \"friendly_courier_name\": \"Test\",\n    \"key\": \"Test\",\n    \"collection_times\": [],\n    \"status\": 1,\n    \"is_test_account\": 0,\n    \"logo_filename\": \"test.jpg\",\n    \"config\": {\n        \"auth\": {\n            \"username\": \"test1\",\n            \"password\": \"test2\"\n        }\n    },\n    \"logo\": \"Courier Logo URL\",\n    \"created_at\": \"2024-12-11T21:43:01.000000Z\"\n}"},{"id":"18ff2780-4981-4848-b850-da4cf71b1d7b","name":"Show - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:48:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:48:04 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"courier_id\": [\n                \"The selected Courier is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Courier is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.040\"\n}"}],"_postman_id":"e5ac8ed6-f974-47ce-b8e7-40c0cb1ad337"},{"name":"Create","id":"4f77f9a9-46f8-41e9-9267-c1dfd5370e1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"courier_key\": \"Test\",\r\n    \"testing\": true,\r\n    \"name\": \"Courier Name\",\r\n    \"username\": \"testuser\",\r\n    \"password\": \"testpw\",\r\n    \"collection_times\": {\r\n        \"monday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"tuesday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"wednesday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"thursday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"friday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"saturday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"sunday\": [\r\n            \"11:00\"\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"181cd1e0-30fa-4521-8952-6c348e225afd","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"courier_key\": \"Test\",\r\n    \"testing\": true,\r\n    \"name\": \"Courier Name\",\r\n    \"username\": \"testuser\",\r\n    \"password\": \"testpw\",\r\n    \"collection_times\": {\r\n        \"monday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"tuesday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"wednesday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"thursday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"friday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"saturday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"sunday\": [\r\n            \"11:00\"\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:31:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:31:03 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"company_id\": 1,\n    \"name\": \"Courier Name\",\n    \"friendly_courier_name\": \"Test\",\n    \"key\": \"Test\",\n    \"collection_times\": {\n        \"monday\": [\n            \"11:00\"\n        ],\n        \"tuesday\": [\n            \"11:00\"\n        ],\n        \"wednesday\": [\n            \"11:00\"\n        ],\n        \"thursday\": [\n            \"11:00\"\n        ],\n        \"friday\": [\n            \"11:00\"\n        ],\n        \"saturday\": [\n            \"11:00\"\n        ],\n        \"sunday\": [\n            \"11:00\"\n        ]\n    },\n    \"status\": null,\n    \"is_test_account\": true,\n    \"logo_filename\": \"test.jpg\",\n    \"logo\": \"Courier Logo URL\",\n    \"created_at\": \"2024-12-17T20:31:03.000000Z\"\n}"},{"id":"819bc555-1212-46c0-9eef-fa1abd0fd58b","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"courier_key\": \"Test\",\r\n    \"testing\": true,\r\n    \"name\": \"Courier Name\",\r\n    \"username\": \"testuser\",\r\n    \"password\": \"testpw\",\r\n    \"collection_times\": {\r\n        \"monday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"tuesday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"wednesday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"thursday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"friday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"saturday\": [\r\n            \"11:00\"\r\n        ],\r\n        \"sunday\": [\r\n            \"11:00\"\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:32:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:32:02 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"name\": [\n                \"The Name has already been taken.\"\n            ]\n        },\n        \"message\": \"The Name has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.370\"\n}"}],"_postman_id":"4f77f9a9-46f8-41e9-9267-c1dfd5370e1f"},{"name":"Update","id":"f8f6282e-bfbc-4f60-92ea-1162c8cc90ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Deneme\",\r\n    \"status\": 1,\r\n    \"collection_times\": [],\r\n    \"testing\": 0,\r\n    \"config\": {\r\n        \"username\": \"test1\",\r\n        \"password\": \"test2\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"1d316346-6df0-4923-ade1-9a9cbea480d4","name":"Update - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Deneme\",\r\n    \"status\": 1,\r\n    \"collection_times\": [],\r\n    \"testing\": 0,\r\n    \"config\": {\r\n        \"username\": \"test1\",\r\n        \"password\": \"test2\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:44:13 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:44:13 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"1fc63ea5-9176-4f5b-aeec-5ceb364e38d3","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Deneme\",\r\n    \"status\": 1,\r\n    \"collection_times\": [],\r\n    \"testing\": 0,\r\n    \"config\": {\r\n        \"username\": \"test1\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:44:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:44:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"config.password\": [\n                \"The Password field is required.\"\n            ]\n        },\n        \"message\": \"The Password field is required.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.050\"\n}"}],"_postman_id":"f8f6282e-bfbc-4f60-92ea-1162c8cc90ee"},{"name":"Delete","id":"181a2094-e0f2-4a2b-9a65-71c91c3456d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","couriers","{{courier_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"81a0db2e-17d7-4d7d-b368-fabc5802099f","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:53:48 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:53:48 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"a2b18620-5af9-491b-b27a-9299f37403bd","name":"Delete - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/couriers/{{courier_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2024 20:53:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=keUT8oKI2204CKXXmyyanbTPMoxqISJOnkjFj5Qa; expires=Thu, 16 Jan 2025 20:53:57 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"courier_id\": [\n                \"The selected Courier is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Courier is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.041\"\n}"}],"_postman_id":"181a2094-e0f2-4a2b-9a65-71c91c3456d7"}],"id":"a0fc33d2-5bf7-4a9e-9472-8f181ddd676d","_postman_id":"a0fc33d2-5bf7-4a9e-9472-8f181ddd676d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Suppliers","item":[{"name":"List","id":"5ca9ad69-971c-4192-b1c9-0f9737cff6bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers?includes=supplierAddresses.address.country,supplierContacts.contact,tags.tag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"supplierAddresses.address.country,supplierContacts.contact,tags.tag"}],"variable":[]}},"response":[{"id":"8f6744d5-e427-4436-95cb-725419054687","name":"List - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/suppliers?includes=supplierAddresses.address.country,supplierContacts.contact,tags.tag","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","suppliers"],"query":[{"key":"includes","value":"supplierAddresses.address.country,supplierContacts.contact,tags.tag"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 21:53:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 21:53:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 5,\n            \"contact_id\": 45,\n            \"file_manager_id\": null,\n            \"last_address_postcode\": \"YO25 9FQ\",\n            \"url\": null,\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"company_id\": 1,\n                    \"supplier_id\": 5,\n                    \"supplier_tag_id\": 1,\n                    \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"tag\": {\n                        \"id\": 1,\n                        \"company_id\": 1,\n                        \"name\": \"test\",\n                        \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                        \"updated_at\": \"2025-01-08T21:46:53.000000Z\"\n                    }\n                }\n            ],\n            \"contacts\": [\n                {\n                    \"id\": 2,\n                    \"supplier_id\": 5,\n                    \"contact_id\": 46,\n                    \"file_manager_id\": null,\n                    \"title\": \"Contact Title\",\n                    \"archived_by\": null,\n                    \"archived_at\": null,\n                    \"deleted_at\": null,\n                    \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"photo\": null,\n                    \"contact\": {\n                        \"id\": 46,\n                        \"name\": \"Name\",\n                        \"surname\": \"Lastname\",\n                        \"phone\": \"123123\",\n                        \"email\": \"example@mail.com\",\n                        \"hash\": \"198a5a5e8ffb27d011ebf8848769c4f2\",\n                        \"email_hash\": \"fbf2b9cfc0a472389f3620e471bdf0e9\",\n                        \"deleted_at\": null,\n                        \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                        \"updated_at\": \"2025-01-08T21:46:53.000000Z\"\n                    },\n                    \"file_manager\": null\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"id\": 2,\n                    \"supplier_id\": 5,\n                    \"address_id\": 27,\n                    \"contact_id\": null,\n                    \"archived_by\": null,\n                    \"archived_at\": null,\n                    \"deleted_at\": null,\n                    \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"address\": {\n                        \"id\": 27,\n                        \"address_line_1\": \"Line 1\",\n                        \"address_line_2\": \"Line 2\",\n                        \"address_line_3\": null,\n                        \"city\": \"City\",\n                        \"county\": \"County\",\n                        \"country_id\": 1,\n                        \"postcode\": \"YO25 9FQ\",\n                        \"company_name\": \"Test\",\n                        \"hash\": \"9e7db7656ed3a5e6ce4f20cc467c7072\",\n                        \"vat_number\": null,\n                        \"eori\": null,\n                        \"deleted_at\": null,\n                        \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                        \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                        \"country\": {\n                            \"id\": 1,\n                            \"name\": \"Test\",\n                            \"alpha_2_code\": \"TEST\",\n                            \"alpha_3_code\": \"TEST\",\n                            \"numeric_code\": 1,\n                            \"subregion\": \"test\",\n                            \"created_at\": null,\n                            \"updated_at\": null\n                        }\n                    }\n                }\n            ]\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.054\"\n}"}],"_postman_id":"5ca9ad69-971c-4192-b1c9-0f9737cff6bb"},{"name":"Show","id":"3b1a5fa9-64a9-42ff-9762-d4027c4775b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}?includes=supplierAddresses.address.country,supplierContacts.contact,tags.tag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","{{supplier_id}}"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"supplierAddresses.address.country,supplierContacts.contact,tags.tag"}],"variable":[]}},"response":[{"id":"90c1494d-bb4f-4843-938c-c07a4eb0cfd1","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}?includes=supplierAddresses.address.country,supplierContacts.contact,tags.tag","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","suppliers","{{supplier_id}}"],"query":[{"key":"includes","value":"supplierAddresses.address.country,supplierContacts.contact,tags.tag"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 21:52:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 21:52:02 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 5,\n        \"contact_id\": 45,\n        \"file_manager_id\": null,\n        \"last_address_postcode\": \"YO25 9FQ\",\n        \"url\": null,\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"company_id\": 1,\n                \"supplier_id\": 5,\n                \"supplier_tag_id\": 1,\n                \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                \"tag\": {\n                    \"id\": 1,\n                    \"company_id\": 1,\n                    \"name\": \"test\",\n                    \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"updated_at\": \"2025-01-08T21:46:53.000000Z\"\n                }\n            }\n        ],\n        \"contacts\": [\n            {\n                \"id\": 2,\n                \"supplier_id\": 5,\n                \"contact_id\": 46,\n                \"file_manager_id\": null,\n                \"title\": \"Contact Title\",\n                \"archived_by\": null,\n                \"archived_at\": null,\n                \"deleted_at\": null,\n                \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                \"photo\": null,\n                \"contact\": {\n                    \"id\": 46,\n                    \"name\": \"Name\",\n                    \"surname\": \"Lastname\",\n                    \"phone\": \"123123\",\n                    \"email\": \"example@mail.com\",\n                    \"hash\": \"198a5a5e8ffb27d011ebf8848769c4f2\",\n                    \"email_hash\": \"fbf2b9cfc0a472389f3620e471bdf0e9\",\n                    \"deleted_at\": null,\n                    \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"updated_at\": \"2025-01-08T21:46:53.000000Z\"\n                },\n                \"file_manager\": null\n            }\n        ],\n        \"addresses\": [\n            {\n                \"id\": 2,\n                \"supplier_id\": 5,\n                \"address_id\": 27,\n                \"contact_id\": null,\n                \"archived_by\": null,\n                \"archived_at\": null,\n                \"deleted_at\": null,\n                \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                \"address\": {\n                    \"id\": 27,\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"address_line_3\": null,\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\",\n                    \"company_name\": \"Test\",\n                    \"hash\": \"9e7db7656ed3a5e6ce4f20cc467c7072\",\n                    \"vat_number\": null,\n                    \"eori\": null,\n                    \"deleted_at\": null,\n                    \"created_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"updated_at\": \"2025-01-08T21:46:53.000000Z\",\n                    \"country\": {\n                        \"id\": 1,\n                        \"name\": \"Test\",\n                        \"alpha_2_code\": \"TEST\",\n                        \"alpha_3_code\": \"TEST\",\n                        \"numeric_code\": 1,\n                        \"subregion\": \"test\",\n                        \"created_at\": null,\n                        \"updated_at\": null\n                    }\n                }\n            }\n        ]\n    },\n    \"success\": true,\n    \"execution_time\": \"0.051\"\n}"}],"_postman_id":"3b1a5fa9-64a9-42ff-9762-d4027c4775b1"},{"name":"Create","id":"9203330b-ea3f-4a6b-a301-4cca19b6aed2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Name\",\n    \"phone\": \"123123\",\n    \"email\": \"supplier@mail.com\",\n    \"vat_number\": \"123\",\n    \"eori_number\": \"123\",\n    \"registration_number\": \"123\",\n    \"tags\": [\n        \"test\"\n    ],\n    \"contacts\": [\n        {\n            \"name\": \"Name\",\n            \"surname\": \"Lastname\",\n            \"email\": \"example@mail.com\",\n            \"phone\": \"123123\",\n            \"title\": \"Contact Title\"\n        }\n    ],\n    \"addresses\": [\n        {\n            \"company_name\": \"Test\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"YO25 9FQ\"\n        }\n    ],\n    \"settings\": {\n        \"currency_id\": 1,\n        \"lead_time\": 1,\n        \"lead_time_type\": 1,\n        \"minimum_order_value\": 234.54,\n        \"default_delivery_cost\": 34.56,\n        \"payment_terms\": 0\n    },\n    \"details\": {\n        \"registration_number\": \"A34\",\n        \"tax_id\": \"B3\",\n        \"eori\": \"C234\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"dfe9ef8b-d543-41e1-a676-bd7b07eec887","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Name\",\n    \"phone\": \"123123\",\n    \"email\": \"supplier@mail.com\",\n    \"vat_number\": \"123\",\n    \"eori_number\": \"123\",\n    \"registration_number\": \"123\",\n    \"tags\": [\n        \"test\"\n    ],\n    \"contacts\": [\n        {\n            \"name\": \"Name\",\n            \"surname\": \"Lastname\",\n            \"email\": \"example@mail.com\",\n            \"phone\": \"123123\",\n            \"title\": \"Contact Title\"\n        }\n    ],\n    \"addresses\": [\n        {\n            \"company_name\": \"Test\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"YO25 9FQ\"\n        }\n    ],\n    \"settings\": {\n        \"currency_id\": 1,\n        \"lead_time\": 1,\n        \"lead_time_type\": 1,\n        \"minimum_order_value\": 234.54,\n        \"default_delivery_cost\": 34.56,\n        \"payment_terms\": 0\n    },\n    \"details\": {\n        \"registration_number\": \"A34\",\n        \"tax_id\": \"B3\",\n        \"eori\": \"C234\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 21:46:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 21:46:53 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 5,\n        \"contact_id\": 45,\n        \"file_manager_id\": null,\n        \"last_address_postcode\": null,\n        \"url\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.131\"\n}"},{"id":"f94e8a56-68c2-4c07-883e-350977ce7ca7","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Name\",\n    \"phone\": \"123123\",\n    \"email\": \"supplier@mail.com\",\n    \"vat_number\": \"123\",\n    \"eori_number\": \"123\",\n    \"registration_number\": \"123\",\n    \"tags\": [\n        \"test\"\n    ],\n    \"contacts\": [\n        {\n            \"name\": \"Name\",\n            \"surname\": \"Lastname\",\n            \"email\": \"example@mail.com\",\n            \"phone\": \"123123\",\n            \"title\": \"Contact Title\"\n        }\n    ],\n    \"addresses\": [\n        {\n            \"company_name\": \"Test\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"YO25 9FQ\"\n        }\n    ],\n    \"settings\": {\n        \"currency_id\": 1,\n        \"lead_time\": 1,\n        \"lead_time_type\": 1,\n        \"minimum_order_value\": 234.54,\n        \"default_delivery_cost\": 34.56,\n        \"payment_terms\": 0\n    },\n    \"details\": {\n        \"registration_number\": \"A34\",\n        \"tax_id\": \"B3\",\n        \"eori\": \"C234\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 21:47:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 21:47:29 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"name\": [\n                \"The name has already been taken.\"\n            ]\n        },\n        \"message\": \"The name has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.375\"\n}"}],"_postman_id":"9203330b-ea3f-4a6b-a301-4cca19b6aed2"},{"name":"Update","id":"ae81ed50-be5c-4053-8100-3df17f2cfec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Name\",\n    \"phone\": \"123123\",\n    \"email\": \"supplier@mail.com\",\n    \"vat_number\": \"123\",\n    \"eori_number\": \"123\",\n    \"registration_number\": \"123\",\n    \"tags\": [\n        \"test\"\n    ],\n    \"contacts\": [\n        {\n            \"id\": 4,\n            \"name\": \"Update\",\n            \"surname\": \"Lastname\",\n            \"email\": \"example@mail.com\",\n            \"phone\": \"123123\",\n            \"title\": \"Contact Title\"\n        },\n        {\n            \"name\": \"New\",\n            \"surname\": \"Lastname\",\n            \"email\": \"example2@mail.com\",\n            \"phone\": \"123123\",\n            \"title\": \"Contact Title\"\n        }\n    ],\n    \"addresses\": [\n        {\n            \"id\": 4,\n            \"company_name\": \"Update\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"YO25 9FQ\"\n        },\n        {\n            \"company_name\": \"New\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"YO25 9FQ\"\n        }\n    ],\n    \"settings\": {\n        \"currency_id\": 1,\n        \"lead_time\": 1,\n        \"lead_time_type\": 1,\n        \"minimum_order_value\": 234.54,\n        \"default_delivery_cost\": 34.56,\n        \"payment_terms\": 0\n    },\n    \"details\": {\n        \"registration_number\": \"A34\",\n        \"tax_id\": \"B3\",\n        \"eori\": \"C234\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","{{supplier_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"6bd84e31-e4a8-44db-862d-2f96485851a9","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Name\",\n    \"phone\": \"123123\",\n    \"email\": \"supplier@mail.com\",\n    \"vat_number\": \"123\",\n    \"eori_number\": \"123\",\n    \"registration_number\": \"123\",\n    \"tags\": [\n        \"test\"\n    ],\n    \"contacts\": [\n        {\n            \"id\": 4,\n            \"name\": \"Update\",\n            \"surname\": \"Lastname\",\n            \"email\": \"example@mail.com\",\n            \"phone\": \"123123\",\n            \"title\": \"Contact Title\"\n        },\n        {\n            \"name\": \"New\",\n            \"surname\": \"Lastname\",\n            \"email\": \"example2@mail.com\",\n            \"phone\": \"123123\",\n            \"title\": \"Contact Title\"\n        }\n    ],\n    \"addresses\": [\n        {\n            \"id\": 4,\n            \"company_name\": \"Update\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"YO25 9FQ\"\n        },\n        {\n            \"company_name\": \"New\",\n            \"address_line_1\": \"Line 1\",\n            \"address_line_2\": \"Line 2\",\n            \"city\": \"City\",\n            \"county\": \"County\",\n            \"country_id\": 1,\n            \"postcode\": \"YO25 9FQ\"\n        }\n    ],\n    \"settings\": {\n        \"currency_id\": 1,\n        \"lead_time\": 1,\n        \"lead_time_type\": 1,\n        \"minimum_order_value\": 234.54,\n        \"default_delivery_cost\": 34.56,\n        \"payment_terms\": 0\n    },\n    \"details\": {\n        \"registration_number\": \"A34\",\n        \"tax_id\": \"B3\",\n        \"eori\": \"C234\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 22:25:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 22:25:19 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 7,\n        \"contact_id\": 45,\n        \"file_manager_id\": null,\n        \"last_address_postcode\": \"YO25 9FQ\",\n        \"url\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.139\"\n}"}],"_postman_id":"ae81ed50-be5c-4053-8100-3df17f2cfec5"},{"name":"Archive","id":"afe47d94-8525-4053-a86a-9a21590fa87c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}/archive","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","{{supplier_id}}","archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"06e566fe-f771-410a-95b5-0baf17e7cc6b","name":"Archive - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}/archive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 21:55:28 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 21:55:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"afe47d94-8525-4053-a86a-9a21590fa87c"},{"name":"Unarchive","id":"b4bc37c2-9a07-480e-aed0-9d9a923bfd55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}/restore","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","{{supplier_id}}","restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0458b800-9e60-497d-a238-92034171ea84","name":"Unarchive - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}/restore"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 21:56:54 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 21:56:54 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b4bc37c2-9a07-480e-aed0-9d9a923bfd55"},{"name":"Delete","id":"fd778cf4-93a7-41c1-99bb-6bdea522b591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","{{supplier_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"7a96131c-15b4-43c6-8dd4-c754a3327386","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/{{supplier_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 21:57:59 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 21:57:59 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"fd778cf4-93a7-41c1-99bb-6bdea522b591"},{"name":"Bulk Create","id":"a3a7ab56-65ce-4423-93f6-2bec1a661ba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"name\": \"Namea\",\n            \"phone\": \"123123\",\n            \"email\": \"supplierr@mail.com\",\n            \"vat_number\": \"123\",\n            \"eori_number\": \"123\",\n            \"registration_number\": \"123\",\n            \"tags\": [\n                \"test\"\n            ],\n            \"contacts\": [\n                {\n                    \"name\": \"Name\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"company_name\": \"Test\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                }\n            ],\n            \"settings\": {\n                \"currency_id\": 1,\n                \"lead_time\": 1,\n                \"lead_time_type\": 1,\n                \"minimum_order_value\": 234.54,\n                \"default_delivery_cost\": 34.56,\n                \"payment_terms\": 0\n            },\n            \"details\": {\n                \"registration_number\": \"A34\",\n                \"tax_id\": \"B3\",\n                \"eori\": \"C234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"4ce9d9a0-48d1-435b-8f95-7616b2bcfb5c","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"name\": \"Namea\",\n            \"phone\": \"123123\",\n            \"email\": \"supplierr@mail.com\",\n            \"vat_number\": \"123\",\n            \"eori_number\": \"123\",\n            \"registration_number\": \"123\",\n            \"tags\": [\n                \"test\"\n            ],\n            \"contacts\": [\n                {\n                    \"name\": \"Name\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"company_name\": \"Test\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                }\n            ],\n            \"settings\": {\n                \"currency_id\": 1,\n                \"lead_time\": 1,\n                \"lead_time_type\": 1,\n                \"minimum_order_value\": 234.54,\n                \"default_delivery_cost\": 34.56,\n                \"payment_terms\": 0\n            },\n            \"details\": {\n                \"registration_number\": \"A34\",\n                \"tax_id\": \"B3\",\n                \"eori\": \"C234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:02:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:02:58 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 9,\n            \"contact_email\": \"supplierr@mail.com\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.096\"\n}"},{"id":"e15ca2fe-d7a1-402f-9531-1f344f85e036","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"name\": \"Namea\",\n            \"phone\": \"123123\",\n            \"email\": \"supplierr@mail.com\",\n            \"vat_number\": \"123\",\n            \"eori_number\": \"123\",\n            \"registration_number\": \"123\",\n            \"tags\": [\n                \"test\"\n            ],\n            \"contacts\": [\n                {\n                    \"name\": \"Name\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"company_name\": \"Test\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                }\n            ],\n            \"settings\": {\n                \"currency_id\": 1,\n                \"lead_time\": 1,\n                \"lead_time_type\": 1,\n                \"minimum_order_value\": 234.54,\n                \"default_delivery_cost\": 34.56,\n                \"payment_terms\": 0\n            },\n            \"details\": {\n                \"registration_number\": \"A34\",\n                \"tax_id\": \"B3\",\n                \"eori\": \"C234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:03:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:03:24 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"suppliers.0.name\": [\n                \"The suppliers.0.name has already been taken.\"\n            ]\n        },\n        \"message\": \"The suppliers.0.name has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.057\"\n}"}],"_postman_id":"a3a7ab56-65ce-4423-93f6-2bec1a661ba7"},{"name":"Bulk Update","id":"9646a670-6e80-4852-9fad-4ca85e763a1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"supplier_id\": 9,\n            \"name\": \"Name\",\n            \"phone\": \"123123\",\n            \"email\": \"supplier@mail.com\",\n            \"vat_number\": \"123\",\n            \"eori_number\": \"123\",\n            \"registration_number\": \"123\",\n            \"tags\": [\n                \"test\"\n            ],\n            \"contacts\": [\n                {\n                    \"id\": 4,\n                    \"name\": \"Update\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                },\n                {\n                    \"name\": \"New\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example2@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"id\": 4,\n                    \"company_name\": \"Update\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                },\n                {\n                    \"company_name\": \"New\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                }\n            ],\n            \"settings\": {\n                \"currency_id\": 1,\n                \"lead_time\": 1,\n                \"lead_time_type\": 1,\n                \"minimum_order_value\": 234.54,\n                \"default_delivery_cost\": 34.56,\n                \"payment_terms\": 0\n            },\n            \"details\": {\n                \"registration_number\": \"A34\",\n                \"tax_id\": \"B3\",\n                \"eori\": \"C234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"fdfaa623-73ea-4282-af59-e1d0af632302","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"supplier_id\": 9,\n            \"name\": \"Namea\",\n            \"phone\": \"123123\",\n            \"email\": \"supplier@mail.com\",\n            \"vat_number\": \"123\",\n            \"eori_number\": \"123\",\n            \"registration_number\": \"123\",\n            \"tags\": [\n                \"test\"\n            ],\n            \"contacts\": [\n                {\n                    \"name\": \"Update\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                },\n                {\n                    \"name\": \"New\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example2@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"company_name\": \"Update\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                },\n                {\n                    \"company_name\": \"New\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                }\n            ],\n            \"settings\": {\n                \"currency_id\": 1,\n                \"lead_time\": 1,\n                \"lead_time_type\": 1,\n                \"minimum_order_value\": 234.54,\n                \"default_delivery_cost\": 34.56,\n                \"payment_terms\": 0\n            },\n            \"details\": {\n                \"registration_number\": \"A34\",\n                \"tax_id\": \"B3\",\n                \"eori\": \"C234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:05:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:05:00 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 9,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.075\"\n}"},{"id":"1151dd53-0d9d-4566-8b6f-d200a5bb66a7","name":"Bulk Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"suppliers\": [\n        {\n            \"supplier_id\": 9,\n            \"name\": \"Name\",\n            \"phone\": \"123123\",\n            \"email\": \"supplier@mail.com\",\n            \"vat_number\": \"123\",\n            \"eori_number\": \"123\",\n            \"registration_number\": \"123\",\n            \"tags\": [\n                \"test\"\n            ],\n            \"contacts\": [\n                {\n                    \"id\": 4,\n                    \"name\": \"Update\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                },\n                {\n                    \"name\": \"New\",\n                    \"surname\": \"Lastname\",\n                    \"email\": \"example2@mail.com\",\n                    \"phone\": \"123123\",\n                    \"title\": \"Contact Title\"\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"id\": 4,\n                    \"company_name\": \"Update\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                },\n                {\n                    \"company_name\": \"New\",\n                    \"address_line_1\": \"Line 1\",\n                    \"address_line_2\": \"Line 2\",\n                    \"city\": \"City\",\n                    \"county\": \"County\",\n                    \"country_id\": 1,\n                    \"postcode\": \"YO25 9FQ\"\n                }\n            ],\n            \"settings\": {\n                \"currency_id\": 1,\n                \"lead_time\": 1,\n                \"lead_time_type\": 1,\n                \"minimum_order_value\": 234.54,\n                \"default_delivery_cost\": 34.56,\n                \"payment_terms\": 0\n            },\n            \"details\": {\n                \"registration_number\": \"A34\",\n                \"tax_id\": \"B3\",\n                \"eori\": \"C234\"\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 23:05:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 23:05:25 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"suppliers.0.name\": [\n                \"The suppliers.0.name has already been taken.\"\n            ],\n            \"suppliers.0.contacts.0.id\": [\n                \"The selected suppliers.0.contacts.0.id is invalid.\"\n            ]\n        },\n        \"message\": \"The suppliers.0.name has already been taken. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.055\"\n}"}],"_postman_id":"9646a670-6e80-4852-9fad-4ca85e763a1c"},{"name":"Bulk Archive","id":"94ccdf55-e09b-408d-be8e-d69b6780824c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"suppliers\": [1, 7]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-archive","description":"<p>This endpoint archives multiple customers in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_ids</code></td>\n<td><code>array</code></td>\n<td>List of customer IDs to archive. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customer_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each customer. Must exist, be active, and not already archived.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only active and unarchived customers can be archived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","bulk-archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"a6f31c22-de9d-43b3-aa3c-bc3277820f42","name":"Bulk Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"suppliers\": [1, 7]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 22:40:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 22:40:44 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 7,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.067\"\n}"}],"_postman_id":"94ccdf55-e09b-408d-be8e-d69b6780824c"},{"name":"Bulk Restore","id":"15affd26-fe7c-4751-97fa-237fc243e86a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"suppliers\": [1, 7]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-restore","description":"<p>This endpoint archives multiple customers in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_ids</code></td>\n<td><code>array</code></td>\n<td>List of customer IDs to archive. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customer_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each customer. Must exist, be active, and not already archived.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only active and unarchived customers can be archived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","bulk-restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"2e4ffbc3-753b-4efe-9384-26cae21a6fbd","name":"Bulk Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"suppliers\": [1, 7]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 22:41:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 22:41:59 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 7,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.070\"\n}"}],"_postman_id":"15affd26-fe7c-4751-97fa-237fc243e86a"},{"name":"Bulk Delete","id":"c120ba92-a944-4ae2-990d-cc473f41457c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"suppliers\": [22, 10]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-delete","description":"<p>This endpoint archives multiple customers in a single request.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_ids</code></td>\n<td><code>array</code></td>\n<td>List of customer IDs to archive. Must include at least one customer.</td>\n</tr>\n<tr>\n<td><code>customer_ids.\\*</code></td>\n<td><code>integer</code></td>\n<td>The ID of each customer. Must exist, be active, and not already archived.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"notes\">Notes:</h4>\n<ul>\n<li>Only active and unarchived customers can be archived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","suppliers","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"b5d67bee-b852-4990-a651-c3acae9047b4","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"suppliers\": [1, 7]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/suppliers/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 08 Jan 2025 22:42:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=2UWy7tTj4S4XwIth1UG0D4OFM4vPsq1z3yRm235O; expires=Fri, 07 Feb 2025 22:42:25 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"status\": true,\n            \"message\": null\n        },\n        {\n            \"id\": 7,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.073\"\n}"}],"_postman_id":"c120ba92-a944-4ae2-990d-cc473f41457c"}],"id":"763802f2-8e66-4c4e-93cf-09f26d232065","_postman_id":"763802f2-8e66-4c4e-93cf-09f26d232065","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Deliveries","item":[{"name":"Items","item":[{"name":"Index","id":"d770b6a4-9c72-4e8e-851d-0678f9d7ce91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/items","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","{{delivery_id}}","items"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d770b6a4-9c72-4e8e-851d-0678f9d7ce91"},{"name":"Create","id":"0555285c-5d0f-45cf-8184-2ff00172d1f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"delivery_type\": 1, /// 1 = Purchase Order, 2 = Inventory\n    \"mark_as_all_received\": false,\n    \"items\": [\n        {\n            \"inventory_id\": 73,\n            \"expected_qty\": 1010,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        },\n        {\n            \"inventory_id\": 72,\n            \"expected_qty\": 1000,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/1/items","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","1","items"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0555285c-5d0f-45cf-8184-2ff00172d1f4"}],"id":"61d2d5c0-7348-44b4-82bc-c9e9f8978f9c","_postman_id":"61d2d5c0-7348-44b4-82bc-c9e9f8978f9c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Types","id":"72bc2dc6-eb09-418c-b646-87f29df34039","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"ccd63cb1-b7d6-4ccd-9741-0765b61266d2","name":"List - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 21:15:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 21:15:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"value\": 1,\n            \"name\": \"Purchase Order\"\n        },\n        {\n            \"value\": 2,\n            \"name\": \"Inventory\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.046\"\n}"}],"_postman_id":"72bc2dc6-eb09-418c-b646-87f29df34039"},{"name":"Index","id":"2d1490c2-0b0d-4404-8cb8-826f9db9146f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries","description":"<h3 id=\"query-parameters-filters\"><strong>Query Parameters (Filters):</strong></h3>\n<ul>\n<li><p><strong>archived</strong>: </p>\n<ul>\n<li>Type: Boolean</li>\n<li>Description: Filter deliveries based on their archived status.</li>\n<li>Example: <code>archived=true</code> (for archived deliveries) or <code>archived=false</code> (for non-archived deliveries)</li>\n</ul>\n</li>\n<li><p><strong>reference_number</strong>: </p>\n<ul>\n<li>Type: String</li>\n<li>Description: Filter deliveries by reference number (supports partial matching with <code>LIKE</code> operator).</li>\n<li>Example: <code>reference_number=REF123</code></li>\n</ul>\n</li>\n<li><p><strong>query</strong>: </p>\n<ul>\n<li>Type: String</li>\n<li>Description: Another option to filter deliveries by reference number, similar to <code>reference_number</code>.</li>\n<li>Example: <code>query=REF123</code></li>\n</ul>\n</li>\n<li><p><strong>supplier_id</strong>: </p>\n<ul>\n<li>Type: Integer or Array</li>\n<li>Description: Filter deliveries by supplier ID.</li>\n<li>Example: <code>supplier_id=1</code> or <code>supplier_id=[1, 2]</code></li>\n</ul>\n</li>\n<li><p><strong>item_count_from</strong>: </p>\n<ul>\n<li>Type: Integer</li>\n<li>Description: Filter deliveries by the minimum number of items.</li>\n<li>Example: <code>item_count_from=10</code></li>\n</ul>\n</li>\n<li><p><strong>item_count_to</strong>: </p>\n<ul>\n<li>Type: Integer</li>\n<li>Description: Filter deliveries by the maximum number of items.</li>\n<li>Example: <code>item_count_to=50</code></li>\n</ul>\n</li>\n<li><p><strong>expected_delivery_date_from</strong>: </p>\n<ul>\n<li>Type: Date (YYYY-MM-DD)</li>\n<li>Description: Filter deliveries by the expected delivery date from a specific date.</li>\n<li>Example: <code>expected_delivery_date_from=2025-01-01</code></li>\n</ul>\n</li>\n<li><p><strong>expected_delivery_date_to</strong>: </p>\n<ul>\n<li>Type: Date (YYYY-MM-DD)</li>\n<li>Description: Filter deliveries by the expected delivery date up to a specific date.</li>\n<li>Example: <code>expected_delivery_date_to=2025-01-31</code></li>\n</ul>\n</li>\n<li><p><strong>status</strong>: </p>\n<ul>\n<li>Type: String or Array</li>\n<li>Description: Filter deliveries by status.</li>\n<li>Example: <code>status=delivered</code> or <code>status=[delivered, in_progress]</code></li>\n</ul>\n</li>\n<li><p><strong>tags</strong>: </p>\n<ul>\n<li>Type: Integer or Array</li>\n<li>Description: Filter deliveries by tag ID.</li>\n<li>Example: <code>tags=3</code> or <code>tags=[3, 5]</code></li>\n</ul>\n</li>\n<li><p><strong>assigned_user_id</strong>: </p>\n<ul>\n<li>Type: Integer or Array</li>\n<li>Description: Filter deliveries by the user assigned to them.</li>\n<li>Example: <code>assigned_user_id=2</code> or <code>assigned_user_id=[2, 4]</code></li>\n</ul>\n</li>\n<li><p><strong>is_mobile</strong>: </p>\n<ul>\n<li>Type: Boolean</li>\n<li>Description: Filter deliveries based on whether they are assigned to a user for mobile view.</li>\n<li>Example: <code>is_mobile=true</code></li>\n</ul>\n</li>\n<li><p><strong>unassigned_deliveries</strong>: </p>\n<ul>\n<li>Type: Boolean</li>\n<li>Description: Filter for unassigned deliveries.</li>\n<li>Example: <code>unassigned_deliveries=true</code></li>\n</ul>\n</li>\n<li><p><strong>delivery_number</strong>: </p>\n<ul>\n<li>Type: String</li>\n<li>Description: Filter deliveries by the delivery number (supports partial matching with <code>LIKE</code> operator).</li>\n<li>Example: <code>delivery_number=DEL123</code></li>\n</ul>\n</li>\n<li><p><strong>delivery_number_exclude</strong>: </p>\n<ul>\n<li>Type: String</li>\n<li>Description: Exclude deliveries based on the delivery number (supports partial matching with <code>NOT LIKE</code> operator).</li>\n<li>Example: <code>delivery_number_exclude=DEL123</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"includes\"><strong>Includes:</strong></h3>\n<p>Use the <code>includes</code> parameter to include related data in the response. The following relationships can be included:</p>\n<ul>\n<li><strong>supplier</strong>: Supplier associated with the delivery.</li>\n<li><strong>supplier.fileManager</strong>: File manager for the supplier.</li>\n<li><strong>supplier.contact</strong>: Supplier's contact information.</li>\n<li><strong>warehouseLocation</strong>: The warehouse location for the delivery.</li>\n<li><strong>items</strong>: Items associated with the delivery.</li>\n<li><strong>items.inventory</strong>: Inventory details for the items.</li>\n<li><strong>items.inventory.meta</strong>: Metadata for the inventory items.</li>\n<li><strong>items.purchaseOrder</strong>: Purchase orders linked to the items.</li>\n<li><strong>items.purchaseOrder.items</strong>: Items within the purchase orders.</li>\n<li><strong>assignedUser</strong>: The user assigned to the delivery.</li>\n<li><strong>assignedUser.user</strong>: The user details.</li>\n<li><strong>assignedUser.user.fileManager</strong>: File manager for the assigned user.</li>\n<li><strong>assignedUser.timeTracking</strong>: Time tracking data for the user.</li>\n<li><strong>assignedUsers</strong>: All users assigned to the delivery.</li>\n<li><strong>assignedUsers.user</strong>: All users assigned to the delivery, with user details.</li>\n<li><strong>assignedUsers.user.fileManager</strong>: File manager for all assigned users.</li>\n<li><strong>assignedUsers.timeTracking</strong>: Time tracking data for all assigned users.</li>\n<li><strong>tags</strong>: Tags associated with the delivery.</li>\n<li><strong>tags.tag</strong>: Detailed tag information.</li>\n<li><strong>sizes</strong>: Sizes related to the items in the delivery.</li>\n<li><strong>attachments</strong>: Any attachments related to the delivery.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"b209d090-a4b1-4f22-8a3f-6e06841059ff","name":"Index- 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:00:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:00:23 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"company_id\": 1,\n            \"supplier_id\": null,\n            \"warehouse_location_id\": 5,\n            \"type\": 2,\n            \"delivery_number\": \"234324\",\n            \"reference_number\": \"DE-876F563D\",\n            \"status\": 1,\n            \"expected_delivery_date\": \"2024-10-24T23:00:00.000000Z\",\n            \"received_at\": null,\n            \"archived_by\": null,\n            \"archived_at\": null,\n            \"created_at\": \"2025-02-05T21:59:27.000000Z\",\n            \"updated_at\": \"2025-02-05T21:59:27.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"2d1490c2-0b0d-4404-8cb8-826f9db9146f"},{"name":"Show","id":"5fce0eb3-9dd7-4936-b263-d9edca9e0b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}","description":"<ul>\n<li><strong>delivery_id</strong>: <ul>\n<li>Type: Integer</li>\n<li>Description: The ID of the delivery to retrieve.</li>\n<li>Example: <code>delivery_id=123</code></li>\n</ul>\n</li>\n</ul>\n<h3 id=\"includes\"><strong>Includes:</strong></h3>\n<p>Use the <code>includes</code> query parameter to include related data in the response. The following relationships can be included:</p>\n<ul>\n<li><strong>supplier</strong>: Supplier associated with the delivery.</li>\n<li><strong>supplier.fileManager</strong>: File manager for the supplier.</li>\n<li><strong>supplier.contact</strong>: Supplier's contact information.</li>\n<li><strong>warehouseLocation</strong>: The warehouse location for the delivery.</li>\n<li><strong>items</strong>: Items associated with the delivery.</li>\n<li><strong>items.inventory</strong>: Inventory details for the items.</li>\n<li><strong>items.inventory.meta</strong>: Metadata for the inventory items.</li>\n<li><strong>items.purchaseOrder</strong>: Purchase orders linked to the items.</li>\n<li><strong>items.purchaseOrder.items</strong>: Items within the purchase orders.</li>\n<li><strong>assignedUser</strong>: The user assigned to the delivery.</li>\n<li><strong>assignedUser.user</strong>: The user details.</li>\n<li><strong>assignedUser.user.fileManager</strong>: File manager for the assigned user.</li>\n<li><strong>assignedUser.timeTracking</strong>: Time tracking data for the user.</li>\n<li><strong>assignedUsers</strong>: All users assigned to the delivery.</li>\n<li><strong>assignedUsers.user</strong>: All users assigned to the delivery, with user details.</li>\n<li><strong>assignedUsers.user.fileManager</strong>: File manager for all assigned users.</li>\n<li><strong>assignedUsers.timeTracking</strong>: Time tracking data for all assigned users.</li>\n<li><strong>tags</strong>: Tags associated with the delivery.</li>\n<li><strong>tags.tag</strong>: Detailed tag information.</li>\n<li><strong>sizes</strong>: Sizes related to the items in the delivery.</li>\n<li><strong>attachments</strong>: Any attachments related to the delivery.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","{{delivery_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0a78b5ca-9ebc-4237-87eb-6ddb7f067a33","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:01:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:01:19 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"company_id\": 1,\n        \"supplier_id\": null,\n        \"warehouse_location_id\": 5,\n        \"type\": 2,\n        \"delivery_number\": \"234324\",\n        \"reference_number\": \"DE-876F563D\",\n        \"status\": 1,\n        \"expected_delivery_date\": \"2024-10-24T23:00:00.000000Z\",\n        \"received_at\": null,\n        \"archived_by\": null,\n        \"archived_at\": null,\n        \"created_at\": \"2025-02-05T21:59:27.000000Z\",\n        \"updated_at\": \"2025-02-05T21:59:27.000000Z\",\n        \"deleted_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.041\"\n}"},{"id":"9251610a-4cbf-499d-b1d7-76365798354f","name":"Show - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:01:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:01:54 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"delivery_id\": [\n                \"The selected Delivery is invalid.\"\n            ]\n        }\n    },\n    \"success\": false,\n    \"execution_time\": \"0.039\"\n}"}],"_postman_id":"5fce0eb3-9dd7-4936-b263-d9edca9e0b8f"},{"name":"Create","id":"072509eb-5419-45b7-898f-cb6244cf6425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1,\n    \"reference_number\": \"DE-876F563D\",\n    \"supplier_id\": 1,\n    \"delivery_number\": \"234324\",\n    \"warehouse_location_id\": 8,\n    \"expected_delivery_date\": \"2024-10-24T23:00:00.000Z\",\n    \"assigned_user_id\": 1,\n    \"tags\": [\n        \"tag1\",\n        \"tag2\"\n    ],\n    \"sizes\": [\n        {\n            \"unit\": 1,\n            \"qty\": 10\n        },\n        {\n            \"unit\": 2,\n            \"qty\": 20\n        },\n        {\n            \"unit\": 3,\n            \"qty\": 100\n        }\n    ],\n    \"mark_as_all_received\": false,\n    \"items\": [\n        {\n            \"inventory_id\": 73,\n            \"expected_qty\": 1010,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        },\n        {\n            \"inventory_id\": 72,\n            \"expected_qty\": 1000,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries","description":"<p><strong>Create Delivery Endpoint</strong> allows you to create a delivery with various fields like reference number, supplier ID, expected delivery date, and items associated with the delivery.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Requirement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_id</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>reference_number</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>supplier_id</code></td>\n<td>Required if <code>type</code> is <code>PURCHASE_ORDER</code>; Optional otherwise</td>\n</tr>\n<tr>\n<td><code>delivery_number</code></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>warehouse_location_id</code></td>\n<td>Optional; Required if <code>isAdvanceMode</code> is enabled</td>\n</tr>\n<tr>\n<td><code>expected_delivery_date</code></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>assigned_user_id</code></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>Optional, array; Minimum 1 tag</td>\n</tr>\n<tr>\n<td><code>sizes</code></td>\n<td>Optional, array; Minimum 1 size</td>\n</tr>\n<tr>\n<td><code>mark_as_all_received</code></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td>Optional, array; Minimum 1 item</td>\n</tr>\n<tr>\n<td><code>items.inventory_id</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>items.purchase_order_id</code></td>\n<td>Required if <code>type</code> is <code>PURCHASE_ORDER</code>; Optional otherwise</td>\n</tr>\n<tr>\n<td><code>items.expected_qty</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>items.warehouse_location_id</code></td>\n<td>Optional; Required if <code>isAdvanceMode</code> is enabled</td>\n</tr>\n<tr>\n<td><code>items.shelf</code></td>\n<td>Optional, string; Required unless <code>isAdvanceMode</code> is enabled</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"a9a9eef3-b01d-4750-860e-0fe46b821980","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 2,\n    \"reference_number\": \"DE-876F563D\",\n    \"supplier_id\": 1,\n    \"delivery_number\": \"234324\",\n    \"warehouse_location_id\": 5,\n    \"expected_delivery_date\": \"2024-10-24T23:00:00.000Z\",\n    \"assigned_user_id\": 1,\n    \"tags\": [\n        \"tag1\",\n        \"tag2\"\n    ],\n    \"sizes\": [\n        {\n            \"unit\": 1,\n            \"qty\": 10\n        },\n        {\n            \"unit\": 2,\n            \"qty\": 20\n        },\n        {\n            \"unit\": 3,\n            \"qty\": 100\n        }\n    ],\n    \"mark_as_all_received\": false,\n    \"items\": [\n        {\n            \"inventory_id\": 1,\n            \"expected_qty\": 5,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        },\n        {\n            \"inventory_id\": 2,\n            \"expected_qty\": 10,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 21:59:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 21:59:27 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": 2,\n        \"company_id\": \"1\",\n        \"warehouse_location_id\": 5,\n        \"reference_number\": \"DE-876F563D\",\n        \"delivery_number\": \"234324\",\n        \"supplier_id\": null,\n        \"expected_delivery_date\": \"2024-10-24T23:00:00.000000Z\",\n        \"updated_at\": \"2025-02-05T21:59:27.000000Z\",\n        \"created_at\": \"2025-02-05T21:59:27.000000Z\",\n        \"id\": 4\n    },\n    \"success\": true,\n    \"execution_time\": \"0.134\"\n}"},{"id":"94e279b7-db68-4de3-83d1-bb83b5708023","name":"Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 2,\n    \"reference_number\": \"DE-876F563D\",\n    \"supplier_id\": 1,\n    \"delivery_number\": \"234324\",\n    \"warehouse_location_id\": 5,\n    \"expected_delivery_date\": \"2024-10-24T23:00:00.000Z\",\n    \"assigned_user_id\": 1,\n    \"tags\": [\n        \"tag1\",\n        \"tag2\"\n    ],\n    \"sizes\": [\n        {\n            \"unit\": 1,\n            \"qty\": 10\n        },\n        {\n            \"unit\": 2,\n            \"qty\": 20\n        },\n        {\n            \"unit\": 3,\n            \"qty\": 100\n        }\n    ],\n    \"mark_as_all_received\": false,\n    \"items\": [\n        {\n            \"inventory_id\": 1,\n            \"expected_qty\": 5,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        },\n        {\n            \"inventory_id\": 2,\n            \"expected_qty\": 10,\n            \"purchase_order_id\": 12,\n            \"warehouse_location_id\": 12,\n            \"shelf\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 21:59:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 21:59:41 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"reference_number\": [\n                \"The Reference Number has already been taken.\"\n            ]\n        },\n        \"message\": \"The Reference Number has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.064\"\n}"}],"_postman_id":"072509eb-5419-45b7-898f-cb6244cf6425"},{"name":"Update","id":"f18a6b76-1f7f-40fc-8d27-152d9a5ef6b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 2,\n    \"delivery_number\": \"12312342223\",\n    \"warehouse_location_id\": 5,\n    \"expected_delivery_date\": \"2025-09-15 09:00:00\",\n    \"supplier_id\": 1,\n    \"tags\": [\n        \"tag1\",\n        \"tag2\"\n    ],\n    \"sizes\": [\n        {\n            \"id\": 2,\n            \"unit\": 1,\n            \"qty\": 10\n        },\n        {\n            \"id\": 3,\n            \"unit\": 2,\n            \"qty\": 20\n        },\n        {\n            \"unit\": 3,\n            \"qty\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}","description":"<p><strong>Update Delivery Endpoint</strong> allows you to update a delivery with new values for fields like delivery number, warehouse location, supplier, and sizes.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Requirement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>company_id</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>delivery_id</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>supplier_id</code></td>\n<td>Required if <code>type</code> is <code>PURCHASE_ORDER</code>; Optional otherwise</td>\n</tr>\n<tr>\n<td><code>delivery_number</code></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>warehouse_location_id</code></td>\n<td>Optional; Required if <code>isAdvanceMode</code> is enabled</td>\n</tr>\n<tr>\n<td><code>expected_delivery_date</code></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>Optional, array; Minimum 1 tag</td>\n</tr>\n<tr>\n<td><code>sizes</code></td>\n<td>Optional, array; Minimum 1 size</td>\n</tr>\n<tr>\n<td><code>sizes.id</code></td>\n<td>Optional; Required if updating size</td>\n</tr>\n<tr>\n<td><code>sizes.unit</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>sizes.qty</code></td>\n<td>Required</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","{{delivery_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"fd8dc288-516a-4a79-9944-a3698e056f1f","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 2,\n    \"delivery_number\": \"12312342223\",\n    \"warehouse_location_id\": 5,\n    \"expected_delivery_date\": \"2025-09-15 09:00:00\",\n    \"supplier_id\": 1,\n    \"tags\": [\n        \"tag1\",\n        \"tag2\"\n    ],\n    \"sizes\": [\n        {\n            \"id\": 2,\n            \"unit\": 1,\n            \"qty\": 10\n        },\n        {\n            \"id\": 3,\n            \"unit\": 2,\n            \"qty\": 20\n        },\n        {\n            \"id\": 4,\n            \"unit\": 3,\n            \"qty\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:16:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:16:49 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"company_id\": 1,\n        \"supplier_id\": null,\n        \"warehouse_location_id\": 5,\n        \"type\": 2,\n        \"delivery_number\": \"12312342223\",\n        \"reference_number\": \"DE-876F563D\",\n        \"status\": 1,\n        \"expected_delivery_date\": \"2025-09-15T09:00:00.000000Z\",\n        \"received_at\": null,\n        \"archived_by\": null,\n        \"archived_at\": null,\n        \"created_at\": \"2025-02-05T21:59:27.000000Z\",\n        \"updated_at\": \"2025-02-05T22:16:49.000000Z\",\n        \"deleted_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.084\"\n}"},{"id":"fdf80bf9-35c1-45e6-b494-39472a346ac2","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 2,\n    \"delivery_number\": \"12312342223\",\n    \"warehouse_location_id\": 5,\n    \"expected_delivery_date\": \"2025-09-15 09:00:00\",\n    \"supplier_id\": 1,\n    \"tags\": [\n        \"tag1\",\n        \"tag2\"\n    ],\n    \"sizes\": [\n        {\n            \"id\": 2,\n            \"unit\": 1,\n            \"qty\": 10\n        },\n        {\n            \"id\": 3,\n            \"unit\": 2,\n            \"qty\": 20\n        },\n        {\n            \"unit\": 3,\n            \"qty\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:17:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:17:08 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"sizes.2.unit\": [\n                \"The Unit has already been taken.\"\n            ]\n        }\n    },\n    \"success\": false,\n    \"execution_time\": \"0.058\"\n}"}],"_postman_id":"f18a6b76-1f7f-40fc-8d27-152d9a5ef6b4"},{"name":"Publish","id":"a4431f0e-49a7-4166-8d4c-f73c51100a8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/publish","description":"<p><strong>Publish Endpoint</strong> is used to apply any necessary actions on the resource, such as marking it as published or finalizing changes. It returns a <code>204 No Content</code> response if the operation is successful and no content is returned.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","{{delivery_id}}","publish"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"5910d670-be13-42c9-b76d-d84cbf094991","name":"Publish - 204","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/publish"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:53:39 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:53:39 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a4431f0e-49a7-4166-8d4c-f73c51100a8e"},{"name":"Delete","id":"af38ab3e-0875-40c6-8e71-9443c02ce2d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}","description":"<p><strong>Delete Endpoint</strong> is used to delete a specific delivery resource identified by <code>delivery_id</code>. If the deletion is successful, it returns a <code>204 No Content</code> response.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","{{delivery_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"663fac26-d23d-4331-b78f-81f796e142a6","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:48:19 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:48:19 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"212d439e-4b28-4903-839a-4b23f687a63a","name":"Delete - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:48:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:48:29 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"delivery_id\": [\n                \"The selected Delivery is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Delivery is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.040\"\n}"}],"_postman_id":"af38ab3e-0875-40c6-8e71-9443c02ce2d1"},{"name":"Archive","id":"bfcd2fe7-19d6-4606-b656-584161966b10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/archive","description":"<p><strong>Archive Endpoint</strong> is used to archive a specific delivery identified by <code>delivery_id</code>. It returns a <code>204 No Content</code> response if the action is successful.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","{{delivery_id}}","archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"b6cb80ed-c00a-49e4-9488-3a489f5c92f6","name":"Archive - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/archive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:50:17 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:50:17 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"6f52be56-6b86-4ff9-991a-42717903702d","name":"Archive - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/archive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:50:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:50:26 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"delivery_id\": [\n                \"The selected Delivery is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Delivery is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.044\"\n}"}],"_postman_id":"bfcd2fe7-19d6-4606-b656-584161966b10"},{"name":"Unarchive","id":"41a63d17-399e-430d-af13-5fbd7bc85de4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/unarchive","description":"<p><strong>Unarchive Endpoint</strong> is used to unarchive a specific delivery identified by <code>delivery_id</code>. It returns a <code>204 No Content</code> response if the action is successful.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","{{delivery_id}}","unarchive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"378fb0a3-444a-4ec6-a18c-7d4c93325439","name":"Unarchive - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/unarchive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:52:07 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:52:07 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"69afe63c-19da-4f30-a986-3b9d559158e7","name":"Unarchive - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/{{delivery_id}}/unarchive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:52:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:52:15 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"delivery_id\": [\n                \"The selected Delivery is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Delivery is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"41a63d17-399e-430d-af13-5fbd7bc85de4"},{"name":"Bulk Create","id":"4be1cbca-49e2-46d1-8bd0-4e12fcf27d5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"deliveries\": [\n        {\n            \"type\": 2,\n            \"reference_number\": \"DE-876F563TC\",\n            \"supplier_id\": 1,\n            \"delivery_number\": \"234324\",\n            \"warehouse_location_id\": 5,\n            \"expected_delivery_date\": \"2024-10-24T23:00:00.000Z\",\n            \"assigned_user_id\": 1,\n            \"tags\": [\n                \"tag1\",\n                \"tag2\"\n            ],\n            \"sizes\": [\n                {\n                    \"unit\": 1,\n                    \"qty\": 10\n                },\n                {\n                    \"unit\": 2,\n                    \"qty\": 20\n                },\n                {\n                    \"unit\": 3,\n                    \"qty\": 100\n                }\n            ],\n            \"mark_as_all_received\": false,\n            \"items\": [\n                {\n                    \"inventory_id\": 1,\n                    \"expected_qty\": 5,\n                    \"purchase_order_id\": 12,\n                    \"warehouse_location_id\": 12,\n                    \"shelf\": \"test\"\n                },\n                {\n                    \"inventory_id\": 2,\n                    \"expected_qty\": 10,\n                    \"purchase_order_id\": 12,\n                    \"warehouse_location_id\": 12,\n                    \"shelf\": \"test\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-create","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required/Optional</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>company_id</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.*.type</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.*.reference_number</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.*.supplier_id</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.*.delivery_number</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.*.warehouse_location_id</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.*.expected_delivery_date</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.*.assigned_user_id</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.*.tags</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.<em>.tags.</em></td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.*.sizes</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.<em>.sizes.</em>.unit</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.<em>.sizes.</em>.qty</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.*.mark_as_all_received</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.*.items</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.inventory_id</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.expected_qty</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.warehouse_location_id</td>\n<td>Required if Advance Mode</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.shelf</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9c33ec94-932c-42ac-966c-dd65e5b1882b","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"deliveries\": [\n        {\n            \"type\": 2,\n            \"reference_number\": \"DE-876F563TC\",\n            \"supplier_id\": 1,\n            \"delivery_number\": \"234324\",\n            \"warehouse_location_id\": 5,\n            \"expected_delivery_date\": \"2024-10-24T23:00:00.000Z\",\n            \"assigned_user_id\": 1,\n            \"tags\": [\n                \"tag1\",\n                \"tag2\"\n            ],\n            \"sizes\": [\n                {\n                    \"unit\": 1,\n                    \"qty\": 10\n                },\n                {\n                    \"unit\": 2,\n                    \"qty\": 20\n                },\n                {\n                    \"unit\": 3,\n                    \"qty\": 100\n                }\n            ],\n            \"mark_as_all_received\": false,\n            \"items\": [\n                {\n                    \"inventory_id\": 1,\n                    \"expected_qty\": 5,\n                    \"purchase_order_id\": 12,\n                    \"warehouse_location_id\": 12,\n                    \"shelf\": \"test\"\n                },\n                {\n                    \"inventory_id\": 2,\n                    \"expected_qty\": 10,\n                    \"purchase_order_id\": 12,\n                    \"warehouse_location_id\": 12,\n                    \"shelf\": \"test\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:35:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:35:52 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 7,\n            \"reference_number\": \"DE-876F563TC\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.122\"\n}"},{"id":"e9e5269a-bd50-4a68-9f4d-15811727dcc7","name":"Bulk Create- 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"deliveries\": [\n        {\n            \"type\": 2,\n            \"reference_number\": \"DE-876F563TC\",\n            \"supplier_id\": 1,\n            \"delivery_number\": \"234324\",\n            \"warehouse_location_id\": 5,\n            \"expected_delivery_date\": \"2024-10-24T23:00:00.000Z\",\n            \"assigned_user_id\": 1,\n            \"tags\": [\n                \"tag1\",\n                \"tag2\"\n            ],\n            \"sizes\": [\n                {\n                    \"unit\": 1,\n                    \"qty\": 10\n                },\n                {\n                    \"unit\": 2,\n                    \"qty\": 20\n                },\n                {\n                    \"unit\": 3,\n                    \"qty\": 100\n                }\n            ],\n            \"mark_as_all_received\": false,\n            \"items\": [\n                {\n                    \"inventory_id\": 1,\n                    \"expected_qty\": 5,\n                    \"purchase_order_id\": 12,\n                    \"warehouse_location_id\": 12,\n                    \"shelf\": \"test\"\n                },\n                {\n                    \"inventory_id\": 2,\n                    \"expected_qty\": 10,\n                    \"purchase_order_id\": 12,\n                    \"warehouse_location_id\": 12,\n                    \"shelf\": \"test\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:36:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"234"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:36:10 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"deliveries.0.reference_number\": [\n                \"The Reference Number has already been taken.\"\n            ]\n        },\n        \"message\": \"The Reference Number has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.055\"\n}"}],"_postman_id":"4be1cbca-49e2-46d1-8bd0-4e12fcf27d5e"},{"name":"Bulk Update","id":"89279894-f4e5-4949-80fa-6c33f99db48b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"deliveries\": [\n        {\n            \"delivery_id\": 4,\n            \"type\": 2,\n            \"delivery_number\": \"12312342223\",\n            \"warehouse_location_id\": 5,\n            \"expected_delivery_date\": \"2025-09-15 09:00:00\",\n            \"supplier_id\": 1,\n            \"tags\": [\n                \"tag1\",\n                \"tag2\"\n            ],\n            \"sizes\": [\n                {\n                    \"id\": 2,\n                    \"unit\": 1,\n                    \"qty\": 10\n                },\n                {\n                    \"unit\": 2,\n                    \"qty\": 20\n                },\n                {\n                    \"id\": 4,\n                    \"unit\": 3,\n                    \"qty\": 100\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-update","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>company_id</td>\n<td>required</td>\n</tr>\n<tr>\n<td>deliveries.*.delivery_id</td>\n<td>required</td>\n</tr>\n<tr>\n<td>deliveries.*.type</td>\n<td>required</td>\n</tr>\n<tr>\n<td>deliveries.*.supplier_id</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>deliveries.*.delivery_number</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>deliveries.*.warehouse_location_id</td>\n<td>optional (required if in advance mode)</td>\n</tr>\n<tr>\n<td>deliveries.*.expected_delivery_date</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>deliveries.*.tags</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>deliveries.<em>.tags.</em></td>\n<td>required if tags are provided</td>\n</tr>\n<tr>\n<td>deliveries.*.sizes</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>deliveries.<em>.sizes.</em>.unit</td>\n<td>required if sizes are provided</td>\n</tr>\n<tr>\n<td>deliveries.<em>.sizes.</em>.qty</td>\n<td>required if sizes are provided</td>\n</tr>\n<tr>\n<td>deliveries.*.mark_as_all_received</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>deliveries.*.items</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.inventory_id</td>\n<td>required</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.expected_qty</td>\n<td>required</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.warehouse_location_id</td>\n<td>required if in advance mode</td>\n</tr>\n<tr>\n<td>deliveries.<em>.items.</em>.shelf</td>\n<td>optional (required if not in advance mode)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"7bf81435-6d9d-4cd4-84a4-436f7554d501","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"deliveries\": [\n        {\n            \"delivery_id\": 4,\n            \"type\": 2,\n            \"delivery_number\": \"12312342223\",\n            \"warehouse_location_id\": 5,\n            \"expected_delivery_date\": \"2025-09-15 09:00:00\",\n            \"supplier_id\": 1,\n            \"tags\": [\n                \"tag1\",\n                \"tag2\"\n            ],\n            \"sizes\": [\n                {\n                    \"id\": 2,\n                    \"unit\": 1,\n                    \"qty\": 10\n                },\n                {\n                    \"id\": 3,\n                    \"unit\": 2,\n                    \"qty\": 20\n                },\n                {\n                    \"id\": 4,\n                    \"unit\": 3,\n                    \"qty\": 100\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:45:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:45:57 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"reference_number\": \"DE-876F563D\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.082\"\n}"},{"id":"bc1b0fef-edd0-4184-a5d8-dba2b901b29c","name":"Bulk Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"deliveries\": [\n        {\n            \"delivery_id\": 4,\n            \"type\": 2,\n            \"delivery_number\": \"12312342223\",\n            \"warehouse_location_id\": 5,\n            \"expected_delivery_date\": \"2025-09-15 09:00:00\",\n            \"supplier_id\": 1,\n            \"tags\": [\n                \"tag1\",\n                \"tag2\"\n            ],\n            \"sizes\": [\n                {\n                    \"id\": 3,\n                    \"unit\": 1,\n                    \"qty\": 10\n                },\n                {\n                    \"id\": 3,\n                    \"unit\": 2,\n                    \"qty\": 20\n                },\n                {\n                    \"id\": 4,\n                    \"unit\": 3,\n                    \"qty\": 100\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 22:46:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 22:46:46 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"deliveries.0.sizes.0.unit\": [\n                \"The deliveries.0.sizes.0.unit has already been taken.\"\n            ]\n        },\n        \"message\": \"The deliveries.0.sizes.0.unit has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.058\"\n}"}],"_postman_id":"89279894-f4e5-4949-80fa-6c33f99db48b"},{"name":"Bulk Archive","id":"3a1738b0-f15a-46f4-a864-f306d186d6da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-archive","description":"<p>This endpoint allows for archiving multiple deliveries. You need to provide an array of <code>delivery_ids</code> to specify which deliveries to archive.</p>\n<h3 id=\"parameter\">Parameter:</h3>\n<ul>\n<li><strong>delivery_ids</strong> (Array): A list of delivery IDs to be archived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","bulk-archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"f1757962-a159-4b7b-b32a-e85645065e1c","name":"Bulk Archive - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 23:05:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 23:05:04 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"reference_number\": \"DE-1C6A4517\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.050\"\n}"},{"id":"e7a0b1b6-3fcc-4da6-b5df-2bd6343c8ff0","name":"Bulk Archive - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-archive"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 23:05:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 23:05:19 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"delivery_ids.0\": [\n                \"The selected Delivery is invalid.\"\n            ]\n        }\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"3a1738b0-f15a-46f4-a864-f306d186d6da"},{"name":"Bulk Unarchive","id":"23b2423b-fa78-4bf5-b7ed-cf3c5d04a753","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-restore","description":"<p>This endpoint allows for unarchiving multiple deliveries. You need to provide an array of <code>delivery_ids</code> to specify which deliveries to unarchive.</p>\n<h3 id=\"parameter\">Parameter:</h3>\n<ul>\n<li><strong>delivery_ids</strong> (Array): A list of delivery IDs to be unarchived.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","bulk-restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"4d190e7f-f3e0-4d92-abe3-977f500b5dc9","name":"Bulk Restore - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 23:04:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 23:04:32 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"reference_number\": \"DE-1C6A4517\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.058\"\n}"},{"id":"92e43236-d2e5-4602-b49c-786015e08de7","name":"Bulk Restore - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-restore"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 23:04:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 23:04:41 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"delivery_ids.0\": [\n                \"The selected Delivery is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Delivery is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.043\"\n}"}],"_postman_id":"23b2423b-fa78-4bf5-b7ed-cf3c5d04a753"},{"name":"Bulk Delete","id":"8a94edc0-5806-490e-b484-68cc020003c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-delete","description":"<p>This endpoint allows for deleting multiple deliveries. You need to provide an array of <code>delivery_ids</code> to specify which deliveries to delete.</p>\n<h3 id=\"parameter\">Parameter:</h3>\n<ul>\n<li><strong>delivery_ids</strong> (Array): A list of delivery IDs to be deleted.</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","deliveries","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"52f4072a-7f88-4ff7-90a8-cf629ccbf81b","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 23:06:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 23:06:54 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"reference_number\": \"DE-1C6A4517\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.064\"\n}"},{"id":"19a2c95d-a4e7-4c2b-ad5a-855e32395262","name":"Bulk Delete - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"delivery_ids\": [2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/deliveries/bulk-delete"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 05 Feb 2025 23:07:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=tbhJDG5W69qHEXU58pHHFU6HizdMxLC4Ejp3ZkLG; expires=Fri, 07 Mar 2025 23:07:05 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"delivery_ids.0\": [\n                \"The selected Delivery is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Delivery is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.053\"\n}"}],"_postman_id":"8a94edc0-5806-490e-b484-68cc020003c6"}],"id":"34271acc-c9f3-4332-b26f-93e5595c6965","_postman_id":"34271acc-c9f3-4332-b26f-93e5595c6965","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Purchase Order","item":[{"name":"Items","item":[{"name":"Index","id":"3bf99ac4-7b42-4d12-8c7f-be92e651d7ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/2/items?includes=inventory.meta,inventory.containers,cancelledLogs.user,inventory.purchaseOrderControl","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","2","items"],"host":["http://localhost/api"],"query":[{"disabled":true,"key":"supplier_code[]","value":"1"},{"disabled":true,"key":"item_name","value":"PO-9C71166B"},{"disabled":true,"key":"item_codes[]","value":"JCYYS33410402"},{"disabled":true,"key":"item_qty_from","value":"1"},{"disabled":true,"key":"item_qty_to","value":"10"},{"disabled":true,"key":"line_price_from","value":"1"},{"disabled":true,"key":"line_price_to","value":"10"},{"disabled":true,"key":"unit_price_from","value":"1"},{"disabled":true,"key":"unit_price_to","value":"10"},{"disabled":true,"key":"tax_group[]","value":" 1"},{"description":{"content":"<p>purchaseOrder,supplier,supplier.contact,inventory,inventory.meta,taxGroup,inventory.containers,cancelledLogs,cancelledLogs.user,inventory.purchaseOrderControl</p>\n","type":"text/plain"},"key":"includes","value":"inventory.meta,inventory.containers,cancelledLogs.user,inventory.purchaseOrderControl"},{"disabled":true,"key":"sort_by","value":"id"},{"disabled":true,"key":"sort_direction","value":"desc"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"per_page","value":"20"}],"variable":[]}},"response":[],"_postman_id":"3bf99ac4-7b42-4d12-8c7f-be92e651d7ac"},{"name":"Create","id":"42e9ced2-397c-4f0f-8b8e-ec1b974c3cb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"supplier_id\": 1,\n    \"items\": [\n        {\n            \"inventory_id\": 72,\n            \"discount\": 0,\n            \"unit_price\": 10,\n            \"item_qty\": 100\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/1/items","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","1","items"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"42e9ced2-397c-4f0f-8b8e-ec1b974c3cb7"},{"name":"Update","id":"99765c5d-db10-45f8-864f-57bc1c6d8a48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\": 0,\n    \"unit_price\": 5,\n    \"item_qty\": 50,\n    \"inventory_container_id\": 22,\n    \"_method\": \"PUT\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/106/items/142","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","106","items","142"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"99765c5d-db10-45f8-864f-57bc1c6d8a48"},{"name":"Delete","id":"ec15cfce-4d37-4d63-b381-2dbdc40b457c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/1/items/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","1","items","1"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec15cfce-4d37-4d63-b381-2dbdc40b457c"}],"id":"c3117244-8529-468d-b569-13e2fb189f5e","_postman_id":"c3117244-8529-468d-b569-13e2fb189f5e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Types","id":"d188052e-6f71-47ed-8e3a-5af7da550485","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"31545461-0ca8-4205-aaaf-298045fda5ea","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 21:17:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 21:17:21 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"value\": 1,\n            \"map\": \"Inventory Demand\"\n        },\n        {\n            \"value\": 2,\n            \"map\": \"Open Order Demand\"\n        },\n        {\n            \"value\": 3,\n            \"map\": \"Manual Creation\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.069\"\n}"}],"_postman_id":"d188052e-6f71-47ed-8e3a-5af7da550485"},{"name":"Index","id":"16786cb4-ef58-4784-a3ad-9cbde2b6efda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"351acbdd-86e1-470a-9dca-3ab9684a2a43","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:37:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:37:26 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 30,\n            \"company_id\": 1,\n            \"owner_id\": 1,\n            \"invoice_address_id\": 36,\n            \"shipping_address_id\": 35,\n            \"supplier_id\": 1,\n            \"type\": 3,\n            \"status\": 1,\n            \"delivery_status\": 1,\n            \"purchase_order_number\": \"PO-D1FC8581\",\n            \"tax_rate\": \"0.00000000000000000000\",\n            \"total_tax\": 0,\n            \"discount\": 0,\n            \"total_amount\": 1000,\n            \"subtotal\": 1000,\n            \"currency_id\": 1,\n            \"currency_rate\": 1,\n            \"total_discount\": 0,\n            \"delivery_note\": \"test\",\n            \"vendor_invoice_number\": null,\n            \"vendor_shipment_number\": null,\n            \"expected_delivery_date\": \"2025-03-12 00:00:00\",\n            \"sent_date\": null,\n            \"pay_by_date\": null,\n            \"archived_by\": null,\n            \"archived_at\": null,\n            \"created_at\": \"2025-03-12T22:33:11.000000Z\",\n            \"updated_at\": \"2025-03-12T22:33:11.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.036\"\n}"}],"_postman_id":"16786cb4-ef58-4784-a3ad-9cbde2b6efda"},{"name":"Show","id":"c0e5d80f-dd4e-42cb-8a04-6c953425d2d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","{{purchase_order_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"81aab082-2f60-43cd-bd3a-41724475eb61","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:36:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:36:49 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 18,\n        \"company_id\": 1,\n        \"owner_id\": 1,\n        \"invoice_address_id\": 12,\n        \"shipping_address_id\": 11,\n        \"supplier_id\": 1,\n        \"type\": 1,\n        \"status\": 1,\n        \"delivery_status\": 1,\n        \"purchase_order_number\": \"PO-B1C0222C\",\n        \"tax_rate\": \"0.00000000000000000000\",\n        \"total_tax\": 0,\n        \"discount\": 0,\n        \"total_amount\": 5,\n        \"subtotal\": 5,\n        \"currency_id\": 1,\n        \"currency_rate\": 1,\n        \"total_discount\": 0,\n        \"delivery_note\": \"test\",\n        \"vendor_invoice_number\": null,\n        \"vendor_shipment_number\": null,\n        \"expected_delivery_date\": \"2025-03-12 00:00:00\",\n        \"sent_date\": null,\n        \"pay_by_date\": null,\n        \"archived_by\": null,\n        \"archived_at\": null,\n        \"created_at\": \"2025-03-12T22:27:45.000000Z\",\n        \"updated_at\": \"2025-03-12T22:27:45.000000Z\",\n        \"deleted_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.037\"\n}"},{"id":"f7a66297-7cf9-4b41-b50a-7072647e346f","name":"Show - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:37:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:37:12 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"purchase_order_id\": [\n                \"The selected Purchase Order is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Purchase Order is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.046\"\n}"}],"_postman_id":"c0e5d80f-dd4e-42cb-8a04-6c953425d2d6"},{"name":"Create","id":"75c549dc-3211-4994-8d8e-a9ad2bf7d3eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 3,\n    \"supplier_id\": 1,\n    \"priority_supplier_only\": 0,\n    \"items\": [\n        {\n            \"supplier_id\": 1,\n            \"inventory_id\": 73,\n            \"discount\": 0,\n            \"unit_price\": 10,\n            \"item_qty\": 100,\n            \"note\": \"\"\n        }\n    ],\n    \"delivery_note\": \"test\",\n    \"excepted_delivery_date\": \"2025-03-12\",\n    \"vendor_invoice_number\": \"\",\n    \"vendor_shipment_number\": \"\",\n    \"totals\": {\n        \"discount\": 0\n    },\n    \"shipping_address\": {\n        \"use_in_for_invoice\": true,\n        \"firstname\": \"name\",\n        \"lastname\": \"lastname\",\n        \"email\": \"hello@despatchdcloud.com\",\n        \"phone\": \"123456789\",\n        \"company_name\": \"Despatch Cloud\",\n        \"address_line_1\": \"Test line 1\",\n        \"address_line_2\": \"Test line 2\",\n        \"city\": \"city\",\n        \"county\": \"county\",\n        \"country_id\": 12,\n        \"postcode\": \"UK1012\"\n    },\n    \"invoice_address\": {\n        \"firstname\": \"name\",\n        \"lastname\": \"lastname\",\n        \"email\": \"hello@despatchdcloud.com\",\n        \"phone\": \"123456789\",\n        \"company_name\": \"Despatch Cloud\",\n        \"address_line_1\": \"Test line 1\",\n        \"address_line_2\": \"Test line 2\",\n        \"city\": \"city\",\n        \"county\": \"county\",\n        \"country_id\": 12,\n        \"postcode\": \"UK1012\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"1cd1bf0e-b55f-43b3-bad5-34490d20eef5","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 3,\n    \"supplier_id\": 1,\n    \"priority_supplier_only\": 0,\n    \"items\": [\n        {\n            \"supplier_id\": 1,\n            \"inventory_id\": 73,\n            \"discount\": 0,\n            \"unit_price\": 10,\n            \"item_qty\": 100,\n            \"note\": \"\"\n        }\n    ],\n    \"delivery_note\": \"test\",\n    \"excepted_delivery_date\": \"2025-03-12\",\n    \"vendor_invoice_number\": \"\",\n    \"vendor_shipment_number\": \"\",\n    \"totals\": {\n        \"discount\": 0\n    },\n    \"shipping_address\": {\n        \"use_in_for_invoice\": true,\n        \"firstname\": \"name\",\n        \"lastname\": \"lastname\",\n        \"email\": \"hello@despatchdcloud.com\",\n        \"phone\": \"123456789\",\n        \"company_name\": \"Despatch Cloud\",\n        \"address_line_1\": \"Test line 1\",\n        \"address_line_2\": \"Test line 2\",\n        \"city\": \"city\",\n        \"county\": \"county\",\n        \"country_id\": 12,\n        \"postcode\": \"UK1012\"\n    },\n    \"invoice_address\": {\n        \"firstname\": \"name\",\n        \"lastname\": \"lastname\",\n        \"email\": \"hello@despatchdcloud.com\",\n        \"phone\": \"123456789\",\n        \"company_name\": \"Despatch Cloud\",\n        \"address_line_1\": \"Test line 1\",\n        \"address_line_2\": \"Test line 2\",\n        \"city\": \"city\",\n        \"county\": \"county\",\n        \"country_id\": 12,\n        \"postcode\": \"UK1012\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:33:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:33:11 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": 3,\n            \"purchase_order_number\": \"PO-D1FC8581\",\n            \"total_amount\": 0\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.117\"\n}"}],"_postman_id":"75c549dc-3211-4994-8d8e-a9ad2bf7d3eb"},{"name":"Update","id":"5d06dc27-5faa-432d-84d5-774bfdffd026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"address_type\": 1, // 1= Shipping, 2= Invoice\n    \"use_in_for_invoice\": true, // It's required if the address_type is Shipping (1)\n    \"firstname\": \"ttssdt\",\n    \"lastname\": \"rrdsdfdsfdr\",\n    \"email\": \"ilyas.demirtas@despatchdcloud.com\",\n    \"phone\": \"5074481834\",\n    \"company_name\": \"Test123dsd4ssffcccddsssss\",\n    \"address_line_1\": \"Line 1sssdfsd234\",\n    \"address_line_2\": \"Lincdccdfffe 2\",\n    \"city\": \"Izmirs4\",\n    \"county\":\"Kona3434dfcdk\",\n    \"country_id\":12,\n    \"postcode\": \"676767\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/2/update-address","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","2","update-address"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d06dc27-5faa-432d-84d5-774bfdffd026"},{"name":"Delete","id":"1569f8af-131f-4bfd-8cbf-0f5812fd094f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","{{purchase_order_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0c07342f-6ea4-444a-8b04-234fc46dc529","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:35:52 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:35:52 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"75f8f4bf-ae89-4b4f-a62a-99272ccdb310","name":"Delete - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:36:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:36:01 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"purchase_order_id\": [\n                \"The selected Purchase Order is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Purchase Order is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.042\"\n}"}],"_postman_id":"1569f8af-131f-4bfd-8cbf-0f5812fd094f"},{"name":"Cancel","id":"4588cccb-f1b7-4dbd-a82b-42540727ce0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}/cancel","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","{{purchase_order_id}}","cancel"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"87a278e8-04e2-4e4d-a05d-d288f269f8fb","name":"Cancel - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:40:21 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:40:21 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4588cccb-f1b7-4dbd-a82b-42540727ce0a"},{"name":"Archive","id":"85068f6a-b84f-45f7-a89d-d897094a580b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}/archive","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","{{purchase_order_id}}","archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"f436bd29-95f2-4f2d-a012-40da50e25e22","name":"Archive - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/{{purchase_order_id}}/archive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:39:37 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:39:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"85068f6a-b84f-45f7-a89d-d897094a580b"},{"name":"Un Archive","id":"6f242ea8-cf0e-4d92-a8f5-ce0d6a992e43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/17/unarchive","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","purchase-orders","17","unarchive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"e0db1a0a-fed9-44ed-8ac4-fb4c5df79709","name":"Un Archive - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/purchase-orders/17/unarchive"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 12 Mar 2025 22:39:50 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=QN21ECTEQGEZEj58M4REpvAo4D2k34a3LTqzFIb1; expires=Fri, 11 Apr 2025 22:39:50 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6f242ea8-cf0e-4d92-a8f5-ce0d6a992e43"}],"id":"1693642f-eaac-45a0-944a-13e5a0eb1c4d","_postman_id":"1693642f-eaac-45a0-944a-13e5a0eb1c4d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Warehouse","item":[{"name":"Zones","item":[{"name":"Index","id":"e690680d-9c8e-4a5e-9d3d-54474801a5d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone"],"host":["http://localhost/api"],"query":[{"disabled":true,"key":"location_code","value":"test code"}],"variable":[]}},"response":[{"id":"3571aa63-fa62-4fd0-991b-d0f314d5d82d","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone"],"query":[{"key":"location_code","value":"test code","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:42:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:42:24 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"company_id\": 1,\n            \"warehouse_id\": 1,\n            \"name\": \"Default Zone\",\n            \"is_system\": true,\n            \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n            \"updated_at\": \"2024-12-23T14:13:51.000000Z\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.043\"\n}"}],"_postman_id":"e690680d-9c8e-4a5e-9d3d-54474801a5d2"},{"name":"Show","id":"2b7ff0bd-7c96-4e8e-b52c-c175fb28f367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/{{zone_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone","{{zone_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"2bf93ffd-f86f-417e-9503-29c8688c8e5f","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/{{zone_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:42:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:42:44 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"company_id\": 1,\n        \"warehouse_id\": 1,\n        \"name\": \"Default Zone\",\n        \"is_system\": true,\n        \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n        \"updated_at\": \"2024-12-23T14:13:51.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.050\"\n}"}],"_postman_id":"2b7ff0bd-7c96-4e8e-b52c-c175fb28f367"},{"name":"Store","id":"dc8889e9-87e3-4622-ab75-a4e9622485d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"798a4549-2511-441d-aae2-838296d06133","name":"Store - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test2\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:44:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:44:12 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"company_id\": 1,\n        \"warehouse_id\": 1,\n        \"name\": \"test2\",\n        \"updated_at\": \"2024-12-24T14:44:12.000000Z\",\n        \"created_at\": \"2024-12-24T14:44:12.000000Z\",\n        \"id\": 4\n    },\n    \"success\": true,\n    \"execution_time\": \"0.070\"\n}"},{"id":"e351f6f8-54a5-45a5-9e62-8bb5e96d8c8f","name":"Store - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test2\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:44:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:44:56 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"name\": [\n                \"The Name has already been taken.\"\n            ]\n        },\n        \"message\": \"The Name has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.053\"\n}"}],"_postman_id":"dc8889e9-87e3-4622-ab75-a4e9622485d0"},{"name":"Update","id":"db72320b-6aa7-498f-ab9c-624c524ceea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/{{zone_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone","{{zone_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"6876b516-86bf-4ec8-b48c-83a07d3e6622","name":"Update - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test5\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/{{zone_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:45:41 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:45:41 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"057a478e-baaf-4873-b5d3-f4b727731e51","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/{{zone_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:45:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:45:05 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"name\": [\n                \"The Name has already been taken.\"\n            ]\n        },\n        \"message\": \"The Name has already been taken.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.046\"\n}"}],"_postman_id":"db72320b-6aa7-498f-ab9c-624c524ceea9"},{"name":"Delete","id":"29c2482e-8c5f-46da-ba26-8cdcfe91f82b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/{{zone_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone","{{zone_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"5c3348ad-9150-4bfb-bcca-7be0b5373412","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/{{zone_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:46:05 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"235"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:46:05 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"29c2482e-8c5f-46da-ba26-8cdcfe91f82b"},{"name":"Bulk Create","id":"d326e029-f60a-4e17-8650-4e7e50469fc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zones\": [\n        {\n            \"name\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/bulk-create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9096dd0e-3e90-41b1-a9f7-f00e0b6fa8eb","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zones\": [\n        {\n            \"name\": \"testx\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 15:26:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 15:26:05 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 5,\n            \"name\": \"testx\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.094\"\n}"},{"id":"ab31d364-5828-4b58-b1ab-03bbc44aca1d","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zones\": [\n        {\n            \"name\": \"testa\"\n        },\n        {\n            \"name\": \"testa\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 15:26:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 15:26:43 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"zones.0.name\": [\n                \"The Name field has a duplicate value.\"\n            ],\n            \"zones.1.name\": [\n                \"The Name field has a duplicate value.\"\n            ]\n        },\n        \"message\": \"The Name field has a duplicate value. (and 1 more error)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.055\"\n}"}],"_postman_id":"d326e029-f60a-4e17-8650-4e7e50469fc9"},{"name":"Bulk Update","id":"36992065-5be7-40ef-9c3d-20a2cba37202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zones\": [\n        {\n            \"zone_id\": 1,\n            \"name\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/bulk-update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"c0c640f9-50b2-41c4-b79a-54373e0340b9","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zones\": [\n        {\n            \"zone_id\": 1,\n            \"name\": \"testzone\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 15:28:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 15:28:10 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"test5\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.138\"\n}"}],"_postman_id":"36992065-5be7-40ef-9c3d-20a2cba37202"},{"name":"Bulk Delete","id":"839dbf11-5ea8-49b2-b761-07234d3aae67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"zone_ids\": [\r\n        1,\r\n        2,\r\n        3\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/bulk-delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","zone","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"4c77b0eb-dad4-4125-a2f5-ab2a7c56adbc","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"zone_ids\": [\r\n        5\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/zone/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 15:28:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 15:28:52 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 5,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.086\"\n}"}],"_postman_id":"839dbf11-5ea8-49b2-b761-07234d3aae67"}],"id":"8a42cf52-4728-4eba-95d2-d54bc7a37086","_postman_id":"8a42cf52-4728-4eba-95d2-d54bc7a37086","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Locations","item":[{"name":"Storage Types","id":"27973d9c-3b20-4493-9797-f52f4ab953bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/storage-types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","storage-types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"f910674a-3d5c-470e-9808-799df4026049","name":"Storage Types - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/storage-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:35:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:35:58 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"PCS\": 1,\n        \"CONTAINERS\": 2,\n        \"NON_PICKABLE\": 3\n    },\n    \"success\": true,\n    \"execution_time\": \"0.076\"\n}"}],"_postman_id":"27973d9c-3b20-4493-9797-f52f4ab953bd"},{"name":"Location Types","id":"b02863aa-c019-4f5b-a860-310bd5ad1176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/location-types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","location-types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"84676383-c49e-4284-8f9b-20f25c17d7e4","name":"Locaiton Types - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/location-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:37:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:37:08 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"STORAGE\": 1,\n        \"SORT_WALL\": 2,\n        \"GOODS_IN\": 3,\n        \"RETURNS\": 4,\n        \"ASSEMBLY\": 5,\n        \"GOODS_OUT\": 6\n    },\n    \"success\": true,\n    \"execution_time\": \"0.073\"\n}"}],"_postman_id":"b02863aa-c019-4f5b-a860-310bd5ad1176"},{"name":"Colour Types","id":"3289dc3b-634b-4050-bf0b-12d889184d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/colour-types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","colour-types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"17a0fe01-2cf0-4e55-9f21-96c496569f14","name":"Location Types - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/colour-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:38:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:38:16 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"RED\": 1,\n        \"GREEN\": 2,\n        \"YELLOW\": 3,\n        \"BLUE\": 4,\n        \"ORANGE\": 5,\n        \"PURPLE\": 6,\n        \"PINK\": 7,\n        \"BROWN\": 8,\n        \"MINT\": 9,\n        \"BEIGE\": 10,\n        \"CYAN\": 11,\n        \"NAVY\": 12,\n        \"MAROON\": 13,\n        \"BLACK\": 14,\n        \"GRAY\": 15,\n        \"WHITE\": 16\n    },\n    \"success\": true,\n    \"execution_time\": \"0.081\"\n}"}],"_postman_id":"3289dc3b-634b-4050-bf0b-12d889184d58"},{"name":"Index","id":"bec71da6-9949-4a76-8ded-53a363ed425f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations?includes=settings,category.category,storageTypes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"settings,category.category,storageTypes"}],"variable":[]}},"response":[{"id":"218e116a-34bd-477b-b2de-167180968f58","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations?includes=settings,category.category,storageTypes","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations"],"query":[{"key":"includes","value":"settings,category.category,storageTypes"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:38:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:38:31 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"company_id\": 1,\n            \"warehouse_id\": 1,\n            \"zone_id\": null,\n            \"code\": \"default\",\n            \"sequence_number\": 1,\n            \"is_default\": true,\n            \"is_system_location\": 0,\n            \"system_location_type\": 1,\n            \"dedicated_location_id\": null,\n            \"deletion_protection\": false,\n            \"storage_type\": [\n                2\n            ],\n            \"settings\": {\n                \"company_id\": 1,\n                \"warehouse_id\": 1,\n                \"location_id\": 1,\n                \"location_type\": 1,\n                \"colour_type\": 1,\n                \"description\": null,\n                \"max_stock_quantity\": 0,\n                \"length\": null,\n                \"width\": null,\n                \"height\": null,\n                \"exclude_qty_from_available\": 0,\n                \"force_elp\": 0\n            },\n            \"category\": [],\n            \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n            \"updated_at\": \"2024-12-23T14:13:51.000000Z\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.045\"\n}"}],"_postman_id":"bec71da6-9949-4a76-8ded-53a363ed425f"},{"name":"Show","id":"64a7ad54-3f9a-4e63-890b-e9cee5e3db5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}?includes=settings,category.category,zone,stocks&includes_count=stocks","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","{{location_id}}"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"settings,category.category,zone,stocks"},{"key":"includes_count","value":"stocks"}],"variable":[]}},"response":[{"id":"937ac887-96cb-4b96-83af-c2a3e8b5b220","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}?includes=settings,category.category,zone,stocks&includes_count=stocks","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","{{location_id}}"],"query":[{"key":"includes","value":"settings,category.category,zone,stocks"},{"key":"includes_count","value":"stocks"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:39:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:39:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"company_id\": 1,\n        \"warehouse_id\": 1,\n        \"zone_id\": null,\n        \"code\": \"default\",\n        \"sequence_number\": 1,\n        \"is_default\": true,\n        \"is_system_location\": 0,\n        \"system_location_type\": 1,\n        \"dedicated_location_id\": null,\n        \"deletion_protection\": false,\n        \"storage_type\": [\n            2\n        ],\n        \"stocks_count\": 73,\n        \"settings\": {\n            \"company_id\": 1,\n            \"warehouse_id\": 1,\n            \"location_id\": 1,\n            \"location_type\": 1,\n            \"colour_type\": 1,\n            \"description\": null,\n            \"max_stock_quantity\": 0,\n            \"length\": null,\n            \"width\": null,\n            \"height\": null,\n            \"exclude_qty_from_available\": 0,\n            \"force_elp\": 0\n        },\n        \"category\": [],\n        \"zone\": null,\n        \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n        \"updated_at\": \"2024-12-23T14:13:51.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.057\"\n}"},{"id":"4a35a678-d5d7-4381-a366-981832b7b402","name":"Show - 422","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}?includes=settings,category.category,zone,stocks&includes_count=stocks","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","{{location_id}}"],"query":[{"key":"includes","value":"settings,category.category,zone,stocks"},{"key":"includes_count","value":"stocks"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:39:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:39:41 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"location_id\": [\n                \"The selected Location is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Location is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.047\"\n}"}],"_postman_id":"64a7ad54-3f9a-4e63-890b-e9cee5e3db5f"},{"name":"Store","id":"ae8c7513-c88c-494d-af82-39a3c846c4cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone_id\": 1,\n    \"sequence_number\": 5,\n    \"code\": \"testcode\",\n    \"category_id\": 5,\n    \"settings\": {\n        \"storage_type\": [\n            1,\n            2\n        ],\n        \"location_type\": 3,\n        \"colour_type\": 2,\n        \"description\": \"test\",\n        \"length\": 1.0,\n        \"width\": 5,\n        \"height\": 15,\n        \"exclude_qty_from_available\": true,\n        \"force_elp\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9dd14a68-e733-4983-890f-e546c4c5a480","name":"Store - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone_id\": 1,\n    \"sequence_number\": 5,\n    \"code\": \"testcode\",\n    \"settings\": {\n        \"storage_type\": [\n            1,\n            2\n        ],\n        \"location_type\": 3,\n        \"colour_type\": 2,\n        \"description\": \"test\",\n        \"length\": 1.0,\n        \"width\": 5,\n        \"height\": 15,\n        \"exclude_qty_from_available\": true,\n        \"force_elp\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:45:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:45:25 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8,\n        \"company_id\": \"1\",\n        \"warehouse_id\": \"1\",\n        \"zone_id\": 1,\n        \"code\": \"testcode\",\n        \"sequence_number\": 8,\n        \"is_default\": null,\n        \"is_system_location\": null,\n        \"system_location_type\": null,\n        \"dedicated_location_id\": null,\n        \"deletion_protection\": null,\n        \"storage_type\": [\n            1,\n            2\n        ],\n        \"settings\": {\n            \"company_id\": 1,\n            \"warehouse_id\": 1,\n            \"location_id\": 8,\n            \"location_type\": 3,\n            \"colour_type\": 2,\n            \"description\": \"test\",\n            \"max_stock_quantity\": 0,\n            \"length\": 1,\n            \"width\": 5,\n            \"height\": 15,\n            \"exclude_qty_from_available\": 1,\n            \"force_elp\": 0\n        },\n        \"category\": [],\n        \"created_at\": \"2024-12-24T12:45:25.000000Z\",\n        \"updated_at\": \"2024-12-24T12:45:25.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.176\"\n}"},{"id":"32d58905-2400-4872-a64f-cc022cea91c2","name":"Store - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone_id\": 1,\n    \"sequence_number\": 5,\n    \"code\": \"test code\",\n    \"category_id\": 5,\n    \"settings\": {\n        \"storage_type\": 1,\n        \"location_type\": 3,\n        \"colour_type\": 2,\n        \"description\": \"test\",\n        \"length\": 1.0,\n        \"width\": 5,\n        \"height\": 15,\n        \"exclude_qty_from_available\": true,\n        \"force_elp\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 12:44:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 12:44:47 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"code\": [\n                \"The Code must only contain letters, numbers, dashes and underscores.\"\n            ],\n            \"category_id\": [\n                \"The selected Category is invalid.\"\n            ],\n            \"settings.storage_type\": [\n                \"The Storage Type must be an array.\"\n            ]\n        },\n        \"message\": \"The Code must only contain letters, numbers, dashes and underscores. (and 2 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.073\"\n}"}],"_postman_id":"ae8c7513-c88c-494d-af82-39a3c846c4cb"},{"name":"Update","id":"98f6f748-5b64-4d6f-a1e1-48b7453099b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone_id\": 1,\n    \"sequence_number\": 5,\n    \"code\": \"testcode\",\n    \"category_id\": 4,\n    \"settings\": {\n        \"storage_type\": [\n            1,\n            2\n        ],\n        \"location_type\": 3,\n        \"colour_type\": 2,\n        \"description\": \"test\",\n        \"length\": 1.0,\n        \"width\": 5,\n        \"height\": 15,\n        \"exclude_qty_from_available\": true,\n        \"force_elp\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","{{location_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"3e9377d1-c6df-4f1a-ae4c-607186f174e6","name":"Update - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone_id\": 1,\n    \"sequence_number\": 5,\n    \"code\": \"testcode1\",\n    \"settings\": {\n        \"storage_type\": [1,2],\n        \"location_type\": 3,\n        \"colour_type\": 2,\n        \"description\": \"test\",\n        \"length\": 1.0,\n        \"width\": 5,\n        \"height\": 15,\n        \"exclude_qty_from_available\": true,\n        \"force_elp\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 13:09:20 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 13:09:20 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"8cc62c80-3332-4dd7-9f33-216856d79e8e","name":"Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"zone_id\": 1,\n    \"sequence_number\": 5,\n    \"code\": \"testcode\",\n    \"category_id\": 4,\n    \"settings\": {\n        \"storage_type\": 1,\n        \"location_type\": 3,\n        \"colour_type\": 2,\n        \"description\": \"test\",\n        \"length\": 1.0,\n        \"width\": 5,\n        \"height\": 15,\n        \"exclude_qty_from_available\": true,\n        \"force_elp\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 13:07:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 13:07:34 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"location_id\": [\n                \"The selected Location is invalid.\"\n            ],\n            \"code\": [\n                \"The Code has already been taken.\"\n            ],\n            \"category_id\": [\n                \"The selected Category is invalid.\"\n            ],\n            \"settings.storage_type\": [\n                \"The Storage Type must be an array.\"\n            ]\n        },\n        \"message\": \"The selected Location is invalid. (and 3 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.047\"\n}"}],"_postman_id":"98f6f748-5b64-4d6f-a1e1-48b7453099b2"},{"name":"Delete","id":"cd008ea1-df9a-482c-8637-3c3b5e93dd91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","{{location_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"91d267ee-279f-46be-9ab4-637dc8b0a2e9","name":"Delete - 422","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 13:09:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 13:09:47 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"location_id\": [\n                \"You cannot delete the return location defined in the Warehouse settings!\"\n            ]\n        },\n        \"message\": \"You cannot delete the return location defined in the Warehouse settings!\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.057\"\n}"},{"id":"0f2ec379-9dc5-4a12-9344-fe2091fd9fb0","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/{{location_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 13:10:02 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 13:10:02 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cd008ea1-df9a-482c-8637-3c3b5e93dd91"},{"name":"Bulk Create","id":"1d609b86-21b2-4b24-9401-6ccf4a25e5d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"locations\": [\n        {\n            \"zone_id\": 1,\n            \"sequence_number\": 5,\n            \"code\": \"testcode\",\n            \"category_id\": 5,\n            \"settings\": {\n                \"storage_type\": [\n                    1,\n                    2\n                ],\n                \"location_type\": 3,\n                \"colour_type\": 2,\n                \"description\": \"test\",\n                \"length\": 1.0,\n                \"width\": 5,\n                \"height\": 15,\n                \"exclude_qty_from_available\": true,\n                \"force_elp\": false\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"75a4707a-cafe-421d-ab89-8adc869729e9","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"locations\": [\n        {\n            \"zone_id\": 1,\n            \"sequence_number\": 5,\n            \"code\": \"testcode\",\n            \"settings\": {\n                \"storage_type\": [\n                    1,\n                    2\n                ],\n                \"location_type\": 3,\n                \"colour_type\": 2,\n                \"description\": \"test\",\n                \"length\": 1.0,\n                \"width\": 5,\n                \"height\": 15,\n                \"exclude_qty_from_available\": true,\n                \"force_elp\": false\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:16:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:16:27 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 9,\n            \"code\": \"testcode\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.201\"\n}"},{"id":"fbeffdee-7a17-4a47-aef0-6b06b2d29fb4","name":"Bulk Create - 422","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"locations\": [\n        {\n            \"zone_id\": 1,\n            \"sequence_number\": 5,\n            \"code\": \"testcode\",\n            \"category_id\": 5,\n            \"settings\": {\n                \"storage_type\": [\n                    1,\n                    2\n                ],\n                \"location_type\": 3,\n                \"colour_type\": 2,\n                \"description\": \"test\",\n                \"length\": 1.0,\n                \"width\": 5,\n                \"height\": 15,\n                \"exclude_qty_from_available\": true,\n                \"force_elp\": false\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:14:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:14:56 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"locations.0.category_id\": [\n                \"The selected Category is invalid.\"\n            ]\n        },\n        \"message\": \"The selected Category is invalid.\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.188\"\n}"}],"_postman_id":"1d609b86-21b2-4b24-9401-6ccf4a25e5d1"},{"name":"Bulk Update","id":"aeced34b-623d-4f41-abb2-9c6ac068aecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"locations\": [\n        {\n            \"location_id\": 9,\n            \"zone_id\": 1,\n            \"sequence_number\": 5,\n            \"code\": \"testcode\",\n            \"settings\": {\n                \"storage_type\": [\n                    1,\n                    2\n                ],\n                \"location_type\": 3,\n                \"colour_type\": 2,\n                \"description\": \"test\",\n                \"length\": 1.0,\n                \"width\": 5,\n                \"height\": 15,\n                \"exclude_qty_from_available\": true,\n                \"force_elp\": false\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"bc81f7f9-9251-407c-9ff5-ecb6000631a6","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"locations\": [\n        {\n            \"location_id\": 9,\n            \"zone_id\": 1,\n            \"sequence_number\": 5,\n            \"code\": \"testcode\",\n            \"settings\": {\n                \"storage_type\": [\n                    1,\n                    2\n                ],\n                \"location_type\": 3,\n                \"colour_type\": 2,\n                \"description\": \"test\",\n                \"length\": 1.0,\n                \"width\": 5,\n                \"height\": 15,\n                \"exclude_qty_from_available\": true,\n                \"force_elp\": false\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:23:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:23:45 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 9,\n            \"code\": \"testcode\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.098\"\n}"},{"id":"e3f3f1d5-c9f3-4ea4-81c2-1718889259e5","name":"Bulk Update - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"locations\": [\n        {\n            \"location_id\": 8,\n            \"zone_id\": 1,\n            \"sequence_number\": 5,\n            \"code\": \"testcode\",\n            \"category_id\": 4,\n            \"settings\": {\n                \"storage_type\": [\n                    1,\n                    2\n                ],\n                \"location_type\": 3,\n                \"colour_type\": 2,\n                \"description\": \"test\",\n                \"length\": 1.0,\n                \"width\": 5,\n                \"height\": 15,\n                \"exclude_qty_from_available\": true,\n                \"force_elp\": false\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-update"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:23:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:23:07 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"locations.0.code\": [\n                \"The Code has already been taken.\"\n            ],\n            \"locations.0.location_id\": [\n                \"The selected Location is invalid.\"\n            ],\n            \"locations.0.category_id\": [\n                \"The selected Category is invalid.\"\n            ]\n        },\n        \"message\": \"The Code has already been taken. (and 2 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.050\"\n}"}],"_postman_id":"aeced34b-623d-4f41-abb2-9c6ac068aecd"},{"name":"Bulk Delete","id":"831943a1-8163-4c83-8047-13fbca6db2d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"location_ids\": [\r\n        1,\r\n        2,\r\n        3\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","locations","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"9e602818-d038-43e1-a9a2-59320a39c565","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"location_ids\": [\r\n        1,\r\n        2,\r\n        9\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/locations/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 14:24:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 14:24:41 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"status\": false,\n            \"message\": \"You cannot perform this action because there is existing stock at the location\"\n        },\n        {\n            \"id\": 2,\n            \"status\": false,\n            \"message\": \"You cannot delete system locations!\"\n        },\n        {\n            \"id\": 9,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.097\"\n}"}],"_postman_id":"831943a1-8163-4c83-8047-13fbca6db2d6"}],"id":"ba903060-e9b7-49ce-be46-01d0222f7f72","_postman_id":"ba903060-e9b7-49ce-be46-01d0222f7f72","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Index","id":"e72678f6-3dc5-4fd7-9b70-8f9678f2aa72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse?includes=settings,settings.address","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"settings,settings.address"}],"variable":[]}},"response":[{"id":"7ee207b2-42fb-4658-82ec-2d47fb691341","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/warehouse?includes=settings,settings.address","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","warehouse"],"query":[{"key":"includes","value":"settings,settings.address"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 23 Dec 2024 17:22:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Wed, 22 Jan 2025 17:22:05 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"company_id\": 1,\n            \"name\": \"My Warehouse\",\n            \"is_default\": true,\n            \"use_advanced_mode\": false,\n            \"settings\": {\n                \"warehouse_id\": 1,\n                \"description\": null,\n                \"stock_control_types\": 2,\n                \"stock_control_enabled\": true,\n                \"picked_location_id\": null,\n                \"delivery_location_id\": null,\n                \"assembly_location_id\": null,\n                \"return_location_id\": null,\n                \"visit_order_type\": 2,\n                \"location_structure\": 1,\n                \"item_confirmation_type\": 1,\n                \"require_location_scan\": false,\n                \"require_item_scan\": false,\n                \"allow_product_not_found\": false,\n                \"hide_unassigned_jobs\": false,\n                \"allow_location_skip\": false,\n                \"require_change_reasons\": false,\n                \"hide_zones\": false,\n                \"opportunity_stock_count\": false,\n                \"remove_empty_stock_locations\": false,\n                \"archive_completed_picks\": false,\n                \"archive_completed_picks_after\": 1,\n                \"archive_completed_delivery\": false,\n                \"archive_completed_delivery_after\": 1,\n                \"archive_completed_movement\": false,\n                \"archive_completed_movement_after\": 1,\n                \"address_id\": null,\n                \"address\": null,\n                \"contact_firstname\": null,\n                \"contact_lastname\": null,\n                \"contact_email\": null,\n                \"contact_phone\": null\n            },\n            \"count_injection_percentage\": 0,\n            \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n            \"updated_at\": \"2024-12-23T14:13:51.000000Z\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.314\"\n}"}],"_postman_id":"e72678f6-3dc5-4fd7-9b70-8f9678f2aa72"},{"name":"Show","id":"ec1ef5dc-0a09-4bfa-ac20-edf26c41405b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}?includes=settings,settings.address,settings.pickedLocation,settings.deliveryLocation,settings.assemblyLocation,settings.returnLocation,contacts.user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}"],"host":["http://localhost/api"],"query":[{"key":"includes","value":"settings,settings.address,settings.pickedLocation,settings.deliveryLocation,settings.assemblyLocation,settings.returnLocation,contacts.user"}],"variable":[]}},"response":[{"id":"f581bfd3-139b-4f75-91c1-c4049647864f","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}?includes=settings,settings.address,settings.pickedLocation,settings.deliveryLocation,settings.assemblyLocation,settings.returnLocation,contacts.user","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}"],"query":[{"key":"includes","value":"settings,settings.address,settings.pickedLocation,settings.deliveryLocation,settings.assemblyLocation,settings.returnLocation,contacts.user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 23 Dec 2024 17:22:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Wed, 22 Jan 2025 17:22:25 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"company_id\": 1,\n        \"name\": \"My Warehouse\",\n        \"is_default\": true,\n        \"use_advanced_mode\": false,\n        \"settings\": {\n            \"warehouse_id\": 1,\n            \"description\": null,\n            \"stock_control_types\": 2,\n            \"stock_control_enabled\": true,\n            \"picked_location_id\": null,\n            \"delivery_location_id\": null,\n            \"assembly_location_id\": null,\n            \"return_location_id\": null,\n            \"visit_order_type\": 2,\n            \"location_structure\": 1,\n            \"item_confirmation_type\": 1,\n            \"require_location_scan\": false,\n            \"require_item_scan\": false,\n            \"allow_product_not_found\": false,\n            \"hide_unassigned_jobs\": false,\n            \"allow_location_skip\": false,\n            \"require_change_reasons\": false,\n            \"hide_zones\": false,\n            \"opportunity_stock_count\": false,\n            \"remove_empty_stock_locations\": false,\n            \"archive_completed_picks\": false,\n            \"archive_completed_picks_after\": 1,\n            \"archive_completed_delivery\": false,\n            \"archive_completed_delivery_after\": 1,\n            \"archive_completed_movement\": false,\n            \"archive_completed_movement_after\": 1,\n            \"address_id\": null,\n            \"address\": null,\n            \"contact_firstname\": null,\n            \"contact_lastname\": null,\n            \"contact_email\": null,\n            \"contact_phone\": null\n        },\n        \"location_count\": 1,\n        \"empty_location_count\": 0,\n        \"used_location_count\": 1,\n        \"average_locations\": 100,\n        \"available_stock_levels\": 99.6,\n        \"count_injection_percentage\": 0,\n        \"created_at\": \"2024-12-23T14:13:51.000000Z\",\n        \"updated_at\": \"2024-12-23T14:13:51.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.116\"\n}"}],"_postman_id":"ec1ef5dc-0a09-4bfa-ac20-edf26c41405b"},{"name":"Update","id":"193acc69-4905-4e7c-aa2c-3d9b73de2991","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"settings\": {\n        \"visit_order_type\": 1,\n        \"location_structure\": 1,\n        \"stock_control_enabled\": true,\n        \"description\": \"my warehouses\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"66dce299-15d5-4ea1-9ab3-f27fe0a38713","name":"Update - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"settings\": {\n        \"visit_order_type\": 1,\n        \"location_structure\": 1,\n        \"stock_control_enabled\": true,\n        \"description\": \"my warehouses\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 23 Dec 2024 17:23:37 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Wed, 22 Jan 2025 17:23:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"193acc69-4905-4e7c-aa2c-3d9b73de2991"},{"name":"Update Location Information","id":"bc9268f7-fd3e-4f21-ae36-e671e3033d1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"picked_location_id\": 4,\n    \"delivery_location_id\": 5,\n    \"assembly_location_id\": 6,\n    \"return_location_id\": 7\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/location-information","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","location-information"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"39eff948-6785-4140-bc28-2ab8455c0152","name":"Update Location Information - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"picked_location_id\": 4,\n    \"delivery_location_id\": 5,\n    \"assembly_location_id\": 6,\n    \"return_location_id\": 7\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/location-information"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 23 Dec 2024 17:25:43 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Wed, 22 Jan 2025 17:25:43 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null},{"id":"93fa1dba-2d7a-48b5-b946-36bc13b954f9","name":"Update Location Information - 403","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"default_picked_location_id\": 296,\n    \"default_delivery_location_id\": 297,\n    \"default_assembly_location_id\": 298,\n    \"default_return_location_id\": 299\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/location-information"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 23 Dec 2024 17:23:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Wed, 22 Jan 2025 17:23:48 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"message\": \"You cannot do this because you do not use the full stock structure!\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.089\"\n}"},{"id":"b696568d-f9ad-4d46-83e7-e3768d3b7eb9","name":"Update Location Information - 422","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"default_picked_location_id\": 296,\n    \"default_delivery_location_id\": 297,\n    \"default_assembly_location_id\": 298,\n    \"default_return_location_id\": 299\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/location-information"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 23 Dec 2024 17:24:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"234"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Wed, 22 Jan 2025 17:24:26 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"inputs\": {\n            \"picked_location_id\": [\n                \"The Picked Location field is required.\"\n            ],\n            \"delivery_location_id\": [\n                \"The Delivery Location field is required.\"\n            ],\n            \"assembly_location_id\": [\n                \"The Assembly Location field is required.\"\n            ],\n            \"return_location_id\": [\n                \"The Return Location field is required.\"\n            ]\n        },\n        \"message\": \"The Picked Location field is required. (and 3 more errors)\"\n    },\n    \"success\": false,\n    \"execution_time\": \"0.056\"\n}"}],"_postman_id":"bc9268f7-fd3e-4f21-ae36-e671e3033d1a"},{"name":"Update Warehouse Settings","id":"995604e9-5fd7-444c-98b7-a33c5135706a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"item_confirmation_type\":1,\n    \"stock_control_types\": 3,\n    \"stock_control_enabled\": true,\n    \"require_location_scan\": false,\n\n    \"require_item_scan\": false,\n    \"requires_item_scan_movements\": false,\n    \"requires_item_scan_picks\": false,\n    \"requires_item_scan_inventory_counts\": false,\n    \"exclude_items_without_barcodes\": false,\n\n\n    \"allow_product_not_found\": false,\n    \"hide_unassigned_jobs\": false,\n    \"allow_location_skip\": false,\n    \"require_change_reasons\": false,\n    \"hide_zones\": false,\n    \"opportunity_stock_count\": false,\n    \"prevent_recount_for\": 1,\n    \"archive_completed_picks\": false,\n    \"archive_completed_picks_after\": 1,\n    \"archive_completed_delivery\": false,\n    \"archive_completed_delivery_after\": 1,\n    \"archive_completed_movement\": false,\n    \"archive_completed_movement_after\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/update-settings","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","warehouse","{{warehouse_id}}","update-settings"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"329e6b06-eeca-4ec2-8df3-0fd3efd86357","name":"Update Warehouse Settings - 204","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"item_confirmation_type\":1,\n    \"stock_control_types\": 2,\n    \"stock_control_enabled\": true,\n    \"require_location_scan\": false,\n\n    \"require_item_scan\": false,\n    \"requires_item_scan_movements\": false,\n    \"requires_item_scan_picks\": false,\n    \"requires_item_scan_inventory_counts\": false,\n    \"exclude_items_without_barcodes\": false,\n\n\n    \"allow_product_not_found\": false,\n    \"hide_unassigned_jobs\": false,\n    \"allow_location_skip\": false,\n    \"require_change_reasons\": false,\n    \"hide_zones\": false,\n    \"opportunity_stock_count\": false,\n    \"prevent_recount_for\": 1,\n    \"archive_completed_picks\": false,\n    \"archive_completed_picks_after\": 1,\n    \"archive_completed_delivery\": false,\n    \"archive_completed_delivery_after\": 1,\n    \"archive_completed_movement\": false,\n    \"archive_completed_movement_after\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/warehouse/{{warehouse_id}}/update-settings"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 23 Dec 2024 17:24:06 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Wed, 22 Jan 2025 17:24:06 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"995604e9-5fd7-444c-98b7-a33c5135706a"}],"id":"915e6180-9f6f-472a-a7e0-f82fa57c2fd7","_postman_id":"915e6180-9f6f-472a-a7e0-f82fa57c2fd7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Tax Group","item":[{"name":"List","id":"70497ae3-4e04-4ac3-be30-185c30e6a3ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups","description":"<h2 id=\"get-tax-groups-for-a-company\">Get Tax Groups for a Company</h2>\n<p>This endpoint retrieves a list of tax groups associated with a specific company identified by <code>company_id</code>. It is useful for applications that need to display or manage the tax-related configurations for different companies.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost/api/v1/companies/{{company_id}}/tax-groups</code></p>\n</li>\n</ul>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>company_id</code> (int): The unique identifier of the company for which tax groups are being requested.</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Tax Group Test\",\n            \"description\": null,\n            \"company_id\": 1,\n            \"status\": true,\n            \"parameters\": [\n                {\n                    \"id\": 1,\n                    \"tax_group_id\": 1,\n                    \"country_id\": 232,\n                    \"country\": {\n                        \"id\": 232,\n                        \"name\": \"United Kingdom\",\n                        \"alpha_2_code\": \"GB\",\n                        \"alpha_3_code\": \"GBR\",\n                        \"numeric_code\": 826,\n                        \"subregion\": \"northern-europe\",\n                        \"created_at\": null,\n                        \"updated_at\": null\n                    },\n                    \"region\": [\n                        2289,\n                        2290\n                    ],\n                    \"tax_rate\": 10,\n                    \"created_at\": \"2025-07-18T20:35:21.000000Z\"\n                }\n            ],\n            \"in_use\": false,\n            \"created_at\": \"2025-07-18T20:35:21.000000Z\",\n            \"archived_at\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.071\"\n}\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the <code>company_id</code> is valid and corresponds to an existing company in the system.</p>\n</li>\n<li><p>The response may vary based on the tax groups configured for the specified company.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups"],"host":["http://localhost/api"],"query":[{"disabled":true,"description":{"content":"<p>0/1</p>\n","type":"text/plain"},"key":"statuses[]","value":"0"},{"disabled":true,"key":"countries[]","value":"1"},{"disabled":true,"key":"regions[]","value":"7"}],"variable":[]}},"response":[{"id":"d10399e9-88c9-44c7-b45f-baa27dc08b15","name":"List - 200","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/tax-groups","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","tax-groups"],"query":[{"key":"statuses[]","value":"0","description":"0/1","type":"text","disabled":true},{"key":"countries[]","value":"1","disabled":true},{"key":"regions[]","value":"7","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 20:35:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 22:35:28 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Tax Group Test\",\n            \"description\": null,\n            \"company_id\": 1,\n            \"status\": true,\n            \"parameters\": [\n                {\n                    \"id\": 1,\n                    \"tax_group_id\": 1,\n                    \"country_id\": 232,\n                    \"country\": {\n                        \"id\": 232,\n                        \"name\": \"United Kingdom\",\n                        \"alpha_2_code\": \"GB\",\n                        \"alpha_3_code\": \"GBR\",\n                        \"numeric_code\": 826,\n                        \"subregion\": \"northern-europe\",\n                        \"created_at\": null,\n                        \"updated_at\": null\n                    },\n                    \"region\": [\n                        2289,\n                        2290\n                    ],\n                    \"tax_rate\": 10,\n                    \"created_at\": \"2025-07-18T20:35:21.000000Z\"\n                }\n            ],\n            \"in_use\": false,\n            \"created_at\": \"2025-07-18T20:35:21.000000Z\",\n            \"archived_at\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.071\"\n}"}],"_postman_id":"70497ae3-4e04-4ac3-be30-185c30e6a3ae"},{"name":"Show","id":"7cecb2c6-0141-4be5-8b00-7fdbf038bbff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/{{tax_group_id}}","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This endpoint retrieves detailed information about a specific tax group associated with a company. It is useful for obtaining the tax group's configuration, including its parameters and status.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost/api/v1/companies/{{company_id}}/tax-groups/{{tax_group_id}}</code></p>\n</li>\n</ul>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<ul>\n<li><p><code>company_id</code> (integer): The unique identifier of the company for which the tax group is being retrieved.</p>\n</li>\n<li><p><code>tax_group_id</code> (integer): The unique identifier of the tax group you wish to access.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful request, the server responds with a JSON object containing the details of the requested tax group.</p>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"id\": 0,\n    \"name\": \"\",\n    \"description\": null,\n    \"company_id\": 0,\n    \"status\": true,\n    \"parameters\": [\n      {\n        \"id\": 0,\n        \"tax_group_id\": 0,\n        \"country_id\": 0,\n        \"country\": {\n          \"id\": 0,\n          \"name\": \"\",\n          \"alpha_2_code\": \"\",\n          \"alpha_3_code\": \"\",\n          \"numeric_code\": 0,\n          \"subregion\": \"\",\n          \"created_at\": null,\n          \"updated_at\": null\n        },\n        \"region\": [0],\n        \"tax_rate\": 0,\n        \"created_at\": \"\"\n      }\n    ],\n    \"in_use\": true,\n    \"created_at\": \"\",\n    \"archived_at\": null\n  },\n  \"success\": true,\n  \"execution_time\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups","{{tax_group_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"65dc5bb2-7d3c-4cd3-8d9b-bcca0f48e30d","name":"Show - 200","originalRequest":{"method":"GET","header":[],"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/{{tax_group_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 20:36:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 22:36:47 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Tax Group Test 2\",\n        \"description\": null,\n        \"company_id\": 1,\n        \"status\": true,\n        \"parameters\": [\n            {\n                \"id\": 1,\n                \"tax_group_id\": 1,\n                \"country_id\": 232,\n                \"country\": {\n                    \"id\": 232,\n                    \"name\": \"United Kingdom\",\n                    \"alpha_2_code\": \"GB\",\n                    \"alpha_3_code\": \"GBR\",\n                    \"numeric_code\": 826,\n                    \"subregion\": \"northern-europe\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"region\": [\n                    2289,\n                    2290\n                ],\n                \"tax_rate\": 10,\n                \"created_at\": \"2025-07-18T20:35:21.000000Z\"\n            }\n        ],\n        \"in_use\": false,\n        \"created_at\": \"2025-07-18T20:35:21.000000Z\",\n        \"archived_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.093\"\n}"}],"_postman_id":"7cecb2c6-0141-4be5-8b00-7fdbf038bbff"},{"name":"Create","id":"8a9ef240-1add-4315-8d4b-54936495df50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tax Group Test 2\",\n    \"status\": 1,\n    \"parameters\": [\n        {\n            \"country_id\": 232,\n            \"region\": [\n                2289,\n                2290\n            ],\n            \"tax_rate\": 10\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"f6c33149-edcf-4d1f-b0a0-b7f7268989c2","name":"Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tax Group Test 2\",\n    \"status\": 1,\n    \"parameters\": [\n        {\n            \"country_id\": 232,\n            \"region\": [\n                2289,\n                2290\n            ],\n            \"tax_rate\": 10\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:40:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:40:20 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Tax Group Test 2\",\n        \"company_id\": 1,\n        \"status\": true,\n        \"parameters\": [\n            {\n                \"id\": 5,\n                \"tax_group_id\": 3,\n                \"country_id\": 232,\n                \"country\": {\n                    \"id\": 232,\n                    \"name\": \"United Kingdom\",\n                    \"alpha_2_code\": \"GB\",\n                    \"alpha_3_code\": \"GBR\",\n                    \"numeric_code\": 826,\n                    \"subregion\": \"northern-europe\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"region\": [\n                    2289,\n                    2290\n                ],\n                \"tax_rate\": 10,\n                \"created_at\": \"2024-12-24T22:40:20.000000Z\"\n            }\n        ],\n        \"in_use\": false,\n        \"created_at\": \"2024-12-24T22:40:20.000000Z\",\n        \"archived_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.055\"\n}"}],"_postman_id":"8a9ef240-1add-4315-8d4b-54936495df50"},{"name":"Bulk Create","id":"6a5351a4-e767-4bac-8d87-eb532a9f0b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax_groups\": [\n        {\n            \"name\": \"Tax Group Testing\",\n            \"status\": 1,\n            \"parameters\": [\n                {\n                    \"country_id\": 232,\n                    \"region\": [\n                        2289,\n                        2290\n                    ],\n                    \"tax_rate\": 10\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/bulk-create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"26abb939-0a97-4f95-9f6c-392549ceb4b6","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax_groups\": [\n        {\n            \"name\": \"Tax Group Testing\",\n            \"status\": 1,\n            \"parameters\": [\n                {\n                    \"country_id\": 232,\n                    \"region\": [\n                        2289,\n                        2290\n                    ],\n                    \"tax_rate\": 10\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:53:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:53:55 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"name\": \"Tax Group Testing\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.127\"\n}"}],"_postman_id":"6a5351a4-e767-4bac-8d87-eb532a9f0b4f"},{"name":"Bulk Update","id":"5ed8b58f-710f-4a48-b191-9431d56fd77c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax_groups\": [\n        {\n            \"tax_group_id\": 4,\n            \"name\": \"Tax Group Testing\",\n            \"status\": 1,\n            \"parameters\": [\n                {\n                    \"country_id\": 232,\n                    \"region\": [\n                        2289,\n                        2290\n                    ],\n                    \"tax_rate\": 10\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/bulk-update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"4bb63fbc-882c-4bf8-b047-6444d1e89684","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax_groups\": [\n        {\n            \"tax_group_id\": 4,\n            \"name\": \"Tax Group Testing\",\n            \"status\": 1,\n            \"parameters\": [\n                {\n                    \"country_id\": 232,\n                    \"region\": [\n                        2289,\n                        2290\n                    ],\n                    \"tax_rate\": 10\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:55:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:55:41 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"name\": \"Tax Group Testing\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.062\"\n}"}],"_postman_id":"5ed8b58f-710f-4a48-b191-9431d56fd77c"},{"name":"Bulk Delete","id":"4db09dc1-07cb-46e3-9648-ab0ba2864c96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax_group_ids\": [\n        4\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/bulk-delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"d87c036b-949d-4afc-93c3-eee2476aafe8","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tax_group_ids\": [\n        4\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:57:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:57:13 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.059\"\n}"}],"_postman_id":"4db09dc1-07cb-46e3-9648-ab0ba2864c96"},{"name":"Update","id":"dc25777a-d573-410c-9650-b93e75ce5a70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tax Group Test 2\",\n    \"status\": 0,\n    \"parameters\": [\n        {\n            \"country_id\": 232,\n            \"region\": [\n                2289,\n                2290\n            ],\n            \"tax_rate\": 10\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/{{tax_group_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups","{{tax_group_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"6c3edcd1-f6f0-4dd7-8cec-25508d2e9526","name":"Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tax Group Test 2\",\n    \"status\": 0,\n    \"parameters\": [\n        {\n            \"country_id\": 232,\n            \"region\": [\n                2289,\n                2290\n            ],\n            \"tax_rate\": 10\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/{{tax_group_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:41:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:41:00 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Tax Group Test 2\",\n        \"company_id\": 1,\n        \"status\": false,\n        \"parameters\": [\n            {\n                \"id\": 6,\n                \"tax_group_id\": 3,\n                \"country_id\": 232,\n                \"country\": {\n                    \"id\": 232,\n                    \"name\": \"United Kingdom\",\n                    \"alpha_2_code\": \"GB\",\n                    \"alpha_3_code\": \"GBR\",\n                    \"numeric_code\": 826,\n                    \"subregion\": \"northern-europe\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"region\": [\n                    2289,\n                    2290\n                ],\n                \"tax_rate\": 10,\n                \"created_at\": \"2024-12-24T22:41:00.000000Z\"\n            }\n        ],\n        \"in_use\": false,\n        \"created_at\": \"2024-12-24T22:40:20.000000Z\",\n        \"archived_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.080\"\n}"}],"_postman_id":"dc25777a-d573-410c-9650-b93e75ce5a70"},{"name":"Delete","id":"815f5ba8-a442-4a97-b3e4-d025f31e1754","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/{{tax_group_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","tax-groups","{{tax_group_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"04c313e8-9d7c-4b59-b7ef-be52dd5c639f","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/tax-groups/{{tax_group_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.25"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 24 Dec 2024 22:41:17 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=veKhlAy7JnZKJ4zlYDCcmST18jzQKKZUhFNxxehN; expires=Thu, 23 Jan 2025 22:41:17 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"815f5ba8-a442-4a97-b3e4-d025f31e1754"}],"id":"ce945317-83a7-4bde-87f9-24d798bf7f4a","_postman_id":"ce945317-83a7-4bde-87f9-24d798bf7f4a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Job Reasons","item":[{"name":"List","id":"fe9dcc75-b4cb-4186-adda-cd9d53c34ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons?includes=channels","description":"<h2 id=\"api-endpoint-retrieve-job-reasons-for-a-company\">API Endpoint: Retrieve Job Reasons for a Company</h2>\n<p>This endpoint allows you to retrieve job reasons associated with a specific company. It provides details about each job reason, including its status and related channels.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost/api/v1/companies/{{company_id}}/job-reasons?includes=channels</code></p>\n</li>\n</ul>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<ul>\n<li><code>company_id</code> (required): The unique identifier for the company whose job reasons you want to retrieve.</li>\n</ul>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<ul>\n<li><code>includes</code> (optional): A parameter that specifies additional data to include in the response. In this case, it requests the inclusion of channels related to the job reasons.</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": [\n    {\n      \"id\": 0,\n      \"company_id\": 0,\n      \"reason_type\": 0,\n      \"reason\": \"\",\n      \"is_active\": 0,\n      \"image_status\": 0,\n      \"channels\": [],\n      \"created_at\": \"\",\n      \"updated_at\": \"\",\n      \"deleted_at\": null\n    }\n  ],\n  \"success\": true,\n  \"execution_time\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons"],"host":["http://localhost/api"],"query":[{"description":{"content":"<p>Include related data</p>\n","type":"text/plain"},"key":"includes","value":"channels"},{"disabled":true,"description":{"content":"<p>Search term</p>\n","type":"text/plain"},"key":"search","value":"test"},{"disabled":true,"description":{"content":"<p>Active status filter</p>\n","type":"text/plain"},"key":"is_active","value":"1"},{"disabled":true,"description":{"content":"<p>Job reason type filter</p>\n","type":"text/plain"},"key":"reason_type","value":"return"},{"disabled":true,"description":{"content":"<p>Channel ID filter</p>\n","type":"text/plain"},"key":"channel_id","value":"1"},{"disabled":true,"description":{"content":"<p>Records per page</p>\n","type":"text/plain"},"key":"per_page","value":"15"}],"variable":[]}},"response":[{"id":"e4162f65-d5e1-4467-ab71-91b9bbb7392a","name":"List - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/job-reasons?includes=channels","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","job-reasons"],"query":[{"key":"includes","value":"channels","description":"Include related data"},{"key":"search","value":"test","description":"Search term","disabled":true},{"key":"is_active","value":"1","description":"Active status filter","disabled":true},{"key":"reason_type","value":"return","description":"Job reason type filter","disabled":true},{"key":"channel_id","value":"1","description":"Channel ID filter","disabled":true},{"key":"per_page","value":"15","description":"Records per page","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 20:52:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 22:52:35 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 16,\n            \"company_id\": 1,\n            \"reason_type\": 1,\n            \"reason\": \"Product Quality\",\n            \"is_active\": 1,\n            \"image_status\": 1,\n            \"channels\": [],\n            \"created_at\": \"2025-07-18T10:55:05.000000Z\",\n            \"updated_at\": \"2025-07-18T10:55:05.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.078\"\n}"}],"_postman_id":"fe9dcc75-b4cb-4186-adda-cd9d53c34ccf"},{"name":"Show","id":"5d9cf09a-f4ff-418f-8e4b-da69653ca9dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}?includes=channels","description":"<h2 id=\"api-endpoint-get-job-reason-details\">API Endpoint: Get Job Reason Details</h2>\n<p>This endpoint retrieves detailed information about a specific job reason associated with a company. It allows clients to obtain the job reason's attributes, including its type, status, and associated channels.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method:</strong> GET</p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}</code></p>\n</li>\n<li><p><strong>Query Parameters:</strong></p>\n<ul>\n<li><code>includes</code>: A string parameter that specifies additional relationships to include in the response. In this case, it is used to include associated channels.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"id\": 0,\n    \"company_id\": 0,\n    \"reason_type\": 0,\n    \"reason\": \"\",\n    \"is_active\": 0,\n    \"image_status\": 0,\n    \"channels\": [],\n    \"created_at\": \"\",\n    \"updated_at\": \"\",\n    \"deleted_at\": null\n  },\n  \"success\": true,\n  \"execution_time\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons","{{job_reason_id}}"],"host":["http://localhost/api"],"query":[{"description":{"content":"<p>Include related data</p>\n","type":"text/plain"},"key":"includes","value":"channels"}],"variable":[]}},"response":[{"id":"167fe908-6eeb-4a9b-a2a9-046bc5bd10f8","name":"Show - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}?includes=channels","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","job-reasons","{{job_reason_id}}"],"query":[{"key":"includes","value":"channels","description":"Include related data"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 20:59:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 22:59:39 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"company_id\": 1,\n        \"reason_type\": 4,\n        \"reason\": \"Test\",\n        \"is_active\": 1,\n        \"image_status\": 1,\n        \"channels\": [],\n        \"created_at\": \"2025-07-18T10:55:05.000000Z\",\n        \"updated_at\": \"2025-07-18T20:56:47.000000Z\",\n        \"deleted_at\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.103\"\n}"}],"_postman_id":"5d9cf09a-f4ff-418f-8e4b-da69653ca9dc"},{"name":"Create","id":"f256571e-d93b-47c0-a584-8cd190d15684","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reason\": \"Defective Product\",\n  \"reason_types\": [1,2],\n  \"channels\": [1],\n  \"is_active\": true,\n  \"image_status\": 1\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons","description":"<h2 id=\"add-job-reason\">Add Job Reason</h2>\n<p>This endpoint allows you to add a new job reason for a specific company identified by <code>company_id</code>.</p>\n<h3 id=\"request\">Request</h3>\n<p><strong>Method:</strong> POST<br /><strong>Endpoint:</strong> <code>http://localhost/api/v1/companies/{{company_id}}/job-reasons</code></p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>reason</strong> (string): A brief description of the job reason.</p>\n</li>\n<li><p><strong>reason_types</strong> (array of integers): An array that specifies the types of reasons associated with the job reason.</p>\n</li>\n<li><p><strong>channels</strong> (array of integers): An array that indicates the channels through which the job reason is applicable.</p>\n</li>\n<li><p><strong>is_active</strong> (boolean): A flag indicating whether the job reason is currently active.</p>\n</li>\n<li><p><strong>image_status</strong> (integer): An integer representing the status of any associated image.</p>\n</li>\n</ul>\n<p><strong>Example Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"reason\": \"Defective Product\",\n  \"reason_types\": [1],\n  \"channels\": [1],\n  \"is_active\": true,\n  \"image_status\": 1\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"482547a0-8171-4378-b70d-919c560c6976","name":"Create - 201","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reason\": \"Defective Product\",\n  \"reason_types\": [1,2],\n  \"channels\": [1],\n  \"is_active\": true,\n  \"image_status\": 1\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 20:55:20 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 22:55:20 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f256571e-d93b-47c0-a584-8cd190d15684"},{"name":"Update","id":"9f1c0be5-eb33-4b2d-8b90-7a9fa71a07f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reason\": \"Defective Product\",\n  \"reason_types\": [1,2],\n  \"channels\": [1],\n  \"is_active\": true,\n  \"image_status\": 1\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}","description":"<h3 id=\"update-job-reason\">Update Job Reason</h3>\n<p>This endpoint allows you to update an existing job reason associated with a specific company. The job reason can include various attributes such as the reason itself, types of reasons, channels, and its active status.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method:</strong> PUT</p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}</code></p>\n</li>\n</ul>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<p>The request body must be provided in JSON format and includes the following parameters:</p>\n<ul>\n<li><p><strong>reason</strong> (string): A description of the job reason (e.g., \"Product Quality\").</p>\n</li>\n<li><p><strong>reason_types</strong> (array of integers): An array indicating the types of reasons associated with this job reason.</p>\n</li>\n<li><p><strong>channels</strong> (array of integers): An array indicating the channels through which this job reason can be applied.</p>\n</li>\n<li><p><strong>is_active</strong> (boolean): A flag indicating whether the job reason is currently active.</p>\n</li>\n<li><p><strong>image_status</strong> (integer): A status code representing the image status related to the job reason.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><strong>Status Code:</strong> 204 No Content</p>\n</li>\n<li><p><strong>Content-Type:</strong> text/xml</p>\n</li>\n</ul>\n<p>A successful request will return a 204 status code indicating that the update was successful and there is no content in the response body.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons","{{job_reason_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"850b4ab8-6684-4181-86c8-b23a0a88c4f1","name":"Update - 204","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reason\": \"Defective Product Test\",\n  \"reason_types\": [1,2],\n  \"channels\": [1],\n  \"is_active\": true,\n  \"image_status\": 1\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 20:56:47 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 22:56:47 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9f1c0be5-eb33-4b2d-8b90-7a9fa71a07f4"},{"name":"Delete","id":"4c87e019-ce21-41dd-993a-8ca23aecf8b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}","description":"<h2 id=\"delete-job-reason\">DELETE Job Reason</h2>\n<p>This endpoint is used to delete a specific job reason associated with a company. By sending a DELETE request to this endpoint, the user can remove a job reason identified by its unique <code>job_reason_id</code> from the company's record.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><p><code>company_id</code> (path parameter): The unique identifier of the company from which the job reason will be deleted.</p>\n</li>\n<li><p><code>job_reason_id</code> (path parameter): The unique identifier of the job reason that is to be deleted.</p>\n</li>\n</ul>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>DELETE http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}\n\n</code></pre><h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Status: 204 No Content\nContent-Type: text/xml\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons","{{job_reason_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"bbba85f2-0462-40e1-b114-76d69adccad0","name":"Delete - 204","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/{{job_reason_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 21:00:40 GMT"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"239"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 23:00:40 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4c87e019-ce21-41dd-993a-8ca23aecf8b2"},{"name":"Bulk Create","id":"b4a1f343-6de7-4207-a359-f1a79b1863e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job_reasons\": [\n        {\n            \"reason\": \"Test 1\",\n            \"reason_types\": [\n                1\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 1\n        },\n        {\n            \"reason\": \"Test 2\",\n            \"reason_types\": [\n                1,\n                2\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 2\n        }\n    ]\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-create","description":"<h2 id=\"bulk-create-job-reasons\">Bulk Create Job Reasons</h2>\n<p>This endpoint allows you to create multiple job reasons for a specified company in bulk. It is particularly useful for efficiently adding several job reasons at once.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method:</strong> POST</p>\n</li>\n<li><p><strong>Endpoint:</strong> <code>http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-create</code></p>\n</li>\n<li><p><strong>Content-Type:</strong> application/json</p>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"job_reasons\": [\n    {\n      \"reason\": \"Test 1\",\n      \"reason_types\": [1],\n      \"channels\": [1],\n      \"is_active\": true,\n      \"image_status\": 1\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": [\n    {\n      \"success\": true,\n      \"message\": null\n    }\n  ],\n  \"success\": true,\n  \"execution_time\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons","bulk-create"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"b8e8ba9d-cf76-4ce2-9f82-04826b74f1ab","name":"Bulk Create - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job_reasons\": [\n        {\n            \"reason\": \"Test 1\",\n            \"reason_types\": [\n                1\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 1\n        },\n        {\n            \"reason\": \"Test 2\",\n            \"reason_types\": [\n                1,\n                2\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 2\n        }\n    ]\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 21:03:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 23:03:59 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"success\": true,\n            \"message\": null\n        },\n        {\n            \"success\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.115\"\n}"}],"_postman_id":"b4a1f343-6de7-4207-a359-f1a79b1863e2"},{"name":"Bulk Update","id":"2ba2cbc8-836b-4025-b8d3-8ac26b243c39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job_reasons\": [\n        {\n            \"reason\": \"Test 1\",\n            \"reason_types\": [\n                1\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 1\n        },\n        {\n            \"reason\": \"Test 2\",\n            \"reason_types\": [\n                1,\n                2\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 2\n        }\n    ]\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-update","description":"<h3 id=\"patch-v1companiescompany_idjob-reasonsbulk-update\">PATCH /v1/companies/{{company_id}}/job-reasons/bulk-update</h3>\n<p>This endpoint allows you to update multiple job reasons for a specific company in a single request. It is designed to streamline the process of modifying job reasons by accepting a bulk update payload.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be in JSON format and should contain the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"job_reasons\": [\n    {\n      \"id\": &lt;integer&gt;,               // The unique identifier for the job reason to be updated\n      \"reason\": &lt;string&gt;,            // The updated reason text for the job reason\n      \"reason_types\": [&lt;integer&gt;],   // An array of integers representing the reason types associated with this job reason\n      \"channels\": [&lt;integer&gt;],        // An array of integers representing the channels through which this job reason is applicable\n      \"is_active\": &lt;boolean&gt;,         // A boolean indicating whether the job reason is active\n      \"image_status\": &lt;integer&gt;       // An integer representing the status of the associated image\n    }\n  ]\n}\n\n</code></pre>\n<ul>\n<li><strong>job_reasons</strong>: An array of objects where each object represents a job reason to be updated. Each object must include the <code>id</code> of the job reason being updated along with other relevant fields.</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>On a successful update, the response will return a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": [\n    {\n      \"success\": &lt;boolean&gt;,          // Indicates if the update was successful\n      \"data\": {\n        \"id\": &lt;integer&gt;,              // The unique identifier of the job reason\n        \"company_id\": &lt;integer&gt;,      // The ID of the company associated with the job reason\n        \"reason_type\": &lt;integer&gt;,     // The type of reason\n        \"reason\": &lt;string&gt;,           // The updated reason text\n        \"is_active\": &lt;integer&gt;,       // Indicates if the job reason is active (0 or 1)\n        \"image_status\": &lt;integer&gt;,     // The status of the associated image\n        \"created_at\": &lt;string&gt;,       // Timestamp of when the job reason was created\n        \"updated_at\": &lt;string&gt;,       // Timestamp of when the job reason was last updated\n        \"deleted_at\": &lt;null|string&gt;   // Timestamp of when the job reason was deleted (null if not deleted)\n      },\n      \"message\": &lt;null|string&gt;        // Optional message regarding the update\n    }\n  ],\n  \"success\": &lt;boolean&gt;,              // Overall success status of the request\n  \"execution_time\": &lt;string&gt;         // Time taken to execute the request\n}\n\n</code></pre>\n<ul>\n<li><p><strong>data</strong>: An array containing the results of the update operation for each job reason.</p>\n</li>\n<li><p><strong>success</strong>: Indicates whether the overall operation was successful.</p>\n</li>\n<li><p><strong>execution_time</strong>: Provides the duration taken to process the request.</p>\n</li>\n</ul>\n<p>This endpoint is particularly useful for bulk operations, allowing for efficient updates to job reasons without needing to make multiple requests.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons","bulk-update"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"c78669c3-dd14-4367-a52f-9134b46549fc","name":"Bulk Update - 200","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job_reasons\": [\n        {\n            \"id\": 10,\n            \"reason\": \"Test 1\",\n            \"reason_types\": [\n                1\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 1\n        },\n        {\n            \"id\": 11,\n            \"reason\": \"Test 2\",\n            \"reason_types\": [\n                1,\n                2\n            ],\n            \"channels\": [\n                1\n            ],\n            \"is_active\": true,\n            \"image_status\": 2\n        }\n    ]\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 21:06:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 23:06:33 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"success\": true,\n            \"data\": {\n                \"id\": 10,\n                \"company_id\": 1,\n                \"reason_type\": 3,\n                \"reason\": \"Test 1\",\n                \"is_active\": 1,\n                \"image_status\": 1,\n                \"created_at\": \"2025-07-18T10:55:05.000000Z\",\n                \"updated_at\": \"2025-07-18T21:06:33.000000Z\",\n                \"deleted_at\": null\n            },\n            \"message\": null\n        },\n        {\n            \"success\": true,\n            \"data\": {\n                \"id\": 11,\n                \"company_id\": 1,\n                \"reason_type\": 2,\n                \"reason\": \"Test 2\",\n                \"is_active\": 1,\n                \"image_status\": 1,\n                \"created_at\": \"2025-07-18T10:55:05.000000Z\",\n                \"updated_at\": \"2025-07-18T21:06:33.000000Z\",\n                \"deleted_at\": null\n            },\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.117\"\n}"}],"_postman_id":"2ba2cbc8-836b-4025-b8d3-8ac26b243c39"},{"name":"Bulk Delete","id":"7ea93186-3363-45fd-bfdc-c11916e901fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job_reason_ids\": [\n        2,\n        3,\n        4,\n        5\n    ]\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-delete","description":"<h2 id=\"bulk-delete-job-reasons\">Bulk Delete Job Reasons</h2>\n<p>This endpoint allows you to bulk delete job reasons associated with a specific company. By sending a list of job reason IDs, you can remove multiple job reasons in a single request, streamlining the process of managing job reasons.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-delete</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be in JSON format and should contain the following parameter:</p>\n<ul>\n<li><strong>job_reason_ids</strong> (Array of integers): A list of IDs representing the job reasons that you wish to delete.</li>\n</ul>\n<p><strong>Example Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"job_reason_ids\": [2]\n}\n\n</code></pre>\n<p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": [\n    {\n      \"success\": true,\n      \"data\": {\n        \"id\": 0,\n        \"company_id\": 0,\n        \"reason_type\": 0,\n        \"reason\": \"\",\n        \"is_active\": 0,\n        \"image_status\": 0,\n        \"created_at\": \"\",\n        \"updated_at\": \"\",\n        \"deleted_at\": null\n      },\n      \"message\": null\n    }\n  ],\n  \"success\": true,\n  \"execution_time\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","job-reasons","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"ad97e480-f511-42fb-9941-e6a166cbf03f","name":"Bulk Delete - 200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job_reason_ids\": [\n        2,\n        3,\n        4,\n        5\n    ]\n}"},"url":"http://localhost/api/v1/companies/{{company_id}}/job-reasons/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 18 Jul 2025 21:08:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"238"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=NZtxF0Yyy49VmoYjrQnI9IqMMAyBa1YbWPusSP6Q; expires=Fri, 18 Jul 2025 23:08:08 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"success\": true,\n            \"data\": {\n                \"id\": 2,\n                \"company_id\": 1,\n                \"reason_type\": 4,\n                \"reason\": \"Damaged Stock\",\n                \"is_active\": 1,\n                \"image_status\": 1,\n                \"created_at\": \"2025-07-18T10:55:05.000000Z\",\n                \"updated_at\": \"2025-07-18T10:55:05.000000Z\",\n                \"deleted_at\": null\n            },\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.090\"\n}"}],"_postman_id":"7ea93186-3363-45fd-bfdc-c11916e901fa"}],"id":"a14afb10-35e1-4215-94b0-0c825446abe4","_postman_id":"a14afb10-35e1-4215-94b0-0c825446abe4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Tools","item":[{"name":"Countries","id":"5341f88a-9397-4cf6-8dd0-1675ae60a0b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/countries","description":"<p><strong>Description:</strong><br />StartFragmentThe <strong>Countries</strong> endpoint allows you to retrieve a list of all available countries in the system. This can be used for managing origin and destination information in various warehousing and fulfillment processes.EndFragment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","countries"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"f9194bdf-f391-4d48-a327-11e3b50209e6","name":"Index - 200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"/public-api/v1/companies/{{company_id}}/countries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 01 Nov 2024 22:29:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"240"},{"key":"X-RateLimit-Remaining","value":"237"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=4IVSiF6EgxN4Erhq5LSHOAJy7RMC2DHL5LlxC7vr; expires=Sat, 02 Nov 2024 00:29:55 GMT; Max-Age=7200; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Afghanistan\",\n            \"alpha_2_code\": \"AF\",\n            \"alpha_3_code\": \"AFG\",\n            \"numeric_code\": 4,\n            \"subregion\": \"southern-asia\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Aland Islands\",\n            \"alpha_2_code\": \"AX\",\n            \"alpha_3_code\": \"ALA\",\n            \"numeric_code\": 248,\n            \"subregion\": \"northern-europe\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Albania\",\n            \"alpha_2_code\": \"AL\",\n            \"alpha_3_code\": \"ALB\",\n            \"numeric_code\": 8,\n            \"subregion\": \"southern-europe\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.068\"\n}"}],"_postman_id":"5341f88a-9397-4cf6-8dd0-1675ae60a0b1"}],"id":"b3285d0c-e2fd-43df-b4a6-a17ea657a6d9","description":"<p>The <strong>Tools</strong> section provides access to essential data endpoints that support your warehousing and fulfillment operations. These resources offer foundational data needed for accurate processing and localization.</p>\n","_postman_id":"b3285d0c-e2fd-43df-b4a6-a17ea657a6d9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Movements","item":[{"name":"Items","item":[{"name":"List","id":"aa8a362f-cf7c-47fe-817e-ad51388ffe9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","items"],"host":["http://localhost/api"],"query":[{"disabled":true,"description":{"content":"<p>inventory,inventory.meta,fromLocation,fromZone,toLocation,toZone,movement,deliveryItem</p>\n","type":"text/plain"},"key":"includes","value":"inventory,inventory.meta,fromLocation,fromZone,toLocation,toZone,movement,deliveryItem,inventory.stocks"},{"disabled":true,"key":"product_name","value":"test"},{"disabled":true,"key":"product_code","value":"test"},{"disabled":true,"key":"from_location_id[]","value":"1"},{"disabled":true,"key":"from_zone_id[]","value":"1"},{"disabled":true,"key":"to_location_id[]","value":"1"},{"disabled":true,"key":"to_zone_id[]","value":"1"},{"disabled":true,"key":"moved_qty_from","value":"0"},{"disabled":true,"key":"moved_qty_to","value":"5"},{"disabled":true,"key":"status[]","value":"1"},{"disabled":true,"key":"query","value":"TEST"}],"variable":[]}},"response":[{"id":"a5ad927e-d750-4285-80aa-b9e141d2a0e3","name":"Index","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","items"],"query":[{"key":"includes","value":"inventory,inventory.meta,fromLocation,fromZone,toLocation,toZone,movement,deliveryItem,inventory.stocks","description":"inventory,inventory.meta,fromLocation,fromZone,toLocation,toZone,movement,deliveryItem","disabled":true},{"key":"product_name","value":"test","type":"text","disabled":true},{"key":"product_code","value":"test","type":"text","disabled":true},{"key":"from_location_id[]","value":"1","type":"text","disabled":true},{"key":"from_zone_id[]","value":"1","type":"text","disabled":true},{"key":"to_location_id[]","value":"1","type":"text","disabled":true},{"key":"to_zone_id[]","value":"1","type":"text","disabled":true},{"key":"moved_qty_from","value":"0","type":"text","disabled":true},{"key":"moved_qty_to","value":"5","type":"text","disabled":true},{"key":"status[]","value":"1","type":"text","disabled":true},{"key":"query","value":"TEST","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:45:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IjBPdmFObXRxRnpaRUJlRUYyWHRYYnc9PSIsInZhbHVlIjoibmhzNjRLdmY2TFEyZTl1UjNvV0g3Yi84TnJtQ2krUkQvWW9Dd0trMlI4a2h3dlBOa2lTa2lmTTQ2ZXRlUjdWYlVSVTNTdTc0WUV2QzVVSEtIU08zUzFjVUNPRFVhT2NkempNM09CZHVJSXNJTWFWTi94UTcwMjBuL3N2V0p1L3UiLCJtYWMiOiJmODk3MGE3MTYyMGNkODY1NGMzODJiYWI1OGY0MzRiMGJiY2NhYzNhMzdhNjQyNDE3OGUxMjk5Yzc5YTU2NThjIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:45:37 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=Cd2lvWUgumc9OOYi3veCrtmR3flhwanmuwiXwGOJ; expires=Fri, 28 Nov 2025 10:45:37 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"company_id\": 1,\n            \"movement_id\": 2,\n            \"inventory_id\": 1,\n            \"delivery_item_id\": null,\n            \"from_location_id\": 1,\n            \"from_zone_id\": 1,\n            \"to_location_id\": 10,\n            \"to_zone_id\": 1,\n            \"quantity\": 10,\n            \"moved_quantity\": 3,\n            \"action_quantity\": 0,\n            \"status\": 2,\n            \"created_at\": \"2025-10-29T08:12:28.000000Z\",\n            \"updated_at\": \"2025-10-29T08:31:46.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/v1/companies/1/movements/2/items?page=1\",\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"current_page_url\": \"http://localhost/api/v1/companies/1/movements/2/items?page=1\",\n        \"from\": 1,\n        \"path\": \"http://localhost/api/v1/companies/1/movements/2/items\",\n        \"per_page\": 10,\n        \"to\": 1\n    },\n    \"success\": true,\n    \"execution_time\": \"0.333\"\n}"}],"_postman_id":"aa8a362f-cf7c-47fe-817e-ad51388ffe9c"},{"name":"Create","id":"4d3b3793-69fb-4729-97ec-a8effb3b7539","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_type\": 1, // 1=Instant, 2=Replenish, 3=Consolidate, 4=Delivery\n    // \"delivery_id\": 58, // If the movement is Delivery\n    \"items\": [\n        {\n            \"inventory_id\": 2,\n            \"quantity\": 1,\n            \"from_location_id\": 1,\n            \"to_location_id\": 9\n            // \"delivery_item_id\": 62 // If the movement is Delivery\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","items"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"754d49b2-9c2c-4330-9fa3-c113b5310d41","name":"Create","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_type\": 1, // 1=Instant, 2=Replenish, 3=Consolidate, 4=Delivery\n    // \"delivery_id\": 58, // If the movement is Delivery\n    \"items\": [\n        {\n            \"inventory_id\": 2,\n            \"quantity\": 1,\n            \"from_location_id\": 1,\n            \"to_location_id\": 9\n            // \"delivery_item_id\": 62 // If the movement is Delivery\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:45:49 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IkYyUDZKS2xKYUR3YmloWFJFZ1RVZ0E9PSIsInZhbHVlIjoiN0FPSkl4Mks3cTJsT0lMSkJQOVZCL3dqbHp2WEs5bUl1NTE0bjNGaXpxRnZ3NFUwV1FDMDgvNFNGTllYRnU2Y2dNbStxSTMvNTFCV0l6RTJFdkN5MVBab3BMMW9zUnRLQStiUjZDZW5FWWRHbmw1bytrOWtudGxQRzg4SnluOTkiLCJtYWMiOiJjOTMzNGY0OTUyN2MyNWNiOGMxMWY5NDQ4N2JjNzlkYmY4MTU1YTBmN2FjZThiNjNjMTdhYzRhNzhlOWVjYjMzIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:45:49 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=NlFFlU8qz2od4VVMp9f4K90y8VVLY0PZFvsztNig; expires=Fri, 28 Nov 2025 10:45:49 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4d3b3793-69fb-4729-97ec-a8effb3b7539"},{"name":"Update To Location","id":"1a685cca-a479-40d8-8ccf-32f08faa0139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_location_id\": 10\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_item_id}}/update-to-location","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","items","{{movement_item_id}}","update-to-location"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"c70d9bb3-9730-46fc-ad4d-4b3823acc865","name":"Update To Location","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_location_id\": 10\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_item_id}}/update-to-location"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:50:01 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6ImpOVHZYMHVjbi9oV2UzdENZeTIxRFE9PSIsInZhbHVlIjoieGtHN3FRcEZnZjN6MitJRXpGcDZGRTRZeW16WUlZZmM2UUFJRE9SWjNYWG1RUW5lT3VzZ0hzQlNTZWlXSHBSeU9weWtaLzI1Z0NjNUFRRW43SGZtOHJpSGl1VXVET05TeXhKZXBhMjMvNUMrVjdTWEtYcjdacHAxYTZHUVF5QXciLCJtYWMiOiI1ZDRmZGFhNzI0MDcyNzMyYTA2MTdkZjZkOGNhODFhMzBhMDAzZTRlYTdmZWJhNjlmNjMyNjMxMmQ1NjhiMzkwIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:50:01 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=GF4SEPwkZU4B6h2BTu3AyRvp56v5w71I10EhgThT; expires=Fri, 28 Nov 2025 10:50:01 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1a685cca-a479-40d8-8ccf-32f08faa0139"},{"name":"Update Item Action Qty","id":"7fc244f2-c2a8-4161-9586-76fab1139179","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action_quantity\": 3\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_line_id}}/update-action-qty","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","items","{{movement_line_id}}","update-action-qty"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"d1a3899a-7609-4acb-a5a9-c3db039b82d3","name":"Update Item Action Qty","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action_quantity\": 3\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_line_id}}/update-action-qty"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:50:23 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IkU3UVY2TU1KajMreDVoSG1FR0VTTmc9PSIsInZhbHVlIjoiV1AzV1lNcW1vQlhrZU5tQVFhOFdDbGpraGtxdVhINHRZa2VFcGlzYjQ4aVRjejVrb1o4ODVTTmF2RCs0UlZRRTBwcjlYREFyd0U2Z0VMT3REQ21nWmp4L0dCSU5OV0ppek1PT2toMXd5Z0dWVmMyVHJPeXJ1enArRXc1cmx6bXciLCJtYWMiOiIyMmZlZmE1ZjgyNjQ2ODgyZDQ3YjIwNGRmYjI3NWQyZTU1YzQwOWQwOWUxMWJhMzcxMGVlNTlkMzY3Y2U2MDQ2IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:50:23 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=xCkUzASEqc2elBRJm1sRwmmv41yTvZcSPt1Drizp; expires=Fri, 28 Nov 2025 10:50:23 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7fc244f2-c2a8-4161-9586-76fab1139179"},{"name":"Update Item Qty","id":"e690292c-26ea-44db-bdb2-b7ed8d02ec4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 19\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_line_id}}/update-qty","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","items","{{movement_line_id}}","update-qty"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"1defa03d-c43b-4030-9c9c-de020e42bd7b","name":"Update Item Qty","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 19\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_line_id}}/update-qty"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:53:07 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IlliRDVPMVAwWS95YmNkRUx5cFMvb3c9PSIsInZhbHVlIjoiQytRR2ROOElqaUM1K0ZmbGJIOFJUR0lxbi9ydE1vRWttVisycDlucExSVkFIU1hkUVFobGNmdVlSZmpkd3Bnd3ZWSDA4QXZRK0ROZjRwS1YyRVFQL0xCQ1MrRnovUXF1cXQxcmREczJlTmcvOFcrMXFKR1BBOEhHTGFLNTIvNDIiLCJtYWMiOiI1ZmE4OWNkYmE3MDZiMjBkYTY5NDg1NmEwNTgzNGQwZGE3ODU5OGE3MTk2NmY0NGRjMGJiNzNjZGYwMDgyYTE5IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:53:07 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=qXMbVBCfcSzwxwOYRB0485W5NtYbkXg6XVXHbGfh; expires=Fri, 28 Nov 2025 10:53:07 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e690292c-26ea-44db-bdb2-b7ed8d02ec4f"},{"name":"Delete","id":"b37bdca0-ebc7-4944-b710-a3cadcd9cfdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_item_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","items","{{movement_item_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"ed876d7e-52d8-4252-a180-04423d227b59","name":"Delete","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/items/{{movement_item_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:53:36 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6InVZSmM2UGJZYjU4QmU2b2VSdS9ndlE9PSIsInZhbHVlIjoiTk5HeVkzSlpudzI3RjI3MkJ3dEpTUmpxazRZYnI2bU02a0dTY1FMWERFS2tiZ1Z6S2laRTkzVzFiNm1zaWVnWGNqL0lnWUNEZE1pTlBJeER0eEhudWZHZGowZ0t1NWd1UG80RmNIdFYrM24vRkwvTFRLeDdtb2RaaHBzZTFsNWEiLCJtYWMiOiI5Y2M1YmYyZGY0NjUwZmFlYmMyODc5MzQxNGZmY2ExYjc5NTk4ZWI3OTIwZjIyYTMyOTFiNmRmMzljNDNkOTlkIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:53:36 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=5GSDPp1NzzyesEhDi42f68WRnKNN0CfPK7mpcKuX; expires=Fri, 28 Nov 2025 10:53:36 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b37bdca0-ebc7-4944-b710-a3cadcd9cfdd"}],"id":"622a50c1-a90b-47b1-a0f2-393f5e6e2f56","_postman_id":"622a50c1-a90b-47b1-a0f2-393f5e6e2f56","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Transactions","item":[{"name":"Transaction Detail","id":"8b3a3be5-3cf1-45a9-8128-985ef0d78f25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/transaction/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","transaction","1"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"619dae9f-7b9d-4aa4-b678-9ad514a61d2e","name":"Transaction Detail","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/transaction/1"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:58:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6InBzWSt4QkdZdHhKTVhNazdlVHdYRUE9PSIsInZhbHVlIjoicnZicHNyZ3NVZllJYi9uVlhhNUhJMWFVMHBNYlpuVDIvQ2dVOGovdWpGZy9aNzJ3Z1NUQzJheFdEQ3VPVXZoUTNSR2k1U2xrS1ZlTjQ2aDQ5eU5GWlM1NEpxZHNIaDcwb1lxSU5ZY0RHMXNpTENLeHRTVHRkaDB5SlgxVUhhcGsiLCJtYWMiOiI2ZDZkM2YxMmQxMDQ3NTY0Yjg2NWFhNDdjYzczZDBkZDYyNDVjNjA5NWE3Mzg4NjQzMzk1MzQ3MDc0ZmY0OTI2IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:58:59 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=BsKB1uCkciN4cwKV4sSlGjVq1ITmXQPYZTG6B2OI; expires=Fri, 28 Nov 2025 10:58:59 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"status\": 3,\n        \"total_items_count\": 1,\n        \"total_chunk\": 1,\n        \"processed_chunk\": 1,\n        \"started_at\": \"2025-10-29T07:34:19.000000Z\",\n        \"failed_at\": null,\n        \"completed_at\": \"2025-10-29T07:34:20.000000Z\",\n        \"error_message\": null,\n        \"success_logs\": 1,\n        \"failed_logs\": 0,\n        \"pending_logs\": 0,\n        \"created_at\": \"2025-10-29T07:34:13.000000Z\",\n        \"updated_at\": \"2025-10-29T07:34:20.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.239\"\n}"}],"_postman_id":"8b3a3be5-3cf1-45a9-8128-985ef0d78f25"},{"name":"Logs","id":"f185b567-a609-4dc8-a0d7-812fc6005f9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/transaction/1/logs","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","transaction","1","logs"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"5d0ca5e8-e78e-4149-a3b2-dd01ed940e75","name":"Logs","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/transaction/1/logs"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:59:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IkJVLys5bVdOS2tVMnJmMVlxaDJ0S0E9PSIsInZhbHVlIjoiVlFXbjNuNWNyNDhDY04wUjNTV3dhWXQzeVF5RFFBY3FYK09nTEZUSWExRFF5VHFFRVV1OWh5RENEaXhxY3NzdU05bFB6cXBXc1lxTzVCN0dHV3BaWnkzSnU2SDQ2MWIwVkU4cWh6OXFDWm1ETFhDc0cxUCsvaW9MMVV0UGZJOEoiLCJtYWMiOiIyZDVmMDAwY2IyMzBiNzRhMDc3ZThlMzg2MjgyNTMxMWYyYWE5MGY0YTk0NmRkMTVmODI3ZDVjYzZlYjYxMjVlIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:59:07 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=uoKms0bBC0CgNgMHD7kiwVhAEVAIDp7949m3bjwF; expires=Fri, 28 Nov 2025 10:59:07 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [],\n    \"links\": {\n        \"first\": \"http://localhost/api/v1/companies/1/movements/transaction/1/logs?page=1\",\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"current_page_url\": \"http://localhost/api/v1/companies/1/movements/transaction/1/logs?page=1\",\n        \"from\": null,\n        \"path\": \"http://localhost/api/v1/companies/1/movements/transaction/1/logs\",\n        \"per_page\": 10,\n        \"to\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.148\"\n}"}],"_postman_id":"f185b567-a609-4dc8-a0d7-812fc6005f9a"},{"name":"Grouped Logs","id":"c9fc35ba-a1b7-40d4-9087-ba05960f5b81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/transaction/1/grouped-logs","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","transaction","1","grouped-logs"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"8a007634-7972-48b3-9c05-72c94ac387e3","name":"Grouped Logs","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/transaction/1/grouped-logs"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:59:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IlM1MWEyTlNoY0FQUlpXU2o1bHg1UVE9PSIsInZhbHVlIjoiZVd5a2xBNEFabStkdDVjUzJ2Qm1YdGozRmZYZUQvK3hxVURocUlqVUNtYVdqVEpqYWhDeHZVSzRXMlU2UDgrZmpPcTVCMGgzWlpPUEExZER4cVBBenhMTXE1V0lmK04wMlhLK1liemlFUlkrdVlLam1QS0daK1dha2xDMGd4NGwiLCJtYWMiOiJiMDkyNGFhMzRiMzJmOTMwNmNkYzE3ZTUzMTUzNjNkNWFjYzI2MmE3YmIxMTU3MjFjYmM5NzlmZGYwNTI5ZGM1IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:59:12 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=cKUNBH64fVgHYodCEQp4RdD2RsLARx1sZYVHVb4e; expires=Fri, 28 Nov 2025 10:59:12 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [],\n    \"links\": {\n        \"first\": \"http://localhost/api/v1/companies/1/movements/transaction/1/grouped-logs?page=1\",\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"current_page_url\": \"http://localhost/api/v1/companies/1/movements/transaction/1/grouped-logs?page=1\",\n        \"from\": null,\n        \"path\": \"http://localhost/api/v1/companies/1/movements/transaction/1/grouped-logs\",\n        \"per_page\": 10,\n        \"to\": null\n    },\n    \"success\": true,\n    \"execution_time\": \"0.103\"\n}"}],"_postman_id":"c9fc35ba-a1b7-40d4-9087-ba05960f5b81"}],"id":"9a74d355-fd6f-4109-a34d-e631cf422983","_postman_id":"9a74d355-fd6f-4109-a34d-e631cf422983","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"List","id":"55c82b21-314e-4b41-9ee3-11eb8445f526","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements"],"host":["http://localhost/api"],"query":[{"disabled":true,"description":{"content":"<p>items,items.inventory,items.inventory.meta,items.inventory.stocks,items.inventory.stocks.location,delivery,delivery.supplier,delivery.supplier.contact,assignedUser,assignedUser.user,assignedUser.user.fileManager,assignedUser.timeTracking,assignedUsers,assignedUsers.user,assignedUsers.user.fileManager,assignedUsers.timeTracking,tags,tags.tag,archivedBy.user,archivedBy.user.fileManager,items.fromLocation</p>\n","type":"text/plain"},"key":"includes","value":"items"},{"disabled":true,"key":"movement_number","value":"MOV-643FD96F"},{"disabled":true,"key":"movement_type","value":"[1,2]"},{"disabled":true,"key":"item_count_from","value":"3"},{"disabled":true,"key":"item_count_to","value":"4"},{"disabled":true,"key":"assigned_user_id[]","value":"1"},{"disabled":true,"key":"assigned_user_id[]","value":"2"},{"disabled":true,"key":"created_at_from","value":"2025-03-05T00:00:00.000Z"},{"disabled":true,"key":"created_at_to","value":"2025-03-05T23:59:59.999Z"},{"disabled":true,"key":"assigned_user_date_from","value":""},{"disabled":true,"key":"assigned_user_date_to","value":""},{"disabled":true,"key":"completed_at_from","value":""},{"disabled":true,"key":"completed_at_to","value":""},{"disabled":true,"key":"status","value":"1"},{"disabled":true,"key":"archived","value":"1"},{"disabled":true,"key":"sort_by_location","value":"from|to"}],"variable":[]}},"response":[{"id":"0fad3ae0-6b89-45b3-94ea-dca9b574c9c2","name":"List","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/movements","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","movements"],"query":[{"key":"includes","value":"items","description":"items,items.inventory,items.inventory.meta,items.inventory.stocks,items.inventory.stocks.location,delivery,delivery.supplier,delivery.supplier.contact,assignedUser,assignedUser.user,assignedUser.user.fileManager,assignedUser.timeTracking,assignedUsers,assignedUsers.user,assignedUsers.user.fileManager,assignedUsers.timeTracking,tags,tags.tag,archivedBy.user,archivedBy.user.fileManager,items.fromLocation","disabled":true},{"key":"movement_number","value":"MOV-643FD96F","disabled":true},{"key":"movement_type","value":"[1,2]","type":"text","disabled":true},{"key":"item_count_from","value":"3","disabled":true},{"key":"item_count_to","value":"4","disabled":true},{"key":"assigned_user_id[]","value":"1","disabled":true},{"key":"assigned_user_id[]","value":"2","disabled":true},{"key":"created_at_from","value":"2025-03-05T00:00:00.000Z","disabled":true},{"key":"created_at_to","value":"2025-03-05T23:59:59.999Z","disabled":true},{"key":"assigned_user_date_from","value":"","type":"text","disabled":true},{"key":"assigned_user_date_to","value":"","type":"text","disabled":true},{"key":"completed_at_from","value":"","type":"text","disabled":true},{"key":"completed_at_to","value":"","type":"text","disabled":true},{"key":"status","value":"1","type":"text","disabled":true},{"key":"archived","value":"1","disabled":true},{"key":"sort_by_location","value":"from|to","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:42:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6Ii9QTGJkOGJUTDhwcnpLQklLZnk5M3c9PSIsInZhbHVlIjoiTWVOVmFQcEMxazdrU0NiTTNEUTNWazR4VVlyd25IdElPaHpHdUJ3RW12eWdBMUFqcjB6b0lNQndyalYrenIzcHRxL292M1FERE1DT1dKWGtrK09NcnRSNVdhYXJ5cENPKzAyWkxwNEFETXJvRmhVOVhpM2gxbnFjbXdiVTNGajAiLCJtYWMiOiIzZGRhMWU1Y2U3YjgxNjZhMTZlYjRlODRhNmQxZGVhMDUzNjAzZWIzZDFjNGVlZDhlNTVmMWM4NDYxZWFkZmRkIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:42:04 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=ZWOMty9RAwW1Y5c79DPw0XysaBqBLdV18CIVcyqK; expires=Fri, 28 Nov 2025 10:42:04 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"company_id\": 1,\n            \"user_id\": 1,\n            \"type\": 1,\n            \"replenish_type\": null,\n            \"is_bulk\": false,\n            \"movement_number\": \"MOV-3CF2505C\",\n            \"parent_movement_id\": null,\n            \"delivery_id\": null,\n            \"status\": 3,\n            \"movement_duration\": 0,\n            \"estimated_complete_time\": 7,\n            \"completed_hours\": null,\n            \"line_per_hour\": 0,\n            \"completed_at\": null,\n            \"archived_by\": null,\n            \"archived_at\": null,\n            \"created_at\": \"2025-10-29T08:12:28.000000Z\",\n            \"updated_at\": \"2025-10-29T08:31:46.000000Z\",\n            \"deleted_at\": null,\n            \"items_count\": 1,\n            \"total_items\": \"10\",\n            \"completed_units\": \"3\"\n        },\n        {\n            \"id\": 1,\n            \"company_id\": 1,\n            \"user_id\": 1,\n            \"type\": 1,\n            \"replenish_type\": null,\n            \"is_bulk\": false,\n            \"movement_number\": \"MOV-BE456112\",\n            \"parent_movement_id\": null,\n            \"delivery_id\": null,\n            \"status\": 4,\n            \"movement_duration\": 0,\n            \"estimated_complete_time\": 0,\n            \"completed_hours\": null,\n            \"line_per_hour\": 0,\n            \"completed_at\": \"2025-10-29T07:39:47.000000Z\",\n            \"archived_by\": null,\n            \"archived_at\": null,\n            \"created_at\": \"2025-10-29T07:34:20.000000Z\",\n            \"updated_at\": \"2025-10-29T08:03:01.000000Z\",\n            \"deleted_at\": null,\n            \"items_count\": 1,\n            \"total_items\": \"0\",\n            \"completed_units\": \"0\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/v1/companies/1/movements?page=1\",\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"current_page_url\": \"http://localhost/api/v1/companies/1/movements?page=1\",\n        \"from\": 1,\n        \"path\": \"http://localhost/api/v1/companies/1/movements\",\n        \"per_page\": 10,\n        \"to\": 2\n    },\n    \"success\": true,\n    \"execution_time\": \"0.309\"\n}"}],"_postman_id":"55c82b21-314e-4b41-9ee3-11eb8445f526"},{"name":"Detail","id":"7ed1b487-d7ee-416c-801e-d656a7ac8b51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}"],"host":["http://localhost/api"],"query":[{"disabled":true,"description":{"content":"<p>items,items.inventory,items.inventory.meta,items.inventory.stocks,items.inventory.stocks.location,delivery,delivery.supplier,delivery.supplier.contact,assignedUser,assignedUser.user,assignedUser.user.fileManager,assignedUser.timeTracking,assignedUsers,assignedUsers.user,assignedUsers.user.fileManager,assignedUsers.timeTracking,tags,tags.tag,archivedBy.user,archivedBy.user.fileManager</p>\n","type":"text/plain"},"key":"includes","value":"assignedUser.user,tags.tag,items"}],"variable":[]}},"response":[{"id":"412ec58e-d494-4d5e-be9b-c561a7aab163","name":"Detail","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":{"raw":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}","host":["http://localhost/api"],"path":["v1","companies","{{company_id}}","movements","{{movement_id}}"],"query":[{"key":"includes","value":"assignedUser.user,tags.tag,items","description":"items,items.inventory,items.inventory.meta,items.inventory.stocks,items.inventory.stocks.location,delivery,delivery.supplier,delivery.supplier.contact,assignedUser,assignedUser.user,assignedUser.user.fileManager,assignedUser.timeTracking,assignedUsers,assignedUsers.user,assignedUsers.user.fileManager,assignedUsers.timeTracking,tags,tags.tag,archivedBy.user,archivedBy.user.fileManager","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:42:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IlpnMUFsNVF0UiszWVhyUzFJcWFrbXc9PSIsInZhbHVlIjoiZzVpRjVxcHhaeURrYWFhSWdCUnVocXVtNFRjVzh1K0pYQndkYlZRUjQwWmtmbjVEN2lJdDlWZFQ4ZjRjRjFPdER0cnVZeldLaU9Yd3ptNFdQSWtFUVQzd1hJRTZZbyt1cnVUM1FpTVVueHNWNVVHeUdXWjFvTjFzejhKZ0QvOSsiLCJtYWMiOiIwM2NlM2Y1NzNlYWJhNTBkZGI4ODIzNmE0MGI5ZTZmOGM1NTc4NDg5MzczZTMyM2U2M2NhNjVjZmFhYjI3NTYzIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:42:18 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=TLGGmezG06nzLi0yaUZYRCLbm6RWtoknUq8R1kid; expires=Fri, 28 Nov 2025 10:42:18 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"company_id\": 1,\n        \"user_id\": 1,\n        \"type\": 1,\n        \"replenish_type\": null,\n        \"is_bulk\": false,\n        \"movement_number\": \"MOV-3CF2505C\",\n        \"parent_movement_id\": null,\n        \"delivery_id\": null,\n        \"status\": 3,\n        \"movement_duration\": 0,\n        \"estimated_complete_time\": 7,\n        \"completed_hours\": null,\n        \"line_per_hour\": 0,\n        \"completed_at\": null,\n        \"archived_by\": null,\n        \"archived_at\": null,\n        \"created_at\": \"2025-10-29T08:12:28.000000Z\",\n        \"updated_at\": \"2025-10-29T08:31:46.000000Z\",\n        \"deleted_at\": null,\n        \"items_count\": 1,\n        \"total_items\": \"10\",\n        \"completed_lines\": 0,\n        \"completed_units\": 3,\n        \"has_active_action_quantity\": false\n    },\n    \"success\": true,\n    \"execution_time\": \"0.200\"\n}"}],"_postman_id":"7ed1b487-d7ee-416c-801e-d656a7ac8b51"},{"name":"Movement Types","id":"5358f236-b0e2-41fb-907e-37dca7920bfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","types"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"7a519130-18a3-438c-94f9-4efbfb0ab3b9","name":"Movement Types","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/types"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:40:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IlI5L1lqUXV1b2tuY2ZERXlQOEh5N1E9PSIsInZhbHVlIjoiWnhOT1drZmllZ29PM0VFdGtqajhMOWpVVGN4Z0tDdzNiQWR1Z2VIU0FqZXA5S3lNbFU2UktJRkVzV21BTEVTY1N3TzBGYVd1YzhRVm1ndTdDTU45K2I5dFQvY1BmM0ppUTUwWUZsWHFhT1A2b25CODJ2dnI5QTBDNGVhTDNsSEEiLCJtYWMiOiJiYzI3NzgyYjE1OGM4M2QxNDdlNjgxYjFkN2E5MzdmY2JmNWQ5ZmUxMjVmYjU1MDk4MWU3YmIyNmViMDUyNWY2IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:40:50 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=TbMctfMClqE4ArhscgnZybgxS94mMP4tYZFJ0bOR; expires=Fri, 28 Nov 2025 10:40:50 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"value\": 1,\n            \"map\": \"Instant\"\n        },\n        {\n            \"value\": 2,\n            \"map\": \"Replenish\"\n        },\n        {\n            \"value\": 3,\n            \"map\": \"Consolidate\"\n        },\n        {\n            \"value\": 4,\n            \"map\": \"Delivery\"\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.106\"\n}"}],"_postman_id":"5358f236-b0e2-41fb-907e-37dca7920bfb"},{"name":"Create","id":"e874d096-35ea-4865-81a8-6e74d6297f5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1, // 1=Instant, 2=Replenish, 3=Consolidate, 4=Delivery\n    \"is_bulk\": false, // If type is Instant\n    \"replenish_type\": 1, // If type is Replenish. 1=Full replenish, 2=Filter\n    \"split\": { // If type is not Delivery\n        \"per_zone\": false,\n        \"set_maximum_lines\": true,\n        \"maximum_lines\": 1, // If set maximum level is true\n        \"assigned_users\": [1]\n    },\n    \"deliveries\": [1,2], // If type is delivery\n    \"inventory_list\": [ // If type is instant and is not bulk\n        {\n            \"inventory_id\": 1,\n            \"quantity\": 10,\n            \"from_location_id\": 1,\n            \"to_location_id\": 9\n        }\n    ]\n    \n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"71b62d0b-abcd-4497-9f2f-6ee3908a4771","name":"Create","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": 1, // 1=Instant, 2=Replenish, 3=Consolidate, 4=Delivery\n    \"is_bulk\": false, // If type is Instant\n    \"replenish_type\": 1, // If type is Replenish. 1=Full replenish, 2=Filter\n    \"split\": { // If type is not Delivery\n        \"per_zone\": false,\n        \"set_maximum_lines\": true,\n        \"maximum_lines\": 1, // If set maximum level is true\n        \"assigned_users\": [1]\n    },\n    \"deliveries\": [1,2], // If type is delivery\n    \"inventory_list\": [ // If type is instant and is not bulk\n        {\n            \"inventory_id\": 1,\n            \"quantity\": 10,\n            \"from_location_id\": 1,\n            \"to_location_id\": 9\n        }\n    ]\n    \n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:42:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6InhFMS9FZmE0MXZkK2Iyd3FFOThjTEE9PSIsInZhbHVlIjoia0JleDlxVHlKcitMZ3RXRDBzaEZMM3BmM0xuM2VNUysxWXpPZFFEOFlrYytucVlXM0M5TGh6VGFHd0QwM1VSVlJnbzR3V280c2lDcnlad3E5Z2xFNmQ5cnF0VzA5WTlNZFpnSERTR2ZNaFZTbHJjZU42c2lndFdpanJGY0drK2QiLCJtYWMiOiJjMjE2NTg2ZTI0YjgwYWJkMzAzNTA5NjM0NGQwZjgxOTJmNmViMmQzZWFiMDRlNjg5MjIwMTgyZDNmMDcwODc3IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 10:42:55 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=1SacDat67i8Auq5sWrMO4fwgsYMsUCGLD9CgbO6W; expires=Fri, 28 Nov 2025 10:42:55 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"user_id\": 1,\n        \"status\": null,\n        \"total_items_count\": 1,\n        \"total_chunk\": 1,\n        \"processed_chunk\": null,\n        \"started_at\": null,\n        \"failed_at\": null,\n        \"completed_at\": null,\n        \"error_message\": null,\n        \"created_at\": \"2025-10-29T10:42:55.000000Z\",\n        \"updated_at\": \"2025-10-29T10:42:55.000000Z\"\n    },\n    \"success\": true,\n    \"execution_time\": \"0.273\"\n}"}],"_postman_id":"e874d096-35ea-4865-81a8-6e74d6297f5e"},{"name":"Publish","id":"edb976cd-3d80-44db-b695-e3c8fa08f228","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/publish","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","publish"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"96dd59e2-0457-4ced-a9d2-712fd8528778","name":"Publish","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/publish"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:59:20 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=cKUNBH64fVgHYodCEQp4RdD2RsLARx1sZYVHVb4e; expires=Fri, 28 Nov 2025 10:59:20 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"edb976cd-3d80-44db-b695-e3c8fa08f228"},{"name":"Mark As Completed","id":"f3aca6fa-f47b-42b1-9e36-f1688926869d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/mark-as-completed","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","mark-as-completed"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"e9366c05-1ab9-4c6e-a8b8-e113a4dcbc34","name":"Mark As Completed","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/mark-as-completed"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 10:59:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=cKUNBH64fVgHYodCEQp4RdD2RsLARx1sZYVHVb4e; expires=Fri, 28 Nov 2025 10:59:26 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f3aca6fa-f47b-42b1-9e36-f1688926869d"},{"name":"Mark As Ready","id":"746ba02d-29e0-47b8-8963-5079a6773108","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/mark-as-ready","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","mark-as-ready"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"8ee28a77-23a0-4679-8f1f-623421ce7c7b","name":"Mark As Ready","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/mark-as-ready"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:07:30 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"dcv7_session=8LwArzclr1jj5LTkQF7s9ugwFAUBRhtZ2KLZbpvE; expires=Fri, 28 Nov 2025 11:07:30 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"746ba02d-29e0-47b8-8963-5079a6773108"},{"name":"Delete","id":"4442884e-3064-4b44-b9bb-11294d19442a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"857669de-66b8-43c1-b57a-db52c0f776e4","name":"Delete","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:10:05 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6Ik9HVmZVUTdwUVg5WkVEMFhoOXhoYnc9PSIsInZhbHVlIjoiQVFSRFJWbUg5R1R6bU5zcWk4M3pPQmdIMW8wcHpvZFpRTlNqU2xCbWN4enRZR05LRzRjcnpHaDlsUEs2OVVaNjBYREY4dEVtRkNoVkpkbWJDL3dmVVhGcGcxVWZObjk0UitrdnExQzV2NGtBSzZPRDNCVFFsN2YwakRIWnNQNHIiLCJtYWMiOiIxYjY5MWVlM2NiZWQzMTBkYTdlNzY4MDZmMDlkM2NmMDQ5MWQ2N2RjMjA1MjEzYWVhMWQ2ODAzYTdiOGVmNjQ3IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 11:10:05 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=lBG5Yccbk6pgG6ISKsoFwmII2ISeMWHWd6q7KsGx; expires=Fri, 28 Nov 2025 11:10:05 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4442884e-3064-4b44-b9bb-11294d19442a"},{"name":"Archive","id":"3289c976-f9b2-4dbb-aa30-1a60415370f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/archive","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"0351caaf-74e1-456e-a018-86c26c71beb0","name":"Archive","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/archive"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:10:19 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6Inh4Mm1admZDQ3k3bDA4WWdXeEtOT2c9PSIsInZhbHVlIjoiOHI1R2NKMkNrYTNGTFBRMHVvZjdJcEJ4UU1FRjBtSUlaWW9VeU0yTG41ZVFVTExiNUs1Y2tJMFczeDNKcERaRzRvbXNWc1pqNFgyR3BkUEpSQzJENEc1ZXBXSytNMXBpSjd3TlhMa20xTG1RcGFZVDRRWDhlbUxLdnV5b3QwRHAiLCJtYWMiOiIwNDZmYmY5M2JhMTIyNDhkYWNlNWExYmJlNzVmMzM0NTUzZjM3MWJiMWI2ODMyNzNkMmQ1OTUzMWI3ZGQxZGNmIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 11:10:19 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=EHO6OLZ8IIcK4Ztf2JgbCeO6CEDaaAhpCDsa3oZO; expires=Fri, 28 Nov 2025 11:10:19 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3289c976-f9b2-4dbb-aa30-1a60415370f3"},{"name":"Bulk Archive","id":"b99ba3a6-29aa-4666-a034-b3cc40efdb3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-archive","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","bulk-archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"e85d3eeb-8149-4715-85f2-86ad94546376","name":"Bulk Archive","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-archive"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:10:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IjhHMHJiQzVDSVZmdnZBYTd5UHV5R3c9PSIsInZhbHVlIjoidHdqVGw5dEZLeDVxU1R5M240K3hjVTNNLy96bVl3QTA3cTR3WE0zdnhIdURHRHRZYVhzVTVsbHNvVWFXQXUwRVpOTVcxT0xPaUx4engyazNiQlA4bjRhTXV0Slg2bzRON1lMS0pJRE5YV0xadFdiSEc1cnl5bm5mUXBUbmVrOEgiLCJtYWMiOiI3NjlhMmNkZmM5NjEyZjRlMTk4MTEzMDVlNDQ4N2U2NTI3NWNhNWM5MzAxOWE5YWQzNmIyYzBlY2NjMDE2NjE1IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=c3WDw60w4T2VN4pMvXbdtEruJgiQoQdHtaDiPgvX; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"movement_number\": \"MOV-BE456112\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.211\"\n}"}],"_postman_id":"b99ba3a6-29aa-4666-a034-b3cc40efdb3c"},{"name":"Bulk Mark As Ready","id":"035568af-e618-437e-ac17-b4de124c751c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-mark-as-ready","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","bulk-mark-as-ready"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"cb2c7a3c-654b-4b64-a26c-eee4e519ed14","name":"Bulk Mark As Ready","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-mark-as-ready"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:10:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IjhHMHJiQzVDSVZmdnZBYTd5UHV5R3c9PSIsInZhbHVlIjoidHdqVGw5dEZLeDVxU1R5M240K3hjVTNNLy96bVl3QTA3cTR3WE0zdnhIdURHRHRZYVhzVTVsbHNvVWFXQXUwRVpOTVcxT0xPaUx4engyazNiQlA4bjRhTXV0Slg2bzRON1lMS0pJRE5YV0xadFdiSEc1cnl5bm5mUXBUbmVrOEgiLCJtYWMiOiI3NjlhMmNkZmM5NjEyZjRlMTk4MTEzMDVlNDQ4N2U2NTI3NWNhNWM5MzAxOWE5YWQzNmIyYzBlY2NjMDE2NjE1IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=c3WDw60w4T2VN4pMvXbdtEruJgiQoQdHtaDiPgvX; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"movement_number\": \"MOV-BE456112\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.211\"\n}"}],"_postman_id":"035568af-e618-437e-ac17-b4de124c751c"},{"name":"Bulk Restore","id":"5b5b085b-3022-43ca-a7e7-432c674f22be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-restore","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","bulk-restore"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"27399f08-89e3-4f51-8901-55fb0ae5ddbb","name":"Bulk Restore","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-restore"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:10:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IjhHMHJiQzVDSVZmdnZBYTd5UHV5R3c9PSIsInZhbHVlIjoidHdqVGw5dEZLeDVxU1R5M240K3hjVTNNLy96bVl3QTA3cTR3WE0zdnhIdURHRHRZYVhzVTVsbHNvVWFXQXUwRVpOTVcxT0xPaUx4engyazNiQlA4bjRhTXV0Slg2bzRON1lMS0pJRE5YV0xadFdiSEc1cnl5bm5mUXBUbmVrOEgiLCJtYWMiOiI3NjlhMmNkZmM5NjEyZjRlMTk4MTEzMDVlNDQ4N2U2NTI3NWNhNWM5MzAxOWE5YWQzNmIyYzBlY2NjMDE2NjE1IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=c3WDw60w4T2VN4pMvXbdtEruJgiQoQdHtaDiPgvX; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"movement_number\": \"MOV-BE456112\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.211\"\n}"}],"_postman_id":"5b5b085b-3022-43ca-a7e7-432c674f22be"},{"name":"Bulk Delete","id":"6e5f01f1-fdbb-425a-83a1-4be36c0acb28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","bulk-delete"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"71b68c8c-8406-47e4-93dc-62484dc3ed50","name":"Bulk Delete","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"movement_ids\": [\n        1\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/bulk-delete"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:10:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6IjhHMHJiQzVDSVZmdnZBYTd5UHV5R3c9PSIsInZhbHVlIjoidHdqVGw5dEZLeDVxU1R5M240K3hjVTNNLy96bVl3QTA3cTR3WE0zdnhIdURHRHRZYVhzVTVsbHNvVWFXQXUwRVpOTVcxT0xPaUx4engyazNiQlA4bjRhTXV0Slg2bzRON1lMS0pJRE5YV0xadFdiSEc1cnl5bm5mUXBUbmVrOEgiLCJtYWMiOiI3NjlhMmNkZmM5NjEyZjRlMTk4MTEzMDVlNDQ4N2U2NTI3NWNhNWM5MzAxOWE5YWQzNmIyYzBlY2NjMDE2NjE1IiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=c3WDw60w4T2VN4pMvXbdtEruJgiQoQdHtaDiPgvX; expires=Fri, 28 Nov 2025 11:10:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"movement_number\": \"MOV-BE456112\",\n            \"status\": true,\n            \"message\": null\n        }\n    ],\n    \"success\": true,\n    \"execution_time\": \"0.211\"\n}"}],"_postman_id":"6e5f01f1-fdbb-425a-83a1-4be36c0acb28"},{"name":"Restore Archive","id":"c3a97cad-175a-4a09-878b-35592127c346","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/restore-archive","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","movements","{{movement_id}}","restore-archive"],"host":["http://localhost/api"],"query":[],"variable":[]}},"response":[{"id":"233d014f-8fa9-413d-bf84-3e006452d1a4","name":"Restore Archive","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"X-XSRF-TOKEN","value":"{{xsrf-token}}","type":"text"},{"key":"Referer","value":"{{referrer}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost/api/v1/companies/{{company_id}}/movements/{{movement_id}}/restore-archive"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Host","value":"localhost"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.2.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 29 Oct 2025 11:14:28 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Set-Cookie","value":"XSRF-TOKEN=eyJpdiI6ImdaZFFNYWJxUHFuSEo5UDM2d1RMekE9PSIsInZhbHVlIjoiSkJ1UDlBV2lxbU1MelIzcFRVaEhxSkhuV2o1ckN3ZXVyZkdvbXhGcFFwVnRNYTFLZjlJY0x6ci9XMHN4b3J2MThKWExpVG5oL2pvbE5CUndoeCs0N0xLVmU4Tnh4SGVjY2xiaFFzdm5RMzdIY045TmVScEVhVFFza3JwVHFFMnQiLCJtYWMiOiJlMzhkNjk2NTkxZGM2MjcxNmU2ZWZlMTY3N2YzNGJjN2U2Mjg2OThiNWE0Y2FlOWQ1YTNjNTFlMzc1M2JkNzJiIiwidGFnIjoiIn0%3D; expires=Fri, 28 Nov 2025 11:14:28 GMT; Max-Age=2592000; path=/; domain=localhost; samesite=lax"},{"key":"Set-Cookie","value":"dcv7_session=oJPOdMNsNLwUO3smZGFgx4gcM6EMhs9Anu8vcYhR; expires=Fri, 28 Nov 2025 11:14:28 GMT; Max-Age=2592000; path=/; domain=localhost; httponly; samesite=lax"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c3a97cad-175a-4a09-878b-35592127c346"}],"id":"b3659a1f-748b-49d9-8067-a049c40bb594","_postman_id":"b3659a1f-748b-49d9-8067-a049c40bb594","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}}},{"name":"Search Example","id":"89d8f9f9-6238-4ab8-884b-5b1bd0cb3884","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"term\": \"(id:5 or id: 8)\",\r\n    \"is_search\": 0, \r\n    \"where\": \"orders\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/v1/companies/{{company_id}}/search","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","id":"93006b1e-33ad-4b9f-83d1-9d07755eb965","name":"Helm API","type":"collection"}},"urlObject":{"path":["v1","companies","{{company_id}}","search"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"89d8f9f9-6238-4ab8-884b-5b1bd0cb3884"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"9110f14c-ddc3-4093-9b54-f36fabcc5ec7","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"9f28492f-3473-4340-8a39-68b95100ebf2","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"id":"c5a9957e-fadb-45c0-af11-591ce276b4c1","key":"bearer_token","value":"","type":"string"},{"id":"cf23559e-944f-462f-8955-b7e091431261","key":"host","value":"","type":"string"},{"id":"d2891466-af16-48a6-8080-ae33d6b76715","key":"api_url","value":"http://localhost/api","type":"string"}]}