{"info":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","description":"<html><head></head><body><p>Welcome to Turis API. Here are some pre-made requests for you to explore the API using Postman.</p>\n<h2 id=\"api-keys\">API Keys</h2>\n<p>You'll need your API keys, so if you don't have them, please go to your <strong>Turis account</strong> and generate a new API client on ...turis.app/oauth-clients page (or via Tools -&gt; API Clients).</p>\n<p>There is a <strong>public key</strong> (client_id) and a <strong>private key</strong> (client_secret) for your account.<br>Think of your private key like a password:</p>\n<p>* Store it securely<br>* Don't share it with anyone outside of your organisation<br>* Don't put it in any code on your website or in a Url that someone could find</p>\n<p>With these values you can generate your private <strong>access token</strong>. This access token is specific to your account and acts as a password for a user, so do not share this access token. It may be revoked by the user at any time by request.</p>\n<h2 id=\"setup\">Setup</h2>\n<p>Note: You'll need to create an environment in Postman.<br>Select your environment, and enter your account's api keys in the CURRENT VALUE fields to set the environment variables:</p>\n<p>* <strong>client_id</strong> - your client ID from ...turis.app/oauth-clients page (or via Tools -&gt; API Clients)<br>* <strong>client_secret</strong> - your client secret from ...turis.app/oauth-clients page (or via Tools -&gt; API Clients)<br>* <strong>tenant</strong> - your account name excluding subdomains (e.g. test, not test.turis.app)</p>\n<p>Note: You need to run <strong>/oauth/token</strong> POST request before any other request to acquire your access token and set it for all next API cals automatically.</p>\n<p>Note: The calls have dependencies. A Retailer must be created before a Buyer and GET/UPDATE/DELETE calls will only work after an item is created with a POST request.</p>\n<h2 id=\"webhooks\">Webhooks</h2>\n<p>You can use webhook subscriptions to receive notifications about particular events in your shop.<br>To subscribe to particular events that are fired in your shop use <strong>/subscriptions</strong> endpoint. After you've subscribed to a webhook (<strong>event</strong>), your app can execute code immediately after specific events occur in the shop.</p>\n<p>Available webhook events:</p>\n<p>* <em>buyer.created</em><br>* <em>buyer.updated</em><br>* <em>buyer.deleted</em><br>* <em>company.created</em><br>* <em>company.updated</em><br>* <em>company.deleted</em><br>* <em>product.created</em><br>* <em>product.updated</em><br>* <em>product.deleted</em><br>* <em>order.created</em><br>* <em>order.updated</em><br>* <em>order.deleted</em></p>\n<p>* order_lines.updated</p>\n<p>When subscribing to these events you need to provide a publicly accessible URL (<strong>endpoint</strong>) that HTTP requests can be sent to. To secure your data and your endpoint use HTTPS and pass a token (<strong>state</strong>) in every new subscription to make sure the request you receive was sent by Turis. Optionally, you can limit the IPs that can send data to your endpoint if you operate a firewall in front of your endpoint.</p>\n<p>An example of data received by your endpoint:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"subscription_id\": 6,\n    \"state\": \"gUYiYzABjgfW61QNVRSE\",\n    \"event\": \"product.deleted\",\n    \"resource_id\": 51\n}\n\n</code></pre>\n<p>Note: Webhooks data does not contain a resource metadata. To retrieve it you can query the API for the metadata using <strong>resource_id</strong></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"32736674","collectionId":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","publishedId":"2sBXwnvDKR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-06-02T09:43:39.000Z"},"item":[{"name":"Company","item":[{"name":"Bulk","item":[{"name":"Bulk uploader companies","id":"d7665d94-8842-46e0-9eee-1f750fb2ebc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[  \n    { \n        \"customer_no\": \"3234\",\n        \"company_name\": \"Ferry, Huels and Dach\",  \n        \"company_slug\": \"Regional\",  \n        \"country_iso_code\": \"GB\",\n        \"tz\": \"Europe/Copenhagen\",\n        \"email\": \"Eddie_Schamberger8@gmail.com\",\n        \"address\": \"46538 Stokes Center\",  \n        \"zip_code\": \"10001\",\n        \"city\": \"Kopenhagen\",\n        \"phone_number\": \"99-236-686-9793\",\n        \"vat_number\": \"12345\",\n        \"website\": \"http://kathryne.org\",\n        \"payment_term_id\": \"\",\n        \"currency_id\": 3,\n        \"allow_users\": \"1\",\n        \"is_customer_contractor\": \"1\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/bulk/upsert","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","companies","bulk","upsert"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7665d94-8842-46e0-9eee-1f750fb2ebc2"}],"id":"d9f88a7d-085c-4383-8549-46cfd867f663","_postman_id":"d9f88a7d-085c-4383-8549-46cfd867f663","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Create company","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"companyId\", jsonData.data['id']);"],"type":"text/javascript","packages":{},"requests":{},"id":"3a34f61c-35b9-4a0e-b825-848b0059abf8"}}],"id":"5801987e-d6b3-4b8c-8364-67c3b8d52b03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"customer_no\": \"215\",\n    \"company_name\": \"Howe, Batz and Torphy\",\n    \"company_slug\": \"deploy\",\n    \"company_reg_no\": \"967\",\n    \"country_iso_code\": \"DK\",//alpha2Code\n    \"state\": \"\",\n    \"tz\": \"Asia/Kabul\",\n    \"email\": \"Aryanna.Hills94@gmail.com\",\n    \"address\": \"351 Darrick Knoll\",\n    \"zip_code\": \"10001\",\n    \"city\":\"Kopenhagen\",\n    \"phone_number\": \"43-436-879-9144\",\n    \"vat_number\": \"12345\",\n    \"website\": \"http://eunice.info\",\n    \"special_price_lists\": [1, 2],\n    \"discount\": \"5\",\n    \"payment\": \"\",\n    \"payment_term_id\": \"\",\n    \"currency_id\": \"\",\n    \"allow_users\": \"1\",\n    \"order_confirmation_email\": \"Cornell.Bosco16@yahoo.com\",\n    \"is_customer_contractor\": \"1\",\n    \"forwarder_name\": \"Gabriella\",\n    \"contract_no\": \"12345\",\n    \"shipping_delivery_terms_id\": \"\",\n    \"free_shipping_limit\": \"100\",\n    \"agents\" : [1,2,3],\n    \"language_id\": \"\",\n    \"minimum_order_amount\": \"5\",\n    \"test_field_retailers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","companies"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0fa64e3f-c521-4a6e-b653-64bd979e2ab7","name":"The customer number is already taken","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer_no\": \"589\",\n    \"company_name\": \"MacGyver, Paucek and McGlynn\",\n    \"company_slug\": \"Minnesota\",\n    \"company_reg_no\": \"82\",\n    \"country_iso_code\": \"DK\",//alpha2Code\n    \"state\": \"\",\n    \"tz\": \"Asia/Kabul\",\n    \"email\": \"Carmen_Gutkowski83@gmail.com\",\n    \"address\": \"992 Lynch Court\",\n    \"zip_code\": \"10001\",\n    \"city\":\"Kopenhagen\",\n    \"phone_number\": \"77-249-680-9827\",\n    \"vat_number\": \"12345\",\n    \"website\": \"https://kitty.org\",\n    \"special_price_lists\": [1, 2],\n    \"discount\": \"5\",\n    \"payment\": \"\",\n    \"currency_id\": \"\",\n    \"allow_users\": \"1\",\n    \"order_confirmation_email\": \"Keagan_Fisher17@yahoo.com\",\n    \"is_customer_contractor\": \"1\",\n    \"forwarder_name\": \"Fay\",\n    \"contract_no\": \"12345\",\n    \"shipping_delivery_terms_id\": \"\",\n    \"free_shipping_limit\": \"100\",\n    \"language_id\": \"\",\n    \"minimum_order_amount\": \"5\",\n    \"test_field_retailers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:01:23 GMT"},{"key":"phpdebugbar-id","value":"X9108bb3cc8407d50809b0c64ce86abad"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"customer_no\": [\n            \"The customer no has already been taken.\"\n        ]\n    }\n}"},{"id":"22afa392-b079-4481-bd6d-e7a60ceef72c","name":"Successful company creation","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"customer_no\": \"738\",\n    \"company_name\": \"Collier and Sons\",\n    \"company_slug\": \"driver\",\n    \"company_reg_no\": \"16\",\n    \"country_iso_code\": \"DK\",\n    \"state\": \"\",//alpha2Code\n    \"tz\": \"Asia/Kabul\",\n    \"email\": \"Hulda62@gmail.com\",\n    \"address\": \"23134 Schuster Village\",\n    \"zip_code\": \"10001\",\n    \"city\":\"Kopenhagen\",\n    \"phone_number\": \"35-253-423-7356\",\n    \"vat_number\": \"12345\",\n    \"website\": \"https://william.name\",\n    \"special_price_lists\": [1, 2],\n    \"discount\": \"5\",\n    \"payment\": \"\",\n    \"currency_id\": \"\",\n    \"allow_users\": \"1\",\n    \"order_confirmation_email\": \"Annabell.Klein@yahoo.com\",\n    \"is_customer_contractor\": \"1\",\n    \"forwarder_name\": \"Leo\",\n    \"contract_no\": \"12345\",\n    \"shipping_delivery_terms_id\": \"\",\n    \"free_shipping_limit\": \"100\",\n    \"language_id\": \"\",\n    \"minimum_order_amount\": \"5\",\n    \"test_field_retailers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 10:19:04 GMT"},{"key":"phpdebugbar-id","value":"Xa13c88f1da329b7d1641856900ebb28c"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 59,\n        \"vat_type_id\": 1,\n        \"forwarder_name\": \"Marianne\",\n        \"discount\": 5,\n        \"address\": \"147 Cortez Port\",\n        \"name\": \"Schaefer - Labadie\",\n        \"zip_code\": \"10001\",\n        \"company_slug\": \"Glens\",\n        \"currency_id\": 153,\n        \"special_price_lists\": [\n            {\n                \"id\": 7,\n                \"name\": \"SPL name\",\n                \"currency_id\": 1\n            },\n            {\n                \"id\": 8,\n                \"name\": \"SPL name\",\n                \"currency_id\": 1\n            }\n        ],\n        \"vat_number\": \"12345\",\n        \"tz\": \"Asia/Kabul\",\n        \"contract_no\": \"12345\",\n        \"website\": \"http://annette.biz\",\n        \"reg_no\": \"11\",\n        \"shipping_delivery_terms_id\": 1,\n        \"phone_number\": \"97-471-712-8859\",\n        \"city\": \"Kopenhagen\",\n        \"language_id\": 1,\n        \"minimum_order_amount\": 5,\n        \"email\": \"Candace86@gmail.com\",\n        \"free_shipping_limit\": 100,\n        \"state\": null,\n        \"read_only_delivery_address\": false,\n        \"country\": \"Denmark\"\n    }\n}"}],"_postman_id":"5801987e-d6b3-4b8c-8364-67c3b8d52b03"},{"name":"Get companies","id":"1d2f9a27-6cb4-4e60-976e-dfd16f92c744","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","companies"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"84a1b1f4-4a6f-49ed-a7e3-45fbce6ee4d9","name":"Companies fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 07 Oct 2021 15:27:34 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"vat_type_id\": 3,\n            \"forwarder_name\": null,\n            \"discount\": null,\n            \"address\": \"Test, 123\",\n            \"name\": \"Test Company\",\n            \"order_confirmation_email\": \"Chanel.Hermann70@gmail.com\",\n            \"zip_code\": \"79000\",\n            \"company_slug\": \"test-company\",\n            \"currency_id\": 153,\n            \"special_price_lists\": [\n            {\n                \"id\": 7,\n                \"name\": \"SPL name\",\n                \"currency_id\": 1\n            },\n            {\n                \"id\": 8,\n                \"name\": \"SPL name\",\n                \"currency_id\": 1\n            }\n        ],\n            \"vat_number\": \"12345\",\n            \"tz\": null,\n            \"contract_no\": null,\n            \"website\": null,\n            \"reg_no\": null,\n            \"shipping_delivery_terms_id\": null,\n            \"phone_number\": null,\n            \"city\": \"Lviv\",\n            \"language_id\": null,\n            \"minimum_order_amount\": null,\n            \"email\": \"vova@turis.app\",\n            \"free_shipping_limit\": null,\n            \"state\": null,\n            \"country\": \"Ukraine\",\n            \"country_iso_code\": \"UA\",\n            \"country_iso_code_alpha3\": \"UKR\",\n            \"state_iso_code\": null,\n            \"read_only_delivery_address\": false,\n            \"customFields\": {\n                \"test_field_retailers\": \"test data\"\n            }\n        }\n    ]\n}"}],"_postman_id":"1d2f9a27-6cb4-4e60-976e-dfd16f92c744"},{"name":"Get company","id":"5bcd0f5c-3d70-4e49-9ea8-94ee1a7b51a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","companies",":companyId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"fadd34c1-84b0-4d54-a7e2-682dfb5aef27","type":"any","value":"","key":"companyId"}]}},"response":[{"id":"66a49baa-5c7c-409a-9069-6bbd4f049866","name":"Company is invalid","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","companies",":companyId"],"variable":[{"key":"companyId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:32:15 GMT"},{"key":"phpdebugbar-id","value":"Xeb72843205e9750bfc5b047dcc45ad37"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"company\": [\n            \"The selected company is invalid.\"\n        ]\n    }\n}"},{"id":"386a72a9-4c3b-47bd-8d94-94168b67c389","name":"Company fetched","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","companies",":companyId"],"variable":[{"key":"companyId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 07 Oct 2021 15:28:26 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"vat_type_id\": 3,\n        \"forwarder_name\": null,\n        \"discount\": null,\n        \"address\": \"Test, 123\",\n        \"name\": \"Test Company\",\n        \"order_confirmation_email\": \"Chanel.Hermann70@gmail.com\",\n        \"zip_code\": \"79000\",\n        \"company_slug\": \"test-company\",\n        \"currency_id\": 153,\n        \"special_price_lists\": [\n            {\n                \"id\": 7,\n                \"name\": \"SPL name\",\n                \"currency_id\": 1\n            },\n            {\n                \"id\": 8,\n                \"name\": \"SPL name\",\n                \"currency_id\": 1\n            }\n        ],\n        \"vat_number\": \"12345\",\n        \"tz\": null,\n        \"contract_no\": null,\n        \"website\": null,\n        \"reg_no\": null,\n        \"shipping_delivery_terms_id\": null,\n        \"phone_number\": null,\n        \"city\": \"Lviv\",\n        \"language_id\": null,\n        \"minimum_order_amount\": null,\n        \"email\": \"vova@turis.app\",\n        \"free_shipping_limit\": null,\n        \"state\": null,\n        \"country\": \"Ukraine\",\n        \"country_iso_code\": \"UA\",\n        \"country_iso_code_alpha3\": \"UKR\",\n        \"state_iso_code\": null,\n        \"read_only_delivery_address\": false,\n        \"customFields\": {\n            \"test_field_retailers\": \"test data\"\n        }\n    }\n}"}],"_postman_id":"5bcd0f5c-3d70-4e49-9ea8-94ee1a7b51a2"},{"name":"Update company","id":"f0a97bc7-48fd-4f83-9638-39c096f67b3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"customer_no\": \"19\",\n    \"company_name\": \"Waelchi, MacGyver and Kertzmann\",\n    \"company_slug\": \"Strategist\",\n    \"company_reg_no\": \"731\",\n    \"country_iso_code\": \"DK\",//alpha2Code\n    \"state\": \"\",\n    \"tz\": \"Asia/Kabul\",\n    \"email\": \"Vita_Ruecker3@gmail.com\",\n    \"address\": \"696 Yasmeen Square\",\n    \"zip_code\": \"10001\",\n    \"city\":\"Kopenhagen\",\n    \"phone_number\": \"7-327-486-5023\",\n    \"vat_number\": \"12345\",\n    \"website\": \"https://jarrett.com\",\n    \"special_price_lists\": [1, 2],\n    \"discount\": \"5\",\n    \"payment\": \"\",\n    \"payment_term_id\": \"\",\n    \"currency_id\": \"\",\n    \"allow_users\": \"1\",\n    \"order_confirmation_email\": \"Alyce44@gmail.com\",\n    \"is_customer_contractor\": \"1\",\n    \"forwarder_name\": \"Kayli\",\n    \"contract_no\": \"12345\",\n    \"shipping_delivery_terms_id\": \"\",\n    \"free_shipping_limit\": \"100\",\n    \"language_id\": \"\",\n    \"minimum_order_amount\": \"5\",\n    \"agents\" : [1,2,3],\n    \"test_field_retailers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","companies",":companyId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"94c6a0fc-ec33-4a3d-8929-28af547c83aa","type":"any","value":"","key":"companyId"}]}},"response":[{"id":"b3141e22-b398-4686-9a31-fe63444ed4dd","name":"Updated","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer_no\": \"837\",\n    \"company_name\": \"Beahan - Schuppe\",\n    \"company_slug\": \"Computer\",\n    \"company_reg_no\": \"79\",\n    \"country_iso_code\": \"DK\",//alpha2Code\n    \"state\": \"\",\n    \"tz\": \"Asia/Kabul\",\n    \"email\": \"Jovanny2@hotmail.com\",\n    \"address\": \"2241 Zetta Walks\",\n    \"zip_code\": \"10001\",\n    \"city\":\"Kopenhagen\",\n    \"phone_number\": \"5-673-281-3087\",\n    \"vat_number\": \"12345\",\n    \"website\": \"http://jettie.info\",\n    \"special_price_lists\": [1, 2],\n    \"discount\": \"5\",\n    \"payment\": \"\",\n    \"currency_id\": \"\",\n    \"allow_users\": \"1\",\n    \"order_confirmation_email\": \"Mauricio.Daugherty@yahoo.com\",\n    \"is_customer_contractor\": \"1\",\n    \"forwarder_name\": \"Reynold\",\n    \"contract_no\": \"12345\",\n    \"shipping_delivery_terms_id\": \"\",\n    \"free_shipping_limit\": \"100\",\n    \"language_id\": \"\",\n    \"minimum_order_amount\": \"5\",\n    \"test_field_retailers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","companies",":companyId"],"variable":[{"key":"companyId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:34:16 GMT"},{"key":"phpdebugbar-id","value":"Xb84abfa05c009133b2769711acfbf9dc"}],"cookie":[],"responseTime":null,"body":""},{"id":"30337e7e-fe82-4e87-a475-5db93374dee7","name":"Company is invalid","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer_no\": \"499\",\n    \"company_name\": \"Bechtelar, Watsica and Keebler\",\n    \"company_slug\": \"Awesome\",\n    \"company_reg_no\": \"946\",\n    \"country_iso_code\": \"DK\",//alpha2Code\n    \"state\": \"\",\n    \"tz\": \"Asia/Kabul\",\n    \"email\": \"Braxton.Altenwerth@yahoo.com\",\n    \"address\": \"796 Hagenes Lane\",\n    \"zip_code\": \"10001\",\n    \"city\":\"Kopenhagen\",\n    \"phone_number\": \"47-848-879-1340\",\n    \"vat_number\": \"12345\",\n    \"website\": \"http://sibyl.org\",\n    \"special_price_lists\": [1, 2],\n    \"discount\": \"5\",\n    \"payment\": \"\",\n    \"currency_id\": \"\",\n    \"allow_users\": \"1\",\n    \"order_confirmation_email\": \"Raleigh_Rutherford92@gmail.com\",\n    \"is_customer_contractor\": \"1\",\n    \"forwarder_name\": \"Garrett\",\n    \"contract_no\": \"12345\",\n    \"shipping_delivery_terms_id\": \"\",\n    \"free_shipping_limit\": \"100\",\n    \"language_id\": \"\",\n    \"minimum_order_amount\": \"5\",\n    \"test_field_retailers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","companies",":companyId"],"variable":[{"key":"companyId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:34:16 GMT"},{"key":"phpdebugbar-id","value":"Xb84abfa05c009133b2769711acfbf9dc"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"company\": [\n            \"The selected company is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"f0a97bc7-48fd-4f83-9638-39c096f67b3b"},{"name":"Delete company","id":"bad2f77f-7312-45a3-af34-0c5a81195e9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","companies",":companyId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"a60c398e-eec2-4911-b229-51087f15614f","type":"any","value":"","key":"companyId"}]}},"response":[{"id":"53605b1f-e5ce-4bfe-930d-d81d13e664c2","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","companies",":companyId"],"variable":[{"key":"companyId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:35:00 GMT"},{"key":"phpdebugbar-id","value":"Xe516e35b85983ea7d48b02eaf9bce212"}],"cookie":[],"responseTime":null,"body":""},{"id":"106bd949-a735-4eb5-a3c9-0610b8447332","name":"Company is invalid","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/companies/:companyId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","companies",":companyId"],"variable":[{"key":"companyId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:35:00 GMT"},{"key":"phpdebugbar-id","value":"Xe516e35b85983ea7d48b02eaf9bce212"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"company\": [\n            \"The selected company is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"bad2f77f-7312-45a3-af34-0c5a81195e9b"}],"id":"3c925680-c124-4e0f-924a-74849f146916","_postman_id":"3c925680-c124-4e0f-924a-74849f146916","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Buyer","item":[{"name":"Create buyer","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"buyerId\", jsonData.data['id']);"],"type":"text/javascript","id":"859f76f9-84c6-4fa4-a572-c291566e89ee"}}],"id":"26cafb12-037d-4073-9041-fa3612dac741","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Scot\",\n    \"company_id\": \"\",\n    \"email\": \"539109777Prudence_Weimann2@hotmail.com\",\n    \"address\": \"0557 Feeney River\",\n    \"invite_buyer\" : true,//mark the 'Set password' email notification as true for sending\n    \"language_id\": \"\",\n    \"test_field_buyers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","buyers"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"99900bb7-a0fc-4acf-8330-a4ae4069ce6d","name":"Buyer created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Delbert\",\n    \"company_id\": \"\",\n    \"email\": \"Maggie2@gmail.com\",\n    \"address\": \"812 Lincoln Street\",\n    \"language_id\": \"\",\n    \"test_field_buyers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 10:15:38 GMT"},{"key":"phpdebugbar-id","value":"X88742f8d00425a39df03fb3127a02112"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 17,\n        \"name\": \"Jorge \",\n        \"email\": \"Clifton8@gmail.com\",\n        \"company_id\": 58,\n        \"address\": \"95795 Timmothy Vista\",\n        \"zip_code\": null,\n        \"city\": null,\n        \"country\": null,\n        \"phone_number\": null,\n        \"discount\": null,\n        \"logo\": \"https://turisdev.fra1.digitaloceanspaces.com/logo/gmail/new-company/CustomGmailTemporaryIcon8f52c78b44322f3ca3d331582f71aac9.png\",\n        \"logo_color\": \"175|175|75\",\n        \"first_name\": \"Jorge\",\n        \"last_name\": null,\n        \"buyer_no\": null,\n        \"language_id\": 1,\n        \"state\": null,\n        \"customFields\": {\n            \"test_field_buyers\": \"test data\"\n        }\n    }\n}"}],"_postman_id":"26cafb12-037d-4073-9041-fa3612dac741"},{"name":"Get buyers","id":"e1c7b088-4c11-4ba0-8896-0fae5ac3fc24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","buyers"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7e496ac1-765d-4d4e-89dc-406d872486b9","name":"Get buyers","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:44:11 GMT"},{"key":"phpdebugbar-id","value":"X00a4d177ab63ce27fa3db5c64a8fda64"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 14,\n            \"name\": \"Lesly \",\n            \"email\": \"Niko20@yahoo.com\",\n            \"company_id\": 57,\n            \"address\": \"24773 Justus Locks\",\n            \"zip_code\": null,\n            \"city\": null,\n            \"country\": null,\n            \"phone_number\": null,\n            \"discount\": null,\n            \"logo\": \"https://turisdev.fra1.digitaloceanspaces.com/logo/gmail/new-company/CustomGmailTemporaryIcon115f02b67acca3dbd914aac50458b497.png\",\n            \"logo_color\": \"75|75|75\",\n            \"first_name\": \"Lesly\",\n            \"last_name\": null,\n            \"buyer_no\": null,\n            \"language_id\": 1,\n            \"state\": null,\n            \"customFields\": {\n                \"test_field_buyers\": \"test data\"\n            }\n        }\n    ]\n}"}],"_postman_id":"e1c7b088-4c11-4ba0-8896-0fae5ac3fc24"},{"name":"Get buyer","id":"08dbeb5b-7696-44a5-a687-cb426f950a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","buyers",":buyerId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"1d1a70e0-d651-4111-8e02-cd656dedb635","type":"any","value":"1","key":"buyerId"}]}},"response":[{"id":"5be3e277-5f2f-4de8-9117-634ba8c919cc","name":"Get buyer","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","buyers",":buyerId"],"variable":[{"key":"buyerId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:44:40 GMT"},{"key":"phpdebugbar-id","value":"X19caa7469fe962e306dc889481132371"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 14,\n        \"name\": \"Lesly \",\n        \"email\": \"Niko20@yahoo.com\",\n        \"company_id\": 57,\n        \"address\": \"24773 Justus Locks\",\n        \"zip_code\": null,\n        \"city\": null,\n        \"country\": null,\n        \"phone_number\": null,\n        \"discount\": null,\n        \"logo\": \"https://turisdev.fra1.digitaloceanspaces.com/logo/gmail/new-company/CustomGmailTemporaryIcon115f02b67acca3dbd914aac50458b497.png\",\n        \"logo_color\": \"75|75|75\",\n        \"first_name\": \"Lesly\",\n        \"last_name\": null,\n        \"buyer_no\": null,\n        \"language_id\": 1,\n        \"state\": null,\n        \"customFields\": {\n            \"test_field_buyers\": \"test data\"\n        }\n    }\n}"}],"_postman_id":"08dbeb5b-7696-44a5-a687-cb426f950a73"},{"name":"Update buyer","id":"bcd8c25d-26b6-4d2c-89dc-f1abe5c659f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Price\",\n    \"company_id\": \"\",\n    \"email\": \"Clifford21@yahoo.com\",\n    \"address\": \"8924 Morar Port\",\n    \"language_id\": \"\",\n    \"test_field_buyers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","buyers",":buyerId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"0e3a5fa8-46a8-46e9-b771-778a4230e8c1","type":"any","value":"","key":"buyerId"}]}},"response":[{"id":"9e79aa62-b354-4314-a562-aa69f9129dc4","name":"Updated","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Jaleel\",\n    \"company_id\": \"\",\n    \"email\": \"Eldridge_Stokes94@hotmail.com\",\n    \"address\": \"070 Macejkovic Loop\",\n    \"language_id\": \"\",\n    \"test_field_buyers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","buyers",":buyerId"],"variable":[{"key":"buyerId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:45:54 GMT"},{"key":"phpdebugbar-id","value":"X74d5ccce7a43a2e28973d63639c5fb29"}],"cookie":[],"responseTime":null,"body":""},{"id":"3223636b-68af-45b4-a610-ba106a79bc9b","name":"Buyer is invalid","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Harvey\",\n    \"company_id\": \"\",\n    \"email\": \"Angel14@gmail.com\",\n    \"address\": \"028 Padberg Parkways\",\n    \"language_id\": \"\",\n    \"test_field_buyers\" : \"test data\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","buyers",":buyerId"],"variable":[{"key":"buyerId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:45:54 GMT"},{"key":"phpdebugbar-id","value":"X74d5ccce7a43a2e28973d63639c5fb29"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"buyer\": [\n            \"The selected buyer is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"bcd8c25d-26b6-4d2c-89dc-f1abe5c659f3"},{"name":"Delete buyer","id":"1e7fd8e2-12a2-4a9f-9bff-7a1db60cd6b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","buyers",":buyerId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"98d4eee5-139e-4ce9-98a1-7f236f6ce8d4","type":"any","value":"","key":"buyerId"}]}},"response":[{"id":"e80715b8-4ffc-46ec-949e-1e4fd7eb20cf","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","buyers",":buyerId"],"variable":[{"key":"buyerId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:46:51 GMT"},{"key":"phpdebugbar-id","value":"X8eec7181b8e6de968136f554a7f755cc"}],"cookie":[],"responseTime":null,"body":""},{"id":"e62ff0f4-19cb-461a-bc26-0f61f9b52a7d","name":"Buyer is invalid","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/buyers/:buyerId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","buyers",":buyerId"],"variable":[{"key":"buyerId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:46:51 GMT"},{"key":"phpdebugbar-id","value":"X8eec7181b8e6de968136f554a7f755cc"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"buyer\": [\n            \"The selected buyer is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"1e7fd8e2-12a2-4a9f-9bff-7a1db60cd6b6"}],"id":"eaff6fab-3ca6-40a3-9f6d-de4805be6acd","_postman_id":"eaff6fab-3ca6-40a3-9f6d-de4805be6acd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Brand","item":[{"name":"Create brand","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"brandId\", jsonData.data['id']);"],"type":"text/javascript","packages":{},"id":"ab194e6f-67ee-43b8-8c22-a1e6cf3b3d12"}}],"id":"73da9a42-09cc-4ba5-a59f-937d9d103004","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"wireless\",\n    \"brand_custom_id\" : 1 //optional field\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","brands"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c94ac734-1ec4-4095-899f-aee70b641d4e","name":"Brand created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"cyan\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:58:23 GMT"},{"key":"phpdebugbar-id","value":"X66715352e10d4d9276d4501a9f67c570"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 5,\n        \"name\": \"Bahrain\",\n        \"media_id\": null,\n        \"is_shown\": true,\n        \"sort_order\": null\n    }\n}"}],"_postman_id":"73da9a42-09cc-4ba5-a59f-937d9d103004"},{"name":"Get brands","id":"7d6be9b9-1ae1-4831-a05c-d70d500b3bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","brands"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7d08fcde-b2b7-44c6-907a-e4a7830c0d16","name":"Get brands","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:59:16 GMT"},{"key":"phpdebugbar-id","value":"Xc3a82e913034ef3351821258f4be9bd4"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 3,\n            \"name\": \"Test\",\n            \"media_id\": 2,\n            \"is_shown\": 1,\n            \"sort_order\": 0\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Maine\",\n            \"media_id\": 3,\n            \"is_shown\": 1,\n            \"sort_order\": 0\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Bahrain\",\n            \"media_id\": null,\n            \"is_shown\": 1,\n            \"sort_order\": 0\n        }\n    ]\n}"}],"_postman_id":"7d6be9b9-1ae1-4831-a05c-d70d500b3bbe"},{"name":"Get brand","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"brandId\", jsonData.data['id']);"],"type":"text/javascript","id":"4d6a1808-9ec8-49a9-af0e-9cc10d0b054a"}}],"id":"fd5c9837-f287-4229-820a-48e1a5bef46a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands/:brandId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","brands",":brandId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"001ce420-c351-41a7-9843-13db30e3ceea","type":"any","value":"","key":"brandId"}]}},"response":[{"id":"6d8bb4bc-4edb-4053-aa8d-18b2a5b10957","name":"Get brand","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands/:brandId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","brands",":brandId"],"variable":[{"key":"brandId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:00:36 GMT"},{"key":"phpdebugbar-id","value":"X7701536f5c86631cf0d68158d37345e4"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"name\": \"transmit\",\n        \"media_id\": null,\n        \"is_shown\": 1,\n        \"sort_order\": 0\n    }\n}"}],"_postman_id":"fd5c9837-f287-4229-820a-48e1a5bef46a"},{"name":"Delete brand","id":"4ab73946-ad13-4c3e-bf61-30b20a8c82c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands/:brandId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","brands",":brandId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"7b789a88-b493-41e2-a03a-88481ad475a7","type":"any","value":"","key":"brandId"}]}},"response":[{"id":"3257704b-c3a0-41f5-86f2-10fc61c43432","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands/:brandId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","brands",":brandId"],"variable":[{"key":"brandId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:01:02 GMT"},{"key":"phpdebugbar-id","value":"X5e86e472647097c63adc77a3de9e65a6"}],"cookie":[],"responseTime":null,"body":""},{"id":"9b828399-ff77-4510-9641-97172e25e569","name":"Invalid brand","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/brands/:brandId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","brands",":brandId"],"variable":[{"key":"brandId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:01:02 GMT"},{"key":"phpdebugbar-id","value":"X5e86e472647097c63adc77a3de9e65a6"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"brand\": [\n            \"The selected brand is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"4ab73946-ad13-4c3e-bf61-30b20a8c82c6"}],"id":"32f96f99-6b66-48a6-b4e6-08079ed04332","_postman_id":"32f96f99-6b66-48a6-b4e6-08079ed04332","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Category","item":[{"name":"Create categories","id":"478f3521-7d79-4c60-96ce-64227b84fe23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"categories\" : [\n        {\n            \"name\" : \"Laptops\",\n            \"category_custom_id\" : 1, //optional field\n            \"is_visible\" : false, //optional field\n            \"sub_categories\" : [\n                {\n                    \"category_custom_id\" : 1, //optional field\n                    \"name\" : \"Ultrabooks\",\n                    \"is_visible\" : true //optional field\n                },\n                {\n                    \"name\" : \"Gaming Laptops\",\n                    \"is_visible\" : true //optional field\n                }\n            ]\n        },\n        {\n            \"name\" : \"Audio Equipment\",\n            \"is_visible\" : false, //optional field\n            \"sub_categories\" : [\n                {\n                    \"name\" : \"Headphones\",\n                    \"is_visible\" : true //optional field\n                },\n                {\n                    \"name\" : \"Portable Speakers\",\n                    \"is_visible\" : true //optional field\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/bulk","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","categories","bulk"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"478f3521-7d79-4c60-96ce-64227b84fe23"},{"name":"Create category","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"categoryId\", jsonData.data['id']);"],"type":"text/javascript","packages":{},"id":"2978260c-5307-44d8-9d7c-59a2e3a9e593"}}],"id":"6723d797-0b25-4e2b-8b4c-185f5aa42f5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"category_name\": \"synthesizing\",\n    \"parent_id\": \"1\",\n    \"category_custom_id\": 1 //optinal field\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","categories"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"449c8202-af16-4935-a4a2-c1634389a805","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category_name\": \"States\",\n    \"parent_id\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:44:16 GMT"},{"key":"phpdebugbar-id","value":"Xbb3fd5f4f1d3d404b6c3ccbde67a799b"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 9,\n        \"category_name\": \"Internal\",\n        \"category_slug\": \"internal\",\n        \"parent_id\": 1,\n        \"is_visible\": false,\n        \"position\": 1000,\n        \"nested\": []\n    }\n}"},{"id":"37c5e25f-b595-405d-8645-6b76f4ebede0","name":"Invalid parent id","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category_name\": \"Lesotho\",\n    \"parent_id\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:43:13 GMT"},{"key":"phpdebugbar-id","value":"X4a798a9939ed4f64beb7e7979611dcf0"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"parent_id\": [\n            \"The parent id field is not valid\"\n        ]\n    }\n}"}],"_postman_id":"6723d797-0b25-4e2b-8b4c-185f5aa42f5e"},{"name":"Get Categories","id":"aaae9333-c89d-4239-aedc-e45ab8037f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","categories"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"01f18f65-6125-4f86-8705-08b45c47707c","name":"Get Categories","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:44:57 GMT"},{"key":"phpdebugbar-id","value":"Xc855652e5a9ec2ad09f36ce1cdd9c303"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"category_name\": \"Test\",\n            \"category_slug\": \"test\",\n            \"parent_id\": 0,\n            \"is_visible\": 1,\n            \"position\": 1000,\n            \"nested\": [\n                {\n                    \"id\": 2,\n                    \"category_name\": \"Test\",\n                    \"category_slug\": \"test\",\n                    \"parent_id\": 1,\n                    \"is_visible\": 0,\n                    \"position\": 1000,\n                    \"created_at\": \"2021-07-03 21:08:06\",\n                    \"updated_at\": \"2021-07-03 21:08:06\"\n                },\n                {\n                    \"id\": 8,\n                    \"category_name\": \"name111\",\n                    \"category_slug\": \"name111\",\n                    \"parent_id\": 1,\n                    \"is_visible\": 0,\n                    \"position\": 1000,\n                    \"created_at\": \"2021-07-04 14:27:31\",\n                    \"updated_at\": \"2021-07-04 14:27:31\"\n                },\n                {\n                    \"id\": 9,\n                    \"category_name\": \"Internal\",\n                    \"category_slug\": \"internal\",\n                    \"parent_id\": 1,\n                    \"is_visible\": 0,\n                    \"position\": 1000,\n                    \"created_at\": \"2021-07-05 04:44:16\",\n                    \"updated_at\": \"2021-07-05 04:44:16\"\n                }\n            ]\n        },\n        {\n            \"id\": 6,\n            \"category_name\": \"name11\",\n            \"category_slug\": \"name11\",\n            \"parent_id\": 0,\n            \"is_visible\": 1,\n            \"position\": 1000,\n            \"nested\": []\n        }\n    ]\n}"}],"_postman_id":"aaae9333-c89d-4239-aedc-e45ab8037f02"},{"name":"Get category","id":"ca11ad8e-d0e3-4fb5-a970-7b7427f1e4b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/:categoryId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","categories",":categoryId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"f793d9de-acfd-40b0-a132-68ebc3e2c2e6","type":"any","value":"","key":"categoryId"}]}},"response":[{"id":"7c98494d-dab2-4f5d-993b-81d19c948440","name":"Get category","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/:categoryId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","categories",":categoryId"],"variable":[{"key":"categoryId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:47:47 GMT"},{"key":"phpdebugbar-id","value":"Xebc30cd63f99b5a50393ecbcfb480394"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 10,\n        \"category_name\": \"Loan\",\n        \"category_slug\": \"loan\",\n        \"parent_id\": 1,\n        \"is_visible\": 0,\n        \"position\": 1000,\n        \"nested\": []\n    }\n}"},{"id":"c7351392-8245-433f-af3c-eb2ed4af7ea6","name":"Category is invalid","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/:categoryId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","categories",":categoryId"],"variable":[{"key":"categoryId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:47:04 GMT"},{"key":"phpdebugbar-id","value":"Xefd252176b68b4afcf0cb2decfb32bb0"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"category\": [\n            \"The selected category is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"ca11ad8e-d0e3-4fb5-a970-7b7427f1e4b4"},{"name":"Update categories","id":"22920843-48ea-4e97-b549-307cee2175eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"categories\" : [\n        {\n            \"id\" : 1, //required field\n            \"category_custom_id\" : 1, //optional field\n            \"name\" : \"Laptops\",\n            \"is_visible\" : false, //optional field\n            \"sub_categories\" : [\n                {\n                    \"id\" : 1, //optional field, if id doesn't exist, new entity will be created\n                    \"category_custom_id\" : 2, //optional field\n                    \"name\" : \"Ultrabooks\",\n                    \"is_visible\" : true //optional field\n                },\n                {\n                    \"id\" : 2, //optional field, if id doesn't exist, new entity will be created\n                    \"name\" : \"Gaming Laptops\",\n                    \"is_visible\" : true //optional field\n                }\n            ]\n        },\n        {\n            \"id\" : 2,\n            \"name\" : \"Audio Equipment\",\n            \"is_visible\" : false, //optional field\n            \"sub_categories\" : [\n                {\n                    \"id\" : 3, \n                    \"name\" : \"Headphones\",\n                    \"is_visible\" : true //optional field\n                },\n                {\n                    \"id\" : 4,\n                    \"name\" : \"Portable Speakers\",\n                    \"is_visible\" : true //optional field\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/bulk","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","categories","bulk"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22920843-48ea-4e97-b549-307cee2175eb"},{"name":"Delete category","id":"5a382b65-2884-4823-9530-1e7835a8a70d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/:categoryId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","categories",":categoryId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"f975c68f-cc29-43db-94df-e8d7cf207d85","type":"any","value":"","key":"categoryId"}]}},"response":[{"id":"74c91c56-3eaa-403c-87b4-7d49d9e1b516","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/:categoryId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","categories",":categoryId"],"variable":[{"key":"categoryId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:48:16 GMT"},{"key":"phpdebugbar-id","value":"Xbb8c156c52a4fe9a9234e38e5ee5bd97"}],"cookie":[],"responseTime":null,"body":""},{"id":"0e8ff3ae-9f06-4d4d-ad60-caccb940834b","name":"Category is invalid","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/categories/:categoryId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","categories",":categoryId"],"variable":[{"key":"categoryId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:48:16 GMT"},{"key":"phpdebugbar-id","value":"Xbb8c156c52a4fe9a9234e38e5ee5bd97"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"category\": [\n            \"The selected category is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"5a382b65-2884-4823-9530-1e7835a8a70d"}],"id":"4ae80869-5cc0-409e-a190-e266afb28571","_postman_id":"4ae80869-5cc0-409e-a190-e266afb28571","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Currency","item":[{"name":"Get currencies","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"currencyId\", jsonData.data[0]['id']);"],"type":"text/javascript","id":"07a3a30a-247a-402d-82a7-89d452bd27aa"}}],"id":"b6491294-120b-4c89-a7d6-21fd0bb401e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/currencies","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","currencies"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"f19d366c-b7f3-4c6d-ac8d-e5fed1e381e6","name":"Get currencies","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:52:57 GMT"},{"key":"phpdebugbar-id","value":"Xd57c9dcd2fb2f33c4402947754942bb9"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 153,\n            \"code\": \"UAH\"\n        }\n    ]\n}"}],"_postman_id":"b6491294-120b-4c89-a7d6-21fd0bb401e6"}],"id":"4eb67ec6-2dc8-4fe4-9ce6-46ac103e7eda","_postman_id":"4eb67ec6-2dc8-4fe4-9ce6-46ac103e7eda","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Special price list","item":[{"name":"Special price lists","id":"94865010-c7f7-4043-b151-f1c27118f12b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","special-price-list"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d52697e9-67ea-4663-8be3-83d67adccc71","name":"Special price lists fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:26:12 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:26:12 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"A\",\n            \"currency_id\": 1\n        },\n        {\n            \"id\": 2,\n            \"name\": \"B\",\n            \"currency_id\": 2\n        }\n    ]\n}"}],"_postman_id":"94865010-c7f7-4043-b151-f1c27118f12b"},{"name":"Special price list","id":"138795ed-8ec6-4f58-a7d3-46508b573bd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","special-price-list",":id"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"cf9920d4-458d-4ddf-87d4-63f5a316e65a","type":"any","value":"","key":"id"}]}},"response":[{"id":"9a939b1b-9b5e-46d9-ae05-39ae45c730cf","name":"Special price list does not exist","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","special-price-list",":id"],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:26:40 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:26:40 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No query results for model [App\\\\SpecialPriceList\\\\Models\\\\SpecialPriceList] 7\"\n}"},{"id":"959d916c-40bc-46d3-8d36-ad6c8e6b190c","name":"Special price list fetched","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","special-price-list",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:28:39 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:28:39 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"A\",\n        \"currency_id\": 1\n    }\n}"}],"_postman_id":"138795ed-8ec6-4f58-a7d3-46508b573bd3"},{"name":"Special price list","id":"8e46c91a-4859-4de0-b866-6750014b50fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"C\",\n    \"currency_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","special-price-list"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"10402a58-d1b9-4f2e-b7a0-264c9a389fe4","name":"Special price list name is invalid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"RRP_EUR\",\n    \"currency_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:30:05 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:30:05 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"name\": [\n            \"It is not allowed to start with 'RRP_'.\"\n        ]\n    }\n}"},{"id":"681ffa61-fa78-4a43-9483-be45197888cb","name":"Special price list name is invalid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"EUR\",\n    \"currency_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:30:55 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:30:55 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"name\": [\n            \"Currency code is not allowed as part of the name!\"\n        ]\n    }\n}"},{"id":"9e7a28cd-ef57-425c-b01a-6c81896d88dd","name":"Special price list currency is invalid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"C\",\n    \"currency_id\": 11\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:31:45 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:31:45 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"currency_id\": [\n            \"The currency is not enabled.\"\n        ]\n    }\n}"},{"id":"e7c7a2a8-811a-40fe-b84e-f4ffdf370bd8","name":"Special price list is missing required field","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"C\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:32:14 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:32:14 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"currency_id\": [\n            \"The currency id field is required.\"\n        ]\n    }\n}"},{"id":"4df76359-8ad5-45ff-8ccc-f251437e48c4","name":"Special price list is created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"C\",\n    \"currency_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:32:56 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:32:56 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8,\n        \"name\": \"C\",\n        \"currency_id\": 1\n    }\n}"}],"_postman_id":"8e46c91a-4859-4de0-b866-6750014b50fc"},{"name":"Special price list","id":"6143b11d-1741-42e3-a89d-b4cf1af54c3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"D\",\n    \"currency_id\": 2\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","special-price-list",":id"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"37c0f3b2-988d-4861-93f6-06de463a2415","type":"any","value":"","key":"id"}]}},"response":[{"id":"5d439984-0987-4560-ad24-fb1838107921","name":"Special price list does not exist","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"С\",\n    \"currency_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","special-price-list",":id"],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:28:06 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:28:06 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No query results for model [App\\\\SpecialPriceList\\\\Models\\\\SpecialPriceList] 7\"\n}"},{"id":"617b64d7-2266-4aca-afcd-65050895a160","name":"Special price list name is updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"D\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","special-price-list",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:34:21 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:34:21 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"D\",\n        \"currency_id\": 1\n    }\n}"},{"id":"5f6d4084-70a3-4ddb-880a-237f0abf7c43","name":"Special price list currency is updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"currency_id\": 2\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","special-price-list",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:34:53 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:34:53 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"D\",\n        \"currency_id\": 2\n    }\n}"}],"_postman_id":"6143b11d-1741-42e3-a89d-b4cf1af54c3e"},{"name":"Special price list","id":"5744f826-878c-4ff3-9d31-14be9453e99c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","special-price-list",":id"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"dbb16322-0679-4113-afd7-fbd2c34bd120","type":"any","value":"","key":"id"}]}},"response":[{"id":"db42b920-fac6-41a1-a26d-c86d5da60dd8","name":"Special price list is deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/special-price-list/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","special-price-list",":id"],"variable":[{"key":"id","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 05 Aug 2022 11:35:52 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Fri, 19-Aug-2022 11:35:52 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5744f826-878c-4ff3-9d31-14be9453e99c"}],"id":"5fe6798e-a8d7-4277-8913-830d865f50aa","_postman_id":"5fe6798e-a8d7-4277-8913-830d865f50aa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Delivery term","item":[{"name":"Get delivery terms","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"shippingDeliveryTermId\", jsonData.data[0]['id']);"],"type":"text/javascript","id":"983c17ff-3438-47b2-a401-61d4a6da9f57"}}],"id":"b05e4593-3448-4afb-8002-290d6b0764ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/delivery-terms","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","delivery-terms"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"617cbd0a-6116-4f88-a5fa-bb3fc0e76a4f","name":"Get delivery terms","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/delivery-terms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:55:58 GMT"},{"key":"phpdebugbar-id","value":"X1fef6bb1673ee312dae08b2ba836d9c0"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"value\": \"EXW\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 2,\n            \"value\": \"FCA\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 3,\n            \"value\": \"CPT\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 4,\n            \"value\": \"CIP\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 5,\n            \"value\": \"DAP\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 6,\n            \"value\": \"DPU\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 7,\n            \"value\": \"DDP\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 8,\n            \"value\": \"FAS\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 9,\n            \"value\": \"FOB\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 10,\n            \"value\": \"CFR\",\n            \"is_default\": false,\n            \"is_custom\": false\n        },\n        {\n            \"id\": 11,\n            \"value\": \"CIF\",\n            \"is_default\": false,\n            \"is_custom\": false\n        }\n    ]\n}"}],"_postman_id":"b05e4593-3448-4afb-8002-290d6b0764ea"}],"id":"b8eb5d78-5a22-4b89-a938-2931c8d1e509","_postman_id":"b8eb5d78-5a22-4b89-a938-2931c8d1e509","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Payment term","item":[{"name":"Get payment terms","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"payment\", jsonData.data[0]['value']);"],"type":"text/javascript","id":"ef26d060-24e2-439b-8bfd-75353268257a"}}],"id":"11289704-fb66-49ec-89ed-edc8dbb0378c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/payment-terms","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","payment-terms"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"df80466c-4035-4c9e-b8a6-9ef36f90a23d","name":"Get payment terms","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/payment-terms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:56:34 GMT"},{"key":"phpdebugbar-id","value":"Xd3cc916a8f2bf705990ee79a0443314f"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"pt_1\",\n            \"value\": 0,\n            \"text\": {\n                \"default\": \"Credit card\",\n                \"translations\": {\n                    \"da\": \"Kredit kort\"\n                }\n            }\n        },\n        {\n            \"id\": \"pt_2\",\n            \"value\": 5,\n            \"text\": {\n                \"default\": \"Net 5 days\",\n                \"translations\": []\n            }\n        }\n    ]\n}"}],"_postman_id":"11289704-fb66-49ec-89ed-edc8dbb0378c"}],"id":"9f3b37cc-2469-4346-8f67-e1b92475d577","_postman_id":"9f3b37cc-2469-4346-8f67-e1b92475d577","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Language","item":[{"name":"Get languages","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"76a40044-f79f-4d5d-a08a-ab6e3bbb5cc1"}}],"id":"60294c60-caa3-49e6-8092-fa7b5e3bd7c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/languages","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","languages"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e0f929cc-d0ce-41db-814e-1c778271d6d4","name":"Get languages","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/languages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 04:56:48 GMT"},{"key":"phpdebugbar-id","value":"X58b19bcfb1206dfe9c187dc9e3599c54"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Pashto\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Uzbek\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Turkmen\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Swedish\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Albanian\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Arabic\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"English\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Samoan\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Catalan\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Portuguese\"\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Russian\"\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Spanish\"\n        },\n        {\n            \"id\": 13,\n            \"name\": \"Guaraní\"\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Armenian\"\n        },\n        {\n            \"id\": 15,\n            \"name\": \"Dutch\"\n        },\n        {\n            \"id\": 16,\n            \"name\": \"(Eastern) Punjabi\"\n        },\n        {\n            \"id\": 17,\n            \"name\": \"German\"\n        },\n        {\n            \"id\": 18,\n            \"name\": \"Azerbaijani\"\n        },\n        {\n            \"id\": 19,\n            \"name\": \"Bengali\"\n        },\n        {\n            \"id\": 20,\n            \"name\": \"Belarusian\"\n        },\n        {\n            \"id\": 21,\n            \"name\": \"French\"\n        },\n        {\n            \"id\": 22,\n            \"name\": \"Dzongkha\"\n        },\n        {\n            \"id\": 23,\n            \"name\": \"Aymara\"\n        },\n        {\n            \"id\": 24,\n            \"name\": \"Quechua\"\n        },\n        {\n            \"id\": 25,\n            \"name\": \"Bosnian\"\n        },\n        {\n            \"id\": 26,\n            \"name\": \"Croatian\"\n        },\n        {\n            \"id\": 27,\n            \"name\": \"Serbian\"\n        },\n        {\n            \"id\": 28,\n            \"name\": \"Tswana\"\n        },\n        {\n            \"id\": 29,\n            \"name\": \"Norwegian\"\n        },\n        {\n            \"id\": 30,\n            \"name\": \"Norwegian Bokmål\"\n        },\n        {\n            \"id\": 31,\n            \"name\": \"Norwegian Nynorsk\"\n        },\n        {\n            \"id\": 32,\n            \"name\": \"Malay\"\n        },\n        {\n            \"id\": 33,\n            \"name\": \"Bulgarian\"\n        },\n        {\n            \"id\": 34,\n            \"name\": \"Fula\"\n        },\n        {\n            \"id\": 35,\n            \"name\": \"Kirundi\"\n        },\n        {\n            \"id\": 36,\n            \"name\": \"Khmer\"\n        },\n        {\n            \"id\": 37,\n            \"name\": \"Sango\"\n        },\n        {\n            \"id\": 38,\n            \"name\": \"Chinese\"\n        },\n        {\n            \"id\": 39,\n            \"name\": \"Lingala\"\n        },\n        {\n            \"id\": 40,\n            \"name\": \"Kongo\"\n        },\n        {\n            \"id\": 41,\n            \"name\": \"Swahili\"\n        },\n        {\n            \"id\": 42,\n            \"name\": \"Luba-Katanga\"\n        },\n        {\n            \"id\": 43,\n            \"name\": \"Greek (modern)\"\n        },\n        {\n            \"id\": 44,\n            \"name\": \"Turkish\"\n        },\n        {\n            \"id\": 45,\n            \"name\": \"Czech\"\n        },\n        {\n            \"id\": 46,\n            \"name\": \"Slovak\"\n        },\n        {\n            \"id\": 47,\n            \"name\": \"Danish\"\n        },\n        {\n            \"id\": 48,\n            \"name\": \"Tigrinya\"\n        },\n        {\n            \"id\": 49,\n            \"name\": \"Estonian\"\n        },\n        {\n            \"id\": 50,\n            \"name\": \"Amharic\"\n        },\n        {\n            \"id\": 51,\n            \"name\": \"Faroese\"\n        },\n        {\n            \"id\": 52,\n            \"name\": \"Fijian\"\n        },\n        {\n            \"id\": 53,\n            \"name\": \"Hindi\"\n        },\n        {\n            \"id\": 54,\n            \"name\": \"Urdu\"\n        },\n        {\n            \"id\": 55,\n            \"name\": \"Finnish\"\n        },\n        {\n            \"id\": 56,\n            \"name\": \"Georgian\"\n        },\n        {\n            \"id\": 57,\n            \"name\": \"Kalaallisut\"\n        },\n        {\n            \"id\": 58,\n            \"name\": \"Chamorro\"\n        },\n        {\n            \"id\": 59,\n            \"name\": \"Haitian\"\n        },\n        {\n            \"id\": 60,\n            \"name\": \"Latin\"\n        },\n        {\n            \"id\": 61,\n            \"name\": \"Italian\"\n        },\n        {\n            \"id\": 62,\n            \"name\": \"Hungarian\"\n        },\n        {\n            \"id\": 63,\n            \"name\": \"Icelandic\"\n        },\n        {\n            \"id\": 64,\n            \"name\": \"Indonesian\"\n        },\n        {\n            \"id\": 65,\n            \"name\": \"Persian (Farsi)\"\n        },\n        {\n            \"id\": 66,\n            \"name\": \"Kurdish\"\n        },\n        {\n            \"id\": 67,\n            \"name\": \"Irish\"\n        },\n        {\n            \"id\": 68,\n            \"name\": \"Manx\"\n        },\n        {\n            \"id\": 69,\n            \"name\": \"Hebrew (modern)\"\n        },\n        {\n            \"id\": 70,\n            \"name\": \"Japanese\"\n        },\n        {\n            \"id\": 71,\n            \"name\": \"Kazakh\"\n        },\n        {\n            \"id\": 72,\n            \"name\": \"Kyrgyz\"\n        },\n        {\n            \"id\": 73,\n            \"name\": \"Lao\"\n        },\n        {\n            \"id\": 74,\n            \"name\": \"Latvian\"\n        },\n        {\n            \"id\": 75,\n            \"name\": \"Southern Sotho\"\n        },\n        {\n            \"id\": 76,\n            \"name\": \"Lithuanian\"\n        },\n        {\n            \"id\": 77,\n            \"name\": \"Luxembourgish\"\n        },\n        {\n            \"id\": 78,\n            \"name\": \"Macedonian\"\n        },\n        {\n            \"id\": 79,\n            \"name\": \"Malagasy\"\n        },\n        {\n            \"id\": 80,\n            \"name\": \"Chichewa\"\n        },\n        {\n            \"id\": 81,\n            \"name\": \"Malaysian\"\n        },\n        {\n            \"id\": 82,\n            \"name\": \"Divehi\"\n        },\n        {\n            \"id\": 83,\n            \"name\": \"Maltese\"\n        },\n        {\n            \"id\": 84,\n            \"name\": \"Marshallese\"\n        },\n        {\n            \"id\": 85,\n            \"name\": \"Romanian\"\n        },\n        {\n            \"id\": 86,\n            \"name\": \"Mongolian\"\n        },\n        {\n            \"id\": 87,\n            \"name\": \"Burmese\"\n        },\n        {\n            \"id\": 88,\n            \"name\": \"Afrikaans\"\n        },\n        {\n            \"id\": 89,\n            \"name\": \"Nauruan\"\n        },\n        {\n            \"id\": 90,\n            \"name\": \"Nepali\"\n        },\n        {\n            \"id\": 91,\n            \"name\": \"Māori\"\n        },\n        {\n            \"id\": 92,\n            \"name\": \"Korean\"\n        },\n        {\n            \"id\": 93,\n            \"name\": \"Polish\"\n        },\n        {\n            \"id\": 94,\n            \"name\": \"Kinyarwanda\"\n        },\n        {\n            \"id\": 95,\n            \"name\": \"Tamil\"\n        },\n        {\n            \"id\": 96,\n            \"name\": \"Slovene\"\n        },\n        {\n            \"id\": 97,\n            \"name\": \"Somali\"\n        },\n        {\n            \"id\": 98,\n            \"name\": \"Southern Ndebele\"\n        },\n        {\n            \"id\": 99,\n            \"name\": \"Swati\"\n        },\n        {\n            \"id\": 100,\n            \"name\": \"Tsonga\"\n        },\n        {\n            \"id\": 101,\n            \"name\": \"Venda\"\n        },\n        {\n            \"id\": 102,\n            \"name\": \"Xhosa\"\n        },\n        {\n            \"id\": 103,\n            \"name\": \"Zulu\"\n        },\n        {\n            \"id\": 104,\n            \"name\": \"Sinhalese\"\n        },\n        {\n            \"id\": 105,\n            \"name\": \"Tajik\"\n        },\n        {\n            \"id\": 106,\n            \"name\": \"Thai\"\n        },\n        {\n            \"id\": 107,\n            \"name\": \"Tonga (Tonga Islands)\"\n        },\n        {\n            \"id\": 108,\n            \"name\": \"Ukrainian\"\n        },\n        {\n            \"id\": 109,\n            \"name\": \"Bislama\"\n        },\n        {\n            \"id\": 110,\n            \"name\": \"Vietnamese\"\n        },\n        {\n            \"id\": 111,\n            \"name\": \"Shona\"\n        },\n        {\n            \"id\": 112,\n            \"name\": \"Northern Ndebele\"\n        }\n    ]\n}"}],"_postman_id":"60294c60-caa3-49e6-8092-fa7b5e3bd7c2"}],"id":"e7966e29-1a2b-47e3-9481-278c08717e79","_postman_id":"e7966e29-1a2b-47e3-9481-278c08717e79","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Variant","item":[{"name":"Create variants","id":"178a41b8-973f-4403-b4c9-891be7712753","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"variants\" : [\n        {\n            \"name\" : \"Bottle cage\",\n            \"entities\" : [\n                {\n                    \"name\" : \"mount\",\n                    \"colour_hex\" : \"#009993\", //optional field\n                    \"media_id\" : 1, //optional field\n                    \"sizes\" : [\n                        {\n                            \"name\" : \"XL\"\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"name\" : \"Bottle cage №2\",\n            \"entities\" : [\n                {\n                    \"name\" : \"mount №2\",\n                    \"colour_hex\" : \"#009993\",\n                    \"media_id\" : 2,\n                    \"sizes\" : [\n                        {\n                            \"name\" : \"XL №2\"\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"name\" : \"Bottle cage №3\",\n            \"entities\" : [\n                {\n                    \"name\" : \"mount №3\",\n                    \"colour_hex\" : \"#009993\",\n                    \"media_id\" : 3,\n                    \"sizes\" : [\n                        {\n                            \"name\" : \"XL №3\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants/bulk","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variants","bulk"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"178a41b8-973f-4403-b4c9-891be7712753"},{"name":"Create variant","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"variantId\", jsonData.data['id']);"],"type":"text/javascript","id":"edf584be-4bcd-451f-b5ba-a474cd3ae39c"}}],"id":"0c61f793-4ec6-4a8e-8e88-7eff41af8c35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Handmade\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variants"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9c4eb6f5-d13a-44a3-9f53-00dd8a4f9bf6","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Frozen\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:02:23 GMT"},{"key":"phpdebugbar-id","value":"Xedf018e987236984c4a3346bc0c3afec"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8,\n        \"name\": \"Arkansas\",\n        \"display_method\": 1,\n        \"show_products_individually\": 0,\n        \"show_variant_options_as\": \"standard\",\n        \"default_entity_id\": null\n    }\n}"}],"_postman_id":"0c61f793-4ec6-4a8e-8e88-7eff41af8c35"},{"name":"Get variants","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"variantId\", jsonData.data[0]['id']);"],"type":"text/javascript","id":"60261a5e-5486-43b0-b35c-5589fb0cecd0"}}],"id":"09433f66-1011-4924-9a45-71619cdded94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variants"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8b566ec7-522b-4d9b-8b60-c167e68c7ac4","name":"Get variants","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:02:19 GMT"},{"key":"phpdebugbar-id","value":"X0de2bcb9c203da9c6731e9e10cbdf14f"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 5,\n            \"name\": \"Name\",\n            \"display_method\": 1,\n            \"show_products_individually\": 0,\n            \"show_variant_options_as\": \"standard\",\n            \"default_entity_id\": null\n        }\n    ]\n}"}],"_postman_id":"09433f66-1011-4924-9a45-71619cdded94"},{"name":"Get variant","id":"255a0618-e3e5-406a-924b-21a1a121e077","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants/:variantId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variants",":variantId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"c347aa42-72ae-4762-a8a4-f949ca6a1b5f","type":"any","value":"","key":"variantId"}]}},"response":[{"id":"474cdc99-cd6b-4de1-9568-6bbb03a4e0f6","name":"Get variant","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants/:variantId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variants",":variantId"],"variable":[{"key":"variantId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:03:08 GMT"},{"key":"phpdebugbar-id","value":"X1548c0d043c6608b6103ac822621cc86"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8,\n        \"name\": \"Arkansas\",\n        \"display_method\": 1,\n        \"show_products_individually\": 0,\n        \"show_variant_options_as\": \"standard\",\n        \"default_entity_id\": null\n    }\n}"}],"_postman_id":"255a0618-e3e5-406a-924b-21a1a121e077"},{"name":"Update variants","id":"7acbd4d2-a1af-4109-9666-15bd36c09572","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"variants\" : [\n        {\n            \"id\" : 1, //required field\n            \"name\" : \"Updated: Bottle cage\",\n            \"entities\" : [\n                {\n                    \"id\" : 1, //optional field, if id doesn't exist, new entity will be created \n                    \"name\" : \"Updated: mount\",\n                    \"colour_hex\" : \"#009993\",  //optional field\n                    \"media_id\" : 1,  //optional field\n                    \"sizes\" : [\n                        {\n                            \"id\" : 1, //optional field, if id doesn't exist, new entity will be created\n                            \"name\" : \"Updated: XL\"\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"id\" : 2, //required field\n            \"name\" : \"Updated: Bottle cage №2\",\n            \"entities\" : [\n                {\n                    \"id\" : 2, //optional field, if id doesn't exist, new entity will be created\n                    \"name\" : \"Updated: mount №2\",\n                    \"colour_hex\" : \"#009993\",\n                    \"media_id\" : 2,\n                    \"sizes\" : [\n                        {\n                            \"id\" : 2, //optional field, if id doesn't exist, new entity will be created\n                            \"name\" : \"Updated: XL №2\"\n                        }\n                    ]\n                }\n            ]\n        },\n        {\n            \"id\" : 3, //required field\n            \"name\" : \"Updated: Bottle cage №3\",\n            \"entities\" : [\n                {\n                    \"id\" : 3, //optional field, if id doesn't exist, new entity will be created\n                    \"name\" : \"Updated: mount №3\",\n                    \"colour_hex\" : \"#009993\",\n                    \"media_id\" : 3,\n                    \"sizes\" : [\n                        {\n                            \"id\" : 3, //optional field, if id doesn't exist, new entity will be created\n                            \"name\" : \"XL №3\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants/bulk","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variants","bulk"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7acbd4d2-a1af-4109-9666-15bd36c09572"},{"name":"Delete variant","id":"2543f3de-c464-4af5-b099-4a9d5c6ca776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants/:variantId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variants",":variantId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"25bc049e-2896-491c-8d3b-1840e1d4c755","type":"any","value":"","key":"variantId"}]}},"response":[{"id":"1ab9feec-9da9-4df3-ac3f-2d82f6e7d9a5","name":"Variant is invalid","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants/:variantId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variants",":variantId"],"variable":[{"key":"variantId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:03:38 GMT"},{"key":"phpdebugbar-id","value":"X961eb5292a641d0773c6be69cbe71b43"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"variant\": [\n            \"The selected variant is invalid.\"\n        ]\n    }\n}"},{"id":"5ed45128-f6fe-4d42-9cb7-cdfcd585f8ca","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variants/:variantId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variants",":variantId"],"variable":[{"key":"variantId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:03:38 GMT"},{"key":"phpdebugbar-id","value":"X961eb5292a641d0773c6be69cbe71b43"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2543f3de-c464-4af5-b099-4a9d5c6ca776"}],"id":"abacb1c3-26c3-4feb-9883-3344d34b3140","_postman_id":"abacb1c3-26c3-4feb-9883-3344d34b3140","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Variant entity","item":[{"name":"Create variant entity","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"variantEntityId\", jsonData.data['id']);"],"type":"text/javascript","id":"fc0a0d77-3d92-4f56-967b-53b2b8965647"}}],"id":"fad1a613-4679-4408-9934-b8b9cd27b9c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Gorgeous\",\n    \"variant_id\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entities"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ae78671f-1522-4b16-bd3f-ce80b43f82f1","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Creative\",\n    \"variant_id\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:06:50 GMT"},{"key":"phpdebugbar-id","value":"X2dfbe6922d91273a52a0af9d873f0edf"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"variant_id\": 8,\n        \"title\": \"Virginia\",\n        \"colour_hex\": null,\n        \"media_id\": null,\n        \"sort_order\": null,\n        \"is_media_synced_with_product\": 0\n    }\n}"}],"_postman_id":"fad1a613-4679-4408-9934-b8b9cd27b9c9"},{"name":"Get variant entities","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"variantEntityId\", jsonData.data[0]['id']);"],"type":"text/javascript","id":"825bf18d-41be-4733-9d47-24577c417ca4"}}],"id":"37676ee5-1ebc-46a0-82b4-63f8cb41a549","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entities"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"67420bd2-d2d2-40ce-ab54-8c41da924d05","name":"Get variant entities","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:07:12 GMT"},{"key":"phpdebugbar-id","value":"Xf895271da36413192d295ad72db86d25"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"variant_id\": 5,\n            \"title\": \"Name\",\n            \"colour_hex\": null,\n            \"media_id\": null,\n            \"sort_order\": null,\n            \"is_media_synced_with_product\": 0\n        },\n        {\n            \"id\": 5,\n            \"variant_id\": 5,\n            \"title\": \"Name\",\n            \"colour_hex\": null,\n            \"media_id\": null,\n            \"sort_order\": null,\n            \"is_media_synced_with_product\": 0\n        },\n        {\n            \"id\": 6,\n            \"variant_id\": 8,\n            \"title\": \"Virginia\",\n            \"colour_hex\": null,\n            \"media_id\": null,\n            \"sort_order\": null,\n            \"is_media_synced_with_product\": 0\n        }\n    ]\n}"}],"_postman_id":"37676ee5-1ebc-46a0-82b4-63f8cb41a549"},{"name":"Get variant entity","id":"869d1000-cb4c-4f77-8dbe-9b6a6f882692","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities/:variantEntityId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entities",":variantEntityId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"0fe65445-6fba-49e7-b5b0-9fa844e76a79","type":"any","value":"","key":"variantEntityId"}]}},"response":[{"id":"fbd6c657-a571-44a7-b743-70a48af63d3a","name":"Get variant entity","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities/:variantEntityId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variant-entities",":variantEntityId"],"variable":[{"key":"variantEntityId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:08:03 GMT"},{"key":"phpdebugbar-id","value":"X1596fb45b42900230b72b04678453078"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"variant_id\": 5,\n        \"title\": \"Name\",\n        \"colour_hex\": null,\n        \"media_id\": null,\n        \"sort_order\": null,\n        \"is_media_synced_with_product\": 0\n    }\n}"}],"_postman_id":"869d1000-cb4c-4f77-8dbe-9b6a6f882692"},{"name":"Delete variant entity","id":"f4dbba12-11ae-4452-8d83-9efd589a2bc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities/:variantEntityId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entities",":variantEntityId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"8bfa67e1-5bfe-4c40-a7d1-666ff4c41df2","type":"any","value":"","key":"variantEntityId"}]}},"response":[{"id":"74ba84bf-e9e6-42c8-894f-933b3e927d0c","name":"Variant entity is invalid","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities/:variantEntityId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variant-entities",":variantEntityId"],"variable":[{"key":"variantEntityId","value":"1"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:08:22 GMT"},{"key":"phpdebugbar-id","value":"X102559e2a148e54cafdd011936129398"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"variant_entity\": [\n            \"The selected variant entity is invalid.\"\n        ]\n    }\n}"},{"id":"f6b9cdb8-2325-4dca-8af5-61e006fd509f","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities/:variantEntityId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variant-entities",":variantEntityId"],"variable":[{"key":"variantEntityId","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:08:22 GMT"},{"key":"phpdebugbar-id","value":"X102559e2a148e54cafdd011936129398"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f4dbba12-11ae-4452-8d83-9efd589a2bc5"},{"name":"Update variant entity","id":"8bdbff0c-482b-491c-9ae5-52c2a226586d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Red\", //optional\n    \"colour_hex\": \"#FF0000\", //optional\n    \"media_id\": 1, //optional\n    \"sort_order\": 2 //optional\n  }","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities/:productId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entities",":productId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"5ca49cc1-5981-4189-8c11-c4fb4500d8d0","type":"any","value":"1","key":"productId"}]}},"response":[{"id":"70e966a9-869b-477e-882f-f6d84c44122f","name":"Update variant entity","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Red\", //optional\n    \"colour_hex\": \"#FF0000\", //optional\n    \"media_id\": 1, //optional\n    \"sort_order\": 2 //optional\n  }","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entities/:productId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variant-entities",":productId"],"variable":[{"key":"productId","value":"1"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 120,\n        \"variant_id\": 17,\n        \"title\": \"Red\",\n        \"colour_hex\": \"#FF0000\",\n        \"media_id\": 1,\n        \"sort_order\": 2,\n        \"is_media_synced_with_product\": 0\n    }\n}"}],"_postman_id":"8bdbff0c-482b-491c-9ae5-52c2a226586d"}],"id":"ade3bc50-a156-4603-9a7a-2e2c6dcd97f6","_postman_id":"ade3bc50-a156-4603-9a7a-2e2c6dcd97f6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Variant entity size","item":[{"name":"Create variant entity size","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"variantEntitySizeId\", jsonData.data['id']);","pm.collectionVariables.set(\"variantEntitySize\", jsonData.data['size']);"],"type":"text/javascript","id":"cc1b3d5a-05be-435a-be73-531c433cf816"}}],"id":"9aa560a4-62f6-4cf2-a018-7ce8968e9322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"variant_entity_id\": \"\",\n    \"size\": \"impactful\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entity-size"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ce6cd930-1323-4263-a155-f587ee88deb9","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"variant_entity_id\": \"\",\n    \"size\": \"Plastic\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:10:12 GMT"},{"key":"phpdebugbar-id","value":"X5c0c154d2c28c744b374acdbc112dbee"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 9,\n        \"variant_entity_id\": 4,\n        \"size\": \"ivory\",\n        \"sort_order\": null,\n        \"cart_sort_order\": null\n    }\n}"}],"_postman_id":"9aa560a4-62f6-4cf2-a018-7ce8968e9322"},{"name":"Get variant entity size list","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"variantEntitySizeId\", jsonData.data[0]['id']);","pm.collectionVariables.set(\"variantEntitySize\", jsonData.data[0]['size']);"],"type":"text/javascript","id":"77e2071e-8f43-432a-b597-3510811889d2"}}],"id":"dea881a5-c2fd-47fa-a0e2-a7dba5a89462","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entity-size"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0d3bd499-0442-482a-94c2-95ba5dda59db","name":"Get variant entity size list","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:10:25 GMT"},{"key":"phpdebugbar-id","value":"Xe95f178afd85483660c6fd596ba8a8cb"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 4,\n            \"variant_entity_id\": 4,\n            \"size\": \"XL\",\n            \"sort_order\": null,\n            \"cart_sort_order\": null\n        },\n        {\n            \"id\": 5,\n            \"variant_entity_id\": 4,\n            \"size\": \"3\",\n            \"sort_order\": null,\n            \"cart_sort_order\": null\n        },\n        {\n            \"id\": 6,\n            \"variant_entity_id\": 4,\n            \"size\": \"XL\",\n            \"sort_order\": null,\n            \"cart_sort_order\": null\n        },\n        {\n            \"id\": 7,\n            \"variant_entity_id\": 4,\n            \"size\": \"XXL\",\n            \"sort_order\": null,\n            \"cart_sort_order\": null\n        },\n        {\n            \"id\": 8,\n            \"variant_entity_id\": 4,\n            \"size\": \"XS\",\n            \"sort_order\": null,\n            \"cart_sort_order\": null\n        },\n        {\n            \"id\": 9,\n            \"variant_entity_id\": 4,\n            \"size\": \"ivory\",\n            \"sort_order\": null,\n            \"cart_sort_order\": null\n        }\n    ]\n}"}],"_postman_id":"dea881a5-c2fd-47fa-a0e2-a7dba5a89462"},{"name":"Get variant entity size","id":"bb2529d4-db37-4e8b-9d33-eefe316b7673","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size/:variantEntitySizeId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entity-size",":variantEntitySizeId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"606cfbe2-9039-432e-9d80-a279a894c1e0","type":"any","value":"","key":"variantEntitySizeId"}]}},"response":[{"id":"f2c75ad3-1b10-4541-ac76-908a2e96d287","name":"Get variant entity size","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size/:variantEntitySizeId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variant-entity-size",":variantEntitySizeId"],"variable":[{"key":"variantEntitySizeId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:10:53 GMT"},{"key":"phpdebugbar-id","value":"Xaf7c70223c80927e4df5600724780184"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"variant_entity_id\": 4,\n        \"size\": \"XL\",\n        \"sort_order\": null,\n        \"cart_sort_order\": null\n    }\n}"}],"_postman_id":"bb2529d4-db37-4e8b-9d33-eefe316b7673"},{"name":"Delete variant entity","id":"49f198d8-9a9b-45af-ae94-49f92f1e14e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size/:variantEntitySizeId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","variant-entity-size",":variantEntitySizeId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"d4d5c911-577e-400a-8aeb-17b1810bca4a","type":"any","value":"","key":"variantEntitySizeId"}]}},"response":[{"id":"f6ab6731-aa8e-4c63-9f90-f61673dedf02","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size/:variantEntitySizeId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variant-entity-size",":variantEntitySizeId"],"variable":[{"key":"variantEntitySizeId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:11:05 GMT"},{"key":"phpdebugbar-id","value":"Xee7448b60411786559a220b2f9db8432"}],"cookie":[],"responseTime":null,"body":""},{"id":"276a939f-0f72-4611-9f2c-c025b96a7501","name":"Variant entity size is invalid","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/variant-entity-size/:variantEntitySizeId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","variant-entity-size",":variantEntitySizeId"],"variable":[{"key":"variantEntitySizeId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:11:05 GMT"},{"key":"phpdebugbar-id","value":"Xee7448b60411786559a220b2f9db8432"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"variant_entity_size\": [\n            \"The selected variant entity size is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"49f198d8-9a9b-45af-ae94-49f92f1e14e1"}],"id":"62922a52-dd6f-457a-a622-9cb3fbc3025c","_postman_id":"62922a52-dd6f-457a-a622-9cb3fbc3025c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Articles","item":[{"name":"Configurations","item":[{"name":"List Configurations","id":"55fdf6dd-9124-4aca-858b-9fd01f7a686f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles/:article_id/configurations?page=1&per_page=20","description":"<p>Get a paginated list of all configurations for an article.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":article_id","configurations"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Page number (default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Items per page (default: 20, max: 100)</p>\n","type":"text/plain"},"key":"per_page","value":"20"}],"variable":[{"id":"d7be5582-25c5-4a62-8c78-e1a96fc1a47c","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"article_id"}]}},"response":[{"id":"206a9169-6b34-4b65-a331-c866ff3822a7","name":"Success Response","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/articles/1/configurations"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"article_id\": 1,\n      \"product_id\": 123,\n      \"sku\": \"TSHIRT-RED-S\",\n      \"media_id\": null,\n      \"attribute_values\": [\n        {\n          \"attribute_id\": 1,\n          \"attribute_name\": \"Color\",\n          \"value_id\": 1,\n          \"value\": \"Red\"\n        },\n        {\n          \"attribute_id\": 2,\n          \"attribute_name\": \"Size\",\n          \"value_id\": 4,\n          \"value\": \"S\"\n        }\n      ],\n      \"product\": {\n        \"id\": 123,\n        \"name\": \"T-Shirt Red S\",\n        \"sku\": \"TSHIRT-RED-S\"\n      }\n    },\n    {\n      \"id\": 2,\n      \"article_id\": 1,\n      \"product_id\": 124,\n      \"sku\": \"TSHIRT-RED-M\",\n      \"media_id\": null,\n      \"attribute_values\": [\n        {\n          \"attribute_id\": 1,\n          \"attribute_name\": \"Color\",\n          \"value_id\": 1,\n          \"value\": \"Red\"\n        },\n        {\n          \"attribute_id\": 2,\n          \"attribute_name\": \"Size\",\n          \"value_id\": 5,\n          \"value\": \"M\"\n        }\n      ],\n      \"product\": {\n        \"id\": 124,\n        \"name\": \"T-Shirt Red M\",\n        \"sku\": \"TSHIRT-RED-M\"\n      }\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 20,\n    \"total\": 12,\n    \"last_page\": 1\n  }\n}"},{"id":"788852d6-153c-4ebb-b508-aebbc41b2119","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles/999/configurations"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"No query results for model.\"\n}"}],"_postman_id":"55fdf6dd-9124-4aca-858b-9fd01f7a686f"},{"name":"Get Configuration","id":"b95069da-c93a-4f34-9c93-5e9c2efa8c1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles/:article_id/configurations/:id","description":"<p>Get a single configuration by ID. The configuration must belong to the specified article.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":article_id","configurations",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"327176d0-4911-41fb-8e6f-ecdd16c83ca0","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"article_id"},{"id":"469486d0-bd06-4a6d-8ca6-318930e3a014","description":{"content":"<p>Configuration ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"b20250bb-e153-4183-b4d0-6ddfe1b72338","name":"Success Response","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/articles/1/configurations/1"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"article_id\": 1,\n  \"product_id\": 123,\n  \"sku\": \"TSHIRT-RED-S\",\n  \"media_id\": null,\n  \"attribute_values\": [\n    {\n      \"attribute_id\": 1,\n      \"attribute_name\": \"Color\",\n      \"value_id\": 1,\n      \"value\": \"Red\"\n    },\n    {\n      \"attribute_id\": 2,\n      \"attribute_name\": \"Size\",\n      \"value_id\": 4,\n      \"value\": \"S\"\n    }\n  ],\n  \"product\": {\n    \"id\": 123,\n    \"name\": \"T-Shirt Red S\",\n    \"sku\": \"TSHIRT-RED-S\"\n  }\n}"},{"id":"d267cc68-c9ed-4d9e-b0ee-a030fd3e1b78","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles/1/configurations/999"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"No query results for model.\"\n}"}],"_postman_id":"b95069da-c93a-4f34-9c93-5e9c2efa8c1b"},{"name":"Bulk Create Configurations","id":"88f00b00-471c-4417-8197-98c60234eb6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"configurations\": [\n    {\n      \"product_id\": 123,\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 4 }\n      ],\n      \"media_id\": null,\n      \"sku\": \"TSHIRT-RED-S\"\n    },\n    {\n      \"product_sku\": \"PROD-124\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 5 }\n      ],\n      \"sku\": \"TSHIRT-RED-M\"\n    },\n    {\n      \"product_id\": 123,\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 2 },\n        { \"attribute_id\": 2, \"value_id\": 4 }\n      ],\n      \"sku\": \"TSHIRT-BLUE-S\"\n    }\n  ]\n}"},"url":"{{base_url}}/articles/:article_id/configurations/bulk","description":"<p>Create multiple configurations in a single request.</p>\n<p><strong>Product Identification:</strong></p>\n<ul>\n<li>Use <code>product_id</code> to reference by ID</li>\n<li>Use <code>product_sku</code> to reference by SKU</li>\n<li>If both provided, <code>product_id</code> takes precedence</li>\n</ul>\n<p><strong>Attribute Values:</strong></p>\n<ul>\n<li>Uses explicit <code>attribute_id</code>/<code>value_id</code> pairs (not array ordering)</li>\n<li>Must include exactly one value for each attribute in the article</li>\n<li>Each <code>attribute_id</code> must belong to this article</li>\n<li>Each <code>value_id</code> must belong to its specified <code>attribute_id</code></li>\n</ul>\n<p><strong>Validation:</strong></p>\n<ul>\n<li>Attribute value combination must be unique within the article</li>\n<li>Product cannot be on a DIFFERENT article (but same product can have multiple configs in the same article with different attribute combinations)</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":article_id","configurations","bulk"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"dc30170e-f636-4090-8e88-09c39d16c278","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"article_id"}]}},"response":[{"id":"2df3ca62-785e-4020-9767-ef17138c1dd9","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"configurations\": [\n    {\n      \"product_id\": 123,\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 4 }\n      ],\n      \"sku\": \"TSHIRT-RED-S\"\n    }\n  ]\n}"},"url":"{{base_url}}/articles/1/configurations/bulk"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"created\": [\n    {\n      \"id\": 1,\n      \"product_id\": 123,\n      \"sku\": \"TSHIRT-RED-S\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 4 }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"product_id\": 124,\n      \"sku\": \"TSHIRT-RED-M\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 5 }\n      ]\n    },\n    {\n      \"id\": 3,\n      \"product_id\": 123,\n      \"sku\": \"TSHIRT-BLUE-S\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 2 },\n        { \"attribute_id\": 2, \"value_id\": 4 }\n      ]\n    }\n  ],\n  \"errors\": []\n}"},{"id":"60cc3ede-7bce-476f-8513-57cb98c7ac43","name":"Partial Success with Errors","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"configurations\": [\n    {\n      \"product_id\": 123,\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 4 }\n      ],\n      \"sku\": \"TSHIRT-RED-S\"\n    },\n    {\n      \"product_id\": 999,\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 5 }\n      ],\n      \"sku\": \"INVALID\"\n    }\n  ]\n}"},"url":"{{base_url}}/articles/1/configurations/bulk"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"created\": [\n    {\n      \"id\": 1,\n      \"product_id\": 123,\n      \"sku\": \"TSHIRT-RED-S\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 4 }\n      ]\n    }\n  ],\n  \"errors\": [\n    {\n      \"index\": 1,\n      \"message\": \"The selected product id is invalid.\"\n    }\n  ]\n}"}],"_postman_id":"88f00b00-471c-4417-8197-98c60234eb6a"},{"name":"Bulk Update Configurations","id":"36b5b79b-d844-4783-a797-e4614721f8b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"configurations\": [\n    {\n      \"id\": 1,\n      \"product_sku\": \"PROD-126\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 6 }\n      ],\n      \"sku\": \"TSHIRT-RED-L\"\n    },\n    {\n      \"id\": 2,\n      \"media_id\": 45\n    }\n  ]\n}"},"url":"{{base_url}}/articles/:article_id/configurations/bulk","description":"<p>Update multiple configurations in a single request.</p>\n<p><strong>Required Fields:</strong></p>\n<ul>\n<li><code>id</code> - Configuration ID to update</li>\n</ul>\n<p><strong>Optional Fields (only update what's provided):</strong></p>\n<ul>\n<li><code>product_id</code> or <code>product_sku</code> - Change linked product</li>\n<li><code>attribute_values</code> - Change attribute value combination</li>\n<li><code>media_id</code> - Change configuration-specific image</li>\n<li><code>sku</code> - Change configuration-specific SKU</li>\n</ul>\n<p>Sort keys are automatically recalculated after updates.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":article_id","configurations","bulk"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"b3065ab2-709f-49e3-b129-138430644560","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"article_id"}]}},"response":[{"id":"70c14b35-e023-4ae7-ad92-954161347839","name":"Success Response","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"configurations\": [\n    {\n      \"id\": 1,\n      \"sku\": \"TSHIRT-RED-L\"\n    },\n    {\n      \"id\": 2,\n      \"media_id\": 45\n    }\n  ]\n}"},"url":"{{base_url}}/articles/1/configurations/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"updated\": [\n    {\n      \"id\": 1,\n      \"product_id\": 126,\n      \"sku\": \"TSHIRT-RED-L\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 6 }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"product_id\": 124,\n      \"sku\": \"TSHIRT-RED-M\",\n      \"attribute_values\": [\n        { \"attribute_id\": 1, \"value_id\": 1 },\n        { \"attribute_id\": 2, \"value_id\": 5 }\n      ]\n    }\n  ],\n  \"errors\": []\n}"},{"id":"dd7ac4e1-c814-49ca-b1e1-1a6293cfbce0","name":"Validation Error","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"configurations\": [\n    {\n      \"id\": 999999,\n      \"sku\": \"INVALID-UPDATE\"\n    }\n  ]\n}"},"url":"{{base_url}}/articles/1/configurations/bulk"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"configurations.0.id\": [\n      \"The selected configurations.0.id is invalid.\"\n    ]\n  }\n}"}],"_postman_id":"36b5b79b-d844-4783-a797-e4614721f8b6"},{"name":"Bulk Delete Configurations","id":"32412c7e-4018-4720-927a-47c06a305641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"configuration_ids\": [1, 2, 3]\n}"},"url":"{{base_url}}/articles/:article_id/configurations/bulk","description":"<p>Delete multiple configurations in a single request.</p>\n<p>Configurations must belong to the specified article.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":article_id","configurations","bulk"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"7a3a67b2-74de-44eb-b257-902d60af1342","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"article_id"}]}},"response":[{"id":"cfa47e31-7372-47ae-bde3-fab961d7dcca","name":"Success Response","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n  \"configuration_ids\": [1, 2, 3]\n}"},"url":"{{base_url}}/articles/1/configurations/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"deleted\": [1, 2, 3],\n  \"errors\": []\n}"},{"id":"bdab35d9-be0c-4de8-9b23-24bc7f21e783","name":"Partial Success with Errors","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n  \"configuration_ids\": [1, 999]\n}"},"url":"{{base_url}}/articles/1/configurations/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"deleted\": [1],\n  \"errors\": [\n    {\n      \"id\": 999,\n      \"message\": \"Configuration not found or does not belong to this article.\"\n    }\n  ]\n}"}],"_postman_id":"32412c7e-4018-4720-927a-47c06a305641"}],"id":"1443a8c3-725b-4318-997a-91a8cd365916","description":"<p>Endpoints for managing Product Configurations within Articles. Configurations link products (SKUs) to specific combinations of attribute values.</p>\n","_postman_id":"1443a8c3-725b-4318-997a-91a8cd365916","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"List Articles","id":"2e536ada-0c8f-4edc-b9ff-cd04d6baff61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles?page=1&per_page=20&search=","description":"<p>Get a paginated list of all articles with attribute and configuration counts.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles"],"host":["{{base_url}}"],"query":[{"description":{"content":"<p>Page number (default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Items per page (default: 20, max: 100)</p>\n","type":"text/plain"},"key":"per_page","value":"20"},{"description":{"content":"<p>Search by article name</p>\n","type":"text/plain"},"key":"search","value":""}],"variable":[]}},"response":[{"id":"993c945b-9d5c-4707-b0a5-1b5db322f1ca","name":"Success Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/articles?page=1&per_page=20","host":["{{base_url}}"],"path":["articles"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"T-Shirt\",\n      \"description\": \"Cotton t-shirt available in multiple colors and sizes\",\n      \"translations\": {\n        \"da\": {\n          \"name\": \"T-shirt\",\n          \"description\": \"Bomulds t-shirt i flere farver og størrelser\"\n        }\n      },\n      \"default_configuration_id\": 5,\n      \"display_type\": \"standard\",\n      \"attributes_count\": 2,\n      \"configurations_count\": 12,\n      \"created_at\": \"2024-01-15T10:00:00+00:00\",\n      \"updated_at\": \"2024-01-15T10:00:00+00:00\"\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Dining Table\",\n      \"description\": \"Solid wood dining table with customizable dimensions\",\n      \"translations\": {},\n      \"default_configuration_id\": null,\n      \"display_type\": \"line-view\",\n      \"attributes_count\": 3,\n      \"configurations_count\": 24,\n      \"created_at\": \"2024-01-16T14:30:00+00:00\",\n      \"updated_at\": \"2024-01-16T14:30:00+00:00\"\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 20,\n    \"total\": 2,\n    \"last_page\": 1\n  }\n}"}],"_postman_id":"2e536ada-0c8f-4edc-b9ff-cd04d6baff61"},{"name":"Get Article","id":"cd8cac91-33fa-4b0e-9dd4-445cf086bc01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles/:id","description":"<p>Get a single article with all its attributes and attribute values.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"62c8c9ed-569f-4443-ba80-b4b582a04edc","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"8dd324ee-90cc-483a-a79c-60b1e50674da","name":"Success Response","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/articles/1"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"name\": \"T-Shirt\",\n  \"description\": \"Cotton t-shirt available in multiple colors and sizes\",\n  \"translations\": {\n    \"da\": {\n      \"name\": \"T-shirt\",\n      \"description\": \"Bomulds t-shirt i flere farver og størrelser\"\n    }\n  },\n  \"default_configuration_id\": 5,\n  \"card_top_attribute_id\": 1,\n  \"card_bottom_attribute_id\": 2,\n  \"display_type\": \"standard\",\n  \"attributes\": [\n    {\n      \"id\": 1,\n      \"name\": \"Color\",\n      \"view_type\": \"color_swatches\",\n      \"sort_order\": 1,\n      \"translations\": {\n        \"da\": {\n          \"name\": \"Farve\"\n        }\n      },\n      \"values\": [\n        {\n          \"id\": 1,\n          \"value\": \"Red\",\n          \"sort_order\": 1,\n          \"translations\": {\n            \"da\": {\n              \"value\": \"Rød\"\n            }\n          },\n          \"colors\": [\"#FF0000\"],\n          \"media_id\": null\n        },\n        {\n          \"id\": 2,\n          \"value\": \"Blue\",\n          \"sort_order\": 2,\n          \"translations\": {\n            \"da\": {\n              \"value\": \"Blå\"\n            }\n          },\n          \"colors\": [\"#0000FF\"],\n          \"media_id\": null\n        },\n        {\n          \"id\": 3,\n          \"value\": \"Green\",\n          \"sort_order\": 3,\n          \"translations\": {},\n          \"colors\": [\"#00FF00\"],\n          \"media_id\": null\n        }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Size\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 2,\n      \"translations\": {\n        \"da\": {\n          \"name\": \"Størrelse\"\n        }\n      },\n      \"values\": [\n        {\n          \"id\": 4,\n          \"value\": \"S\",\n          \"sort_order\": 1,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 5,\n          \"value\": \"M\",\n          \"sort_order\": 2,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 6,\n          \"value\": \"L\",\n          \"sort_order\": 3,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        }\n      ]\n    }\n  ],\n  \"created_at\": \"2024-01-15T10:00:00+00:00\",\n  \"updated_at\": \"2024-01-15T10:00:00+00:00\"\n}"},{"id":"c8c1e3ce-1ef8-44f5-b89c-43ca76406bf2","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/articles/999"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"No query results for model.\"\n}"}],"_postman_id":"cd8cac91-33fa-4b0e-9dd4-445cf086bc01"},{"name":"Create Article","id":"21f1d0ab-bc5b-4145-8445-be49d1660d60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"T-Shirt\",\n  \"description\": \"Cotton t-shirt available in multiple colors and sizes\",\n  \"translations\": {\n    \"da\": {\n      \"name\": \"T-shirt\",\n      \"description\": \"Bomulds t-shirt i flere farver og størrelser\"\n    }\n  },\n  \"attributes\": [\n    {\n      \"name\": \"Color\",\n      \"view_type\": \"color_swatches\",\n      \"sort_order\": 1,\n      \"translations\": {\n        \"da\": {\n          \"name\": \"Farve\"\n        }\n      },\n      \"values\": [\n        {\n          \"value\": \"Red\",\n          \"sort_order\": 1,\n          \"translations\": {\n            \"da\": {\n              \"value\": \"Rød\"\n            }\n          },\n          \"colors\": [\"#FF0000\"]\n        },\n        {\n          \"value\": \"Blue\",\n          \"sort_order\": 2,\n          \"translations\": {\n            \"da\": {\n              \"value\": \"Blå\"\n            }\n          },\n          \"colors\": [\"#0000FF\"]\n        }\n      ]\n    },\n    {\n      \"name\": \"Size\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 2,\n      \"translations\": {\n        \"da\": {\n          \"name\": \"Størrelse\"\n        }\n      },\n      \"values\": [\n        {\n          \"value\": \"S\",\n          \"sort_order\": 1\n        },\n        {\n          \"value\": \"M\",\n          \"sort_order\": 2\n        },\n        {\n          \"value\": \"L\",\n          \"sort_order\": 3\n        }\n      ]\n    }\n  ]\n}"},"url":"{{base_url}}/articles","description":"<p>Create a new article with attributes and attribute values in a single request.</p>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>If an attribute has no <code>values</code> array or empty <code>values</code>, a \"None\" value is auto-created with sort_order: 0</li>\n<li>If <code>values</code> are provided, only those values are created (no auto \"None\")</li>\n<li><code>sort_order</code> defaults to array index position if not specified</li>\n<li><code>view_type</code> options: <code>color_swatches</code>, <code>dropdown</code>, <code>buttons</code></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"54d3c9f4-265f-45d4-8af3-6b2f38cf3cac","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"T-Shirt\",\n  \"description\": \"Cotton t-shirt\",\n  \"attributes\": [\n    {\n      \"name\": \"Color\",\n      \"view_type\": \"color_swatches\",\n      \"values\": [\n        { \"value\": \"Red\", \"colors\": [\"#FF0000\"] },\n        { \"value\": \"Blue\", \"colors\": [\"#0000FF\"] }\n      ]\n    },\n    {\n      \"name\": \"Size\",\n      \"view_type\": \"dropdown\",\n      \"values\": [\n        { \"value\": \"S\" },\n        { \"value\": \"M\" },\n        { \"value\": \"L\" }\n      ]\n    }\n  ]\n}"},"url":"{{base_url}}/articles"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"name\": \"T-Shirt\",\n  \"description\": \"Cotton t-shirt\",\n  \"translations\": {},\n  \"default_configuration_id\": null,\n  \"card_top_attribute_id\": null,\n  \"card_bottom_attribute_id\": null,\n  \"display_type\": null,\n  \"attributes\": [\n    {\n      \"id\": 1,\n      \"name\": \"Color\",\n      \"view_type\": \"color_swatches\",\n      \"sort_order\": 0,\n      \"translations\": {},\n      \"values\": [\n        {\n          \"id\": 1,\n          \"value\": \"Red\",\n          \"sort_order\": 0,\n          \"translations\": {},\n          \"colors\": [\"#FF0000\"],\n          \"media_id\": null\n        },\n        {\n          \"id\": 2,\n          \"value\": \"Blue\",\n          \"sort_order\": 1,\n          \"translations\": {},\n          \"colors\": [\"#0000FF\"],\n          \"media_id\": null\n        }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Size\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 1,\n      \"translations\": {},\n      \"values\": [\n        {\n          \"id\": 3,\n          \"value\": \"S\",\n          \"sort_order\": 0,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 4,\n          \"value\": \"M\",\n          \"sort_order\": 1,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 5,\n          \"value\": \"L\",\n          \"sort_order\": 2,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        }\n      ]\n    }\n  ],\n  \"created_at\": \"2024-01-15T10:00:00+00:00\",\n  \"updated_at\": \"2024-01-15T10:00:00+00:00\"\n}"},{"id":"3e367630-8922-4461-8c0b-877d5519e7fd","name":"Validation Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"Missing required name field\"\n}"},"url":"{{base_url}}/articles"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"name\": [\n      \"The name field is required.\"\n    ]\n  }\n}"}],"_postman_id":"21f1d0ab-bc5b-4145-8445-be49d1660d60"},{"name":"Create Article (with auto None value)","id":"ef043db7-7545-4bae-8892-02d2f9764f41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Simple Product\",\n  \"description\": \"A product with one attribute that has no values defined\",\n  \"attributes\": [\n    {\n      \"name\": \"Variant\",\n      \"view_type\": \"dropdown\"\n    }\n  ]\n}"},"url":"{{base_url}}/articles","description":"<p>When an attribute is created without any values, a \"None\" value is automatically created with sort_order: 0. This ensures configurations can always be created.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bb543fa0-169b-4bb3-b295-cf21148a8dfe","name":"Success Response - None Value Auto-Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Simple Product\",\n  \"attributes\": [\n    {\n      \"name\": \"Variant\",\n      \"view_type\": \"dropdown\"\n    }\n  ]\n}"},"url":"{{base_url}}/articles"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 3,\n  \"name\": \"Simple Product\",\n  \"description\": null,\n  \"translations\": {},\n  \"default_configuration_id\": null,\n  \"card_top_attribute_id\": null,\n  \"card_bottom_attribute_id\": null,\n  \"display_type\": null,\n  \"attributes\": [\n    {\n      \"id\": 5,\n      \"name\": \"Variant\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 0,\n      \"translations\": {},\n      \"values\": [\n        {\n          \"id\": 10,\n          \"value\": \"None\",\n          \"sort_order\": 0,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        }\n      ]\n    }\n  ],\n  \"created_at\": \"2024-01-15T10:00:00+00:00\",\n  \"updated_at\": \"2024-01-15T10:00:00+00:00\"\n}"}],"_postman_id":"ef043db7-7545-4bae-8892-02d2f9764f41"},{"name":"Update Article","id":"8784efe5-a947-4ba8-a9af-99ab1148a3ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated T-Shirt\",\n  \"description\": \"Premium cotton t-shirt with new colors\",\n  \"translations\": {\n    \"da\": {\n      \"name\": \"Opdateret T-shirt\"\n    }\n  },\n  \"default_configuration_id\": 5,\n  \"display_type\": \"standard\",\n  \"attributes\": [\n    {\n      \"id\": 1,\n      \"name\": \"Color\",\n      \"view_type\": \"color_swatches\",\n      \"sort_order\": 1,\n      \"values\": [\n        {\n          \"id\": 1,\n          \"value\": \"Red\",\n          \"sort_order\": 1,\n          \"colors\": [\"#FF0000\"]\n        },\n        {\n          \"id\": 2,\n          \"value\": \"Blue\",\n          \"sort_order\": 2,\n          \"colors\": [\"#0000FF\"]\n        },\n        {\n          \"value\": \"Green\",\n          \"sort_order\": 3,\n          \"colors\": [\"#00FF00\"]\n        }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Size\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 2,\n      \"values\": [\n        {\n          \"id\": 4,\n          \"value\": \"S\",\n          \"sort_order\": 1\n        },\n        {\n          \"id\": 5,\n          \"value\": \"M\",\n          \"sort_order\": 2\n        },\n        {\n          \"id\": 6,\n          \"value\": \"L\",\n          \"sort_order\": 3\n        },\n        {\n          \"value\": \"XL\",\n          \"sort_order\": 4\n        }\n      ]\n    },\n    {\n      \"name\": \"Material\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 3,\n      \"values\": [\n        {\n          \"value\": \"Cotton\",\n          \"sort_order\": 1\n        },\n        {\n          \"value\": \"Polyester\",\n          \"sort_order\": 2\n        }\n      ]\n    }\n  ]\n}"},"url":"{{base_url}}/articles/:id","description":"<p>Update an article using sync mode for attributes and values.</p>\n<p><strong>Sync Mode Behavior:</strong></p>\n<ul>\n<li>Attributes/values with <code>id</code> are <strong>updated</strong></li>\n<li>Attributes/values without <code>id</code> are <strong>created</strong> as new</li>\n<li>Existing attributes/values NOT in request are <strong>deleted</strong> (with cascade)</li>\n</ul>\n<p><strong>Important Notes:</strong></p>\n<ul>\n<li>Deleting an attribute value will cascade-delete all configurations using that value</li>\n<li>Deleting an attribute will cascade-delete all its values</li>\n<li>When adding a new attribute, its first value is automatically attached to all existing configurations</li>\n<li>Sort keys are recalculated after any changes</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"9dc112ab-a165-47ea-a73c-ed73945181fd","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"6993a3a6-a993-4f32-925e-319d61f227d4","name":"Success Response","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated T-Shirt\",\n  \"description\": \"Premium cotton t-shirt with new colors\",\n  \"translations\": {\n    \"da\": {\n      \"name\": \"Opdateret T-shirt\"\n    }\n  },\n  \"default_configuration_id\": 5,\n  \"display_type\": \"standard\",\n  \"attributes\": [\n    {\n      \"id\": 1,\n      \"name\": \"Color\",\n      \"view_type\": \"color_swatches\",\n      \"sort_order\": 1,\n      \"values\": [\n        {\n          \"id\": 1,\n          \"value\": \"Red\",\n          \"sort_order\": 1,\n          \"colors\": [\"#FF0000\"]\n        },\n        {\n          \"id\": 2,\n          \"value\": \"Blue\",\n          \"sort_order\": 2,\n          \"colors\": [\"#0000FF\"]\n        },\n        {\n          \"value\": \"Green\",\n          \"sort_order\": 3,\n          \"colors\": [\"#00FF00\"]\n        }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Size\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 2,\n      \"values\": [\n        {\n          \"id\": 4,\n          \"value\": \"S\",\n          \"sort_order\": 1\n        },\n        {\n          \"id\": 5,\n          \"value\": \"M\",\n          \"sort_order\": 2\n        },\n        {\n          \"id\": 6,\n          \"value\": \"L\",\n          \"sort_order\": 3\n        },\n        {\n          \"value\": \"XL\",\n          \"sort_order\": 4\n        }\n      ]\n    },\n    {\n      \"name\": \"Material\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 3,\n      \"values\": [\n        {\n          \"value\": \"Cotton\",\n          \"sort_order\": 1\n        },\n        {\n          \"value\": \"Polyester\",\n          \"sort_order\": 2\n        }\n      ]\n    }\n  ]\n}"},"url":"{{base_url}}/articles/1"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1,\n  \"name\": \"Updated T-Shirt\",\n  \"description\": \"Premium cotton t-shirt with new colors\",\n  \"translations\": {\n    \"da\": {\n      \"name\": \"Opdateret T-shirt\"\n    }\n  },\n  \"default_configuration_id\": 5,\n  \"card_top_attribute_id\": 1,\n  \"card_bottom_attribute_id\": 2,\n  \"display_type\": \"standard\",\n  \"attributes\": [\n    {\n      \"id\": 1,\n      \"name\": \"Color\",\n      \"view_type\": \"color_swatches\",\n      \"sort_order\": 1,\n      \"translations\": {},\n      \"values\": [\n        {\n          \"id\": 1,\n          \"value\": \"Red\",\n          \"sort_order\": 1,\n          \"translations\": {},\n          \"colors\": [\"#FF0000\"],\n          \"media_id\": null\n        },\n        {\n          \"id\": 2,\n          \"value\": \"Blue\",\n          \"sort_order\": 2,\n          \"translations\": {},\n          \"colors\": [\"#0000FF\"],\n          \"media_id\": null\n        },\n        {\n          \"id\": 7,\n          \"value\": \"Green\",\n          \"sort_order\": 3,\n          \"translations\": {},\n          \"colors\": [\"#00FF00\"],\n          \"media_id\": null\n        }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Size\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 2,\n      \"translations\": {},\n      \"values\": [\n        {\n          \"id\": 4,\n          \"value\": \"S\",\n          \"sort_order\": 1,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 5,\n          \"value\": \"M\",\n          \"sort_order\": 2,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 6,\n          \"value\": \"L\",\n          \"sort_order\": 3,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 8,\n          \"value\": \"XL\",\n          \"sort_order\": 4,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        }\n      ]\n    },\n    {\n      \"id\": 3,\n      \"name\": \"Material\",\n      \"view_type\": \"dropdown\",\n      \"sort_order\": 3,\n      \"translations\": {},\n      \"values\": [\n        {\n          \"id\": 9,\n          \"value\": \"Cotton\",\n          \"sort_order\": 1,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        },\n        {\n          \"id\": 10,\n          \"value\": \"Polyester\",\n          \"sort_order\": 2,\n          \"translations\": {},\n          \"colors\": null,\n          \"media_id\": null\n        }\n      ]\n    }\n  ],\n  \"created_at\": \"2024-01-15T10:00:00+00:00\",\n  \"updated_at\": \"2024-01-16T15:30:00+00:00\"\n}"},{"id":"6e132428-5b68-421e-99d9-d96e619f530b","name":"Not Found","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Name\"\n}"},"url":"{{base_url}}/articles/999"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"No query results for model.\"\n}"}],"_postman_id":"8784efe5-a947-4ba8-a9af-99ab1148a3ad"},{"name":"Delete Article","id":"6026c8b6-19df-4f60-866c-263dd5f62da5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles/:id","description":"<p>Delete an article and all related data.</p>\n<p><strong>Cascade Deletion:</strong></p>\n<ul>\n<li>All attributes are deleted</li>\n<li>All attribute values are deleted</li>\n<li>All product configurations are deleted</li>\n</ul>\n<p>This action cannot be undone.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["articles",":id"],"host":["{{base_url}}"],"query":[],"variable":[{"id":"3c9214e7-a00c-4e80-8c0b-54b82b5d57fa","description":{"content":"<p>Article ID</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"ba409512-22b0-4b3a-b14e-1171b9dd365e","name":"Success Response","originalRequest":{"method":"DELETE","header":[],"url":"{{base_url}}/articles/1"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1bb3b114-6fd6-4ae9-ac94-602d6f08b047","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"{{base_url}}/articles/999"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"No query results for model.\"\n}"}],"_postman_id":"6026c8b6-19df-4f60-866c-263dd5f62da5"}],"id":"c522c77c-b017-4279-9a0a-dac9611b3490","description":"<p>Endpoints for managing Articles with their Attributes and Values.</p>\n","_postman_id":"c522c77c-b017-4279-9a0a-dac9611b3490","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Product","item":[{"name":"Inventory","item":[{"name":"Update Inventory","id":"ebe64d91-a503-4e7f-91e0-f39d23bc3777","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [\n        {\n            \"sku\": \"19-00004\",\n            \"stock\": 1022\n        },\n        {\n            \"sku\": \"sku-hosted-1\",\n            \"stock\": 2532\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/bulk/inventory-update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products","bulk","inventory-update"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebe64d91-a503-4e7f-91e0-f39d23bc3777"}],"id":"012b2995-8e64-4a01-82fc-c221dac0b17b","_postman_id":"012b2995-8e64-4a01-82fc-c221dac0b17b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Products","id":"977793f1-68f1-4352-a62f-7c6ffc6349af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2e8a7e4b-e260-4def-8499-f0f1af2eb07c","name":"Products fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:22:06 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:22:06 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"A\",\n            \"brand_id\": 1,\n            \"supplier\": \"A\",\n            \"sku\": \"aaa\",\n            \"ean\": \"12345\",\n            \"hs_code\": \"12345\",\n            \"unit_cost\": 15.9,\n            \"variant_id\": null,\n            \"inherit_prices_variant_id\": null,\n            \"variant_entity_id\": null,\n            \"size_id\": null,\n            \"category_id\": 1,\n            \"sub_category_id\": 2,\n            \"color\": \"A\",\n            \"material\": \"A\",\n            \"dimensions\": \"A\",\n            \"weight\": 10,\n            \"case_volume\": 10,\n            \"stock\": 100,\n            \"case_quantity\": 2,\n            \"description\": \"<p>A</p>\",\n            \"is_shown\": true,\n            \"is_hidden\": 0,\n            \"is_new\": 0,\n            \"is_free\": false,\n            \"allow_backorders\": false,\n            \"backorder_banner_date\": \"2022-07-30\",\n            \"warehouse_location\": \"A\",\n            \"wholesale_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 10\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 20\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": 100\n                }\n            ],\n            \"retail_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 11\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 22\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": 0\n                }\n            ],\n            \"special_prices\": [\n                {\n                    \"price_list_id\": 1,\n                    \"price\": 88\n                },\n                {\n                    \"price_list_id\": 2,\n                    \"price\": 99\n                }\n            ],\n            \"groups\": [\n                {\n                    \"id\": 6,\n                    \"group_name\": \"Group C\",\n                    \"is_shown\": true,\n                    \"sort_order\": 9\n                },\n                {\n                    \"id\": 9,\n                    \"group_name\": \"Group D\",\n                    \"is_shown\": true,\n                    \"sort_order\": 12\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"name\": \"B\",\n            \"brand_id\": null,\n            \"supplier\": null,\n            \"sku\": \"bbb\",\n            \"ean\": null,\n            \"hs_code\": null,\n            \"unit_cost\": null,\n            \"variant_id\": null,\n            \"inherit_prices_variant_id\": null,\n            \"variant_entity_id\": null,\n            \"size_id\": null,\n            \"category_id\": 3,\n            \"sub_category_id\": 4,\n            \"color\": null,\n            \"material\": null,\n            \"dimensions\": null,\n            \"weight\": 0,\n            \"case_volume\": 0,\n            \"stock\": 90,\n            \"case_quantity\": 1,\n            \"description\": null,\n            \"is_shown\": true,\n            \"is_hidden\": 0,\n            \"is_new\": 1,\n            \"is_free\": false,\n            \"allow_backorders\": false,\n            \"backorder_banner_date\": null,\n            \"warehouse_location\": null,\n            \"wholesale_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 10\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 20\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": 200\n                }\n            ],\n            \"retail_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 0\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 0\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": 0\n                }\n            ],\n            \"special_prices\": [],\n            \"groups\": []\n        },\n        {\n            \"id\": 3,\n            \"name\": \"C\",\n            \"brand_id\": null,\n            \"supplier\": null,\n            \"sku\": \"ccc\",\n            \"ean\": null,\n            \"hs_code\": null,\n            \"unit_cost\": null,\n            \"variant_id\": null,\n            \"inherit_prices_variant_id\": null,\n            \"variant_entity_id\": null,\n            \"size_id\": null,\n            \"category_id\": 5,\n            \"sub_category_id\": 4,\n            \"color\": null,\n            \"material\": null,\n            \"dimensions\": null,\n            \"weight\": 0,\n            \"case_volume\": 0,\n            \"stock\": 85,\n            \"case_quantity\": 1,\n            \"description\": null,\n            \"is_shown\": true,\n            \"is_hidden\": 0,\n            \"is_new\": 1,\n            \"is_free\": false,\n            \"allow_backorders\": false,\n            \"backorder_banner_date\": null,\n            \"warehouse_location\": null,\n            \"wholesale_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 10\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 20\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": null\n                }\n            ],\n            \"retail_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 0\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 0\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": 0\n                }\n            ],\n            \"special_prices\": [],\n            \"groups\": []\n        },\n        {\n            \"id\": 4,\n            \"name\": \"D\",\n            \"brand_id\": null,\n            \"supplier\": null,\n            \"sku\": \"ddd\",\n            \"ean\": null,\n            \"hs_code\": null,\n            \"unit_cost\": null,\n            \"variant_id\": null,\n            \"inherit_prices_variant_id\": null,\n            \"variant_entity_id\": null,\n            \"size_id\": null,\n            \"category_id\": 6,\n            \"sub_category_id\": 2,\n            \"color\": null,\n            \"material\": null,\n            \"dimensions\": null,\n            \"weight\": 0,\n            \"case_volume\": 0,\n            \"stock\": 97,\n            \"case_quantity\": 1,\n            \"description\": null,\n            \"is_shown\": true,\n            \"is_hidden\": 0,\n            \"is_new\": 1,\n            \"is_free\": false,\n            \"allow_backorders\": false,\n            \"backorder_banner_date\": null,\n            \"warehouse_location\": null,\n            \"wholesale_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 10\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 20\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": null\n                }\n            ],\n            \"retail_prices\": [\n                {\n                    \"currency_id\": 1,\n                    \"price\": 0\n                },\n                {\n                    \"currency_id\": 2,\n                    \"price\": 0\n                },\n                {\n                    \"currency_id\": 153,\n                    \"price\": 0\n                }\n            ],\n            \"special_prices\": [],\n            \"groups\": []\n        }\n    ]\n}"}],"_postman_id":"977793f1-68f1-4352-a62f-7c6ffc6349af"},{"name":"Product","id":"6955c8a8-b754-433b-bc90-f824cb2ead6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products",":productId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"298d2c13-f60f-44b9-a450-9b1d82506d7b","type":"any","value":"","key":"productId"}]}},"response":[{"id":"16a90118-d5d5-409a-b033-5911f3d0b522","name":"Product fetched","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","products",":productId"],"variable":[{"key":"productId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:23:55 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:23:55 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"A\",\n        \"brand_id\": 1,\n        \"supplier\": \"A\",\n        \"sku\": \"aaa\",\n        \"ean\": \"12345\",\n        \"hs_code\": \"12345\",\n        \"unit_cost\": 15.9,\n        \"variant_id\": null,\n        \"inherit_prices_variant_id\": null,\n        \"variant_entity_id\": null,\n        \"size_id\": null,\n        \"category_id\": 1,\n        \"sub_category_id\": 2,\n        \"color\": \"A\",\n        \"material\": \"A\",\n        \"dimensions\": \"A\",\n        \"weight\": 10,\n        \"case_volume\": 10,\n        \"stock\": 100,\n        \"case_quantity\": 2,\n        \"description\": \"<p>A</p>\",\n        \"is_shown\": true,\n        \"is_hidden\": 0,\n        \"is_new\": 0,\n        \"is_free\": false,\n        \"allow_backorders\": false,\n        \"backorder_banner_date\": \"2022-07-30\",\n        \"warehouse_location\": \"A\",\n        \"wholesale_prices\": [\n            {\n                \"currency_id\": 1,\n                \"price\": 10\n            },\n            {\n                \"currency_id\": 2,\n                \"price\": 20\n            },\n            {\n                \"currency_id\": 153,\n                \"price\": 100\n            }\n        ],\n        \"retail_prices\": [\n            {\n                \"currency_id\": 1,\n                \"price\": 11\n            },\n            {\n                \"currency_id\": 2,\n                \"price\": 22\n            },\n            {\n                \"currency_id\": 153,\n                \"price\": 0\n            }\n        ],\n        \"special_prices\": [\n            {\n                \"price_list_id\": 1,\n                \"price\": 88\n            },\n            {\n                \"price_list_id\": 2,\n                \"price\": 99\n            }\n        ],\n        \"groups\": [\n            {\n                \"id\": 6,\n                \"group_name\": \"Group C\",\n                \"is_shown\": true,\n                \"sort_order\": 9\n            },\n            {\n                \"id\": 9,\n                \"group_name\": \"Group D\",\n                \"is_shown\": true,\n                \"sort_order\": 12\n            }\n        ]\n    }\n}"},{"id":"c5d297db-ae14-4b76-a5f5-bdfff019cb04","name":"Product not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","products",":productId"],"variable":[{"key":"productId","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:29:45 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:29:45 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"No query results for model [App\\\\Product\\\\Models\\\\Product] 10\"\n    }\n}"}],"_postman_id":"6955c8a8-b754-433b-bc90-f824cb2ead6c"},{"name":"Products","id":"4cdb0ec2-cbeb-4d95-9df9-b4bbe3784ffd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [\n        {\n            \"name\": \"Product A\",\n            \"brand_id\": 1,\n            \"supplier\": \"Supplier A\",\n            \"sku\": \"0034323\",\n            \"warehouse_location\": \"Location A\",\n            \"ean\": \"12345\",\n            \"hs_code\": \"12345\",\n            \n            \"category_custom_id\" : 1, //optional field\n            \"sub_category_custom_id\" : \"test\", //optional field\n            \"brand_custom_id\" : \"234234\", //optional field\n            \n            \"variant_id\": 138, //this field can be null\n            \"variant_entity_id\": 428, //required with variant_id\n            \"size_id\": null,\n            \"inherit_prices\": null,\n            \"category_id\": 3,\n            \"sub_category_id\": 6,\n            \"color\": \"Red\",\n            \"material\": \"Oak\",\n            \"dimensions\": \"100x100\",\n            \"weight\": 100,\n            \"case_volume\": 100,\n            \"stock\": 100,\n            \"allow_backorders\": false,\n            \"case_quantity\": 1,\n            \"case_quantity_method_id\": 2,\n            \"unit_of_measure_id\": 1,\n            \"unit_cost\": 5,\n            \"specialPriceList\": [\n                {\n                    \"list_id\": 7, //it's special price list id\n                    \"price\": 15.99\n                }\n            ],\n            \"dropshippingPriceList\": [\n                {\n                    \"list_id\": 1, //it's dropshipping price list id\n                    \"price\": 24.99\n                }\n            ],\n            \"recommendedRetailPrice\": [\n                {\n                    \"price\": 22,\n                    \"currency_id\": 1\n                },\n                {\n                    \"price\": 23,\n                    \"currency_id\": 2\n                }\n            ],\n            \"currentPrice\": [\n                {\n                    \"price\": 10,\n                    \"currency_id\": 1\n                },\n                {\n                    \"price\": 20,\n                    \"currency_id\": 2\n                }\n            ],\n            \"description\": \"Test\",\n            \"is_shown\": true,\n            \"is_new\": false,\n            \"is_free\" : false,\n            \"product_groups\": [6,7],\n            \"special_tax_lists\": [2,3],\n            \"backorder_banner_date\":\"2022-07-30\",\n            \"discount_tiers\": [],\n            \"image_urls\" : [\n                \"https://example.com/image_name.jpg\"\n            ],\n            \"test_products\" : \"Custom field value\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/bulk","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products","bulk"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4cdb0ec2-cbeb-4d95-9df9-b4bbe3784ffd"},{"name":"Product","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"productId\", jsonData.data['id']);"],"type":"text/javascript","packages":{},"id":"d51023a1-7efe-4084-b97a-0cddd9ef121d"}}],"id":"c1a92a31-44c5-4cee-8db9-7affe1b0c72e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"www\",\n    \"warehouse_location\": \"Location A\",\n    \n    \"category_custom_id\" : 1, //optional field\n    \"sub_category_custom_id\" : \"test\", //optional field\n    \"brand_custom_id\" : 2, //optional field\n    \n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"case_quantity_method_id\": 2,\n    \"unit_of_measure_id\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": null,\n    \"product_groups\": [6,7],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": null,\n    \"variant_id\": null,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"f1585bbb-655a-486f-90c3-5d90a151b224","name":"Products with same SKU exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"fff\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": 1,\n    \"product_groups\": [1,2],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": 1,\n    \"variant_id\": 1,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:39:24 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:39:24 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"sku\": [\n            \"A product with the same SKU already exists.\"\n        ]\n    }\n}"},{"id":"796bd7d0-550a-4bf7-abda-88b7d62abba0","name":"Product in the same variant exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"fff\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": 1,\n    \"product_groups\": [1,2],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": 1,\n    \"variant_id\": 1,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:42:41 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:42:41 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"size_id\": [\n            \"A variant with the same size and title already exists.\"\n        ]\n    }\n}"},{"id":"578b03b7-a91d-48e8-967b-6ebd4b6af0f3","name":"Product variant missing size","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"fff\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": null,\n    \"product_groups\": [1,2],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": 1,\n    \"variant_id\": 1,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:43:55 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:43:55 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"size_id\": [\n            \"Variant size cannot be empty.\"\n        ]\n    }\n}"},{"id":"e5177450-2ba1-4a4a-960c-be93c4629686","name":"Product variant missing title","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"fff\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": null,\n    \"product_groups\": [1,2],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": null,\n    \"variant_id\": 1,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:45:23 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:45:23 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"variant_title\": [\n            \"Variant title cannot be empty.\"\n        ]\n    }\n}"},{"id":"14da0ea5-468b-44b9-aae8-0b5540277bc9","name":"Product  missing category","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"fff\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": null,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": null,\n    \"product_groups\": [1,2],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": null,\n    \"variant_id\": null,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:46:29 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:46:29 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"category_id\": [\n            \"The category id field is required.\"\n        ]\n    }\n}"},{"id":"7bb530d5-fdaa-4c01-9943-695148ab7ef9","name":"Product group not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"fff\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": null,\n    \"product_groups\": [1,2],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": null,\n    \"variant_id\": null,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:51:29 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:51:29 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"product_groups.0\": [\n            \"The selected product_groups.0 is invalid.\"\n        ],\n        \"product_groups.1\": [\n            \"The selected product_groups.1 is invalid.\"\n        ]\n    }\n}"},{"id":"74444d31-ad67-4cc5-8584-2eaddc1bbae7","name":"Product created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"www\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1, //or list_id(it's special price list id)\n            \"price\": 15.99\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": null,\n    \"product_groups\": [6,7],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": null,\n    \"variant_id\": null,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:52:46 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:52:46 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 14,\n        \"name\": \"Product A\",\n        \"brand_id\": 1,\n        \"supplier\": \"Supplier A\",\n        \"sku\": \"www\",\n        \"ean\": \"12345\",\n        \"hs_code\": \"12345\",\n        \"unit_cost\": 5,\n        \"variant_id\": null,\n        \"inherit_prices_variant_id\": null,\n        \"variant_entity_id\": null,\n        \"size_id\": null,\n        \"category_id\": 1,\n        \"sub_category_id\": 2,\n        \"color\": \"Red\",\n        \"material\": \"Oak\",\n        \"dimensions\": \"100x100\",\n        \"weight\": 100,\n        \"case_volume\": 100,\n        \"stock\": 100,\n        \"case_quantity\": 1,\n        \"description\": \"Test\",\n        \"is_shown\": true,\n        \"is_hidden\": null,\n        \"is_new\": false,\n        \"is_free\": null,\n        \"allow_backorders\": false,\n        \"backorder_banner_date\": \"2022-07-30\",\n        \"warehouse_location\": \"Location A\",\n        \"wholesale_prices\": [\n            {\n                \"currency_id\": 1,\n                \"price\": 10\n            },\n            {\n                \"currency_id\": 2,\n                \"price\": 20\n            }\n        ],\n        \"retail_prices\": [\n            {\n                \"currency_id\": 1,\n                \"price\": 0\n            },\n            {\n                \"currency_id\": 2,\n                \"price\": 0\n            }\n        ],\n        \"special_prices\": [\n            {\n                \"price_list_id\": 1,\n                \"price\": 15.99\n            }\n        ],\n        \"groups\": [\n            {\n                \"id\": 6,\n                \"group_name\": \"Group C\",\n                \"is_shown\": true,\n                \"sort_order\": 9\n            },\n            {\n                \"id\": 7,\n                \"group_name\": \"Group B\",\n                \"is_shown\": true,\n                \"sort_order\": 10\n            }\n        ]\n    }\n}"}],"_postman_id":"c1a92a31-44c5-4cee-8db9-7affe1b0c72e"},{"name":"Products","id":"d36e3d7d-40e9-4475-aa56-bf9cdaee8d96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [\n        {\n            \"id\" : 8836,\n            \"name\": \"Product A updated\",\n            \"brand_id\": 1,\n            \"supplier\": \"Supplier A\",\n            \"sku\": \"www2\",\n            \"warehouse_location\": \"Location A\",\n            \"ean\": \"12345\",\n            \"hs_code\": \"12345\",\n\n            \"category_custom_id\" : 1, //optional field\n            \"sub_category_custom_id\" : \"test\", //optional field\n            \"brand_custom_id\" : 2, //optional field\n\n            \"variant_id\": 138, //this field can be null\n            \"variant_entity_id\": 428, //required with variant_id\n            \"inherit_prices\": null,\n            \"category_id\": 3,\n            \"sub_category_id\": 6,\n            \"color\": \"Red\",\n            \"material\": \"Oak\",\n            \"dimensions\": \"100x100\",\n            \"weight\": 100,\n            \"case_volume\": 100,\n            \"stock\": 100,\n            \"allow_backorders\": false,\n            \"case_quantity\": 1,\n            \"case_quantity_method_id\": 2,\n            \"unit_of_measure_id\": 1,\n            \"unit_cost\": 5,\n            \"specialPriceList\": [\n                {\n                    \"list_id\": 7, //it's special price list id\n                    \"price\": 2999\n                }\n            ],\n            \"dropshippingPriceList\": [\n                {\n                    \"list_id\": 1, //it's dropshipping price list id\n                    \"price\": 2999\n                }\n            ],\n            \"recommendedRetailPrice\": [\n                {\n                    \"price\": 2999,\n                    \"currency_id\": 1\n                },\n                {\n                    \"price\": 2999,\n                    \"currency_id\": 2\n                }\n            ],\n            \"currentPrice\": [\n                {\n                    \"price\": 2999,\n                    \"currency_id\": 1\n                },\n                {\n                    \"price\": 2999,\n                    \"currency_id\": 2\n                }\n            ],\n            \"description\": \"Test updated\",\n            \"is_shown\": true,\n            \"is_new\": false,\n            \"is_free\" : false,\n            \"size_id\": null,\n            \"product_groups\": [6,7],\n            \"special_tax_lists\": [2,3],\n            \"backorder_banner_date\":\"2022-07-30\",\n            \"discount_tiers\": [],\n            \"image_urls\" : [\n                \"https://example.com/image_name.jpg\"\n            ],\n            \"test_products\" : \"Custom field value updated\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/bulk","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products","bulk"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d36e3d7d-40e9-4475-aa56-bf9cdaee8d96"},{"name":"Product","id":"d882f045-85e8-4842-8bcb-910641414ec0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": null,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"www\",\n    \"warehouse_location\": \"Location A\",\n\n    \"category_custom_id\" : 2, //optional field\n    \"sub_category_custom_id\" : \"test\", //optional field\n    \"brand_custom_id\" : 2, //optional field\n\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"case_quantity_method_id\": 1,\n    \"unit_of_measure_id\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1,\n            \"price\": 15.99,\n            \"currency_id\": 1\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": null,\n    \"product_groups\": [],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": null,\n    \"variant_id\": null,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products",":productId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"aae77d60-6f6b-4f29-b3d3-172a0fa56edb","type":"any","value":"","key":"productId"}]}},"response":[{"id":"a7419c82-d0e9-45e4-a044-577f9cad426b","name":"Product not found","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"aaa\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1,\n            \"price\": 15.99,\n            \"currency_id\": 1\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": 1,\n    \"product_groups\": [1,2],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": 1,\n    \"variant_id\": 1,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","products",":productId"],"variable":[{"key":"productId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:35:08 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:35:08 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"id\": [\n            \"The selected id is invalid.\"\n        ]\n    }\n}"},{"id":"d7f83571-afa8-49aa-bffc-74d4e41fc551","name":"Product updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Product A\",\n    \"brand_id\": 1,\n    \"supplier\": \"Supplier A\",\n    \"sku\": \"www\",\n    \"warehouse_location\": \"Location A\",\n    \"ean\": \"12345\",\n    \"hs_code\": \"12345\",\n    \"variants\": 1,\n    \"variant_title\": 1,\n    \"inherit_prices\": null,\n    \"category_id\": 1,\n    \"sub_category_id\": 2,\n    \"color\": \"Red\",\n    \"material\": \"Oak\",\n    \"dimensions\": \"100x100\",\n    \"weight\": 100,\n    \"case_volume\": 100,\n    \"stock\": 100,\n    \"allow_backorders\": false,\n    \"case_quantity\": 1,\n    \"unit_cost\": 5,\n    \"specialPriceList\": [\n        {\n            \"id\": 1,\n            \"price\": 15.99,\n            \"currency_id\": 1\n        }\n    ],\n    \"recommendedRetailPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 0,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 0,\n            \"currency_id\": 2\n        }\n    ],\n    \"currentPrice\": [\n        {\n            \"code\": \"EUR\",\n            \"price\": 10,\n            \"currency_id\": 1\n        },\n        {\n            \"code\": \"USD\",\n            \"price\": 20,\n            \"currency_id\": 2\n        }\n    ],\n    \"description\": \"Test\",\n    \"is_shown\": true,\n    \"is_new\": false,\n    \"is_product_free\": false,\n    \"size_id\": 1,\n    \"product_groups\": [],\n    \"special_tax_lists\": [],\n    \"backorder_banner_date\":\"2022-07-30\",\n    \"discount_tiers\": [],\n    \"variant_entity_id\": 1,\n    \"variant_id\": 1,\n    \"custom_field\" : \"Custom field value\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","products",":productId"],"variable":[{"key":"productId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:54:20 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:54:20 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 14,\n        \"name\": \"Product A\",\n        \"brand_id\": 1,\n        \"supplier\": \"Supplier A\",\n        \"sku\": \"www\",\n        \"ean\": \"12345\",\n        \"hs_code\": \"12345\",\n        \"unit_cost\": 5,\n        \"variant_id\": 1,\n        \"inherit_prices_variant_id\": null,\n        \"variant_entity_id\": 1,\n        \"size_id\": 1,\n        \"category_id\": 1,\n        \"sub_category_id\": 2,\n        \"color\": \"Red\",\n        \"material\": \"Oak\",\n        \"dimensions\": \"100x100\",\n        \"weight\": 100,\n        \"case_volume\": 100,\n        \"stock\": 100,\n        \"case_quantity\": 1,\n        \"description\": \"Test\",\n        \"is_shown\": true,\n        \"is_hidden\": 0,\n        \"is_new\": false,\n        \"is_free\": false,\n        \"allow_backorders\": false,\n        \"backorder_banner_date\": \"2022-07-30\",\n        \"warehouse_location\": \"Location A\",\n        \"wholesale_prices\": [\n            {\n                \"currency_id\": 1,\n                \"price\": 10\n            },\n            {\n                \"currency_id\": 2,\n                \"price\": 20\n            }\n        ],\n        \"retail_prices\": [\n            {\n                \"currency_id\": 1,\n                \"price\": 0\n            },\n            {\n                \"currency_id\": 2,\n                \"price\": 0\n            }\n        ],\n        \"special_prices\": [\n            {\n                \"price_list_id\": 1,\n                \"price\": 15.99\n            }\n        ],\n        \"groups\": []\n    }\n}"}],"_postman_id":"d882f045-85e8-4842-8bcb-910641414ec0"},{"name":"Product","id":"d6f84490-efb8-4b29-a6e5-6361d0da19ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","products",":productId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"f8e41046-4d25-4471-9bf6-c7fee29589fd","type":"any","value":"","key":"productId"}]}},"response":[{"id":"93f3a86d-698e-4ab4-97b6-fb52ec2244f6","name":"Product deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/products/:productId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","products",":productId"],"variable":[{"key":"productId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 26 Jul 2022 09:56:29 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Tue, 09-Aug-2022 09:56:29 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d6f84490-efb8-4b29-a6e5-6361d0da19ee"}],"id":"f9baed45-644c-4a35-b434-c49ff1b1f18d","_postman_id":"f9baed45-644c-4a35-b434-c49ff1b1f18d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Product group","item":[{"name":"Product groups","id":"e0f32cf7-566d-4b0b-a24a-bda9f3f7be6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","product-groups"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"731f670d-1701-4035-a9c1-ea667b073e91","name":"Product groups fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 11:20:57 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 11:20:57 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Group A\",\n            \"sort_order\": 7,\n            \"is_visible\": true,\n            \"resource_name\": \"product_group\",\n            \"nested\": [],\n            \"link_url\": null,\n            \"frontend_key\": \"product_group_1\",\n            \"parent_id\": null\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Group B\",\n            \"sort_order\": 8,\n            \"is_visible\": true,\n            \"resource_name\": \"product_group\",\n            \"nested\": [],\n            \"link_url\": null,\n            \"frontend_key\": \"product_group_5\",\n            \"parent_id\": null\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Group C\",\n            \"sort_order\": 9,\n            \"is_visible\": true,\n            \"resource_name\": \"product_group\",\n            \"nested\": [],\n            \"link_url\": null,\n            \"frontend_key\": \"product_group_6\",\n            \"parent_id\": null\n        }\n    ]\n}"}],"_postman_id":"e0f32cf7-566d-4b0b-a24a-bda9f3f7be6c"},{"name":"Product group","id":"49c8923f-65c0-4dee-9a0c-91cbb6161cec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/:group","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","product-groups",":group"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"e1f19f70-2938-4610-83f7-f42d1ab5d53d","type":"any","value":"","key":"group"}]}},"response":[{"id":"2625aa7c-24ba-4275-8156-aa4538e097ff","name":"Product group fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 11:21:51 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 11:21:51 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Group A\",\n        \"sort_order\": 7,\n        \"is_visible\": true,\n        \"resource_name\": \"product_group\",\n        \"nested\": [],\n        \"link_url\": null,\n        \"frontend_key\": \"product_group_1\",\n        \"parent_id\": null\n    }\n}"},{"id":"a5d62c33-2cfc-4bc0-af71-2704141e2d0d","name":"Product group does not exist","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/2"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 11:50:55 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 11:50:55 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No query results for model [App\\\\ProductGroup\\\\Models\\\\Group] 2\"\n}"}],"_postman_id":"49c8923f-65c0-4dee-9a0c-91cbb6161cec"},{"name":"Product group","id":"25ce61ea-d8a7-4e1f-a7ba-d22f7628b57f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Group B\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","product-groups"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"885d7296-a038-4c17-8397-6be4fa17fec4","name":"Product group created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Group C\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 11:19:40 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 11:19:40 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"name\": \"Group C\",\n        \"sort_order\": 9,\n        \"is_visible\": true,\n        \"resource_name\": \"product_group\",\n        \"nested\": [],\n        \"link_url\": null,\n        \"frontend_key\": \"product_group_6\",\n        \"parent_id\": null\n    }\n}"},{"id":"9333ae97-22fe-472f-842e-bdc441d063e6","name":"Product group already exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Group B\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 11:18:41 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 11:18:41 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"name\": [\n            \"The name has already been taken.\"\n        ]\n    }\n}"},{"id":"2e2e2fcf-45e2-454a-afa2-d034a530ef9e","name":"Required fields are missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 11:52:17 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 11:52:17 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"name\": [\n            \"The name field is required.\"\n        ]\n    }\n}"}],"_postman_id":"25ce61ea-d8a7-4e1f-a7ba-d22f7628b57f"},{"name":"Product group","id":"403d01db-346d-40d4-9c94-90cc278bba44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Group A\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/:group","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","product-groups",":group"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"cc9259f9-a44e-4d93-85d3-ada7f6e341a3","type":"any","value":"","key":"group"}]}},"response":[{"id":"9a49900f-c25b-48a0-a1fc-dda5b5e9338e","name":"Required fields are missing","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/1"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 11:54:08 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 11:54:08 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"name\": [\n            \"The name field is required.\"\n        ]\n    }\n}"},{"id":"a9574f36-a5e7-4de9-86bf-37bd74c01566","name":"Product group does not exist","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Group B\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/2"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 12:08:15 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 12:08:15 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No query results for model [App\\\\ProductGroup\\\\Models\\\\Group] 2\"\n}"},{"id":"a8b71b97-ea57-4b43-9e23-0c678c541bde","name":"Product group already exists","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Group A\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/1"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 12:09:04 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 12:09:04 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"name\": [\n            \"The name has already been taken.\"\n        ]\n    }\n}"},{"id":"5a53ad8c-e6fc-480d-9cad-605f5b1942ad","name":"Product group updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Group D\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 12:11:57 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 12:11:57 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Group D\",\n        \"sort_order\": 7,\n        \"is_visible\": true,\n        \"resource_name\": \"product_group\",\n        \"nested\": [],\n        \"link_url\": null,\n        \"frontend_key\": \"product_group_1\",\n        \"parent_id\": null\n    }\n}"}],"_postman_id":"403d01db-346d-40d4-9c94-90cc278bba44"},{"name":"Product group","id":"41276a21-4b23-4af0-963c-e532c624a1b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","product-groups","5"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5333dc12-d2ac-41f7-97eb-cc74ae0a9f0e","name":"Product group deleted","originalRequest":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/product-groups/1"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 21 Jul 2022 12:16:54 GMT"},{"key":"Set-Cookie","value":"turis_session=QTtxqe44xFI2rB9Quo5waLO45aHYtKt38L3YPs2T; expires=Thu, 04-Aug-2022 12:16:54 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"41276a21-4b23-4af0-963c-e532c624a1b8"}],"id":"276d574c-d1c9-43d5-91f2-2683d427c92d","_postman_id":"276d574c-d1c9-43d5-91f2-2683d427c92d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Order","item":[{"name":"Shipment","item":[{"name":"Update shipment status","id":"89f28b9f-fc0f-4c6b-919d-4b11f326d25b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"shipment_status\" : \"creditHold\",\n    \"order_id\" : 3,\n    \"product_ids\" : [\n        860,861\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipments/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","shipments","status"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"98ca712f-de1e-42a6-b1e1-75d538ff32bc","name":"Update shipment status","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"shipment_status\" : \"creditHold\",\n    \"order_id\" : 3,\n    \"product_ids\" : [\n        860,861\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipments/status"},"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)","description":"","type":"text"},{"key":"Content-Type","value":"text/html; charset=UTF-8","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Cache-Control","value":"no-cache, private","description":"","type":"text"},{"key":"Date","value":"Mon, 05 Jul 2021 05:39:35 GMT","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"89f28b9f-fc0f-4c6b-919d-4b11f326d25b"},{"name":"Create or update external invoice","id":"2b7b755f-f3e9-4bff-8655-97d5e98ecc5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"shipment_date\": \"2022-03-21\",\n  \"buyer_id\": 23,\n  \"external_invoice_reference\": {\n    \"invoice_number\": \"112433\",\n    \"link\": \"https://www.example.com\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/external-invoices/create-or-update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","external-invoices","create-or-update"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a6ebe910-b35a-4503-8a2f-15c89686f6b5","name":"Create or update external invoice","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"shipment_date\": \"2022-03-21\",\n  \"buyer_id\": 23,\n  \"external_invoice_reference\": {\n    \"invoice_number\": \"112433\",\n    \"link\": \"https://www.example.com\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/external-invoices/create-or-update"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)","description":"","type":"text"},{"key":"Content-Type","value":"text/html; charset=UTF-8","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Cache-Control","value":"no-cache, private","description":"","type":"text"},{"key":"Date","value":"Mon, 05 Jul 2021 05:39:35 GMT","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2b7b755f-f3e9-4bff-8655-97d5e98ecc5c"}],"id":"c518287b-0f6b-4dec-8063-851ff6be29df","_postman_id":"c518287b-0f6b-4dec-8063-851ff6be29df","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Create order","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"orderId\", jsonData.data['id']);"],"type":"text/javascript","packages":{},"requests":{},"id":"7f6fe8bb-e02a-46d6-b103-effad3b7999d"}}],"id":"e74f46a4-e177-4199-96b3-54b8c7e55202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"buyer_id\": \"\",                           // REQUIRED\n    \"payment_type\": \"invoice\",                // REQUIRED\n    \"products\": [\n        {\n            \"id\": \"\",                         // REQUIRED WITHOUT SKU\n            \"sku\": \"\",                         // REQUIRED WITHOUT ID\n            \"quantity\": \"5\",                  // REQUIRED\n            \"line_no\": 1,                     // OPTIONAL\n            \"desired_shipment_date\": \"2025-11-15\",  // OPTIONAL\n            \"desired_shipment_time\": \"10:00\",       // OPTIONAL\n            \"general_discount\": [             // OPTIONAL\n                {\n                    \"percentage\": 10          // OPTIONAL\n                }\n            ]\n        }\n    ],\n    \"buyer_comment\": \"Please deliver between 9-17\",  // OPTIONAL\n    \"delivery_id\": 1,                         // OPTIONAL\n    \"purchase_order_no\": \"PO-2025-001\",      // OPTIONAL (can be REQUIRED if checkout settings require it)\n    \"invoice_id\": \"INV-2025-001\",            // OPTIONAL\n    \"special_shipping_group_id\": 1,          // OPTIONAL\n    \"special_shipping_group_name\": \"Express Shipping\",  // OPTIONAL\n    \"quotes_shop\": false,                    // OPTIONAL\n    \"payment_quotes\": false,                 // OPTIONAL\n    \"default_delivery_address\": {            // OPTIONAL (entire object)\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"address_first\": \"123 Main Street\",\n        \"zip_code\": \"12345\",\n        \"country\": \"Denmark\"\n    },\n    \"dropshipping_address\": {                // OPTIONAL (but if provided, all fields below are REQUIRED)\n        \"first_name\": \"Jane\",                // REQUIRED if dropshipping_address present\n        \"last_name\": \"Smith\",                // REQUIRED if dropshipping_address present\n        \"address_first\": \"456 Oak Avenue\",   // REQUIRED if dropshipping_address present\n        \"zip_code\": \"54321\",                 // REQUIRED if dropshipping_address present\n        \"country\": \"Denmark\"                 // REQUIRED if dropshipping_address present\n    },\n    \"payment\": {                             // OPTIONAL for payment_type=\"invoice\", REQUIRED otherwise\n        \"currency_id\": 1,                    // REQUIRED if payment_type != \"invoice\"\n        \"amount\": 1000.50,                   // REQUIRED if payment_type != \"invoice\"\n        \"stripe_payment_id\": \"pi_xxxxxxxxxxxxx\",     // REQUIRED if payment_type != \"invoice\"\n        \"payment_system_slug\": \"stripe\",     // REQUIRED if payment_type != \"invoice\"\n        \"stripe_payment_method_id\": \"pm_xxxxxxxxxxxxx\",  // OPTIONAL\n        \"payment_style\": \"redirect\"          // OPTIONAL\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2c05a36e-ad9a-4304-8d87-b6bfb12ff626","name":"Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"buyer_id\": \"\",                           // REQUIRED\n    \"payment_type\": \"invoice\",                // REQUIRED\n    \"products\": [\n        {\n            \"id\": \"\",                         // REQUIRED WITHOUT SKU\n            \"sku\": \"\",                         // REQUIRED WITHOUT ID\n            \"quantity\": \"5\",                  // REQUIRED\n            \"line_no\": 1,                     // OPTIONAL\n            \"desired_shipment_date\": \"2025-11-15\",  // OPTIONAL\n            \"desired_shipment_time\": \"10:00\",       // OPTIONAL\n            \"general_discount\": [             // OPTIONAL\n                {\n                    \"percentage\": 10          // OPTIONAL\n                }\n            ]\n        }\n    ],\n    \"buyer_comment\": \"Please deliver between 9-17\",  // OPTIONAL\n    \"delivery_id\": 1,                         // OPTIONAL\n    \"purchase_order_no\": \"PO-2025-001\",      // OPTIONAL (can be REQUIRED if checkout settings require it)\n    \"invoice_id\": \"INV-2025-001\",            // OPTIONAL\n    \"special_shipping_group_id\": 1,          // OPTIONAL\n    \"special_shipping_group_name\": \"Express Shipping\",  // OPTIONAL\n    \"quotes_shop\": false,                    // OPTIONAL\n    \"payment_quotes\": false,                 // OPTIONAL\n    \"default_delivery_address\": {            // OPTIONAL (entire object)\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"address_first\": \"123 Main Street\",\n        \"zip_code\": \"12345\",\n        \"country\": \"Denmark\"\n    },\n    \"dropshipping_address\": {                // OPTIONAL (but if provided, all fields below are REQUIRED)\n        \"first_name\": \"Jane\",                // REQUIRED if dropshipping_address present\n        \"last_name\": \"Smith\",                // REQUIRED if dropshipping_address present\n        \"address_first\": \"456 Oak Avenue\",   // REQUIRED if dropshipping_address present\n        \"zip_code\": \"54321\",                 // REQUIRED if dropshipping_address present\n        \"country\": \"Denmark\"                 // REQUIRED if dropshipping_address present\n    },\n    \"payment\": {                             // OPTIONAL for payment_type=\"invoice\", REQUIRED otherwise\n        \"currency_id\": 1,                    // REQUIRED if payment_type != \"invoice\"\n        \"amount\": 1000.50,                   // REQUIRED if payment_type != \"invoice\"\n        \"stripe_payment_id\": \"pi_xxxxxxxxxxxxx\",     // REQUIRED if payment_type != \"invoice\"\n        \"payment_system_slug\": \"stripe\",     // REQUIRED if payment_type != \"invoice\"\n        \"stripe_payment_method_id\": \"pm_xxxxxxxxxxxxx\",  // OPTIONAL\n        \"payment_style\": \"redirect\"          // OPTIONAL\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:31:27 GMT"},{"key":"phpdebugbar-id","value":"X97d41624d7249c4c0381773134ae472c"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"order_id\": 6,\n        \"user_id\": 15,\n        \"comment\": null,\n        \"shipping_price\": 0,\n        \"buyer_comment\": null,\n        \"delivery_id\": null,\n        \"vat_rate_preserved\": 0,\n        \"delivery_address\": {\n            \"company_name\": \"Vandervort - Price\",\n            \"address\": \"8120 Rolfson Creek\",\n            \"zip_code\": \"10001\",\n            \"country\": \"Denmark\",\n            \"city\": \"Kopenhagen\",\n            \"phone_number\": \"99-843-512-2788\",\n            \"state\": null,\n            \"company\": {\n                \"id\": 58,\n                \"name\": \"Vandervort - Price\",\n                \"reg_no\": \"627\",\n                \"company_slug\": \"Handmade\",\n                \"country\": \"Denmark\",\n                \"state\": null,\n                \"tz\": \"Asia/Kabul\",\n                \"email\": \"Elnora20@hotmail.com\",\n                \"address\": \"8120 Rolfson Creek\",\n                \"zip_code\": \"10001\",\n                \"city\": \"Kopenhagen\",\n                \"phone_number\": \"99-843-512-2788\",\n                \"vat_type_id\": 1,\n                \"vat_number\": \"12345\",\n                \"website\": \"http://darrell.com\",\n                \"special_price_list_id\": 5,\n                \"discount\": 5,\n                \"payment\": \"0 (Prepayment)\",\n                \"currency_id\": 153,\n                \"allow_users\": 1,\n                \"logo\": \"https://turisdev.fra1.digitaloceanspaces.com/logo/gmail/new-company/CustomGmailTemporaryIcon96de895537c31ea59271fcd7d4eff72f.png\",\n                \"logo_color\": \"175|75|175\",\n                \"created_at\": \"2021-07-05 03:50:54\",\n                \"updated_at\": \"2021-07-05 03:50:55\",\n                \"customer_no\": \"365\",\n                \"is_customer_contractor\": 1,\n                \"order_confirmation_email\": \"Kyla.Wolf@yahoo.com\",\n                \"shipping_delivery_terms_id\": 1,\n                \"forwarder_name\": \"Vivianne\",\n                \"contract_no\": \"12345\",\n                \"options\": \"[]\",\n                \"recargo_de_equivalencia\": null,\n                \"free_shipping_limit\": 100,\n                \"language_id\": 1,\n                \"is_test_account\": 0,\n                \"minimum_order_amount\": 5,\n                \"deliveries\": [],\n                \"currency\": {\n                    \"id\": 153,\n                    \"code\": \"UAH\",\n                    \"is_active\": 1,\n                    \"default\": 1,\n                    \"enabled\": 1,\n                    \"symbol\": \"₴\"\n                }\n            }\n        },\n        \"shipping_delivery_term_name\": \"EXW\",\n        \"shipping_delivery_term_id\": 1,\n        \"delivery_method\": {\n            \"key\": \"home_delivery_standard\",\n            \"engine\": \"example_engine\",\n            \"carrier\": \"example_carrier\",\n            \"carrier_product\": \"home_delivery\",\n            \"carrier_service\": \"standard\",\n            \"title\": \"Standard Home Delivery\",\n            \"logo\": \"https://example.com/carrier-logo.png\",\n            \"price\": 49.25\n        },\n        \"total_amount\": 950,\n        \"discount_type\": \"Percentage (%)\",\n        \"percentage_discount\": 5,\n        \"monetary_discount\": 50,\n        \"purchase_order_no\": \"\"\n    }\n}"}],"_postman_id":"e74f46a4-e177-4199-96b3-54b8c7e55202"},{"name":"Get orders","id":"1f9e1d7a-1aae-49a5-b569-2a3734bd89ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ecde0d8e-dac4-4cdb-b608-6c616e40fdbe","name":"Orders fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 07 Oct 2021 15:29:19 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"type\": \"Standard\",\n            \"status\": \"Pending\",\n            \"unique_id6\": \"000001\",\n            \"items_count\": 3,\n            \"cases_count\": 2,\n            \"created_at\": \"2021-08-03 10:58:08\",\n            \"vat\": 0,\n            \"rec_equiv\": 0,\n            \"show_rec_equiv\": false,\n            \"shipping_total\": 0,\n            \"is_new\": false,\n            \"summary\": {\n                \"items_total_price\": 400,\n                \"discount\": 0,\n                \"discount_price\": 0,\n                \"shipping_price\": 0,\n                \"sub_total_price\": 400,\n                \"vat_rate\": 0,\n                \"vat_price\": 0,\n                \"rec_equiv_rate\": 0,\n                \"show_vat_percantage\": 1,\n                \"rec_equiv_price\": 0,\n                \"sub_total_price_without_vat\": 400,\n                \"grand_total_price\": 400,\n                \"fee_price\": 0\n            },\n            \"currency\": {\n                \"code\": \"UAH\",\n                \"symbol\": \"₴\"\n            },\n            \"comment\": null,\n            \"buyer_comment\": \"Test comment from buyer\",\n            \"is_paid\": false,\n            \"purchase_order_no\": \"\",\n            \"payment_reference\": null,\n            \"external_payment_id\": null,\n            \"payment_method_variant\": null,\n            \"stripe_payment_link\": null,\n            \"shipping_delivery_term_name\": null,\n            \"shipping_delivery_term_id\": null,\n            \"delivery_method\": {\n                \"key\": \"home_delivery_standard\",\n                \"engine\": \"example_engine\",\n                \"carrier\": \"example_carrier\",\n                \"carrier_product\": \"home_delivery\",\n                \"carrier_service\": \"standard\",\n                \"title\": \"Standard Home Delivery\",\n                \"logo\": \"https://example.com/carrier-logo.png\",\n                \"price\": 49.25\n            },\n            \"items\": [\n                {\n                    \"group_name\": null,\n                    \"items\": [\n                        {\n                            \"id\": 1,\n                            \"name\": \"AAA\",\n                            \"price\": 100,\n                            \"quantity\": 2,\n                            \"cases\": 1,\n                            \"case_quantity_preserved\": 2,\n                            \"discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"final_discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"total_price\": 200,\n                            \"final_price\": 200,\n                            \"created_at\": null,\n                            \"product\": {\n                                \"id\": 1,\n                                \"name\": \"AAA\",\n                                \"sku\": \"aaa\",\n                                \"ean\": null,\n                                \"category_id\": 1,\n                                \"sub_category_id\": null,\n                                \"color\": null,\n                                \"material\": null,\n                                \"dimensions\": null,\n                                \"stock\": 98,\n                                \"shopify_location_id\": null,\n                                \"ignore_shopify_stock_sync\": null,\n                                \"update_stock_via_erp\": false,\n                                \"allow_backorders\": false,\n                                \"case_quantity\": 2,\n                                \"unit_cost\": null,\n                                \"sales_price\": 0,\n                                \"description\": null,\n                                \"is_shown\": true,\n                                \"brand_id\": null,\n                                \"is_hidden\": 0,\n                                \"created_at\": \"2021-08-03 10:56:37\",\n                                \"updated_at\": \"2021-08-10 10:56:39\",\n                                \"is_new\": 0,\n                                \"variant_id\": null,\n                                \"variant_entity_id\": null,\n                                \"inherit_prices_variant_id\": null,\n                                \"size\": null,\n                                \"size_id\": null,\n                                \"options\": \"[]\",\n                                \"is_free\": false,\n                                \"default_currency\": {\n                                    \"id\": 6,\n                                    \"code\": \"DKK\",\n                                    \"symbol\": \"kr\"\n                                },\n                                \"special_tax_lists\": []\n                            },\n                            \"is_shipped\": 0,\n                            \"amountOrders\": null,\n                            \"unitsOrdered\": null,\n                            \"specialTaxListRate\": 0,\n                            \"specialTaxSpainListRate\": 0\n                        },\n                        {\n                            \"id\": 2,\n                            \"name\": \"BBB\",\n                            \"price\": 200,\n                            \"quantity\": 1,\n                            \"cases\": 1,\n                            \"case_quantity_preserved\": 1,\n                            \"discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"final_discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"total_price\": 200,\n                            \"final_price\": 200,\n                            \"created_at\": null,\n                            \"product\": {\n                                \"id\": 2,\n                                \"name\": \"BBB\",\n                                \"sku\": \"bbb\",\n                                \"ean\": null,\n                                \"category_id\": 2,\n                                \"sub_category_id\": null,\n                                \"color\": null,\n                                \"material\": null,\n                                \"dimensions\": null,\n                                \"stock\": 99,\n                                \"shopify_location_id\": null,\n                                \"ignore_shopify_stock_sync\": null,\n                                \"update_stock_via_erp\": false,\n                                \"allow_backorders\": false,\n                                \"case_quantity\": 1,\n                                \"unit_cost\": null,\n                                \"sales_price\": 0,\n                                \"description\": null,\n                                \"is_shown\": true,\n                                \"brand_id\": null,\n                                \"is_hidden\": 0,\n                                \"created_at\": \"2021-08-03 10:57:08\",\n                                \"updated_at\": \"2021-08-10 10:57:09\",\n                                \"is_new\": 0,\n                                \"variant_id\": null,\n                                \"variant_entity_id\": null,\n                                \"inherit_prices_variant_id\": null,\n                                \"size\": null,\n                                \"size_id\": null,\n                                \"options\": \"[]\",\n                                \"is_free\": false,\n                                \"default_currency\": {\n                                    \"id\": 6,\n                                    \"code\": \"DKK\",\n                                    \"symbol\": \"kr\"\n                                },\n                                \"special_tax_lists\": []\n                            },\n                            \"is_shipped\": 0,\n                            \"amountOrders\": null,\n                            \"unitsOrdered\": null,\n                            \"specialTaxListRate\": 0,\n                            \"specialTaxSpainListRate\": 0\n                        }\n                    ]\n                }\n            ],\n            \"creator_data\": {\n                \"email\": \"api@turis.app\",\n                \"first_name\": null,\n                \"last_name\": null,\n                \"type\": \"admin\"\n            },\n            \"delivery\": {\n                \"company_name\": \"Test Company\",\n                \"address\": \"Test, 123\",\n                \"zip_code\": \"79000\",\n                \"country\": \"Ukraine\",\n                \"city\": \"Lviv\",\n                \"phone_number\": null,\n                \"state\": null,\n                \"company\": {\n                    \"id\": 2,\n                    \"name\": \"Test Company\",\n                    \"reg_no\": null,\n                    \"company_slug\": \"test-company\",\n                    \"country\": \"Ukraine\",\n                    \"state\": null,\n                    \"tz\": null,\n                    \"email\": \"vova@turis.app\",\n                    \"address\": \"Test, 123\",\n                    \"zip_code\": \"79000\",\n                    \"city\": \"Lviv\",\n                    \"phone_number\": null,\n                    \"vat_type_id\": 3,\n                    \"vat_number\": \"12345\",\n                    \"website\": null,\n                    \"special_price_list_id\": null,\n                    \"discount\": null,\n                    \"payment\": null,\n                    \"currency_id\": 153,\n                    \"allow_users\": 0,\n                    \"logo\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/logo/gmail/api-testing/CustomGmailTemporaryIcon23ba22f3479719c34fe44b5a59051a96.png\",\n                    \"logo_color\": \"175|75|75\",\n                    \"created_at\": \"2021-08-03 10:52:30\",\n                    \"updated_at\": \"2021-08-03 10:54:14\",\n                    \"customer_no\": null,\n                    \"is_customer_contractor\": 0,\n                    \"order_confirmation_email\": null,\n                    \"shipping_delivery_terms_id\": null,\n                    \"forwarder_name\": null,\n                    \"contract_no\": null,\n                    \"options\": \"[]\",\n                    \"recargo_de_equivalencia\": \"No\",\n                    \"free_shipping_limit\": null,\n                    \"language_id\": null,\n                    \"is_test_account\": 0,\n                    \"minimum_order_amount\": null,\n                    \"deliveries\": [],\n                    \"currency\": {\n                        \"id\": 153,\n                        \"code\": \"UAH\",\n                        \"is_active\": 1,\n                        \"default\": 0,\n                        \"enabled\": 1,\n                        \"symbol\": \"₴\"\n                    },\n                    \"country_iso_code\": \"UA\",\n                    \"country_iso_code_alpha3\": \"UKR\"\n                },\n                \"country_iso_code\": \"UA\",\n                \"country_iso_code_alpha3\": \"UKR\"\n            },\n            \"user\": {\n                \"name\": \"Test Buyer \",\n                \"email\": \"vova@turis.app\",\n                \"is_admin\": 0,\n                \"address\": null,\n                \"zip_code\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"phone_number\": null,\n                \"logo\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/logo/gmail/api-testing/CustomGmailTemporaryIcon589c54c2bda939f8edcdf4cc503cfa4c.png\",\n                \"logo_color\": \"175|175|175\",\n                \"first_name\": \"Test Buyer\",\n                \"last_name\": null,\n                \"discount\": null,\n                \"company\": {\n                    \"id\": 2,\n                    \"name\": \"Test Company\",\n                    \"reg_no\": null,\n                    \"company_slug\": \"test-company\",\n                    \"country\": \"Ukraine\",\n                    \"state\": null,\n                    \"tz\": null,\n                    \"email\": \"vova@turis.app\",\n                    \"address\": \"Test, 123\",\n                    \"zip_code\": \"79000\",\n                    \"city\": \"Lviv\",\n                    \"phone_number\": null,\n                    \"vat_type_id\": 3,\n                    \"vat_number\": \"12345\",\n                    \"website\": null,\n                    \"special_price_list_id\": null,\n                    \"discount\": null,\n                    \"payment\": null,\n                    \"currency_id\": 153,\n                    \"allow_users\": 0,\n                    \"logo\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/logo/gmail/api-testing/CustomGmailTemporaryIcon4e5e830596559de388d52da64ab68b3a.png\",\n                    \"logo_color\": \"175|75|75\",\n                    \"created_at\": \"2021-08-03 10:52:30\",\n                    \"updated_at\": \"2021-08-03 11:27:44\",\n                    \"customer_no\": \"00001\",\n                    \"is_customer_contractor\": 0,\n                    \"order_confirmation_email\": null,\n                    \"shipping_delivery_terms_id\": null,\n                    \"forwarder_name\": null,\n                    \"contract_no\": null,\n                    \"options\": \"[]\",\n                    \"recargo_de_equivalencia\": \"No\",\n                    \"free_shipping_limit\": null,\n                    \"language_id\": null,\n                    \"is_test_account\": 0,\n                    \"minimum_order_amount\": null,\n                    \"vat_exempted\": false,\n                    \"country_iso_code\": \"UA\",\n                    \"country_iso_code_alpha3\": \"UKR\",\n                    \"deliveries\": [\n                        {\n                            \"id\": 1,\n                            \"company_id\": 2,\n                            \"company_name\": \"Company One\",\n                            \"first_name\": \"John\",\n                            \"last_name\": \"Doe\",\n                            \"address\": \"Test, 123\",\n                            \"zip_code\": \"09090\",\n                            \"city\": \"Test City\",\n                            \"country\": \"Denmark\",\n                            \"state\": null,\n                            \"phone_number\": null,\n                            \"is_address_primary\": true,\n                            \"created_at\": \"2021-10-06 15:38:58\",\n                            \"updated_at\": \"2021-10-06 15:38:58\",\n                            \"location_name\": \"Test Location\",\n                            \"email\": null,\n                            \"country_iso_code\": \"DK\",\n                            \"country_iso_code_alpha3\": \"DNK\"\n                        }\n                    ],\n                    \"delivery_term\": null\n                }\n            },\n            \"admin\": {\n                \"name\": \"Yoko Ono \",\n                \"email\": \"api@turis.app\",\n                \"is_admin\": 1,\n                \"address\": null,\n                \"zip_code\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"phone_number\": null,\n                \"logo\": null,\n                \"logo_color\": null,\n                \"first_name\": null,\n                \"last_name\": null,\n                \"discount\": 0,\n                \"company\": null\n            },\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"tag one\",\n                    \"slug\": \"tag-one\"\n                },\n                {\n                    \"id\": 2,\n                    \"name\": \"tag two\",\n                    \"slug\": \"tag-two\"\n                }\n            ],\n            \"disableButton\": true,\n            \"admin_id\": 1,\n            \"payment_system_slug\": null\n        }\n    ]\n}"}],"_postman_id":"1f9e1d7a-1aae-49a5-b569-2a3734bd89ce"},{"name":"Get order","id":"bf6ecadf-8a23-4de8-990f-349773639830","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders",":orderId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"9bec6c01-6c58-471d-bad6-aa57bfac5ab8","type":"any","value":"","key":"orderId"}]}},"response":[{"id":"8607efdc-3383-43a6-9209-3670b4fceec3","name":"Order fetched","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId"],"variable":[{"key":"orderId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 07 Oct 2021 16:51:04 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"type\": \"Standard\",\n            \"status\": \"Pending\",\n            \"unique_id6\": \"000001\",\n            \"items_count\": 3,\n            \"cases_count\": 2,\n            \"created_at\": \"2021-08-03 10:58:08\",\n            \"vat\": 0,\n            \"rec_equiv\": 0,\n            \"show_rec_equiv\": false,\n            \"shipping_total\": 0,\n            \"is_new\": false,\n            \"summary\": {\n                \"items_total_price\": 400,\n                \"discount\": 0,\n                \"discount_price\": 0,\n                \"shipping_price\": 0,\n                \"sub_total_price\": 400,\n                \"vat_rate\": 0,\n                \"vat_price\": 0,\n                \"rec_equiv_rate\": 0,\n                \"show_vat_percantage\": 1,\n                \"rec_equiv_price\": 0,\n                \"sub_total_price_without_vat\": 400,\n                \"grand_total_price\": 400,\n                \"fee_price\": 0\n            },\n            \"currency\": {\n                \"code\": \"UAH\",\n                \"symbol\": \"₴\"\n            },\n            \"comment\": null,\n            \"buyer_comment\": \"Test comment from buyer\",\n            \"is_paid\": false,\n            \"purchase_order_no\": \"\",\n            \"payment_reference\": null,\n            \"external_payment_id\": null,\n            \"payment_method_variant\": null,\n            \"stripe_payment_link\": null,\n            \"shipping_delivery_term_name\": null,\n            \"shipping_delivery_term_id\": null,\n            \"delivery_method\": {\n                \"key\": \"home_delivery_standard\",\n                \"engine\": \"example_engine\",\n                \"carrier\": \"example_carrier\",\n                \"carrier_product\": \"home_delivery\",\n                \"carrier_service\": \"standard\",\n                \"title\": \"Standard Home Delivery\",\n                \"logo\": \"https://example.com/carrier-logo.png\",\n                \"price\": 49.25\n            },\n            \"items\": [\n                {\n                    \"group_name\": null,\n                    \"items\": [\n                        {\n                            \"id\": 1,\n                            \"name\": \"AAA\",\n                            \"price\": 100,\n                            \"quantity\": 2,\n                            \"cases\": 1,\n                            \"case_quantity_preserved\": 2,\n                            \"discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"final_discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"total_price\": 200,\n                            \"final_price\": 200,\n                            \"created_at\": null,\n                            \"product\": {\n                                \"id\": 1,\n                                \"name\": \"AAA\",\n                                \"sku\": \"aaa\",\n                                \"ean\": null,\n                                \"category_id\": 1,\n                                \"sub_category_id\": null,\n                                \"color\": null,\n                                \"material\": null,\n                                \"dimensions\": null,\n                                \"stock\": 98,\n                                \"shopify_location_id\": null,\n                                \"ignore_shopify_stock_sync\": null,\n                                \"update_stock_via_erp\": false,\n                                \"allow_backorders\": false,\n                                \"case_quantity\": 2,\n                                \"unit_cost\": null,\n                                \"sales_price\": 0,\n                                \"description\": null,\n                                \"is_shown\": true,\n                                \"brand_id\": null,\n                                \"is_hidden\": 0,\n                                \"created_at\": \"2021-08-03 10:56:37\",\n                                \"updated_at\": \"2021-08-10 10:56:39\",\n                                \"is_new\": 0,\n                                \"variant_id\": null,\n                                \"variant_entity_id\": null,\n                                \"inherit_prices_variant_id\": null,\n                                \"size\": null,\n                                \"size_id\": null,\n                                \"options\": \"[]\",\n                                \"is_free\": false,\n                                \"default_currency\": {\n                                    \"id\": 6,\n                                    \"code\": \"DKK\",\n                                    \"symbol\": \"kr\"\n                                },\n                                \"special_tax_lists\": []\n                            },\n                            \"is_shipped\": 0,\n                            \"amountOrders\": null,\n                            \"unitsOrdered\": null,\n                            \"specialTaxListRate\": 0,\n                            \"specialTaxSpainListRate\": 0\n                        },\n                        {\n                            \"id\": 2,\n                            \"name\": \"BBB\",\n                            \"price\": 200,\n                            \"quantity\": 1,\n                            \"cases\": 1,\n                            \"case_quantity_preserved\": 1,\n                            \"discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"final_discount\": {\n                                \"discount\": 0,\n                                \"amount\": 0,\n                                \"type\": \"Percentage (%)\"\n                            },\n                            \"total_price\": 200,\n                            \"final_price\": 200,\n                            \"created_at\": null,\n                            \"product\": {\n                                \"id\": 2,\n                                \"name\": \"BBB\",\n                                \"sku\": \"bbb\",\n                                \"ean\": null,\n                                \"category_id\": 2,\n                                \"sub_category_id\": null,\n                                \"color\": null,\n                                \"material\": null,\n                                \"dimensions\": null,\n                                \"stock\": 99,\n                                \"shopify_location_id\": null,\n                                \"ignore_shopify_stock_sync\": null,\n                                \"update_stock_via_erp\": false,\n                                \"allow_backorders\": false,\n                                \"case_quantity\": 1,\n                                \"unit_cost\": null,\n                                \"sales_price\": 0,\n                                \"description\": null,\n                                \"is_shown\": true,\n                                \"brand_id\": null,\n                                \"is_hidden\": 0,\n                                \"created_at\": \"2021-08-03 10:57:08\",\n                                \"updated_at\": \"2021-08-10 10:57:09\",\n                                \"is_new\": 0,\n                                \"variant_id\": null,\n                                \"variant_entity_id\": null,\n                                \"inherit_prices_variant_id\": null,\n                                \"size\": null,\n                                \"size_id\": null,\n                                \"options\": \"[]\",\n                                \"is_free\": false,\n                                \"default_currency\": {\n                                    \"id\": 6,\n                                    \"code\": \"DKK\",\n                                    \"symbol\": \"kr\"\n                                },\n                                \"special_tax_lists\": []\n                            },\n                            \"is_shipped\": 0,\n                            \"amountOrders\": null,\n                            \"unitsOrdered\": null,\n                            \"specialTaxListRate\": 0,\n                            \"specialTaxSpainListRate\": 0\n                        }\n                    ]\n                }\n            ],\n            \"creator_data\": {\n                \"email\": \"api@turis.app\",\n                \"first_name\": null,\n                \"last_name\": null,\n                \"type\": \"admin\"\n            },\n            \"delivery\": {\n                \"company_name\": \"Test Company\",\n                \"address\": \"Test, 123\",\n                \"zip_code\": \"79000\",\n                \"country\": \"Ukraine\",\n                \"city\": \"Lviv\",\n                \"phone_number\": null,\n                \"state\": null,\n                \"company\": {\n                    \"id\": 2,\n                    \"name\": \"Test Company\",\n                    \"reg_no\": null,\n                    \"company_slug\": \"test-company\",\n                    \"country\": \"Ukraine\",\n                    \"state\": null,\n                    \"tz\": null,\n                    \"email\": \"vova@turis.app\",\n                    \"address\": \"Test, 123\",\n                    \"zip_code\": \"79000\",\n                    \"city\": \"Lviv\",\n                    \"phone_number\": null,\n                    \"vat_type_id\": 3,\n                    \"vat_number\": \"12345\",\n                    \"website\": null,\n                    \"special_price_list_id\": null,\n                    \"discount\": null,\n                    \"payment\": null,\n                    \"currency_id\": 153,\n                    \"allow_users\": 0,\n                    \"logo\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/logo/gmail/api-testing/CustomGmailTemporaryIcon23ba22f3479719c34fe44b5a59051a96.png\",\n                    \"logo_color\": \"175|75|75\",\n                    \"created_at\": \"2021-08-03 10:52:30\",\n                    \"updated_at\": \"2021-08-03 10:54:14\",\n                    \"customer_no\": null,\n                    \"is_customer_contractor\": 0,\n                    \"order_confirmation_email\": null,\n                    \"shipping_delivery_terms_id\": null,\n                    \"forwarder_name\": null,\n                    \"contract_no\": null,\n                    \"options\": \"[]\",\n                    \"recargo_de_equivalencia\": \"No\",\n                    \"free_shipping_limit\": null,\n                    \"language_id\": null,\n                    \"is_test_account\": 0,\n                    \"minimum_order_amount\": null,\n                    \"deliveries\": [],\n                    \"currency\": {\n                        \"id\": 153,\n                        \"code\": \"UAH\",\n                        \"is_active\": 1,\n                        \"default\": 0,\n                        \"enabled\": 1,\n                        \"symbol\": \"₴\"\n                    },\n                    \"country_iso_code\": \"UA\",\n                    \"country_iso_code_alpha3\": \"UKR\"\n                },\n                \"country_iso_code\": \"UA\",\n                \"country_iso_code_alpha3\": \"UKR\"\n            },\n            \"user\": {\n                \"name\": \"Test Buyer \",\n                \"email\": \"vova@turis.app\",\n                \"is_admin\": 0,\n                \"address\": null,\n                \"zip_code\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"phone_number\": null,\n                \"logo\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/logo/gmail/api-testing/CustomGmailTemporaryIcon589c54c2bda939f8edcdf4cc503cfa4c.png\",\n                \"logo_color\": \"175|175|175\",\n                \"first_name\": \"Test Buyer\",\n                \"last_name\": null,\n                \"discount\": null,\n                \"company\": {\n                    \"id\": 2,\n                    \"name\": \"Test Company\",\n                    \"reg_no\": null,\n                    \"company_slug\": \"test-company\",\n                    \"country\": \"Ukraine\",\n                    \"state\": null,\n                    \"tz\": null,\n                    \"email\": \"vova@turis.app\",\n                    \"address\": \"Test, 123\",\n                    \"zip_code\": \"79000\",\n                    \"city\": \"Lviv\",\n                    \"phone_number\": null,\n                    \"vat_type_id\": 3,\n                    \"vat_number\": \"12345\",\n                    \"website\": null,\n                    \"special_price_list_id\": null,\n                    \"discount\": null,\n                    \"payment\": null,\n                    \"currency_id\": 153,\n                    \"allow_users\": 0,\n                    \"logo\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/logo/gmail/api-testing/CustomGmailTemporaryIcon4e5e830596559de388d52da64ab68b3a.png\",\n                    \"logo_color\": \"175|75|75\",\n                    \"created_at\": \"2021-08-03 10:52:30\",\n                    \"updated_at\": \"2021-08-03 11:27:44\",\n                    \"customer_no\": \"00001\",\n                    \"is_customer_contractor\": 0,\n                    \"order_confirmation_email\": null,\n                    \"shipping_delivery_terms_id\": null,\n                    \"forwarder_name\": null,\n                    \"contract_no\": null,\n                    \"options\": \"[]\",\n                    \"recargo_de_equivalencia\": \"No\",\n                    \"free_shipping_limit\": null,\n                    \"language_id\": null,\n                    \"is_test_account\": 0,\n                    \"minimum_order_amount\": null,\n                    \"vat_exempted\": false,\n                    \"country_iso_code\": \"UA\",\n                    \"country_iso_code_alpha3\": \"UKR\",\n                    \"deliveries\": [\n                        {\n                            \"id\": 1,\n                            \"company_id\": 2,\n                            \"company_name\": \"Company One\",\n                            \"first_name\": \"John\",\n                            \"last_name\": \"Doe\",\n                            \"address\": \"Test, 123\",\n                            \"zip_code\": \"09090\",\n                            \"city\": \"Test City\",\n                            \"country\": \"Denmark\",\n                            \"state\": null,\n                            \"phone_number\": null,\n                            \"is_address_primary\": true,\n                            \"created_at\": \"2021-10-06 15:38:58\",\n                            \"updated_at\": \"2021-10-06 15:38:58\",\n                            \"location_name\": \"Test Location\",\n                            \"email\": null,\n                            \"country_iso_code\": \"DK\",\n                            \"country_iso_code_alpha3\": \"DNK\"\n                        }\n                    ],\n                    \"delivery_term\": null\n                }\n            },\n            \"admin\": {\n                \"name\": \"Yoko Ono \",\n                \"email\": \"api@turis.app\",\n                \"is_admin\": 1,\n                \"address\": null,\n                \"zip_code\": null,\n                \"city\": null,\n                \"country\": null,\n                \"state\": null,\n                \"phone_number\": null,\n                \"logo\": null,\n                \"logo_color\": null,\n                \"first_name\": null,\n                \"last_name\": null,\n                \"discount\": 0,\n                \"company\": null\n            },\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"tag one\",\n                    \"slug\": \"tag-one\"\n                },\n                {\n                    \"id\": 2,\n                    \"name\": \"tag two\",\n                    \"slug\": \"tag-two\"\n                }\n            ],\n            \"disableButton\": true,\n            \"admin_id\": 1,\n            \"payment_system_slug\": null\n        }\n    ]\n}"}],"_postman_id":"bf6ecadf-8a23-4de8-990f-349773639830"},{"name":"Update order","id":"1e3ce460-8728-41da-ac31-0f53170bc886","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"comment\": \"Test\",\n    \"status_id\": 2,\n    \"external_reference\": \"My external ref.\",\n    \"shipping_price\" : 22\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders",":orderId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"c20b21e1-7cda-4933-827a-5eae97c14554","type":"any","value":"","key":"orderId"}]}},"response":[{"id":"bf32c80b-87b6-4ea2-9a33-06ef40c26b8b","name":"Updated","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"Health Concrete Branding\",\n    \"status_id\": \"2\",\n    \"shipping_price\" : 22\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/api/public/v1/orders/:orderId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["api","public","v1","orders",":orderId"],"variable":[{"key":"orderId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:39:35 GMT"},{"key":"phpdebugbar-id","value":"X2886c33ea8510a51baafde20a57e5636"}],"cookie":[],"responseTime":null,"body":""},{"id":"b0bd4bd7-01f8-49b3-8486-3879b9073d8d","name":"Order is invalid","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"SQL Keyboard Unbranded\",\n    \"status_id\": \"2\",\n    \"shipping_price\" : 22\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/api/public/v1/orders/:orderId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["api","public","v1","orders",":orderId"],"variable":[{"key":"orderId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:40:59 GMT"},{"key":"phpdebugbar-id","value":"X39cea6814956e5cfc8b5b0282f731ff8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"order\": [\n            \"The selected order is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"1e3ce460-8728-41da-ac31-0f53170bc886"},{"name":"Delete order","id":"84c1db03-9f23-4d65-aa5f-c6e9976e8584","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders",":orderId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"d2e47034-62e5-4528-8e7a-7cdfc26b6f43","type":"any","value":"","key":"orderId"}]}},"response":[{"id":"2201e8d2-a3f0-4b7c-a7f5-7b736568032e","name":"Deleted","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId"],"variable":[{"key":"orderId","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:40:08 GMT"},{"key":"phpdebugbar-id","value":"X2b295307deb174f4865449f8b6051843"}],"cookie":[],"responseTime":null,"body":""},{"id":"f9f007a2-d19c-4136-ba2c-ab8bec25606a","name":"Order is invalid","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId"],"variable":[{"key":"orderId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 05:41:16 GMT"},{"key":"phpdebugbar-id","value":"Xc1d43798ed4bfeb9388d395046dcd6a3"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"order\": [\n            \"The selected order is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"84c1db03-9f23-4d65-aa5f-c6e9976e8584"},{"name":"Attach tags","id":"025cd7ff-5ee5-4a89-93e0-0863c8049f72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [2,3]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/tags","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders",":orderId","tags"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"7515cacb-803c-4157-b1a6-c815fce8ebd2","type":"any","value":"","key":"orderId"}]}},"response":[{"id":"146d7d49-6f7c-4b2f-acae-b954be69fccb","name":"Attached or detached tags","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [4,5]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/tags","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId","tags"],"variable":[{"key":"orderId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 20:42:57 GMT"},{"key":"phpdebugbar-id","value":"X5d4371512eae5c9756a7ce279b185b5f"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"tagIds\": {\n            \"attached\": [\n                5\n            ],\n            \"detached\": [\n                3\n            ],\n            \"updated\": []\n        }\n    }\n}"},{"id":"5499b9cd-003f-4c29-8a04-c5d968002e0c","name":"Incorrect tag ids provided","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [7]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/tags","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId","tags"],"variable":[{"key":"orderId","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 20:44:25 GMT"},{"key":"phpdebugbar-id","value":"X21f8e70b41c0c2f5c35ca9e013fc2dee"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"tagIds\": [\n            \"The selected tag ids is invalid.\"\n        ]\n    }\n}"},{"id":"27ddb70b-ec62-47c2-bbba-581b84ac54d0","name":"Incorrect order id provided","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"tagIds\": [4]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/tags","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId","tags"],"variable":[{"key":"orderId","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 20:45:43 GMT"},{"key":"phpdebugbar-id","value":"X6bad806f0ffbc6009fabe523fdac5646"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"No query results for model [App\\\\Core\\\\Models\\\\Order] 67987\"\n    }\n}"}],"_postman_id":"025cd7ff-5ee5-4a89-93e0-0863c8049f72"},{"name":"Get orders by status","id":"705e6a9d-6443-40be-a582-2794b701a1b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/status/:statusId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders","status",":statusId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"e34816bf-5daa-4312-a7d6-b1f904fc215a","type":"any","value":"","key":"statusId"}]}},"response":[],"_postman_id":"705e6a9d-6443-40be-a582-2794b701a1b2"},{"name":"Get orders by date of creation","id":"1a128a9b-abf4-438b-b9e3-ab1ddd63cc18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/created/1627457668/1627630468","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders","created","1627457668","1627630468"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a128a9b-abf4-438b-b9e3-ab1ddd63cc18"},{"name":"Get orders by date of update","id":"65789349-aa76-4341-bb67-8efdfe22ee14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/updated/:from/:to","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders","updated",":from",":to"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"030cec50-7aa6-4311-a784-b81dea7adfa8","type":"any","value":"1627457668","key":"from"},{"id":"ce793097-c171-46cc-ac59-a436ca031802","type":"any","value":"1627630468","key":"to"}]}},"response":[],"_postman_id":"65789349-aa76-4341-bb67-8efdfe22ee14"},{"name":"Update order Items","id":"ae38c054-406a-48fa-b798-b46f7b5daece","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\"isSplittedItems\" : true, //optional\n\"items\": [\n    { \n        \"product_id\": 859,\n        \"shipment_date\" : \"2020-06-10\",\n        \"is_shipped\" : false,\n        \"quantity\" : 2,\n        \"do_not_ship_after\" : \"2021-03-21\",\n        \"desired_shipment_date\" : \"2002-03-21\"\n        }\n    ] \n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/items","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders",":orderId","items"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"3246fff3-f661-4a1e-8c2c-70bd9c07ca74","type":"any","value":null,"key":"orderId"}]}},"response":[{"id":"1778f01f-8992-481d-9c74-6038751fcfe4","name":"Created","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\"isSplittedItems\" : true, //optional    \n\"items\": [\n    { \n        \"product_id\": 859,\n        \"shipment_date\" : \"2020-06-10\",\n        \"is_shipped\" : false,\n        \"quantity\" : 3,\n        \"do_not_ship_after\" : \"2021-03-21\",\n        \"desired_shipment_date\" : \"2002-03-21\"\n        }\n    ] \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/items","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId","items"],"variable":[{"key":"orderId","value":null}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)","description":"","type":"text"},{"key":"Content-Type","value":"text/html; charset=UTF-8","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Cache-Control","value":"no-cache, private","description":"","type":"text"},{"key":"Date","value":"Mon, 05 Jul 2021 05:39:35 GMT","description":"","type":"text"},{"key":"phpdebugbar-id","value":"X2886c33ea8510a51baafde20a57e5636","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ae38c054-406a-48fa-b798-b46f7b5daece"},{"name":"Split order items","id":"4bb1df64-4b3a-4b2f-bfb2-ad6ec456acca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\"items\": [\n    { \n        \"product_id\": 859,\n        \"shipment_date\" : \"2020-06-10\",\n        \"order_rel_num\" : 1, //optional(update shipment_date, in case, this field exists)\n        \"is_shipped\" : false,\n        \"quantity\" : 2\n        }\n    ] \n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/split-items","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders",":orderId","split-items"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"680e8acc-41e1-4bdf-b8d5-80bdc2af93cf","type":"any","value":null,"key":"orderId"}]}},"response":[{"id":"9977d108-a19b-46d7-b7ae-9b7d531e8649","name":"Updated","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\"items\": [\n    { \n        \"product_id\": 859,\n        \"shipment_date\" : \"2020-06-10\",\n        \"order_rel_num\" : 1, //optional(update shipment_date, in case, this field exists)\n        \"is_shipped\" : false,\n        \"quantity\" : 2\n        }\n    ] \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/split-items","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","orders",":orderId","split-items"],"variable":[{"key":"orderId","value":null}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)","description":"","type":"text"},{"key":"Content-Type","value":"text/html; charset=UTF-8","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Cache-Control","value":"no-cache, private","description":"","type":"text"},{"key":"Date","value":"Mon, 05 Jul 2021 05:39:35 GMT","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4bb1df64-4b3a-4b2f-bfb2-ad6ec456acca"},{"name":"Update order: add products","id":"81c1313b-8057-43eb-b8dc-096de4c5f6d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"products\" : [\n        {\n            \"cases\" : 1,\n            \"id\" : 8408\n        },\n        {\n            \"cases\" : 1,\n            \"id\" : 8407\n        }\n]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/orders/:orderId/products/add","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","orders",":orderId","products","add"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"c79ddc56-5a50-4f0a-b849-abdde3322d87","type":"any","value":null,"key":"orderId"}]}},"response":[],"_postman_id":"81c1313b-8057-43eb-b8dc-096de4c5f6d1"}],"id":"90873f1d-a933-435f-80f1-5c2b44c42e14","_postman_id":"90873f1d-a933-435f-80f1-5c2b44c42e14","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Tag","item":[{"name":"Get tags","id":"02e050d8-1611-44d0-a647-48b2c0a51576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","tags"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"27fb8770-31a2-4edc-908d-fd139c8fe7cd","name":"Tags fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:46:37 GMT"},{"key":"phpdebugbar-id","value":"Xdbe478095753d38da91cb3d1d29688bc"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 6,\n            \"name\": \"tag one\",\n            \"slug\": \"tag-one\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"tag two\",\n            \"slug\": \"tag-two\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"this was updated\",\n            \"slug\": \"this-was-updated\"\n        },\n        {\n            \"id\": 11,\n            \"name\": \"this tag was updated\",\n            \"slug\": \"this-tag-was-updated\"\n        }\n    ]\n}"}],"_postman_id":"02e050d8-1611-44d0-a647-48b2c0a51576"},{"name":"Get specific tag","id":"48bc491e-bbfe-441f-bf38-8b6ea20f8f45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","tags",":tag"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"80b9115d-8206-42d6-be4b-598b84e8976e","type":"any","value":"","key":"tag"}]}},"response":[{"id":"131089c0-0df0-40ae-b236-4f38beaae9f6","name":"Tag not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","tags",":tag"],"variable":[{"key":"tag","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:47:13 GMT"},{"key":"phpdebugbar-id","value":"X2ccb57626ec4a5c8738096a1d37a8b57"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"No query results for model [App\\\\Tags\\\\Models\\\\Tag] 3\"\n    }\n}"},{"id":"d950a3d8-0844-46f1-86a5-51344bfa1d95","name":"Tag fetched","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","tags",":tag"],"variable":[{"key":"tag","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:47:57 GMT"},{"key":"phpdebugbar-id","value":"X17b706b74cd146ba06256b0ac357e64d"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"name\": \"tag one\",\n        \"slug\": \"tag-one\"\n    }\n}"}],"_postman_id":"48bc491e-bbfe-441f-bf38-8b6ea20f8f45"},{"name":"Create tags","id":"eaab1235-01cc-497d-bf5e-c65750ac5d76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"tag one\",\n        \"tag two\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","tags"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ce6df013-3744-4556-bc06-26d7a4b428fb","name":"Tags created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tags\": [\n        \"tag one\",\n        \"tag two\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:27:16 GMT"},{"key":"phpdebugbar-id","value":"X6ae94c4559f3c77323fbdf4633a37723"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 6,\n            \"name\": \"tag one\",\n            \"slug\": \"tag-one\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"tag two\",\n            \"slug\": \"tag-two\"\n        }\n    ]\n}"}],"_postman_id":"eaab1235-01cc-497d-bf5e-c65750ac5d76"},{"name":"Update tag","id":"77fd0f9e-017c-4035-a550-9d9f132066e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"this tag was updated\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","tags",":tag"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"b88dfb88-664d-420c-a796-abc7dda00c4a","type":"any","value":"","key":"tag"}]}},"response":[{"id":"0ed52d58-69cd-4703-bdd3-173a05cfa751","name":"Tag updated","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"this was updated\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","tags",":tag"],"variable":[{"key":"tag","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:29:39 GMT"},{"key":"phpdebugbar-id","value":"X3b4105d51cc8098514a0c92df4879651"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"this was updated\",\n        \"slug\": \"this-was-updated\"\n    }\n}"},{"id":"7e18b175-82f1-46e6-bc5a-1d9c0372dd5c","name":"Not unique tag name provided","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"this tag was updated\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","tags",":tag"],"variable":[{"key":"tag","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:52:52 GMT"},{"key":"phpdebugbar-id","value":"X581b7bcbffed1705b0aafe62bfcadea7"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"name\": [\n            \"The name has already been taken.\"\n        ]\n    }\n}"}],"_postman_id":"77fd0f9e-017c-4035-a550-9d9f132066e4"},{"name":"Delete tag","id":"23e02af9-b8b1-4caa-8b18-2aa6308dff99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","tags",":tag"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"fbe0d595-d56f-470a-aebf-5486513192d5","type":"any","value":"","key":"tag"}]}},"response":[{"id":"da08dea4-1a55-4aae-be0c-804c2b741c1e","name":"Tag deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","tags",":tag"],"variable":[{"key":"tag","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:30:58 GMT"},{"key":"phpdebugbar-id","value":"Xa6e97a638068985f67abb09f551eba35"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"deleted\": true\n    }\n}"},{"id":"010ab720-7c5e-4242-a33a-4bd36e5badd0","name":"Tag not deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/tags/:tag","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","tags",":tag"],"variable":[{"key":"tag","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 22 Jul 2021 21:31:24 GMT"},{"key":"phpdebugbar-id","value":"Xf68078a5ea4aa3431d64b3a86e9554e8"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"deleted\": false\n    }\n}"}],"_postman_id":"23e02af9-b8b1-4caa-8b18-2aa6308dff99"}],"id":"2626029d-7e73-444e-bab8-82bfa68cc8bf","_postman_id":"2626029d-7e73-444e-bab8-82bfa68cc8bf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Order statuses","item":[{"name":"Get order statuses","id":"cd6ef70c-a828-46c4-824d-29429fdfa72c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/order-statuses","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","order-statuses"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"482e2c2a-c6ea-4759-974b-ee04c48288c8","name":"Get order statuses","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/order-statuses"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"value\": \"Pending\",\n            \"is_visible\": 1,\n            \"is_default\": 1\n        },\n        {\n            \"id\": 2,\n            \"value\": \"Awaiting Payment\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 4,\n            \"value\": \"Awaiting Shipment\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 6,\n            \"value\": \"Partially Shipped\",\n            \"is_visible\": 1,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 7,\n            \"value\": \"Completed\",\n            \"is_visible\": 1,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 8,\n            \"value\": \"Shipped\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 9,\n            \"value\": \"Cancelled\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 10,\n            \"value\": \"Declined\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 11,\n            \"value\": \"Refunded\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 12,\n            \"value\": \"Disputed\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 13,\n            \"value\": \"Verification Required\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 14,\n            \"value\": \"Partially Refunded\",\n            \"is_visible\": 0,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 15,\n            \"value\": \"Incoming\",\n            \"is_visible\": 1,\n            \"is_default\": 0\n        },\n        {\n            \"id\": 16,\n            \"value\": \"In Process\",\n            \"is_visible\": 1,\n            \"is_default\": 0\n        }\n    ]\n}"}],"_postman_id":"cd6ef70c-a828-46c4-824d-29429fdfa72c"}],"id":"f12642be-2758-45ff-ab76-ef4272fa7d8d","_postman_id":"f12642be-2758-45ff-ab76-ef4272fa7d8d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Delivery","item":[{"name":"Get deliveries","id":"d64db45b-3b52-4bf0-a710-1c7795fde6cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 2\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","deliveries"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cd9616ee-457f-4ee6-a426-e67050ecdb42","name":"Deliveries fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 14 Sep 2021 21:53:19 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 21,\n        \"company_id\": 2,\n        \"location_name\": \"Location 3\",\n        \"custom_delivery_id\": null,\n        \"company_name\": \"WEBTEST\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"address\": \"Test, 123\",\n        \"zip_code\": \"000000\",\n        \"city\": \"Copenhagen\",\n        \"country\": \"Denmark\",\n        \"state\": null,\n        \"phone_number\": \"090009900\",\n        \"email\": \"test@gmail.com\",\n        \"is_address_primary\": false\n    },\n    {\n        \"id\": 40,\n        \"company_id\": 2,\n        \"location_name\": \"Location 2\",\n        \"custom_delivery_id\": \"123\",\n        \"company_name\": \"WEBTEST ALIAS\",\n        \"first_name\": \"Don\",\n        \"last_name\": \"Juan\",\n        \"address\": \"Test, 123\",\n        \"zip_code\": \"22222\",\n        \"city\": \"Kyiv\",\n        \"country\": \"Ukraine\",\n        \"state\": null,\n        \"phone_number\": \"0990099000\",\n        \"email\": \"don@juan.com\",\n        \"is_address_primary\": false\n    }\n]"},{"id":"b5fbdbaa-ef58-486f-9a75-b4d6aae5e0d0","name":"Company does not exist","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 14 Sep 2021 21:54:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"company_id\": [\n            \"The selected company id is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"d64db45b-3b52-4bf0-a710-1c7795fde6cc"},{"name":"Get delivery","id":"6cb1ab93-e6c5-4648-80d9-52dcb8a15458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","deliveries",":delivery"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"bbb6f754-a957-4153-983e-f3264aa80e4c","type":"any","value":"","key":"delivery"}]}},"response":[{"id":"f139600d-e92c-4d3f-8c0f-54cae3e0b8fa","name":"Delivery fetched","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 14 Sep 2021 21:58:21 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 40,\n    \"company_id\": 2,\n    \"location_name\": \"Location 1\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"WEBTEST ALIAS\",\n    \"first_name\": \"Don\",\n    \"last_name\": \"Juan\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"22222\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\",\n    \"state\": null,\n    \"phone_number\": \"0990099000\",\n    \"email\": \"don@juan.com\",\n    \"is_address_primary\": false\n}"},{"id":"54f57987-12c9-4a4b-bfcd-fdcbe1741182","name":"Delivery does not exist","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 14 Sep 2021 21:59:34 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No query results for model [App\\\\Delivery\\\\Models\\\\Delivery] 4023\"\n}"}],"_postman_id":"6cb1ab93-e6c5-4648-80d9-52dcb8a15458"},{"name":"Create delivery","id":"73347199-26c2-4b55-83e6-4916ad92e1d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 2,\n    \"location_name\": \"Test Location\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\",\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\",\n    \"is_address_primary\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","deliveries"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9c2eb2a3-eaf3-43cd-9e9c-a3a30e2abb03","name":"Required fields are missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 14 Sep 2021 22:07:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"company_id\": [\n            \"The company id field is required.\"\n        ],\n        \"company_name\": [\n            \"The company name field is required.\"\n        ],\n        \"address\": [\n            \"The address field is required.\"\n        ],\n        \"zip_code\": [\n            \"The zip code field is required.\"\n        ],\n        \"city\": [\n            \"The city field is required.\"\n        ],\n        \"country\": [\n            \"The country field is required.\"\n        ]\n    }\n}"},{"id":"aa7725a6-b02c-4258-95f7-50ce25daa31b","name":"Company does not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 2145342,\n    \"company_name\": \"WEBTEST ALIAS 2\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"22222\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 14 Sep 2021 22:08:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"company_id\": [\n            \"The selected company id is invalid.\"\n        ]\n    }\n}"},{"id":"56a40cda-e212-4de2-a043-548e484e6dea","name":"Delivery created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 2,\n    \"location_name\": \"Test Location\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\",\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\",\n    \"is_address_primary\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 14 Sep 2021 22:11:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 41,\n    \"company_id\": 2,\n    \"location_name\": \"Test Location\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\",\n    \"state\": null,\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\",\n    \"is_address_primary\": true\n}"}],"_postman_id":"73347199-26c2-4b55-83e6-4916ad92e1d1"},{"name":"Update delivery","id":"e0081247-c0fd-4737-af8f-90765a4a7ec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"location_name\": \"Test Location\",\n    \"company_name\": \"Company alias\",\n    \"custom_delivery_id\": \"123\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\",\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","deliveries",":delivery"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"8170749a-0989-4328-9d63-80d291c9310f","type":"any","value":null,"key":"delivery"}]}},"response":[{"id":"d8ac4fa8-55d4-4b02-8a5b-9cefda151f6d","name":"Company does not exist","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 3,\n    \"location_name\": \"Test Location\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\",\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\",\n    \"is_address_primary\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 15 Sep 2021 21:12:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"company_id\": [\n            \"The selected company id is invalid.\"\n        ]\n    }\n}"},{"id":"42f990d4-5cc2-4393-9b22-b3b0aee0b735","name":"Delivery does not exist","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 160,\n    \"location_name\": \"Test Location\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Kyiv\",\n    \"country\": \"Ukraine\",\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\",\n    \"is_address_primary\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 15 Sep 2021 21:15:25 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No query results for model [App\\\\Delivery\\\\Models\\\\Delivery] 400\"\n}"},{"id":"c28df643-1d41-4357-84b8-237d21af79d4","name":"Delivery updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"location_name\": \"Test Location New\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Copenhagen\",\n    \"country\": \"Denmark\",\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test_new@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 15 Sep 2021 21:22:00 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 40,\n    \"company_id\": 2,\n    \"location_name\": \"Test Location New\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Copenhagen\",\n    \"country\": \"Denmark\",\n    \"state\": null,\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test_new@gmail.com\",\n    \"is_address_primary\": false\n}"},{"id":"fc2cbce7-5375-4364-b847-76570f6eb110","name":"Delivery reassigned to a different company","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"company_id\": 160\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 15 Sep 2021 21:31:07 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 40,\n    \"company_id\": 160,\n    \"location_name\": \"Test Location\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Copenhagen\",\n    \"country\": \"Denmark\",\n    \"state\": null,\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\",\n    \"is_address_primary\": false\n}"},{"id":"0941e6a3-14a8-4f1f-a212-3717e89035e1","name":"Delivery marked as primary","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"is_address_primary\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 15 Sep 2021 21:33:11 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 40,\n    \"company_id\": 160,\n    \"location_name\": \"Test Location\",\n    \"custom_delivery_id\": \"123\",\n    \"company_name\": \"Company alias\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address\": \"Test, 123\",\n    \"zip_code\": \"00000\",\n    \"city\": \"Copenhagen\",\n    \"country\": \"Denmark\",\n    \"state\": null,\n    \"phone_number\": \"0990099000\",\n    \"email\": \"test@gmail.com\",\n    \"is_address_primary\": true\n}"}],"_postman_id":"e0081247-c0fd-4737-af8f-90765a4a7ec8"},{"name":"Delete delivery","id":"6340d6f2-7698-4d78-83e6-59462bee1773","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","deliveries",":delivery"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"21683d60-bea3-44bd-a725-0a891b77c0f5","type":"any","value":"","key":"delivery"}]}},"response":[{"id":"2971a367-2fd3-4b82-a618-846a36387a38","name":"Delivery deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 15 Sep 2021 21:36:19 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": true\n}"},{"id":"70ee1625-ebc3-40ee-8def-2a8c2ca75ab4","name":"Delivery does not exist or not deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/deliveries/:delivery","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","deliveries",":delivery"],"variable":[{"key":"delivery","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 15 Sep 2021 21:37:27 GMT"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": false\n}"}],"_postman_id":"6340d6f2-7698-4d78-83e6-59462bee1773"}],"id":"8a9d901f-eaf6-4971-b483-0e6ea0bce888","_postman_id":"8a9d901f-eaf6-4971-b483-0e6ea0bce888","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Subscriptions","item":[{"name":"Subscriptions","id":"3d5cc7db-2d1e-4753-ba60-1480debd6af3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","subscriptions"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"52db452c-e20e-451a-9f3b-a85e143105b1","name":"Subscriptions fetched","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 Sep 2022 20:14:45 GMT"},{"key":"Set-Cookie","value":"turis_session=eZQbGC70MBMdFymdcjzvOJznkbK5fgnFcErNGwVf; expires=Tue, 27-Sep-2022 20:14:45 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"event\": \"product.created\",\n            \"endpoint\": \"https://example.com/webhooks/product\",\n            \"state\": \"oF5iYzABjgfW61QNVRWB\",\n            \"created_at\": \"2022-09-13T20:10:01.000000Z\",\n            \"updated_at\": \"2022-09-13T20:10:01.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"event\": \"order.updated\",\n            \"endpoint\": \"https://example.com/webhooks/order\",\n            \"state\": \"DtyiYzABjgfW61QNVUYT\",\n            \"created_at\": \"2022-09-13T20:14:40.000000Z\",\n            \"updated_at\": \"2022-09-13T20:14:40.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"3d5cc7db-2d1e-4753-ba60-1480debd6af3"},{"name":"Subscription","id":"eb8cb348-f194-417f-94af-f778f64b9dd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","subscriptions",":id"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"82587b6b-5e44-4b99-b6ca-74f71911c157","type":"any","value":"","key":"id"}]}},"response":[{"id":"77d2d5f2-3c4b-4a4e-9259-277bd51e2b8c","name":"Subscription fetched","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","subscriptions",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 Sep 2022 20:13:07 GMT"},{"key":"Set-Cookie","value":"turis_session=eZQbGC70MBMdFymdcjzvOJznkbK5fgnFcErNGwVf; expires=Tue, 27-Sep-2022 20:13:07 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"event\": \"product.created\",\n        \"endpoint\": \"https://example.com/webhooks/product\",\n        \"state\": \"oF5iYzABjgfW61QNVRWB\",\n        \"created_at\": \"2022-09-13T20:10:01.000000Z\",\n        \"updated_at\": \"2022-09-13T20:10:01.000000Z\"\n    }\n}"}],"_postman_id":"eb8cb348-f194-417f-94af-f778f64b9dd5"},{"name":"Subscription","id":"e465d131-efcd-4a5c-a713-85952462ab38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"event\": \"order.updated\",\n    \"endpoint\": \"https://example.com/webhooks/order\",\n    \"state\": \"DtyiYzABjgfW61QNVUYT\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","subscriptions"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"80cb0f8a-8391-49c0-9249-36e86f06fa0a","name":"Subscription created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"event\": \"product.created\",\n    \"endpoint\": \"https://example.com/webhooks/product\",\n    \"state\": \"oF5iYzABjgfW61QNVRWB\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 Sep 2022 20:10:01 GMT"},{"key":"Set-Cookie","value":"turis_session=eZQbGC70MBMdFymdcjzvOJznkbK5fgnFcErNGwVf; expires=Tue, 27-Sep-2022 20:10:01 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"event\": \"product.created\",\n        \"endpoint\": \"https://example.com/webhooks/product\",\n        \"state\": \"oF5iYzABjgfW61QNVRWB\",\n        \"created_at\": \"2022-09-13T20:10:01.000000Z\",\n        \"updated_at\": \"2022-09-13T20:10:01.000000Z\"\n    }\n}"}],"_postman_id":"e465d131-efcd-4a5c-a713-85952462ab38"},{"name":"Subscrioption","id":"bcea5490-acb2-4c86-b1b6-7d0d6066fd9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"endpoint\": \"https://example.com/webhooks\",\n    \"state\": \"DtyiYzABjgfW61QNVUYT\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","subscriptions",":id"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"ea5811f7-ee62-4a3c-8d06-dca64b6cb7ec","type":"any","value":"","key":"id"}]}},"response":[{"id":"569760ea-e58f-4cff-9d5a-d12497cf6ad1","name":"Subscrioption updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"endpoint\": \"https://example.com/webhooks\",\n    \"state\": \"DtyiYzABjgfW61QNVUYT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","subscriptions",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 Sep 2022 20:16:39 GMT"},{"key":"Set-Cookie","value":"turis_session=eZQbGC70MBMdFymdcjzvOJznkbK5fgnFcErNGwVf; expires=Tue, 27-Sep-2022 20:16:39 GMT; Max-Age=1209600; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"event\": \"product.created\",\n        \"endpoint\": \"https://example.com/webhooks\",\n        \"state\": \"DtyiYzABjgfW61QNVUYT\",\n        \"created_at\": \"2022-09-13T20:10:01.000000Z\",\n        \"updated_at\": \"2022-09-13T20:16:39.000000Z\"\n    }\n}"},{"id":"2f9c0487-b9f9-4cec-a93c-aff53a5ec6d0","name":"Subscrioption already exists","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"event\": \"order.updated\",\n    \"endpoint\": \"https://example.com/webhooks/order\",\n    \"state\": \"DtyiYzABjgfW61QNVUYT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","subscriptions",":id"],"variable":[{"key":"id","value":""}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 Sep 2022 20:17:24 GMT"},{"key":"Set-Cookie","value":"turis_session=eZQbGC70MBMdFymdcjzvOJznkbK5fgnFcErNGwVf; expires=Tue, 27-Sep-2022 20:17:24 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"event\": [\n            \"The event has already been taken.\"\n        ]\n    }\n}"}],"_postman_id":"bcea5490-acb2-4c86-b1b6-7d0d6066fd9d"},{"name":"Subscription","id":"0523172f-fc03-4917-9ec3-d4688aa2b516","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","subscriptions",":id"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"dd6366ac-3ee6-4a20-aaf5-47f7aec951ef","type":"any","value":"","key":"id"}]}},"response":[{"id":"9b499dd6-de0f-4372-a856-78922af1838e","name":"Subscription deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/subscriptions/:id","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","subscriptions",":id"],"variable":[{"key":"id","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 13 Sep 2022 20:23:22 GMT"},{"key":"Set-Cookie","value":"turis_session=eZQbGC70MBMdFymdcjzvOJznkbK5fgnFcErNGwVf; expires=Tue, 27-Sep-2022 20:23:22 GMT; Max-Age=1209600; path=/; httponly"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0523172f-fc03-4917-9ec3-d4688aa2b516"}],"id":"320694d4-c406-4ebb-88c8-b92dc24ad63d","description":"<p>Webhook subscriptions to receive notifications about particular events in a shop</p>\n","_postman_id":"320694d4-c406-4ebb-88c8-b92dc24ad63d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Special shipping group","item":[{"name":"Get special shipping groups","id":"6fa433dd-653c-40de-94ce-55001674c3ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","shipping","special-group"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0059486c-d3d7-4fea-ab2c-e7e085d97fb2","name":"Get special shipping groups","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n        \"id\": 74,\n        \"name\": \"furniture\",\n        \"icon\": \"package\",\n        \"tooltip\": \"tooltip\",\n        \"products\": [\n            {\n                \"id\": 1,\n                \"name\": \"Tomasine Turtleneck Top - Black\",\n                \"sku\": \"1\",\n                \"created_at\": \"2023-04-13T14:29:02.000000Z\",\n                \"updated_at\": \"2023-04-13T14:29:03.000000Z\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Lottie Wide Pants - Forest\",\n                \"sku\": \"2\",\n                \"created_at\": \"2020-06-20T11:57:39.000000Z\",\n                \"updated_at\": \"2023-05-16T06:46:16.000000Z\"\n            },\n            ,\n            {\n                \"id\": 3,\n                \"name\": \"Lottie Wide Pants - Forest\",\n                \"sku\": \"3\",\n                \"created_at\": \"2020-06-20T11:57:39.000000Z\",\n                \"updated_at\": \"2023-05-16T06:46:16.000000Z\"\n            }\n        ],\n        \"regions\": [\n            {\n                \"id\": 1,\n                \"name\": \"EU\",\n                \"created_at\": \"2020-05-17T08:17:13.000000Z\",\n                \"updated_at\": \"2020-06-12T11:38:55.000000Z\"\n            }\n        ],\n        \"shipping_rates\": [\n            {\n                \"id\": 117,\n                \"currency_id\": 1,\n                \"order_total_min\": 0,\n                \"order_total_max\": 300,\n                \"shipping_rate\": 30,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            },\n            {\n                \"id\": 118,\n                \"currency_id\": 1,\n                \"order_total_min\": 301,\n                \"order_total_max\": 600,\n                \"shipping_rate\": 10,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            }\n        ],\n        \"created_at\": \"2023-05-16T06:57:53.000000Z\",\n        \"updated_at\": \"2023-05-16T06:57:53.000000Z\"\n    }\n}\n    ]"}],"_postman_id":"6fa433dd-653c-40de-94ce-55001674c3ba"},{"name":"Create special shipping group","id":"9ef39b88-a5b0-4209-a143-7d221a1c8d3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"furniture\",\n    \"icon\" : \"package\",\n    \"tooltip\" : \"tooltip\",\n    \"product_ids\" : [\n        1,2\n    ],\n    \"shipping_region_ids\" : [\n        1,2\n    ],\n    \"shipping_rates\" : [\n        {\n            \"order_total_min\" : 0,\n            \"order_total_max\" : 300,\n            \"shipping_rate\" : 30,\n            \"currency_id\" : 1\n        },\n        {\n            \"order_total_min\" : 301,\n            \"order_total_max\" : 600,\n            \"shipping_rate\" : 10,\n            \"currency_id\" : 1\n        }\n        ,\n        {\n            \"order_total_min\" : 601,\n            \"order_total_max\" : 1200,\n            \"shipping_rate\" : 0,\n            \"currency_id\" : 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","shipping","special-group"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cc526272-2e51-41b7-a75b-da93e7495dc6","name":"Create special shipping group","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"furniture\",\n    \"icon\" : \"package\",\n    \"tooltip\" : \"tooltip\",\n    \"product_ids\" : [\n        1,2\n    ],\n    \"shipping_region_ids\" : [\n        1,2\n    ],\n    \"shipping_rates\" : [\n        {\n            \"order_total_min\" : 0,\n            \"order_total_max\" : 300,\n            \"shipping_rate\" : 30,\n            \"currency_id\" : 1\n        },\n        {\n            \"order_total_min\" : 301,\n            \"order_total_max\" : 600,\n            \"shipping_rate\" : 10,\n            \"currency_id\" : 1\n        }\n        ,\n        {\n            \"order_total_min\" : 601,\n            \"order_total_max\" : 1200,\n            \"shipping_rate\" : 0,\n            \"currency_id\" : 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 74,\n        \"name\": \"furniture\",\n        \"icon\": \"package\",\n        \"tooltip\": \"tooltip\",\n        \"products\": [\n            {\n                \"id\": 1,\n                \"name\": \"Tomasine Turtleneck Top - Black\",\n                \"sku\": \"1\",\n                \"created_at\": \"2023-04-13T14:29:02.000000Z\",\n                \"updated_at\": \"2023-04-13T14:29:03.000000Z\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Lottie Wide Pants - Forest\",\n                \"sku\": \"2\",\n                \"created_at\": \"2020-06-20T11:57:39.000000Z\",\n                \"updated_at\": \"2023-05-16T06:46:16.000000Z\"\n            }\n        ],\n        \"regions\": [\n            {\n                \"id\": 1,\n                \"name\": \"EU\",\n                \"created_at\": \"2020-05-17T08:17:13.000000Z\",\n                \"updated_at\": \"2020-06-12T11:38:55.000000Z\"\n            }\n        ],\n        \"shipping_rates\": [\n            {\n                \"id\": 117,\n                \"currency_id\": 1,\n                \"order_total_min\": 0,\n                \"order_total_max\": 300,\n                \"shipping_rate\": 30,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            },\n            {\n                \"id\": 118,\n                \"currency_id\": 1,\n                \"order_total_min\": 301,\n                \"order_total_max\": 600,\n                \"shipping_rate\": 10,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            },\n            {\n                \"id\": 119,\n                \"currency_id\": 1,\n                \"order_total_min\": 601,\n                \"order_total_max\": 1200,\n                \"shipping_rate\": 0,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            }\n        ],\n        \"created_at\": \"2023-05-16T06:57:53.000000Z\",\n        \"updated_at\": \"2023-05-16T06:57:53.000000Z\"\n    }\n}"}],"_postman_id":"9ef39b88-a5b0-4209-a143-7d221a1c8d3e"},{"name":"Update shecial shipping group","id":"2aa8faa4-886c-4464-80df-349e5c08b302","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"furniture\",\n    \"icon\" : \"package\",\n    \"tooltip\" : \"tooltip\",\n    \"product_ids\" : [\n        1,2,3\n    ],\n    \"shipping_region_ids\" : [\n        1\n    ],\n    \"shipping_rates\" : [\n        {\n            \"order_total_min\" : 0,\n            \"order_total_max\" : 300,\n            \"shipping_rate\" : 30,\n            \"currency_id\" : 1\n        },\n        {\n            \"order_total_min\" : 301,\n            \"order_total_max\" : 600,\n            \"shipping_rate\" : 10,\n            \"currency_id\" : 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group/:specialShippingGroupId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","shipping","special-group",":specialShippingGroupId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"c7ec069c-cbc7-491a-882f-270d66ab12fd","type":"any","value":null,"key":"specialShippingGroupId"}]}},"response":[{"id":"a78eb95e-b8c5-4bf9-8779-f37c99586aa3","name":"Update shecial shipping group","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\" : \"furniture\",\n    \"icon\" : \"package\",\n    \"tooltip\" : \"tooltip\",\n    \"product_ids\" : [\n        1,2,3\n    ],\n    \"shipping_region_ids\" : [\n        1\n    ],\n    \"shipping_rates\" : [\n        {\n            \"order_total_min\" : 0,\n            \"order_total_max\" : 300,\n            \"shipping_rate\" : 30,\n            \"currency_id\" : 1\n        },\n        {\n            \"order_total_min\" : 301,\n            \"order_total_max\" : 600,\n            \"shipping_rate\" : 10,\n            \"currency_id\" : 1\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group/:specialShippingGroupId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","shipping","special-group",":specialShippingGroupId"],"variable":[{"key":"specialShippingGroupId","value":null}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 74,\n        \"name\": \"furniture\",\n        \"icon\": \"package\",\n        \"tooltip\": \"tooltip\",\n        \"products\": [\n            {\n                \"id\": 1,\n                \"name\": \"Tomasine Turtleneck Top - Black\",\n                \"sku\": \"1\",\n                \"created_at\": \"2023-04-13T14:29:02.000000Z\",\n                \"updated_at\": \"2023-04-13T14:29:03.000000Z\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Lottie Wide Pants - Forest\",\n                \"sku\": \"2\",\n                \"created_at\": \"2020-06-20T11:57:39.000000Z\",\n                \"updated_at\": \"2023-05-16T06:46:16.000000Z\"\n            },\n            ,\n            {\n                \"id\": 3,\n                \"name\": \"Lottie Wide Pants - Forest\",\n                \"sku\": \"3\",\n                \"created_at\": \"2020-06-20T11:57:39.000000Z\",\n                \"updated_at\": \"2023-05-16T06:46:16.000000Z\"\n            }\n        ],\n        \"regions\": [\n            {\n                \"id\": 1,\n                \"name\": \"EU\",\n                \"created_at\": \"2020-05-17T08:17:13.000000Z\",\n                \"updated_at\": \"2020-06-12T11:38:55.000000Z\"\n            }\n        ],\n        \"shipping_rates\": [\n            {\n                \"id\": 117,\n                \"currency_id\": 1,\n                \"order_total_min\": 0,\n                \"order_total_max\": 300,\n                \"shipping_rate\": 30,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            },\n            {\n                \"id\": 118,\n                \"currency_id\": 1,\n                \"order_total_min\": 301,\n                \"order_total_max\": 600,\n                \"shipping_rate\": 10,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            }\n        ],\n        \"created_at\": \"2023-05-16T06:57:53.000000Z\",\n        \"updated_at\": \"2023-05-16T06:57:53.000000Z\"\n    }\n}"}],"_postman_id":"2aa8faa4-886c-4464-80df-349e5c08b302"},{"name":"Get special shipping group by id","id":"0fd8299e-cf10-401c-a21b-450034ffe809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group/:specialShippingGroupId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","shipping","special-group",":specialShippingGroupId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"8d7ba24a-4c80-4743-9955-0046bc267873","type":"any","value":null,"key":"specialShippingGroupId"}]}},"response":[{"id":"3af483fe-bdc8-421f-b63a-6ad61c307cdb","name":"Get special shipping group by id","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group/:specialShippingGroupId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","shipping","special-group",":specialShippingGroupId"],"variable":[{"key":"specialShippingGroupId","value":null}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 74,\n        \"name\": \"furniture\",\n        \"icon\": \"package\",\n        \"tooltip\": \"tooltip\",\n        \"products\": [\n            {\n                \"id\": 1,\n                \"name\": \"Tomasine Turtleneck Top - Black\",\n                \"sku\": \"1\",\n                \"created_at\": \"2023-04-13T14:29:02.000000Z\",\n                \"updated_at\": \"2023-04-13T14:29:03.000000Z\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Lottie Wide Pants - Forest\",\n                \"sku\": \"2\",\n                \"created_at\": \"2020-06-20T11:57:39.000000Z\",\n                \"updated_at\": \"2023-05-16T06:46:16.000000Z\"\n            },\n            ,\n            {\n                \"id\": 3,\n                \"name\": \"Lottie Wide Pants - Forest\",\n                \"sku\": \"3\",\n                \"created_at\": \"2020-06-20T11:57:39.000000Z\",\n                \"updated_at\": \"2023-05-16T06:46:16.000000Z\"\n            }\n        ],\n        \"regions\": [\n            {\n                \"id\": 1,\n                \"name\": \"EU\",\n                \"created_at\": \"2020-05-17T08:17:13.000000Z\",\n                \"updated_at\": \"2020-06-12T11:38:55.000000Z\"\n            }\n        ],\n        \"shipping_rates\": [\n            {\n                \"id\": 117,\n                \"currency_id\": 1,\n                \"order_total_min\": 0,\n                \"order_total_max\": 300,\n                \"shipping_rate\": 30,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            },\n            {\n                \"id\": 118,\n                \"currency_id\": 1,\n                \"order_total_min\": 301,\n                \"order_total_max\": 600,\n                \"shipping_rate\": 10,\n                \"created_at\": \"2023-05-16T07:01:29.000000Z\",\n                \"updated_at\": \"2023-05-16T07:01:29.000000Z\"\n            }\n        ],\n        \"created_at\": \"2023-05-16T06:57:53.000000Z\",\n        \"updated_at\": \"2023-05-16T06:57:53.000000Z\"\n    }\n}"}],"_postman_id":"0fd8299e-cf10-401c-a21b-450034ffe809"},{"name":"Delete special shipping group by id","id":"d1402d69-f214-443b-bebc-38b2c0043dbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group/:specialShippingGroupId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","shipping","special-group",":specialShippingGroupId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"2ac2d060-7e23-447b-afd3-c34ac2e5ade7","type":"any","value":null,"key":"specialShippingGroupId"}]}},"response":[{"id":"a532664c-800c-4609-8293-18b1c11ab37d","name":"Delete special shipping group by id","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/shipping/special-group/:specialShippingGroupId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","shipping","special-group",":specialShippingGroupId"],"variable":[{"key":"specialShippingGroupId","value":null}]}},"code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d1402d69-f214-443b-bebc-38b2c0043dbc"}],"id":"1e998512-6a5a-4335-bf87-f2d3921016ad","_postman_id":"1e998512-6a5a-4335-bf87-f2d3921016ad","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Agent","item":[{"name":"Get agents","id":"4cb0c2a9-19a6-4df2-bd11-fb88c1976be5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","agents"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"090c4087-8dfd-472d-8630-6e9ed567a6c5","name":"Get agents","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"settings\": {\n        \"page_count\": 1.2,\n        \"current_page\": 1,\n        \"next_page_url\": \"http://test.app.turis.localhost/api/public/v1/agents?page=2\",\n        \"prev_page_url\": null\n    },\n    \"items\": [\n        {\n            \"id\": 8,\n            \"name\": \"Emanuel Meyden\",\n            \"email\": \"info_at_emanuel-meyden.de@turis.app\",\n            \"email_verified_at\": null,\n            \"is_admin\": 0,\n            \"default_currency_id\": null,\n            \"company_id\": null,\n            \"address\": null,\n            \"zip_code\": null,\n            \"city\": null,\n            \"country\": \"Germany\",\n            \"state\": null,\n            \"phone_number\": \"+4917333703322\",\n            \"discount\": 0,\n            \"logo\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/logo/gmail/organic-by-feldman/CustomGmailTemporaryIcon6f179928523b4d44aa9457f2239b41cd.png\",\n            \"logo_color\": \"175|75|175\",\n            \"created_at\": \"2020-06-21 11:59:57\",\n            \"updated_at\": \"2022-04-18 09:10:28\",\n            \"first_name\": \"Emanuel\",\n            \"last_name\": \"Meyden\",\n            \"is_um\": 0,\n            \"buyer_no\": null,\n            \"options\": \"[]\",\n            \"upload_unique_key\": null,\n            \"language_id\": null,\n            \"is_test_account\": 0,\n            \"session_parent_id\": null,\n            \"stripe_id\": null,\n            \"resend_set_password_email\": true,\n            \"avatar_color\": \"a3eefa\",\n            \"qwerty_agents\": null,\n            \"agnt_agents\": null\n        }\n    ]\n}"}],"_postman_id":"4cb0c2a9-19a6-4df2-bd11-fb88c1976be5"},{"name":"Create agent","id":"dbb8d939-4ffc-4c5f-a93b-379bfb456454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"May55@hotmail.com\",\n    \"phone_number\": \"44-425-705-0267\",\n    \"default_currency_id\": \"\",\n    \"first_name\": \"Eriberto\",\n    \"last_name\": \"Baumbach\",\n    \"invite_buyer\" : true,\n    \"country\" : \"Bahamas\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","agents"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4e75c6a4-3551-4106-98c2-dcb9180867d1","name":"Create agent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"Skylar_Feeney@yahoo.com\",\n    \"phone_number\": \"22-570-402-3289\",\n    \"default_currency_id\": \"\",\n    \"first_name\": \"Chad\",\n    \"last_name\": \"Kris\",\n    \"invite_buyer\" : true,\n    \"country\" : \"Dominican Republic\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"agent\": {\n        \"name\": \"Reyna Mayert\",\n        \"email\": \"Ella.Kutch23@yahoo.com\",\n        \"country\": \"Greece\",\n        \"state\": null,\n        \"phone_number\": \"5-629-899-4206\",\n        \"is_admin\": false,\n        \"first_name\": \"Reyna\",\n        \"last_name\": \"Mayert\",\n        \"avatar_color\": \"e994ac\",\n        \"default_currency_id\": 1,\n        \"updated_at\": \"2023-11-08 09:03:27\",\n        \"created_at\": \"2023-11-08 09:03:27\",\n        \"id\": 262,\n        \"retailers\": [],\n        \"roles\": [\n            {\n                \"id\": 3,\n                \"name\": \"agent\",\n                \"guard_name\": \"web\",\n                \"created_at\": \"2020-05-17 07:37:34\",\n                \"updated_at\": \"2020-05-17 07:37:34\",\n                \"pivot\": {\n                    \"model_id\": 262,\n                    \"role_id\": 3,\n                    \"model_type\": \"App\\\\User\\\\Models\\\\User\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"dbb8d939-4ffc-4c5f-a93b-379bfb456454"},{"name":"Update agent","id":"313735b4-9ea4-49f9-956d-886d131e6182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"Forest37@gmail.com\",\n    \"phone_number\": \"65-325-697-1004\",\n    \"default_currency_id\": \"\",\n    \"first_name\": \"Dovie\",\n    \"last_name\": \"Kassulke\",\n    \"invite_buyer\" : true,\n    \"country\" : \"Ethiopia\"\n}","options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents/:agentId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","agents",":agentId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"e4a7eb09-0088-4e3c-b652-b86851851bc6","type":"any","value":"","key":"agentId"}]}},"response":[{"id":"18e4fdc8-5679-4ae4-bc5e-0db4a21c638e","name":"Update agent","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"Gaylord56@hotmail.com\",\n    \"phone_number\": \"77-299-767-0356\",\n    \"default_currency_id\": \"\",\n    \"first_name\": \"Pauline\",\n    \"last_name\": \"Larson\",\n    \"invite_buyer\" : true,\n    \"country\" : \"Guam\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents/:agentId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","agents",":agentId"],"variable":[{"key":"agentId","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"agent\": {\n        \"id\": 262,\n        \"name\": \"Reyna Mayert\",\n        \"email\": \"Ella.Kutch23@yahoo.com\",\n        \"email_verified_at\": null,\n        \"is_admin\": false,\n        \"default_currency_id\": 1,\n        \"company_id\": null,\n        \"address\": null,\n        \"zip_code\": null,\n        \"city\": null,\n        \"country\": \"Greece\",\n        \"state\": null,\n        \"phone_number\": \"5-629-899-4206\",\n        \"discount\": 0,\n        \"logo\": null,\n        \"logo_color\": null,\n        \"created_at\": \"2023-11-08 09:03:27\",\n        \"updated_at\": \"2023-11-08 09:04:07\",\n        \"first_name\": \"Reyna\",\n        \"last_name\": \"Mayert\",\n        \"is_um\": 0,\n        \"buyer_no\": null,\n        \"options\": null,\n        \"upload_unique_key\": null,\n        \"language_id\": null,\n        \"is_test_account\": 0,\n        \"session_parent_id\": null,\n        \"stripe_id\": null,\n        \"resend_set_password_email\": false,\n        \"avatar_color\": \"e994ac\",\n        \"retailers\": []\n    }\n}"}],"_postman_id":"313735b4-9ea4-49f9-956d-886d131e6182"},{"name":"Get agent","id":"0b67776e-6cf8-4e51-9ae1-98799b77cfe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents/:agentId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","agents",":agentId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"787e5a30-ae76-48a2-9a3c-4c65c5e081d4","type":"any","value":"","key":"agentId"}]}},"response":[{"id":"bd181833-6113-4784-ad6f-4f946e28ba6e","name":"Get agent","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents/:agentId","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","agents",":agentId"],"variable":[{"key":"agentId","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 262,\n        \"name\": \"Reyna Mayert\",\n        \"email\": \"Ella.Kutch23@yahoo.com\",\n        \"default_currency_id\": 1,\n        \"country\": \"Greece\",\n        \"phone_number\": \"5-629-899-4206\"\n    }\n}"}],"_postman_id":"0b67776e-6cf8-4e51-9ae1-98799b77cfe7"},{"name":"Delete agent","id":"6f74649a-aece-4b73-a1e7-6848ab402f6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/agents/:agentId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","agents",":agentId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"54ece3a0-0057-40ce-a731-fdc5a155a5b5","type":"any","value":"","key":"agentId"}]}},"response":[],"_postman_id":"6f74649a-aece-4b73-a1e7-6848ab402f6c"}],"id":"651fc7e5-e2e7-4317-9a70-ae20bfebf4fd","_postman_id":"651fc7e5-e2e7-4317-9a70-ae20bfebf4fd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Forms","item":[{"name":"Get Forms","id":"b605c581-8590-4acd-806d-1d2f2f84718c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/forms","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","forms"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"55c0d5fc-96ec-46eb-bf69-2977d4f3cdd8","name":"Get Forms","originalRequest":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/forms"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"forms\": [\n        {\n            \"id\": 51,\n            \"title\": \"Test form\",\n            \"url\": \"testform\",\n            \"header\": \"Test form\",\n            \"text\": \"Description to test form\",\n            \"logo_path\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/media/forms_image_195_2024-03-26 07:04:40.jpg\",\n            \"background_image_path\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/media/forms_image_732_2024-03-26 07:04:40.jpg\",\n            \"primary_color\": \"#728BB3\",\n            \"button_label\": \"Submit\",\n            \"file_button\": {\n                \"label\": \"Upload a file\",\n                \"color\": \"#259b9a\",\n                \"is_required\": false\n            },\n            \"website\": \"https://testform.com\",\n            \"display_link\": false,\n            \"link_text\": null,\n            \"created_at\": \"2024-03-28 08:41:30\",\n            \"updated_at\": \"2024-03-28 08:41:30\",\n            \"special_price_list_id\": null,\n            \"submissions_general_count\": 0,\n            \"submissions_new_count\": 0,\n            \"fields\": [\n                {\n                    \"id\": 162,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Company Reg. No.\",\n                    \"validation\": \"Text, numbers and symbols\",\n                    \"is_required\": 0,\n                    \"is_default\": \"0\",\n                    \"slug\": \"vat_number\",\n                    \"label\": \"Company Reg. No.\",\n                    \"sort_order\": {\n                        \"id\": 407,\n                        \"form_id\": 51,\n                        \"field_id\": 162,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 0\n                    },\n                    \"is_extra\": 1,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 162,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 163,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Company Phone No.\",\n                    \"validation\": \"Text, numbers and symbols\",\n                    \"is_required\": 0,\n                    \"is_default\": \"0\",\n                    \"slug\": \"phone_number\",\n                    \"label\": \"Company Phone No.\",\n                    \"sort_order\": {\n                        \"id\": 408,\n                        \"form_id\": 51,\n                        \"field_id\": 163,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 1\n                    },\n                    \"is_extra\": 1,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 163,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 164,\n                    \"type\": \"Select\",\n                    \"name\": \"State\",\n                    \"validation\": \"Text only\",\n                    \"is_required\": 0,\n                    \"is_default\": \"0\",\n                    \"slug\": \"state\",\n                    \"label\": \"State\",\n                    \"sort_order\": {\n                        \"id\": 409,\n                        \"form_id\": 51,\n                        \"field_id\": 164,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 2\n                    },\n                    \"is_extra\": 1,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 164,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 1,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Company name\",\n                    \"validation\": \"Text only\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"company_name\",\n                    \"label\": \"Some test label\",\n                    \"sort_order\": {\n                        \"id\": 410,\n                        \"form_id\": 51,\n                        \"field_id\": 1,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 3\n                    },\n                    \"is_extra\": 0,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 1,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 2,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Email\",\n                    \"validation\": \"Email\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"email\",\n                    \"label\": \"Email\",\n                    \"sort_order\": {\n                        \"id\": 411,\n                        \"form_id\": 51,\n                        \"field_id\": 2,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 4\n                    },\n                    \"is_extra\": 0,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 2,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 3,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Address\",\n                    \"validation\": \"Text, numbers and symbols\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"address\",\n                    \"label\": \"Address\",\n                    \"sort_order\": {\n                        \"id\": 412,\n                        \"form_id\": 51,\n                        \"field_id\": 3,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 5\n                    },\n                    \"is_extra\": 0,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 3,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 4,\n                    \"type\": \"Short answer\",\n                    \"name\": \"City\",\n                    \"validation\": \"Text only\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"city\",\n                    \"label\": \"City\",\n                    \"sort_order\": {\n                        \"id\": 413,\n                        \"form_id\": 51,\n                        \"field_id\": 4,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 6\n                    },\n                    \"is_extra\": 0,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 4,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 5,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Zip code\",\n                    \"validation\": \"Text, numbers and symbols\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"zip_code\",\n                    \"label\": \"Zip code\",\n                    \"sort_order\": {\n                        \"id\": 414,\n                        \"form_id\": 51,\n                        \"field_id\": 5,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 7\n                    },\n                    \"is_extra\": 0,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 5,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                },\n                {\n                    \"id\": 6,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Country\",\n                    \"validation\": \"Text only\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"country\",\n                    \"label\": \"Country\",\n                    \"sort_order\": {\n                        \"id\": 415,\n                        \"form_id\": 51,\n                        \"field_id\": 6,\n                        \"label\": null,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\",\n                        \"sort_order\": 8\n                    },\n                    \"is_extra\": 0,\n                    \"pivot\": {\n                        \"form_id\": 51,\n                        \"field_id\": 6,\n                        \"created_at\": \"2024-03-28 08:41:30\",\n                        \"updated_at\": \"2024-03-28 08:41:30\"\n                    }\n                }\n            ],\n            \"submissions\": []\n        }\n    ],\n    \"submissions\": [],\n    \"defaultFields\": [\n        {\n            \"id\": 1,\n            \"type\": \"Short answer\",\n            \"name\": \"Company name\",\n            \"validation\": \"Text only\",\n            \"is_required\": 1,\n            \"is_default\": \"1\",\n            \"slug\": \"company_name\",\n            \"label\": \"Some test label\",\n            \"sort_order\": 0,\n            \"is_extra\": 0\n        },\n        {\n            \"id\": 2,\n            \"type\": \"Short answer\",\n            \"name\": \"Email\",\n            \"validation\": \"Email\",\n            \"is_required\": 1,\n            \"is_default\": \"1\",\n            \"slug\": \"email\",\n            \"label\": \"Email\",\n            \"sort_order\": 0,\n            \"is_extra\": 0\n        },\n        {\n            \"id\": 3,\n            \"type\": \"Short answer\",\n            \"name\": \"Address\",\n            \"validation\": \"Text, numbers and symbols\",\n            \"is_required\": 1,\n            \"is_default\": \"1\",\n            \"slug\": \"address\",\n            \"label\": \"Address\",\n            \"sort_order\": 0,\n            \"is_extra\": 0\n        },\n        {\n            \"id\": 4,\n            \"type\": \"Short answer\",\n            \"name\": \"City\",\n            \"validation\": \"Text only\",\n            \"is_required\": 1,\n            \"is_default\": \"1\",\n            \"slug\": \"city\",\n            \"label\": \"City\",\n            \"sort_order\": 0,\n            \"is_extra\": 0\n        },\n        {\n            \"id\": 5,\n            \"type\": \"Short answer\",\n            \"name\": \"Zip code\",\n            \"validation\": \"Text, numbers and symbols\",\n            \"is_required\": 1,\n            \"is_default\": \"1\",\n            \"slug\": \"zip_code\",\n            \"label\": \"Zip code\",\n            \"sort_order\": 0,\n            \"is_extra\": 0\n        },\n        {\n            \"id\": 6,\n            \"type\": \"Short answer\",\n            \"name\": \"Country\",\n            \"validation\": \"Text only\",\n            \"is_required\": 1,\n            \"is_default\": \"1\",\n            \"slug\": \"country\",\n            \"label\": \"Country\",\n            \"sort_order\": 0,\n            \"is_extra\": 0\n        }\n    ],\n    \"extraFields\": [\n        {\n            \"type\": \"Short answer\",\n            \"name\": \"Company Reg. No.\",\n            \"validation\": \"Text, numbers and symbols\",\n            \"is_required\": false,\n            \"is_default\": 0,\n            \"is_extra\": 1,\n            \"slug\": \"vat_number\"\n        },\n        {\n            \"type\": \"Short answer\",\n            \"name\": \"Company Phone No.\",\n            \"validation\": \"Text, numbers and symbols\",\n            \"is_required\": false,\n            \"is_default\": 0,\n            \"is_extra\": 1,\n            \"slug\": \"phone_number\"\n        },\n        {\n            \"name\": \"State\",\n            \"slug\": \"state\",\n            \"validation\": \"Text only\",\n            \"type\": \"Select\",\n            \"is_required\": false,\n            \"is_extra\": 1,\n            \"is_default\": 0\n        }\n    ],\n    \"fieldListCompany\": [\n        {\n            \"id\": 39,\n            \"field_name\": \"Customer no.\",\n            \"slug\": \"customer_no\",\n            \"placeholder\": \"Customer no.\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 0,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 40,\n            \"field_name\": \"Company name\",\n            \"slug\": \"company_name\",\n            \"placeholder\": \"Company name\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 2,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 41,\n            \"field_name\": \"Address\",\n            \"slug\": \"address\",\n            \"placeholder\": \"Address\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 3,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 42,\n            \"field_name\": \"Zip Code\",\n            \"slug\": \"zip_code\",\n            \"placeholder\": \"Zip Code\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 4,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 43,\n            \"field_name\": \"City\",\n            \"slug\": \"city\",\n            \"placeholder\": \"City\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 5,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 44,\n            \"field_name\": \"Country*\",\n            \"slug\": \"country\",\n            \"placeholder\": \"Country*\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Select\",\n            \"sort_order\": 6,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 64,\n            \"field_name\": \"Language\",\n            \"slug\": \"language_id\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Select\",\n            \"sort_order\": 7,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:29\",\n            \"updated_at\": \"2022-02-23 12:51:29\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 45,\n            \"field_name\": \"State*\",\n            \"slug\": \"state\",\n            \"placeholder\": \"State*\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Select\",\n            \"sort_order\": 8,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 46,\n            \"field_name\": \"Delivery term\",\n            \"slug\": \"shipping_delivery_terms_id\",\n            \"placeholder\": \"Select options\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Select (with creating new options)\",\n            \"sort_order\": 9,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 47,\n            \"field_name\": \"Forwarder name\",\n            \"slug\": \"forwarder_name\",\n            \"placeholder\": \"Forwarder name\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 10,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 48,\n            \"field_name\": \"Contract no.\",\n            \"slug\": \"contract_no\",\n            \"placeholder\": \"Contract no.\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 11,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 50,\n            \"field_name\": \"Vat no.\",\n            \"slug\": \"vat_number\",\n            \"placeholder\": \"Vat no.\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 12,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 75,\n            \"field_name\": \"VAT Exempt\",\n            \"slug\": \"vat_exempted\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Select (with creating new options)\",\n            \"sort_order\": 13,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": null,\n            \"updated_at\": null,\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 79,\n            \"field_name\": \"Agents list\",\n            \"slug\": \"sales_agents_list\",\n            \"placeholder\": \"Assign to agents\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Select Multiple (with search)\",\n            \"sort_order\": 14,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:32\",\n            \"updated_at\": \"2022-02-23 12:51:32\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 62,\n            \"field_name\": \"Recargo de equivalencia\",\n            \"slug\": \"recargo_de_equivalencia\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Select (with creating new options)\",\n            \"sort_order\": 15,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": null,\n            \"updated_at\": null,\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 51,\n            \"field_name\": \"Website\",\n            \"slug\": \"website\",\n            \"placeholder\": \"Website\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 16,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 52,\n            \"field_name\": \"Email\",\n            \"slug\": \"email\",\n            \"placeholder\": \"Email\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 17,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 53,\n            \"field_name\": \"Order Confirmation Email Address\",\n            \"slug\": \"order_confirmation_email\",\n            \"placeholder\": \"Order Confirmation Email Address\",\n            \"validation_type\": \"Text only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 18,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 54,\n            \"field_name\": \"Phone no.\",\n            \"slug\": \"phone_number\",\n            \"placeholder\": \"Phone no.\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 19,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 55,\n            \"field_name\": \"Currency\",\n            \"slug\": \"currency_id\",\n            \"placeholder\": \"Select options\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Select (with creating new options)\",\n            \"sort_order\": 20,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 56,\n            \"field_name\": \"Special Price Lists\",\n            \"slug\": \"special_price_lists\",\n            \"placeholder\": \"Special Price Lists\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Select Multiple (with search)\",\n            \"sort_order\": 21,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 87,\n            \"field_name\": \"Dropshipping\",\n            \"slug\": \"dropshipping_list_id\",\n            \"placeholder\": \"Dropshipping\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Select\",\n            \"sort_order\": 22,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-09-26 14:33:51\",\n            \"updated_at\": \"2022-09-26 14:33:51\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 71,\n            \"field_name\": \"FOB Price List\",\n            \"slug\": \"fob_price_list_id\",\n            \"placeholder\": \"FOB Price List\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Select\",\n            \"sort_order\": 23,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:32\",\n            \"updated_at\": \"2022-02-23 12:51:32\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 101,\n            \"field_name\": \"Fob locations list\",\n            \"slug\": \"fob_locations_lists\",\n            \"placeholder\": \"Assign to locations\",\n            \"validation_type\": \"Text, numbers and symbols\",\n            \"field_type\": \"Select Multiple (with search)\",\n            \"sort_order\": 24,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2023-04-25 16:29:05\",\n            \"updated_at\": \"2023-04-25 16:29:05\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 63,\n            \"field_name\": \"Free shipping limit\",\n            \"slug\": \"free_shipping_limit\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 25,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": null,\n            \"updated_at\": null,\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 66,\n            \"field_name\": \"Minimum order amount\",\n            \"slug\": \"minimum_order_amount\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 26,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:31\",\n            \"updated_at\": \"2022-02-23 12:51:31\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 57,\n            \"field_name\": \"Discount (%)\",\n            \"slug\": \"discount\",\n            \"placeholder\": \"Discount (%)\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Input\",\n            \"sort_order\": 27,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 58,\n            \"field_name\": \"Payment terms (days)\",\n            \"slug\": \"payment\",\n            \"placeholder\": \"Select options\",\n            \"validation_type\": \"Numbers only\",\n            \"field_type\": \"Select (with creating new options)\",\n            \"sort_order\": 28,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 59,\n            \"field_name\": \"Allow users to sign-up using company email domain (verification required)\",\n            \"slug\": \"allow_users\",\n            \"placeholder\": \"Allow users to sign-up using company email domain (verification required)\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 29,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 60,\n            \"field_name\": \"Allow retailer to buy single units\",\n            \"slug\": \"is_customer_contractor\",\n            \"placeholder\": \"Allow retailer to buy single units\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 30,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 78,\n            \"field_name\": \"Allow SEPA payments\",\n            \"slug\": \"allow_sepa_payments\",\n            \"placeholder\": \"Allow SEPA payments\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 31,\n            \"is_required\": true,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:32\",\n            \"updated_at\": \"2022-02-23 12:51:32\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 61,\n            \"field_name\": \"Express Ordering\",\n            \"slug\": \"express_ordering\",\n            \"placeholder\": \"Express Ordering\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 32,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:27\",\n            \"updated_at\": \"2022-02-23 12:51:27\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 92,\n            \"field_name\": \"Buyers of this retailer cannot add, change or edit delivery addresses\",\n            \"slug\": \"read_only_delivery_address\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 33,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2023-02-16 15:21:43\",\n            \"updated_at\": \"2023-02-16 15:21:43\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 103,\n            \"field_name\": \"Only dropshipping orders\",\n            \"slug\": \"only_dropshipping_orders\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 34,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2023-11-17 20:44:53\",\n            \"updated_at\": \"2023-11-17 20:44:53\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 102,\n            \"field_name\": \"Buyers of this retailer can not proceed with EXW orders\",\n            \"slug\": \"exclude_exw_orders\",\n            \"placeholder\": \"\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 35,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2023-04-25 16:29:05\",\n            \"updated_at\": \"2023-04-25 16:29:05\",\n            \"show_to_buyers\": false\n        },\n        {\n            \"id\": 77,\n            \"field_name\": \"Express Ordering\",\n            \"slug\": \"express_ordering\",\n            \"placeholder\": \"Express Ordering\",\n            \"validation_type\": \"No validation\",\n            \"field_type\": \"Checkbox\",\n            \"sort_order\": 36,\n            \"is_required\": false,\n            \"is_default\": true,\n            \"model_type\": \"retailers\",\n            \"created_at\": \"2022-02-23 12:51:32\",\n            \"updated_at\": \"2022-02-23 12:51:32\",\n            \"show_to_buyers\": false\n        }\n    ]\n}"}],"_postman_id":"b605c581-8590-4acd-806d-1d2f2f84718c"},{"name":"Create Form","id":"80260216-ba44-405c-88c0-9261107f4fda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"test title","type":"text"},{"key":"url","value":"test","type":"text"},{"key":"header","value":"test header","type":"text"},{"key":"text","value":"description","type":"text"},{"key":"logo","type":"file","value":null},{"key":"background_image","type":"file","value":null},{"key":"primary_color","value":"#728BB3","type":"text"},{"key":"file_button[label]","value":"file button label","type":"text"},{"key":"file_button[color]","value":"#728BB3","type":"text"},{"key":"file_button[is_required]","value":"false","type":"text"},{"key":"button_label","value":"button label","type":"text"},{"key":"website","value":"turis.app","type":"text"},{"key":"display_link","value":"false","type":"text"},{"key":"fields","value":"[{\"type\":\"Short answer\",\"name\":\"Company Reg. No.\",\"validation\":\"Text, numbers and symbols\",\"is_required\":false,\"is_default\":0,\"is_extra\":1,\"slug\":\"vat_number\",\"id\":null},{\"type\":\"Short answer\",\"name\":\"Company Phone No.\",\"validation\":\"Text, numbers and symbols\",\"is_required\":false,\"is_default\":0,\"is_extra\":1,\"slug\":\"phone_number\",\"id\":null},{\"name\":\"State\",\"slug\":\"state\",\"validation\":\"Text only\",\"type\":\"Select\",\"is_required\":false,\"is_extra\":1,\"is_default\":0,\"id\":null},{\"id\":1,\"type\":\"Short answer\",\"name\":\"Company name\",\"validation\":\"Text only\",\"is_required\":1,\"is_default\":\"1\",\"slug\":\"company_name\",\"label\":\"Custom Company name\",\"sort_order\":0,\"is_extra\":0,\"children\":[]},{\"id\":2,\"type\":\"Short answer\",\"name\":\"Email\",\"validation\":\"Email\",\"is_required\":1,\"is_default\":\"1\",\"slug\":\"email\",\"label\":\"Email\",\"sort_order\":0,\"is_extra\":0,\"children\":[]},{\"id\":3,\"type\":\"Short answer\",\"name\":\"Address\",\"validation\":\"Text, numbers and symbols\",\"is_required\":1,\"is_default\":\"1\",\"slug\":\"address\",\"label\":\"Address\",\"sort_order\":0,\"is_extra\":0,\"children\":[]},{\"id\":4,\"type\":\"Short answer\",\"name\":\"City\",\"validation\":\"Text only\",\"is_required\":1,\"is_default\":\"1\",\"slug\":\"city\",\"label\":\"City\",\"sort_order\":0,\"is_extra\":0,\"children\":[]},{\"id\":5,\"type\":\"Short answer\",\"name\":\"Zip code\",\"validation\":\"Text, numbers and symbols\",\"is_required\":1,\"is_default\":\"1\",\"slug\":\"zip_code\",\"label\":\"Custom Zip code\",\"sort_order\":0,\"is_extra\":0,\"children\":[]},{\"id\":6,\"type\":\"Short answer\",\"name\":\"Country\",\"validation\":\"Text only\",\"is_required\":1,\"is_default\":\"1\",\"slug\":\"country\",\"label\":\"Country\",\"sort_order\":0,\"is_extra\":0,\"children\":[]}]","type":"text"}]},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/forms","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","forms"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"1ef2fd0f-1ad0-4c92-a76e-af4b2a8bd78c","name":"Create Form","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"test title","type":"text"},{"key":"url","value":"test url","type":"text"},{"key":"header","value":"test header","type":"text"},{"key":"text","value":"description","type":"text"},{"key":"logo","type":"file","src":[]},{"key":"background_image","type":"file","src":[]},{"key":"primary_color","value":"#728BB3","type":"text"},{"key":"file_button[label]","value":"file button label","type":"text"},{"key":"file_button[color]","value":"#728BB3","type":"text"},{"key":"file_button[is_required]","value":"false","type":"text"},{"key":"button_label","value":"button label","type":"text"},{"key":"website","value":"turis.app","type":"text"},{"key":"display_link","value":"false","type":"text"},{"key":"fields[0][type]","value":"Short answer","type":"text"},{"key":"fields[0][name]","value":"Company Reg. No.","type":"text"},{"key":"fields[0][validation]","value":"Text, numbers and symbols","type":"text"},{"key":"fields[0][is_required]","value":"1","type":"text"},{"key":"fields[0][is_default]","value":"0","type":"text"},{"key":"fields[0][is_extra]","value":"false","type":"text"},{"key":"fields[0][slug]","value":"vat_number","type":"text"},{"key":"fields[0][label]","value":"Company Reg. No.","type":"text"},{"key":"fields[0][id]","value":"null","type":"text"}]},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/forms"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"test title\",\n    \"url\": \"test\",\n    \"header\": \"test header\",\n    \"text\": \"description\",\n    \"primary_color\": \"#728BB3\",\n    \"file_button\": {\n        \"label\": \"file button label\",\n        \"color\": \"#728BB3\",\n        \"is_required\": \"false\"\n    },\n    \"button_label\": \"button label\",\n    \"website\": \"https://turis.app\",\n    \"display_link\": false,\n    \"logo_path\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/media/forms_image_195_2024-03-26 07:04:40.jpg\",\n    \"background_image_path\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/media/forms_image_732_2024-03-26 07:04:40.jpg\",\n    \"updated_at\": \"2024-03-28 09:00:32\",\n    \"created_at\": \"2024-03-28 09:00:32\",\n    \"id\": 53,\n    \"submissions_general_count\": 0,\n    \"submissions_new_count\": 0,\n    \"submissions\": [],\n    \"fields\": [\n        {\n            \"id\": 166,\n            \"type\": \"Short answer\",\n            \"name\": \"Company Reg. No.\",\n            \"validation\": \"Text, numbers and symbols\",\n            \"is_required\": 1,\n            \"is_default\": \"0\",\n            \"slug\": \"vat_number\",\n            \"label\": \"Company Reg. No.\",\n            \"sort_order\": 0,\n            \"is_extra\": 0,\n            \"pivot\": {\n                \"form_id\": 53,\n                \"field_id\": 166,\n                \"created_at\": \"2024-03-28 09:00:32\",\n                \"updated_at\": \"2024-03-28 09:00:32\"\n            }\n        }\n    ]\n}"}],"_postman_id":"80260216-ba44-405c-88c0-9261107f4fda"},{"name":"Delete form","id":"70a41dce-f706-4f2d-b5bb-d69b131dd92e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/forms/:formId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","forms",":formId"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"503b3bfc-1efe-4e6e-ad32-eae9f27b27c5","type":"any","value":"","key":"formId"}]}},"response":[],"_postman_id":"70a41dce-f706-4f2d-b5bb-d69b131dd92e"}],"id":"b3a5ba3e-ba36-4a04-80b6-31bf04de748a","_postman_id":"b3a5ba3e-ba36-4a04-80b6-31bf04de748a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Submissions","item":[{"name":"Get Submissions","id":"983dd73d-df5f-41d2-b62e-a619c7c78f07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/submissions/:formId/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","submissions",":formId",""],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"54a648fc-e507-4331-96f6-d644a004cec1","type":"any","value":"","key":"formId"}]}},"response":[{"id":"70e94c1c-907f-4815-aaf8-487720fa5ebc","name":"Get Submissions","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/submissions/:formId/","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","submissions",":formId",""],"variable":[{"key":"formId","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"submissions\": [\n        {\n            \"id\": 41,\n            \"form_id\": 54,\n            \"status\": \"Pending\",\n            \"file_url\": null,\n            \"created_at\": \"2024-03-28 09:11:03\",\n            \"updated_at\": \"2024-03-28 09:13:29\",\n            \"company_url\": \"N/A\",\n            \"data\": [\n                {\n                    \"id\": 81,\n                    \"submission_id\": 41,\n                    \"form_id\": 54,\n                    \"field_id\": 167,\n                    \"value\": \"test\",\n                    \"created_at\": \"2024-03-28 09:11:03\",\n                    \"updated_at\": \"2024-03-28 09:11:03\",\n                    \"field\": {\n                        \"id\": 167,\n                        \"type\": \"Short answer\",\n                        \"name\": \"Company Reg. No.\",\n                        \"validation\": \"Text, numbers and symbols\",\n                        \"is_required\": 1,\n                        \"is_default\": \"0\",\n                        \"slug\": \"vat_number\",\n                        \"label\": \"Company Reg. No.\",\n                        \"sort_order\": 0,\n                        \"is_extra\": 0\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 42,\n            \"form_id\": 54,\n            \"status\": \"Pending\",\n            \"file_url\": \"https://replicationoneturis.fra1.digitaloceanspaces.com/qq/submission/file/1711617178phphjx8\",\n            \"created_at\": \"2024-03-28 09:12:58\",\n            \"updated_at\": \"2024-03-28 09:13:31\",\n            \"company_url\": \"N/A\",\n            \"data\": [\n                {\n                    \"id\": 82,\n                    \"submission_id\": 42,\n                    \"form_id\": 54,\n                    \"field_id\": 167,\n                    \"value\": \"test\",\n                    \"created_at\": \"2024-03-28 09:12:58\",\n                    \"updated_at\": \"2024-03-28 09:12:58\",\n                    \"field\": {\n                        \"id\": 167,\n                        \"type\": \"Short answer\",\n                        \"name\": \"Company Reg. No.\",\n                        \"validation\": \"Text, numbers and symbols\",\n                        \"is_required\": 1,\n                        \"is_default\": \"0\",\n                        \"slug\": \"vat_number\",\n                        \"label\": \"Company Reg. No.\",\n                        \"sort_order\": 0,\n                        \"is_extra\": 0\n                    }\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"983dd73d-df5f-41d2-b62e-a619c7c78f07"},{"name":"Get by id","id":"93231453-6e51-4592-8d13-afc605c3bafd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/submissions/getById/:submissionId/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","submissions","getById",":submissionId",""],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[{"id":"afd2b7cd-7705-4905-a2bf-bfcea82a003b","type":"any","value":"","key":"submissionId"}]}},"response":[{"id":"6fdf9b13-bbe3-421f-bf98-dc7f836e0cb8","name":"Get by id","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/submissions/getById/:submissionId/","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","submissions","getById",":submissionId",""],"variable":[{"key":"submissionId","value":""}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"form_id\": 1,\n        \"status\": \"NEW!\",\n        \"file_url\": null,\n        \"created_at\": \"2024-08-16 12:01:12\",\n        \"updated_at\": \"2024-08-16 12:01:12\",\n        \"company_url\": \"N/A\",\n        \"data\": [\n            {\n                \"id\": 1,\n                \"submission_id\": 1,\n                \"form_id\": 1,\n                \"field_id\": 1,\n                \"value\": \"test\",\n                \"created_at\": \"2024-08-16 12:01:12\",\n                \"updated_at\": \"2024-08-16 12:01:12\",\n                \"field\": {\n                    \"id\": 1,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Company name\",\n                    \"validation\": \"Text only\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"company_name\",\n                    \"label\": null,\n                    \"sort_order\": 0,\n                    \"is_extra\": 0\n                }\n            },\n            {\n                \"id\": 2,\n                \"submission_id\": 1,\n                \"form_id\": 1,\n                \"field_id\": 2,\n                \"value\": \"test@test.com\",\n                \"created_at\": \"2024-08-16 12:01:12\",\n                \"updated_at\": \"2024-08-16 12:01:12\",\n                \"field\": {\n                    \"id\": 2,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Email\",\n                    \"validation\": \"Email\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"email\",\n                    \"label\": null,\n                    \"sort_order\": 0,\n                    \"is_extra\": 0\n                }\n            },\n            {\n                \"id\": 3,\n                \"submission_id\": 1,\n                \"form_id\": 1,\n                \"field_id\": 3,\n                \"value\": \"test\",\n                \"created_at\": \"2024-08-16 12:01:12\",\n                \"updated_at\": \"2024-08-16 12:01:12\",\n                \"field\": {\n                    \"id\": 3,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Address\",\n                    \"validation\": \"Text, numbers and symbols\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"address\",\n                    \"label\": null,\n                    \"sort_order\": 0,\n                    \"is_extra\": 0\n                }\n            },\n            {\n                \"id\": 4,\n                \"submission_id\": 1,\n                \"form_id\": 1,\n                \"field_id\": 4,\n                \"value\": \"test\",\n                \"created_at\": \"2024-08-16 12:01:12\",\n                \"updated_at\": \"2024-08-16 12:01:12\",\n                \"field\": {\n                    \"id\": 4,\n                    \"type\": \"Short answer\",\n                    \"name\": \"City\",\n                    \"validation\": \"Text only\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"city\",\n                    \"label\": null,\n                    \"sort_order\": 0,\n                    \"is_extra\": 0\n                }\n            },\n            {\n                \"id\": 5,\n                \"submission_id\": 1,\n                \"form_id\": 1,\n                \"field_id\": 5,\n                \"value\": \"test\",\n                \"created_at\": \"2024-08-16 12:01:12\",\n                \"updated_at\": \"2024-08-16 12:01:12\",\n                \"field\": {\n                    \"id\": 5,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Zip code\",\n                    \"validation\": \"Text, numbers and symbols\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"zip_code\",\n                    \"label\": null,\n                    \"sort_order\": 0,\n                    \"is_extra\": 0\n                }\n            },\n            {\n                \"id\": 6,\n                \"submission_id\": 1,\n                \"form_id\": 1,\n                \"field_id\": 6,\n                \"value\": \"Algeria\",\n                \"created_at\": \"2024-08-16 12:01:12\",\n                \"updated_at\": \"2024-08-16 12:01:12\",\n                \"field\": {\n                    \"id\": 6,\n                    \"type\": \"Short answer\",\n                    \"name\": \"Country\",\n                    \"validation\": \"Text only\",\n                    \"is_required\": 1,\n                    \"is_default\": \"1\",\n                    \"slug\": \"country\",\n                    \"label\": null,\n                    \"sort_order\": 0,\n                    \"is_extra\": 0\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"93231453-6e51-4592-8d13-afc605c3bafd"}],"id":"139b624f-ed02-4990-9e7b-327dab9dc1ac","_postman_id":"139b624f-ed02-4990-9e7b-327dab9dc1ac","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Vision","item":[{"name":"Initialize import","id":"c634a3db-5bc8-4046-85e6-4f52e33954d2","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"text_content","value":"","description":"<p>(Optional) Plain text content of the order, e.g., from an email body. Max 100,000 characters.</p>\n","type":"text","uuid":"32361e19-0759-43e3-a46e-395d01e2abcd"},{"key":"files[]","description":"<p>(Optional) Order files to process. Accepts PDF, CSV, XML, JSON, TXT and other document formats. Multiple files can be uploaded. Max file size: 10MB per file.</p>\n","type":"file","uuid":"2ba6c08c-ce1e-4013-bbff-d0e0420b1113","value":null}]},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/vision","description":"<p>Initializes a new order import using the Vision processing system. This endpoint accepts order information either as plain text or as file attachments (or both), which will be processed asynchronously to extract order details.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<h4 id=\"body-parameters-multipartform-data-or-json\">Body Parameters (multipart/form-data or JSON)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>text_content</code></td>\n<td>string</td>\n<td>No*</td>\n<td>Plain text content of the order (e.g., email body). Maximum 100,000 characters.</td>\n</tr>\n<tr>\n<td><code>files[]</code></td>\n<td>file[]</td>\n<td>No*</td>\n<td>Array of files to process. Supports multiple file uploads. Each file must be less than 10MB.</td>\n</tr>\n</tbody>\n</table>\n</div><p>*Note: At least one of <code>text_content</code> or <code>files[]</code> must be provided.</p>\n<h3 id=\"supported-file-formats\">Supported File Formats</h3>\n<ul>\n<li><p>PDF (.pdf)</p>\n</li>\n<li><p>CSV (.csv)</p>\n</li>\n<li><p>XML (.xml)</p>\n</li>\n<li><p>JSON (.json)</p>\n</li>\n<li><p>YAML (.yaml, .yml)</p>\n</li>\n<li><p>Text (.txt, .rtf, .md, .log)</p>\n</li>\n<li><p>HTML (.html, .htm)</p>\n</li>\n<li><p>Excel (.xlsx, .xls)</p>\n</li>\n</ul>\n<h3 id=\"processing-flow\">Processing Flow</h3>\n<ol>\n<li><p>The endpoint validates the input and creates an imported order record</p>\n</li>\n<li><p>Files and text content are stored securely</p>\n</li>\n<li><p>An asynchronous job is queued to process the order</p>\n</li>\n<li><p>The processed order becomes available in the Vision interface for review and acceptance</p>\n</li>\n</ol>\n<h3 id=\"important-notes\">Important Notes</h3>\n<ul>\n<li><p>Processing is asynchronous - the order will not be immediately available</p>\n</li>\n<li><p>Processing time varies based on file complexity (typically 1-5 minutes)</p>\n</li>\n<li><p>The <code>importedOrderId</code> returned can be used to track the order status</p>\n</li>\n<li><p>Duplicate detection is not performed - submitting the same order multiple times will create multiple records</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","vision"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"57355641-f0de-4abc-baa4-ada23d8e99d7","name":"Multiple files and text","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"text_content","value":"Order #PO-2024-001\\nCustomer: Example Corp\\nDelivery Date: 2024-03-15\\n\\nItems:\\n1. Product ABC - Quantity: 50 - Unit Price: €25.00\\n2. Product XYZ - Quantity: 100 - Unit Price: €15.50","type":"text","uuid":"b5498965-8375-4c26-9571-a8ae5f3744be"},{"key":"files[]","type":"file","uuid":"b7524c2a-04e6-4c25-93ca-900fece1ebec","src":[]},{"key":"files[]","type":"file","uuid":"674265dc-e4aa-490c-909b-d55d5bfe1a33","src":[]}],"options":{"raw":{"language":"json"}}},"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/vision"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Import initialized successfully\",\n    \"importedOrderId\": 123\n}"}],"_postman_id":"c634a3db-5bc8-4046-85e6-4f52e33954d2"}],"id":"aa20c94a-c6e1-4689-a4ba-8030d1aa228e","_postman_id":"aa20c94a-c6e1-4689-a4ba-8030d1aa228e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"User","item":[{"name":"Check email availability","id":"c77b44ac-a4c7-4eef-9e3a-62285a1888a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/users/check-email?email={{email}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}},"urlObject":{"path":["{{api_prefix}}","users","check-email"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[{"key":"email","value":"{{email}}"}],"variable":[]}},"response":[{"id":"5f314ed0-bab7-4a46-bf37-7d1ff0509950","name":"Available","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/users/check-email?email={{email}}","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","users","check-email"],"query":[{"key":"email","value":"{{email}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"available\": true\n    }\n}"},{"id":"ab40c5c3-0a7e-4985-8a95-aaeca1298842","name":"Not available","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/users/check-email?email={{email}}","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","users","check-email"],"query":[{"key":"email","value":"{{email}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"available\": false,\n        \"user\": {\n            \"id\": 2,\n            \"type\": \"buyer\"\n        }\n    }\n}"},{"id":"8b0c5bb0-e286-42d4-a0eb-7e481946d7af","name":"Invalid email","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{schema}}{{tenant}}.{{base_url}}/{{api_prefix}}/users/check-email?email={{email}}","host":["{{schema}}{{tenant}}","{{base_url}}"],"path":["{{api_prefix}}","users","check-email"],"query":[{"key":"email","value":"{{email}}"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Mon, 05 Jul 2021 03:44:40 GMT"},{"key":"phpdebugbar-id","value":"X19caa7469fe962e306dc889481132371"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The given data was invalid.\",\n    \"errors\": {\n        \"email\": [\n            \"The email must be a valid email address.\"\n        ]\n    }\n}"}],"_postman_id":"c77b44ac-a4c7-4eef-9e3a-62285a1888a3"}],"id":"1cc999b3-7c1f-4e13-b281-f127ae892182","_postman_id":"1cc999b3-7c1f-4e13-b281-f127ae892182","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","id":"e9e89722-3c4b-4995-9ca3-e79e7d8f5fa6","name":"Turis API - Public","type":"collection"}}},{"name":"Get token","event":[{"listen":"test","script":{"exec":["const responseJson = JSON.parse(responseBody);","","pm.environment.set('token', responseJson.access_token);"],"type":"text/javascript","id":"0fdd071a-3fb1-4ec3-800e-18f85fba0272"}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"3ab1c7b9-5b92-4bdd-b61a-d2377db53db9"}}],"id":"1dadb9ea-4a77-4b0d-8da3-54f9d4a6fa9a","protocolProfileBehavior":{"followRedirects":false,"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"}]},"url":"{{schema}}{{tenant}}.{{base_url}}/oauth/token","urlObject":{"path":["oauth","token"],"host":["{{schema}}{{tenant}}","{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1dadb9ea-4a77-4b0d-8da3-54f9d4a6fa9a"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.request.headers.add({key: 'Accept', value: 'application/json' });"],"id":"b4636479-eb99-44cd-a240-616a6e2c38c9"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"00003885-98bd-44c7-8496-fe1f81d3635d"}}],"variable":[{"key":"currencyId","value":""},{"key":"specialPriceListId","value":""},{"key":"shippingDeliveryTermId","value":""},{"key":"payment","value":""},{"key":"languageId","value":""},{"key":"brandId","value":""},{"key":"variantId","value":""},{"key":"variantEntityId","value":""},{"key":"variantEntitySizeId","value":""},{"key":"variantEntitySize","value":""},{"key":"companyId","value":""},{"key":"buyerId","value":""},{"key":"categoryId","value":""},{"key":"productId","value":""},{"key":"orderId","value":""},{"key":"tagId","value":""},{"key":"statusId","value":""},{"key":"deliveryId","value":""},{"key":"productGroup","value":""},{"key":"subscriptionId","value":""},{"key":"payment_term_id","value":""}]}