{"info":{"_postman_id":"830594aa-7acf-4180-a210-80aa97c89427","name":"PPG connecTED API","description":"<html><head></head><body><p>The connecTED API allows clients to make requests to handle orders and shipments for mass customised products.</p>\n<p><strong>Version</strong></p>\n<p>ConnecTED API V1.0. Current and latest version.</p>\n<p><em>Documentation last updated 2024/05</em></p>\n<p><strong>Responses</strong></p>\n<p>All API responses are in JSON format.</p>\n<p><em>Please note you will need to request an identity to be created to use our API, please discuss this with your sales contact.</em></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15460365","collectionId":"830594aa-7acf-4180-a210-80aa97c89427","publishedId":"UzBqpQoy","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-02T10:05:34.000Z"},"item":[{"name":"Authentication","item":[{"name":"GetToken","event":[{"listen":"test","script":{"id":"887e32a9-a7a1-4a02-bacc-b5dba66212fe","exec":["pm.test(\"Response time is less than 600ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(600);","});","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(\"Forbidden\");","});","pm.test(\"Status code is 403\", function () {","    pm.response.to.have.status(403);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2b56f715-d2d0-4545-b68c-e3089d57dd33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"yourusername"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Define the content type as JSON</p>\n","type":"text"}],"url":"https://sandboxapi.precisionproco.co.uk/token?username=yourusername","description":"<p>This endpoint provides a JWT token required for authentication on subsequent calls. The token value is to be used as a Bearer token.</p>\n<p>Parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>username</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["token"],"host":["https://sandboxapi.precisionproco.co.uk"],"query":[{"key":"username","value":"yourusername"}],"variable":[]}},"response":[{"id":"d5d66249-0bf0-45df-8fca-1cf67731680d","name":"GetToken_200_OK","originalRequest":{"method":"POST","header":[],"url":"https://sandboxapi.precisionproco.co.uk/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:52:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1231"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"bc2b3e1f-3cd0-4fbb-ac2a-ccf0d19d4bf5"},{"key":"x-amz-apigw-id","value":"VqbzOEYqLPEFtVw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da7347-22413c2c3f05f14104d23a7a;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"IdToken\": \"eyJraWQiOiJMTFRkSllzdE1GQm40WW1lMnpcL1NjUFBoQ2YrVkJIR1NkaGxGaXpWbEtpMD0iLCJhbGciOiJSUzI1NiJ9.........\",\n    \"ExpiresIn\": 3600,\n    \"TokenType\": \"Bearer\"\n}"},{"id":"f6ce6519-bc77-4835-b90a-b2bcee0815e9","name":"GetToken_401_Unauthroized","originalRequest":{"method":"POST","header":[],"url":"https://sandboxapi.precisionproco.co.uk/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:53:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"41"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c3f1f200-d4c1-4976-9728-dded89f5293d"},{"key":"x-amz-apigw-id","value":"VqcAsFNXLPEFuog="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da739d-07bd713053194a541cc1641e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unauthorized access for user1\"\n}"}],"_postman_id":"2b56f715-d2d0-4545-b68c-e3089d57dd33"}],"id":"974d8e21-5390-4d53-ba52-54b52c76c09c","description":"<p>Authentication must occur before sending any API request.</p>\n<p>A JWT (JSON Web Token) will be returned, which is required as a Bearer token to authenticate any subsequent API call.</p>\n","_postman_id":"974d8e21-5390-4d53-ba52-54b52c76c09c"},{"name":"Order","item":[{"name":"GetOrderStatus","id":"3561ba28-6fa1-4dab-8862-e03f740b7e68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token will be returned from endpoint>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Define the content type as JSON</p>\n","type":"text"}],"url":"https://sandboxapi.precisionproco.co.uk/order?orderId=50220000","description":"<p>This endpoint returns the latest order status for a specific orderId.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>orderId</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["order"],"host":["https://sandboxapi.precisionproco.co.uk"],"query":[{"key":"orderId","value":"50220000"}],"variable":[]}},"response":[{"id":"2092d23f-a0b2-40aa-92df-1834a6cc1dea","name":"GetOrderStatus_200_OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxapi.precisionproco.co.uk/order?orderId=50220000","host":["https://sandboxapi.precisionproco.co.uk"],"path":["order"],"query":[{"key":"orderId","value":"50220000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:25:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"899b8af4-2e48-4c7e-aea0-48e6e5a8a198"},{"key":"x-amz-apigw-id","value":"VqX1LHbELPEFtIA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6ced-02efa3fa0f5429440331c061;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderStatus\": \"live\"\n}"},{"id":"0ac874f0-16cf-46f7-bb75-96fa2f1398a0","name":"GetOrderStatus_401_Unauthroized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxapi.precisionproco.co.uk/order?orderId=50220000","host":["https://sandboxapi.precisionproco.co.uk"],"path":["order"],"query":[{"key":"orderId","value":"50220000"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:55:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ccdac293-bb12-4a8a-ad76-ac9bdc125404"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"VqcWrFxHLPEFS2g="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"3561ba28-6fa1-4dab-8862-e03f740b7e68"},{"name":"SubmitOrder","event":[{"listen":"test","script":{"id":"6cd100f9-972f-420a-b0ed-812d55106f99","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(\"Order Received\");","});","pm.test(\"Response time is less than 1.5s\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1445);","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"16200ee7-8986-4f52-aa51-62fa69ca0b4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token will be returned from endpoint>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Define the content type as JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"requestType\": {\r\n        \"type\": \"Order\"\r\n    },\r\n    \"order\": {\r\n        \"source\": \"source\",\r\n        \"sourceOrderId\": \"50220000\",\r\n        \"currency\": \"GBP\",\r\n        \"customerOrderId\": \"123456789\",\r\n        \"dueDate\": \"0001-01-01T00:00:00\",\r\n        \"requiresFileProcess\": false,\r\n        \"destination\": \"precision\",\r\n        \"extraData\": {\r\n            \"redo\": false,\r\n            \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n            \"brand\": \"Brand\"\r\n        },\r\n        \"tags\": null,\r\n        \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n        \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n    },\r\n    \"shipments\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"shippingAddress\": {\r\n                \"name\": \"CustomerName\",\r\n                \"companyName\": \"CompanyName\",\r\n                \"address1\": \"Address Line1\",\r\n                \"address2\": null,\r\n                \"address3\": null,\r\n                \"town\": \"London\",\r\n                \"postcode\": \"RM9 6FB\",\r\n                \"state\": null,\r\n                \"isoCountry\": \"GB\",\r\n                \"country\": null,\r\n                \"email\": \"email@email.com\",\r\n                \"phone\": \"0741111111\"\r\n            },\r\n            \"returnAddress\": {\r\n                \"name\": \"Sender\",\r\n                \"companyName\": \"Sender Company\",\r\n                \"address1\": \"Address Line1\",\r\n                \"address2\": \"Address Line2\",\r\n                \"address3\": null,\r\n                \"town\": \"London\",\r\n                \"postcode\": \"RM9 6FB\",\r\n                \"state\": null,\r\n                \"isoCountry\": \"GB\",\r\n                \"country\": \"United Kingdom\",\r\n                \"email\": \"email@email.com\",\r\n                \"phone\": \"02011111111\"\r\n            },\r\n            \"shippingAlias\": \"default\",\r\n            \"shippingCost\": {\r\n                \"value\": \"3.99\",\r\n                \"currency\": \"GBP\"\r\n            },\r\n            \"carrierFields\": {\r\n                \"costCenter\": \"123456789\",\r\n                \"totalLandedCost\": 12.50,\r\n                \"currency\": \"GBP\"\r\n            },\r\n            \"attachments\": [\r\n                {\r\n                    \"path\": \"http://www.site.com/insert.pdf\",\r\n                    \"type\": \"insert\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"items\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"itemId\": \"179103434_210542511\",\r\n            \"barcode\": \"210542511-1095720601\",\r\n            \"extraData\": {\r\n                \"productName\": \"wrappingpaper001\",\r\n                \"commodityCode\": \"4911910090\",\r\n                \"tracked\": \"true\"\r\n            },\r\n            \"sku\": \"wrappingpaper001\",\r\n            \"quantity\": 1,\r\n            \"harmonizedCode\": \"4911910090\",\r\n            \"unitPrice\": 1.0,\r\n            \"unitWeight\": 0,\r\n            \"components\": [\r\n                {\r\n                    \"componentId\": \"222614523_210542511\",\r\n                    \"barcode\": null,\r\n                    \"code\": \"WRAPPINGPAPER\",\r\n                    \"pages\": 1,\r\n                    \"fetch\": true,\r\n                    \"path\": \"file_download_link\",\r\n                    \"attributes\": null\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"stockItems\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order","description":"<p>This endpoint should be called to submit a new order.</p>\n<p><strong>PLEASE NOTE: There are some examples of different types of orders saved as sample requests, which should assist in understanding the constructs.</strong></p>\n<p>The order submission process, is asynchronous in nature due to the need for downstream validation in manufacturing systems.</p>\n<p>The checks for product availability and file download will be performed before an asynchronous response is sent. A webhook will need to be configured to receive the asynchronous status updates (<code>success</code> and <code>failed</code>).</p>\n<p><em>Notes: If you do not supply a return address, the default production facility address will be used on shipping labels for items sent directly to end customers. Please discuss with your account contact for more information.</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requestType.type</code></td>\n<td>string</td>\n<td>yes (\"Order\")</td>\n</tr>\n<tr>\n<td><code>order</code></td>\n<td>object{}</td>\n<td></td>\n</tr>\n<tr>\n<td><code>order.source</code></td>\n<td>string</td>\n<td>yes - this would normally be your account name i.e. <strong>my-company</strong> provided during onboarding, please contact us for further information if needed</td>\n</tr>\n<tr>\n<td><code>order.sourceOrderId</code></td>\n<td>string</td>\n<td>yes - this is your order reference to be quoted and used for tracking the order through production and shipping  <br />  <br />Alphanumeric only with _ and - permitted. Max 50 characters</td>\n</tr>\n<tr>\n<td><code>order.currency</code></td>\n<td>string</td>\n<td>3 character code from ISO 4217 list  <br />(<a href=\"https://docs.1010data.com/1010dataReferenceManual/DataTypesAndFormats/currencyUnitCodes.html\">https://docs.1010data.com/1010dataReferenceManual/DataTypesAndFormats/currencyUnitCodes.html</a>)</td>\n</tr>\n<tr>\n<td><code>order.customerOrderId</code></td>\n<td>string</td>\n<td>yes - this is typically the same as the sourceOrderId, as a second reference normally quoted to your end customer, can be different if needed.  <br />  <br />Max 50 chars</td>\n</tr>\n<tr>\n<td><code>order.dueDate</code></td>\n<td>string</td>\n<td>no, typically excluded  <br />if supplied (a datetime as ISO string example: 2022-06-15T13:21:09.623Z)</td>\n</tr>\n<tr>\n<td><code>order.requiresFileProcess</code></td>\n<td>boolean</td>\n<td>true or <strong>false</strong>  <br />This is reserved for files submitted in ZIP or other archive formats  <br />  <br />Should be <strong>false</strong> unless pre-agreed during the onboarding process</td>\n</tr>\n<tr>\n<td><code>order.destination</code></td>\n<td>string</td>\n<td>PSP account name - should be one of following:  <br /><strong>PPG-WFR, precision</strong> or <strong>concept</strong>  <br />  <br />If left blank we will route according to the SKU supplied in the orders, default is <strong>precision</strong>. Please discuss during onboarding</td>\n</tr>\n<tr>\n<td><code>order.extraData</code></td>\n<td>Key Value (dictionary) string:string</td>\n<td>Not required  <br />(User defined data)  <br />  <br />Example:  <br />  <br /><code>\"extraData\": {</code>  <br /><code>\"key1\": \"value1\",</code>  <br /><code>\"key2\": \"value2\"</code>  <br /><code>}</code></td>\n</tr>\n<tr>\n<td><code>order.tags</code></td>\n<td>string[]</td>\n<td>Not required, but if supplied example below:  <br />  <br /><code>\"tags\": [</code>  <br /><code>\"tag1\",</code>  <br /><code>\"tag2\"</code>  <br />]</td>\n</tr>\n<tr>\n<td><code>order.transactionId</code></td>\n<td>GUID</td>\n<td>yes (<em>please generate a random GUID, or pass through an internal reference GUID to assist in tracing requests end to end.</em>)</td>\n</tr>\n<tr>\n<td><code>order.timestamp</code></td>\n<td>string</td>\n<td>yes (a datetime as ISO string example: 2022-06-15T13:21:09.623Z)</td>\n</tr>\n<tr>\n<td><strong><code>shipments</code></strong></td>\n<td>array[]</td>\n<td><em>array of shipment objects, please examples of shipments for single or multiple shipment options</em></td>\n</tr>\n<tr>\n<td><code>shipments.shipmentIndex</code></td>\n<td>integer</td>\n<td>only required if sending split shipments (default is 0)  <br />  <br />Incremental index of shipment object started from 0 for first shipment.</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.name</code></td>\n<td>string</td>\n<td>yes, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.companyName</code></td>\n<td>string</td>\n<td>preferred, or customer name, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.address1</code></td>\n<td>string</td>\n<td>yes, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.address2</code></td>\n<td>string</td>\n<td>no, optional, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.address3</code></td>\n<td>string</td>\n<td>no, optional, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.town</code></td>\n<td>string</td>\n<td>yes, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.postcode</code></td>\n<td>string</td>\n<td>yes (if country supports it), max 20 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.state</code></td>\n<td>string</td>\n<td>no, but recommended, i.e. CA or Derbyshire, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.isoCountry</code></td>\n<td>string</td>\n<td>2 character code from ISO-3166-2 list (<a href=\"https://www.iso.org/obp/ui/#search\">https://www.iso.org/obp/ui/#search</a>)</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.country</code></td>\n<td>string</td>\n<td>country full name, (required if ISO country code not supplied)  <br />e.g., united kingdom, max 30 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.email</code></td>\n<td>string</td>\n<td>yes, for some carrier services, max 100 chars</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAddress.phone</code></td>\n<td>string</td>\n<td>no, optional, max 30 chars should be in international format i.e. +44 7799 123456</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress</code></td>\n<td>object {}</td>\n<td>no, but if used, please follow the field guide below, same requirements as shipping address.</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.name</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.companyName</code></td>\n<td>string</td>\n<td>preferred, or customer name</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.address1</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.address2</code></td>\n<td>string</td>\n<td>no</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.address3</code></td>\n<td>string</td>\n<td>no</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.town</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.postcode</code></td>\n<td>string</td>\n<td>yes (if country supports it)</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.state</code></td>\n<td>string</td>\n<td>no (but recommended) i.e. CA or Derbyshire</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.isoCountry</code></td>\n<td>string</td>\n<td>2 character code from ISO-3166-2 list (<a href=\"https://www.iso.org/obp/ui/#search\">https://www.iso.org/obp/ui/#search</a>)</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.country</code></td>\n<td>string</td>\n<td>country full name, (required if ISO country code not supplied)  <br />e.g., united kingdom</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.email</code></td>\n<td>string</td>\n<td>yes, for some carrier services</td>\n</tr>\n<tr>\n<td><code>shipments.returnAddress.phone</code></td>\n<td>string</td>\n<td>no</td>\n</tr>\n<tr>\n<td><code>shipments.shippingAlias</code></td>\n<td>string</td>\n<td>yes, matches one of the agreed carrier method aliases</td>\n</tr>\n<tr>\n<td><code>shipments.shippingCost</code></td>\n<td>object {}</td>\n<td>The shipping cost is a mandatory block but you can use the default values below as 1.00 GBP</td>\n</tr>\n<tr>\n<td><code>shipments.shippingCost.value</code></td>\n<td>money (float)</td>\n<td>yes, if unknown use 1.00 as value</td>\n</tr>\n<tr>\n<td><code>shipments.shippingCost.currency</code></td>\n<td>string</td>\n<td>3 character code from ISO 4217 list  <br />(<a href=\"https://docs.1010data.com/1010dataReferenceManual/DataTypesAndFormats/currencyUnitCodes.html\">https://docs.1010data.com/1010dataReferenceManual/DataTypesAndFormats/currencyUnitCodes.html</a>), if not required set to <strong>GBP</strong></td>\n</tr>\n<tr>\n<td><code>shipments.carrierFields</code></td>\n<td>Key Value Pair (dictionary) string:object</td>\n<td>A series of key/value pairs which should match carrier integration field names and values. If these are provided in the order they will override values in the shipping method.  <br />  <br />\"carrierFields\": {  <br />\"key1\": \"value1\",  <br />\"key2\": \"value2\"  <br />}  <br />  <br />Ex:  <br />\"carrierFields\": {  <br />\"costCenter\": \"123456789\",  <br />\"totalLandedCost\": 12.50,  <br />\"currency\": \"GBP\"  <br />}</td>\n</tr>\n<tr>\n<td><strong>items</strong></td>\n<td>array[]</td>\n<td><em>array of production items</em></td>\n</tr>\n<tr>\n<td><code>items.shipmentIndex</code></td>\n<td>integer</td>\n<td>no, optional if using split shipments, specify which shipping index this item relates to.  <br />  <br /><em>See examples for split shipping submission</em></td>\n</tr>\n<tr>\n<td><code>items.itemId</code></td>\n<td>string</td>\n<td>yes, (unique per order, usually contains the item \"index\")</td>\n</tr>\n<tr>\n<td><code>items.barcode</code></td>\n<td>string</td>\n<td>no, if supplied, must be unique for brand, max 30 chars</td>\n</tr>\n<tr>\n<td><code>items.extraData</code></td>\n<td>Key Value Pair (dictionary) string:string</td>\n<td>no (User defined data)  <br />  <br />Example:  <br />  <br /><code>\"extraData\": {</code>  <br /><code>\"key1\": \"value1\",</code>  <br /><code>\"key2\": \"value2\"</code>  <br /><code>}</code></td>\n</tr>\n<tr>\n<td><code>items.sku</code></td>\n<td>string</td>\n<td>yes (matches agreed list of production codes) - will be agreed during onboarding process</td>\n</tr>\n<tr>\n<td><code>items.quantity</code></td>\n<td>integer</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>items.harmonizedCode</code></td>\n<td>string</td>\n<td>optional, only used for international shipping, and must be in correct format  <br />  <br /><a href=\"https://www.gov.uk/trade-tariff\">https://www.gov.uk/trade-tariff</a></td>\n</tr>\n<tr>\n<td><code>items.unitPrice</code></td>\n<td>money (float)</td>\n<td>no, optional, agreed during onboarding</td>\n</tr>\n<tr>\n<td><code>items.unitWeight</code></td>\n<td>integer</td>\n<td>no, optional, agreed during onboarding, useful for variable page products</td>\n</tr>\n<tr>\n<td><strong>items.components</strong></td>\n<td>array[]</td>\n<td><em>array of item component objects</em></td>\n</tr>\n<tr>\n<td><code>items.components.componentId</code></td>\n<td>string</td>\n<td>yes, (unique per order, usually contains the component \"index\")</td>\n</tr>\n<tr>\n<td><code>items.components.barcode</code></td>\n<td>string</td>\n<td>optional, if supplied, must be unique and max 30 chars</td>\n</tr>\n<tr>\n<td><code>items.components.code</code></td>\n<td>string</td>\n<td>yes (matches agreed list of component codes for SKU)  <br />  <br />These will be provided as part of the product specifications for your chosen SKU's.  <br />  <br />Examples:  <br />  <br /><strong>ITM</strong> for single component products, or <strong>CVR</strong> / <strong>INN</strong> for multi-component items. Please reach out to the onboarding proejct manager for more information.</td>\n</tr>\n<tr>\n<td><code>items.components.pages</code></td>\n<td>integer</td>\n<td>yes. min of 1</td>\n</tr>\n<tr>\n<td><code>items.components.fetch</code></td>\n<td>boolean</td>\n<td>yes, must be <strong>true</strong></td>\n</tr>\n<tr>\n<td><code>items.components.path</code></td>\n<td>string</td>\n<td>yes, absolute URL to artwork file  <br />(must be accessible without separate authentication i.e. pre-signed or IP whitelisted)</td>\n</tr>\n<tr>\n<td><code>items.components.attributes</code></td>\n<td>Key Value (dictionary) string:string</td>\n<td>optional, based on product component.  <br />  <br />(values need to match those allowed)  <br />  <br />PPG will supply any attribute guidance during onboarding process  <br />  <br /><code>\"attributes\": {</code>  <br /><code>\"attr1\": \"value1\",</code>  <br /><code>\"attr2\": \"value2\"</code>  <br /><code>}</code></td>\n</tr>\n<tr>\n<td><strong>stockItems</strong></td>\n<td>array[]</td>\n<td><em>array of stock items (optional)</em></td>\n</tr>\n<tr>\n<td><code>stockItems.code</code></td>\n<td>string</td>\n<td>yes, (if stock item submitted, matching the agreed SKU code supplied to your account)</td>\n</tr>\n<tr>\n<td><code>stockItems.name</code></td>\n<td>string</td>\n<td>no, (if supplied, matching the agreed SKU code supplied to your account)</td>\n</tr>\n<tr>\n<td><code>stockItems.quantity</code></td>\n<td>integer</td>\n<td>yes, min value 1</td>\n</tr>\n<tr>\n<td><code>stockItems.shipmentIndex</code></td>\n<td>integer</td>\n<td>no, (if supplied, matching the related shipment object - for multi-shipment orders), or assumed as the single shipment in each order</td>\n</tr>\n<tr>\n<td><code>stockItems.itemId</code></td>\n<td>string</td>\n<td>no, (if supplied, unique per item)  <br />  <br />If supplied max 30 chars</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["order"],"host":["https://sandboxapi.precisionproco.co.uk"],"query":[],"variable":[]}},"response":[{"id":"60ab6a02-2ebf-4ce4-95b9-34d931adaa08","name":"SubmitOrder_200_OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requestType\": {\r\n        \"type\": \"Order\"\r\n    },\r\n    \"order\": {\r\n        \"source\": \"source\",\r\n        \"sourceOrderId\": \"50220000\",\r\n        \"currency\": \"GBP\",\r\n        \"customerOrderId\": \"123456789\",\r\n        \"dueDate\": \"0001-01-01T00:00:00\",\r\n        \"requiresFileProcess\": false,\r\n        \"destination\": \"precision\",\r\n        \"extraData\": {\r\n            \"redo\": false,\r\n            \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n            \"brand\": \"Brand\"\r\n        },\r\n        \"tags\": null,\r\n        \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n        \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n    },\r\n    \"shipments\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"shippingAddress\": {\r\n                \"name\": \"CustomerName\",\r\n                \"companyName\": \"CompanyName\",\r\n                \"address1\": \"Address Line1\",\r\n                \"address2\": null,\r\n                \"address3\": null,\r\n                \"town\": \"London\",\r\n                \"postcode\": \"RM9 6FB\",\r\n                \"state\": null,\r\n                \"isoCountry\": \"GB\",\r\n                \"country\": null,\r\n                \"email\": \"email@email.com\",\r\n                \"phone\": \"0741111111\"\r\n            },\r\n            \"returnAddress\": {\r\n                \"name\": \"Sender\",\r\n                \"companyName\": \"Sender Company\",\r\n                \"address1\": \"Address Line1\",\r\n                \"address2\": \"Address Line2\",\r\n                \"address3\": null,\r\n                \"town\": \"London\",\r\n                \"postcode\": \"RM9 6FB\",\r\n                \"state\": null,\r\n                \"isoCountry\": \"GB\",\r\n                \"country\": \"United Kingdom\",\r\n                \"email\": \"email@email.com\",\r\n                \"phone\": \"02011111111\"\r\n            },\r\n            \"shippingAlias\": \"default\",\r\n            \"shippingCost\": {\r\n                \"value\": \"3.99\",\r\n                \"currency\": \"GBP\"\r\n            },\r\n            \"carrierFields\": {\r\n                \"costCenter\": \"123456789\",\r\n                \"totalLandedCost\": 12.50,\r\n                \"currency\": \"GBP\"\r\n            },\r\n            \"attachments\": null\r\n        }\r\n    ],\r\n    \"items\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"itemId\": \"179103434_210542511\",\r\n            \"barcode\": \"210542511-1095720601\",\r\n            \"extraData\": {\r\n                \"productName\": \"wrappingpaper001\",\r\n                \"commodityCode\": \"4911910090\",\r\n                \"tracked\": \"true\"\r\n            },\r\n            \"sku\": \"wrappingpaper001\",\r\n            \"quantity\": 1,\r\n            \"harmonizedCode\": \"4911910090\",\r\n            \"unitPrice\": 1.0,\r\n            \"unitWeight\": 0,\r\n            \"components\": [\r\n                {\r\n                    \"componentId\": \"222614523_210542511\",\r\n                    \"barcode\": null,\r\n                    \"code\": \"WRAPPINGPAPER\",\r\n                    \"pages\": 1,\r\n                    \"fetch\": true,\r\n                    \"path\": \"file_download_link\",\r\n                    \"attributes\": null\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"stockItems\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:24:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b13a9894-f36e-4052-8e09-712cdc379fdb"},{"key":"x-amz-apigw-id","value":"VqX0JHfUrPEFbgg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6ce7-469e8f034ac8925a3ce6b14e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Order Received\"\n}"},{"id":"b7223fb1-250e-4fb7-aee8-cad33db6469c","name":"SubmitOrder_SingleMultiComponent_200_OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requestType\": {\r\n        \"type\": \"Order\"\r\n    },\r\n    \"order\": {\r\n        \"source\": \"source\",\r\n        \"sourceOrderId\": \"50220000\",\r\n        \"currency\": \"GBP\",\r\n        \"customerOrderId\": \"123456789\",\r\n        \"dueDate\": \"0001-01-01T00:00:00\",\r\n        \"requiresFileProcess\": false,\r\n        \"destination\": \"precision\",\r\n        \"extraData\": {\r\n            \"redo\": false,\r\n            \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n            \"brand\": \"Brand\"\r\n        },\r\n        \"tags\": null,\r\n        \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n        \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n    },\r\n    \"shipments\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"shippingAddress\": {\r\n                \"name\": \"CustomerName\",\r\n                \"companyName\": \"CompanyName\",\r\n                \"address1\": \"Address Line1\",\r\n                \"address2\": null,\r\n                \"address3\": null,\r\n                \"town\": \"London\",\r\n                \"postcode\": \"RM9 6FB\",\r\n                \"state\": null,\r\n                \"isoCountry\": \"GB\",\r\n                \"country\": null,\r\n                \"email\": \"email@email.com\",\r\n                \"phone\": \"0741111111\"\r\n            },\r\n            \"returnAddress\": {\r\n                \"name\": \"Sender\",\r\n                \"companyName\": \"Sender Company\",\r\n                \"address1\": \"Address Line1\",\r\n                \"address2\": \"Address Line2\",\r\n                \"address3\": null,\r\n                \"town\": \"London\",\r\n                \"postcode\": \"RM9 6FB\",\r\n                \"state\": null,\r\n                \"isoCountry\": \"GB\",\r\n                \"country\": \"United Kingdom\",\r\n                \"email\": \"email@email.com\",\r\n                \"phone\": \"02011111111\"\r\n            },\r\n            \"shippingAlias\": \"default\",\r\n            \"shippingCost\": {\r\n                \"value\": \"3.99\",\r\n                \"currency\": \"GBP\"\r\n            },\r\n            \"attachments\": null\r\n        }\r\n    ],\r\n    \"items\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"itemId\": \"179103434_210542511\",\r\n            \"barcode\": \"210542511-1095720601\",\r\n            \"extraData\": {\r\n                \"productName\": \"booksample001\",\r\n                \"commodityCode\": \"4911910090\",\r\n                \"tracked\": \"true\"\r\n            },\r\n            \"sku\": \"booksample001\",\r\n            \"quantity\": 1,\r\n            \"harmonizedCode\": \"4911910090\",\r\n            \"unitPrice\": 1.0,\r\n            \"unitWeight\": 0,\r\n            \"components\": [\r\n                {\r\n                    \"componentId\": \"222614523_210542511\",\r\n                    \"barcode\": null,\r\n                    \"code\": \"CVR\",\r\n                    \"pages\": 1,\r\n                    \"fetch\": true,\r\n                    \"path\": \"file_download_link\",\r\n                    \"attributes\": null\r\n                },\r\n                {\r\n                    \"componentId\": \"222614523_210542511\",\r\n                    \"barcode\": null,\r\n                    \"code\": \"INN\",\r\n                    \"pages\": 24,\r\n                    \"fetch\": true,\r\n                    \"path\": \"file_download_link\",\r\n                    \"attributes\": null\r\n                },\r\n            ]\r\n        }\r\n    ],\r\n    \"stockItems\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:24:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b13a9894-f36e-4052-8e09-712cdc379fdb"},{"key":"x-amz-apigw-id","value":"VqX0JHfUrPEFbgg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6ce7-469e8f034ac8925a3ce6b14e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Order Received\"\n}"},{"id":"ff07d3c2-c712-4d35-a678-7543fc7c0c55","name":"SubmitOrder_Multiple_200_OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"requestType\": {\r\n    \"type\": \"Order\"\r\n  },\r\n  \"order\": {   \r\n    \"source\": \"source\",\r\n    \"sourceOrderId\": \"50220000\",\r\n    \"currency\": \"GBP\",\r\n    \"customerOrderId\": \"123456789\",\r\n    \"dueDate\": \"0001-01-01T00:00:00\",\r\n    \"requiresFileProcess\": false,\r\n    \"destination\": \"precision\",\r\n    \"extraData\": {\r\n      \"redo\": false,\r\n      \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n      \"brand\": \"Brand\"\r\n    },\r\n    \"tags\": null,\r\n    \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n    \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n  },\r\n  \"shipments\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"shippingAddress\": {\r\n        \"name\": \"CustomerName\",\r\n        \"companyName\": \"CompanyName\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": null,\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": null,\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"0741111111\"\r\n      },\r\n      \"returnAddress\": {\r\n        \"name\": \"Sender\",\r\n        \"companyName\": \"Sender Company\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": \"Address Line2\",\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": \"United Kingdom\",\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"02011111111\"\r\n      },\r\n      \"shippingAlias\": \"default\",\r\n      \"shippingCost\": {\r\n        \"value\": \"3.99\",\r\n        \"currency\": \"GBP\"\r\n      },\r\n      \"attachments\": null\r\n    }\r\n  ],\r\n  \"items\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"itemId\": \"179103434_210542511\",\r\n      \"barcode\": \"210542511-1095720601\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542511\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }, {\r\n      \"shipmentIndex\": 0,\r\n      \"itemId\": \"179103434_210542512\",\r\n      \"barcode\": \"210542511-1095720602\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542512\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"stockItems\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:24:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b13a9894-f36e-4052-8e09-712cdc379fdb"},{"key":"x-amz-apigw-id","value":"VqX0JHfUrPEFbgg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6ce7-469e8f034ac8925a3ce6b14e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Order Received\"\n}"},{"id":"abd5093c-7417-474c-8eca-e73e35565f74","name":"SubmitOrder_MultipleWithStock_200_OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"requestType\": {\r\n    \"type\": \"Order\"\r\n  },\r\n  \"order\": {   \r\n    \"source\": \"source\",\r\n    \"sourceOrderId\": \"50220000\",\r\n    \"currency\": \"GBP\",\r\n    \"customerOrderId\": \"123456789\",\r\n    \"dueDate\": \"0001-01-01T00:00:00\",\r\n    \"requiresFileProcess\": false,\r\n    \"destination\": \"precision\",\r\n    \"extraData\": {\r\n      \"redo\": false,\r\n      \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n      \"brand\": \"Brand\"\r\n    },\r\n    \"tags\": null,\r\n    \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n    \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n  },\r\n  \"shipments\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"shippingAddress\": {\r\n        \"name\": \"CustomerName\",\r\n        \"companyName\": \"CompanyName\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": null,\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": null,\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"0741111111\"\r\n      },\r\n      \"returnAddress\": {\r\n        \"name\": \"Sender\",\r\n        \"companyName\": \"Sender Company\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": \"Address Line2\",\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": \"United Kingdom\",\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"02011111111\"\r\n      },\r\n      \"shippingAlias\": \"default\",\r\n      \"shippingCost\": {\r\n        \"value\": \"3.99\",\r\n        \"currency\": \"GBP\"\r\n      },\r\n      \"attachments\": null\r\n    }\r\n  ],\r\n  \"items\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"itemId\": \"179103434_210542511\",\r\n      \"barcode\": \"210542511-1095720601\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542511\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }, {\r\n      \"shipmentIndex\": 0,\r\n      \"itemId\": \"179103434_210542512\",\r\n      \"barcode\": \"210542511-1095720602\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542512\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"stockItems\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"code\": \"stockcode001\",\r\n            \"name\": \"STOCK_ITEM_001\",\r\n            \"quantity\": 1,\r\n            \"sourceItemId\": \"123456789_012345678\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:24:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b13a9894-f36e-4052-8e09-712cdc379fdb"},{"key":"x-amz-apigw-id","value":"VqX0JHfUrPEFbgg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6ce7-469e8f034ac8925a3ce6b14e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Order Received\"\n}"},{"id":"1df01d24-c135-46fb-a581-00504e8ad373","name":"SubmitOrder_StockOnly_200_OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"requestType\": {\r\n    \"type\": \"Order\"\r\n  },\r\n  \"order\": {   \r\n    \"source\": \"source\",\r\n    \"sourceOrderId\": \"50220000\",\r\n    \"currency\": \"GBP\",\r\n    \"customerOrderId\": \"123456789\",\r\n    \"dueDate\": \"0001-01-01T00:00:00\",\r\n    \"requiresFileProcess\": false,\r\n    \"destination\": \"precision\",\r\n    \"extraData\": {\r\n      \"redo\": false,\r\n      \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n      \"brand\": \"Brand\"\r\n    },\r\n    \"tags\": null,\r\n    \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n    \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n  },\r\n  \"shipments\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"shippingAddress\": {\r\n        \"name\": \"CustomerName\",\r\n        \"companyName\": \"CompanyName\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": null,\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": null,\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"0741111111\"\r\n      },\r\n      \"returnAddress\": {\r\n        \"name\": \"Sender\",\r\n        \"companyName\": \"Sender Company\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": \"Address Line2\",\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": \"United Kingdom\",\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"02011111111\"\r\n      },\r\n      \"shippingAlias\": \"default\",\r\n      \"shippingCost\": {\r\n        \"value\": \"3.99\",\r\n        \"currency\": \"GBP\"\r\n      },\r\n      \"attachments\": null\r\n    }\r\n  ],\r\n  \"items\": [],\r\n  \"stockItems\": [\r\n        {\r\n            \"shipmentIndex\": 0,\r\n            \"code\": \"stockcode001\",\r\n            \"name\": \"STOCK_ITEM_001\",\r\n            \"quantity\": 1,\r\n            \"sourceItemId\": \"123456789_012345678\"\r\n        }, {\r\n            \"shipmentIndex\": 0,\r\n            \"code\": \"stockcode002\",\r\n            \"name\": \"STOCK_ITEM_002\",\r\n            \"quantity\": 1,\r\n            \"sourceItemId\": \"123456789_123456789\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:24:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b13a9894-f36e-4052-8e09-712cdc379fdb"},{"key":"x-amz-apigw-id","value":"VqX0JHfUrPEFbgg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6ce7-469e8f034ac8925a3ce6b14e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Order Received\"\n}"},{"id":"7ac1bb5c-ee27-47a0-87dc-cc4affd0d238","name":"SubmitOrder_SplitShipment_200_OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"requestType\": {\r\n    \"type\": \"Order\"\r\n  },\r\n  \"order\": {   \r\n    \"source\": \"source\",\r\n    \"sourceOrderId\": \"50220000\",\r\n    \"currency\": \"GBP\",\r\n    \"customerOrderId\": \"123456789\",\r\n    \"dueDate\": \"0001-01-01T00:00:00\",\r\n    \"requiresFileProcess\": false,\r\n    \"destination\": \"precision\",\r\n    \"extraData\": {\r\n      \"redo\": false,\r\n      \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n      \"brand\": \"Brand\"\r\n    },\r\n    \"tags\": null,\r\n    \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n    \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n  },\r\n  \"shipments\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"shippingAddress\": {\r\n        \"name\": \"CustomerName\",\r\n        \"companyName\": \"CompanyName\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": null,\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": null,\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"0741111111\"\r\n      },\r\n      \"returnAddress\": {\r\n        \"name\": \"Sender\",\r\n        \"companyName\": \"Sender Company\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": \"Address Line2\",\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": \"United Kingdom\",\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"02011111111\"\r\n      },\r\n      \"shippingAlias\": \"default\",\r\n      \"shippingCost\": {\r\n        \"value\": \"3.99\",\r\n        \"currency\": \"GBP\"\r\n      },\r\n      \"attachments\": null\r\n    }, \r\n    {\r\n      \"shipmentIndex\": 1,\r\n      \"shippingAddress\": {\r\n        \"name\": \"CustomerNameB\",\r\n        \"companyName\": \"CompanyNameB\",\r\n        \"address1\": \"Address LineB\",\r\n        \"address2\": null,\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"AB1 2AA\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": null,\r\n        \"email\": \"email@email2.com\",\r\n        \"phone\": \"0741111112\"\r\n      },\r\n      \"returnAddress\": {\r\n        \"name\": \"Sender\",\r\n        \"companyName\": \"Sender Company\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": \"Address Line2\",\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": \"United Kingdom\",\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"02011111111\"\r\n      },\r\n      \"shippingAlias\": \"default\",\r\n      \"shippingCost\": {\r\n        \"value\": \"3.99\",\r\n        \"currency\": \"GBP\"\r\n      },\r\n      \"attachments\": null\r\n    }\r\n  ],\r\n  \"items\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"itemId\": \"179103434_210542511\",\r\n      \"barcode\": \"210542511-1095720601\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542511\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }, {\r\n      \"shipmentIndex\": 1,\r\n      \"itemId\": \"179103434_210542512\",\r\n      \"barcode\": \"210542511-1095720602\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542512\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"stockItems\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:24:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b13a9894-f36e-4052-8e09-712cdc379fdb"},{"key":"x-amz-apigw-id","value":"VqX0JHfUrPEFbgg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6ce7-469e8f034ac8925a3ce6b14e;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Order Received\"\n}"},{"id":"954c30e1-3693-48c2-b03e-75fd5433e4b5","name":"SubmitOrder_400_BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"requestType\": {\r\n    \"type\": \"Order\"\r\n  },\r\n  \"order\": {   \r\n    \"source\": \"source\",\r\n    \"currency\": \"GBP\",\r\n    \"customerOrderId\": \"123456789\",\r\n    \"dueDate\": \"0001-01-01T00:00:00\",\r\n    \"requiresFileProcess\": false,\r\n    \"destination\": \"precision\",\r\n    \"extraData\": {\r\n      \"redo\": false,\r\n      \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n      \"brand\": \"Brand\"\r\n    },\r\n    \"tags\": null,\r\n    \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n    \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n  },\r\n  \"shipments\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"shippingAddress\": {\r\n        \"name\": \"CustomerName\",\r\n        \"companyName\": \"CompanyName\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": null,\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": null,\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"0741111111\"\r\n      },\r\n      \"returnAddress\": {\r\n        \"name\": \"Sender\",\r\n        \"companyName\": \"Sender Company\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": \"Address Line2\",\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": \"United Kingdom\",\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"02011111111\"\r\n      },\r\n      \"shippingAlias\": \"default\",\r\n      \"shippingCost\": {\r\n        \"value\": \"3.99\",\r\n        \"currency\": \"GBP\"\r\n      },\r\n      \"attachments\": null\r\n    }\r\n  ],\r\n  \"items\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"itemId\": \"179103434_210542511\",\r\n      \"barcode\": \"210542511-1095720601\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542511\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"stockItems\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:58:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"129"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"08080440-4447-4814-bd06-db2e59ef520f"},{"key":"x-amz-apigw-id","value":"VqcqMG1eLPEFWAA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da74a7-7565c3db688f7a7c5100bc2d;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Failed to submit order due to Required property 'sourceOrderId' not found in JSON. Path 'order', line 20, position 3.\"\n}"},{"id":"6a7abe32-4eec-4372-a999-b28aebb9a972","name":"SubmitOrder_401_BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"requestType\": {\r\n    \"type\": \"Order\"\r\n  },\r\n  \"order\": {   \r\n    \"source\": \"source\",\r\n    \"sourceOrderId\": \"50220000\",\r\n    \"currency\": \"GBP\",\r\n    \"customerOrderId\": \"123456789\",\r\n    \"dueDate\": \"0001-01-01T00:00:00\",\r\n    \"requiresFileProcess\": false,\r\n    \"destination\": \"precision\",\r\n    \"extraData\": {\r\n      \"redo\": false,\r\n      \"dueDate\": \"2022-06-16T19:00:00.000Z\",\r\n      \"brand\": \"Brand\"\r\n    },\r\n    \"tags\": null,\r\n    \"transactionId\": \"c631a5d0-e73b-45cb-96ae-34a8a4af3ea3\",\r\n    \"timestamp\": \"2022-06-15T13:21:09.623Z\"\r\n  },\r\n  \"shipments\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"shippingAddress\": {\r\n        \"name\": \"CustomerName\",\r\n        \"companyName\": \"CompanyName\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": null,\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": null,\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"0741111111\"\r\n      },\r\n      \"returnAddress\": {\r\n        \"name\": \"Sender\",\r\n        \"companyName\": \"Sender Company\",\r\n        \"address1\": \"Address Line1\",\r\n        \"address2\": \"Address Line2\",\r\n        \"address3\": null,\r\n        \"town\": \"London\",\r\n        \"postcode\": \"RM9 6FB\",\r\n        \"state\": null,\r\n        \"isoCountry\": \"GB\",\r\n        \"country\": \"United Kingdom\",\r\n        \"email\": \"email@email.com\",\r\n        \"phone\": \"02011111111\"\r\n      },\r\n      \"shippingAlias\": \"default\",\r\n      \"shippingCost\": {\r\n        \"value\": \"3.99\",\r\n        \"currency\": \"GBP\"\r\n      },\r\n      \"attachments\": null\r\n    }\r\n  ],\r\n  \"items\": [\r\n    {\r\n      \"shipmentIndex\": 0,\r\n      \"itemId\": \"179103434_210542511\",\r\n      \"barcode\": \"210542511-1095720601\",\r\n      \"extraData\": {\r\n        \"productName\": \"wrappingpaper001\",\r\n        \"commodityCode\": \"4911910090\",\r\n        \"tracked\": \"true\"        \r\n      },\r\n      \"sku\": \"wrappingpaper001\",\r\n      \"quantity\": 1,\r\n      \"harmonizedCode\": \"4911910090\",\r\n      \"unitPrice\": 1.0,\r\n      \"unitWeight\": 0,\r\n      \"components\": [\r\n        {\r\n          \"componentId\": \"222614523_210542511\",\r\n          \"barcode\": null,\r\n          \"code\": \"WRAPPINGPAPER\",\r\n          \"pages\": 1,\r\n          \"fetch\": true,\r\n          \"path\": \"file_download_link\",\r\n          \"attributes\": null\r\n        }\r\n      ]\r\n    }\r\n  ],\r\n  \"stockItems\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/order"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 10:01:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"f135c361-eb89-4a1b-bb50-bb52b94a4684"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"VqdKKGodLPEFnrw="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"16200ee7-8986-4f52-aa51-62fa69ca0b4e"},{"name":"CancelOrder","id":"8c7ae0b1-9acc-4377-8941-755a5246ded2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token will be returned from endpoint>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","description":"<p>Define the content type as JSON</p>\n","type":"text"}],"url":"https://sandboxapi.precisionproco.co.uk/order?orderId=50220000","description":"<p>This endpoint is used to cancel the order only by authenticated user.</p>\n<p>Only the live orders will be cancelled and relevant reponse is sent.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>string</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["order"],"host":["https://sandboxapi.precisionproco.co.uk"],"query":[{"key":"orderId","value":"50220000"}],"variable":[]}},"response":[{"id":"42549129-cccd-47e4-8c7f-39d6c40f80d6","name":"CancelOrder_200_OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://sandboxapi.precisionproco.co.uk/order?orderId=50220000","host":["https://sandboxapi.precisionproco.co.uk"],"path":["order"],"query":[{"key":"orderId","value":"50220000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 10:05:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"1e89e8a2-daae-4347-a0b1-53473de6d48f"},{"key":"x-amz-apigw-id","value":"VqdxzFgYrPEFmwQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da7671-0d83bff52ec05e3f52721c04;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestStatus\": \"cancelled\"\n}"},{"id":"8997dab7-960b-4eda-81ae-3d24f95f1b75","name":"CancelOrder_400_BadRequest","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://sandboxapi.precisionproco.co.uk/order?orderId=50220000_Test","host":["https://sandboxapi.precisionproco.co.uk"],"path":["order"],"query":[{"key":"orderId","value":"50220000_Test"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 10:04:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"8af6c05a-f331-42ab-9054-3744a2a5ba1a"},{"key":"x-amz-apigw-id","value":"VqdqbGDMLPEFkOg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da7642-3db0a96376502f911dc3d7ca;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestStatus\": \"Failed\",\n    \"reason\": \"Order 50220000_Test cannot be cancelled due to Order already cancelled or shipped\"\n}"}],"_postman_id":"8c7ae0b1-9acc-4377-8941-755a5246ded2"}],"id":"61acc7f6-e2c9-48d1-b2dc-2b70028fad7d","description":"<p>The Order endpoints are used to manage the lifecycle of production orders.</p>\n<p>Samples are provided for:</p>\n<ul>\n<li><p>Single item order</p>\n</li>\n<li><p>Multi component item (i.e. Book)</p>\n</li>\n<li><p>Multi Item order</p>\n</li>\n<li><p>Multi Shipment (Split shipment)</p>\n</li>\n<li><p>Multi item with stock</p>\n</li>\n</ul>\n","_postman_id":"61acc7f6-e2c9-48d1-b2dc-2b70028fad7d"},{"name":"Shipment","item":[{"name":"GetShipment","id":"0c34c3be-01ee-4403-a383-1c28b70a035e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token will be returned from endpoint>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Define the content type as JSON</p>\n","type":"text"}],"url":"https://sandboxapi.precisionproco.co.uk/shipment?orderId=50220000","description":"<p>This provides the latset shipment status for a given orderId</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>string</td>\n<td>yes</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["shipment"],"host":["https://sandboxapi.precisionproco.co.uk"],"query":[{"key":"orderId","value":"50220000"}],"variable":[]}},"response":[{"id":"3dba2b9b-4084-4fa6-a1ce-242a168bc58b","name":"GetShipment_200_OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxapi.precisionproco.co.uk/shipment?orderId=50220000","host":["https://sandboxapi.precisionproco.co.uk"],"path":["shipment"],"query":[{"key":"orderId","value":"50220000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:36:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"307"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"799ea41e-1b2d-4a5d-90dc-edac7abb4092"},{"key":"x-amz-apigw-id","value":"VqZjrEBoLPEFk4w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6fb0-6fa35a2477ad18a201a80b9b;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"carrier\": {\n        \"code\": \"oneflow\",\n        \"service\": \"manual\",\n        \"alias\": \"rm48\"\n    },\n    \"shipTo\": {\n        \"name\": \"Customer Name\",\n        \"companyName\": \"Company Name\",\n        \"address1\": \"Address Line 1\",\n        \"address2\": \"Address Line \",\n        \"address3\": \"Address Line \",\n        \"town\": \"Town\",\n        \"postcode\": \"Postcode\",\n        \"state\": \"State\",\n        \"isoCountry\": \"GB\",\n        \"email\": \"email@example.com\"\n    }\n}"},{"id":"5cacfd34-0bb0-414d-b158-b4c5e0e5bbab","name":"GetShipment_401_Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxapi.precisionproco.co.uk/shipment?orderId=50220000","host":["https://sandboxapi.precisionproco.co.uk"],"path":["shipment"],"query":[{"key":"orderId","value":"50220000"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:37:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ee9f6d58-839d-4aa4-b6f1-0e05e7576b0e"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"VqZpOEc9LPEFfdA="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"787ab4ef-918d-4b5f-95c0-43a1605076bd","name":"GetShipment_404_NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://sandboxapi.precisionproco.co.uk/shipment?orderId=50220001","host":["https://sandboxapi.precisionproco.co.uk"],"path":["shipment"],"query":[{"key":"orderId","value":"50220001"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:41:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"09d5af2b-f0db-470f-964e-51414feb0b16"},{"key":"x-amz-apigw-id","value":"VqaNHGb_rPEFwhw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da70ba-173ea42e06d4b5c82cb65f29;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Order not found for 50220001\"\n}"}],"_postman_id":"0c34c3be-01ee-4403-a383-1c28b70a035e"},{"name":"UpdateShipment","id":"f096ae3a-5d6f-4240-a4d8-04c735e4f6a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token will be returned from endpoint>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"sourceOrderId\" : \"50220000\",\r\n    \"carrier\": {        \r\n        \"alias\": \"rm48\"\r\n    },\r\n    \"shipTo\": {\r\n        \"name\": \"Customer Name\",\r\n        \"companyName\": \"Company Name\",\r\n        \"address1\": \"Address Line 1\",\r\n        \"address2\": \"Address Line \",\r\n        \"address3\": \"Address Line \",\r\n        \"town\": \"Town\",\r\n        \"postcode\": \"Postcode\",\r\n        \"state\": \"State\",\r\n        \"isoCountry\": \"GB\",\r\n        \"email\": \"email@example.com\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/shipment?orderId=50220000","description":"<p>This endpoint is used to update the shipping address or/and carrier.</p>\n<p>The Shipment will be updated by this request, only if the shipment is not shipped yet.</p>\n<p><em>Shipping address restrictions and requirements are covered in the order submission notes above.</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>carrier.code</code></td>\n<td>string</td>\n<td>if not using alias</td>\n</tr>\n<tr>\n<td><code>carrier.service</code></td>\n<td>string</td>\n<td>if not using alias</td>\n</tr>\n<tr>\n<td><code>carrier.alias</code></td>\n<td>string</td>\n<td>if using alias, agreed with PPG during onboarding</td>\n</tr>\n<tr>\n<td><code>shipTo.name</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>shipTo.companyName</code></td>\n<td>string</td>\n<td>preferred, or customer name</td>\n</tr>\n<tr>\n<td><code>shipTo.address1</code></td>\n<td>string</td>\n<td>yes (see order submission for more details)</td>\n</tr>\n<tr>\n<td><code>shipTo.address2</code></td>\n<td>string</td>\n<td>no</td>\n</tr>\n<tr>\n<td><code>shipTo.address3</code></td>\n<td>string</td>\n<td>no</td>\n</tr>\n<tr>\n<td><code>shipTo.town</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>shipTo.postcode</code></td>\n<td>string</td>\n<td>yes (if country supports it)</td>\n</tr>\n<tr>\n<td><code>shipTo.state</code></td>\n<td>string</td>\n<td>yes</td>\n</tr>\n<tr>\n<td><code>shipTo.isoCountry</code></td>\n<td>string</td>\n<td>2 character code from ISO-3166-2 list (<a href=\"https://www.iso.org/obp/ui/#search\">https://www.iso.org/obp/ui/#search</a>)</td>\n</tr>\n<tr>\n<td><code>shipTo.email</code></td>\n<td>string</td>\n<td>yes, for some carrier services</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["shipment"],"host":["https://sandboxapi.precisionproco.co.uk"],"query":[{"key":"orderId","value":"50220000"}],"variable":[]}},"response":[{"id":"b644a945-9e7c-4c73-b939-a12faa96d2f8","name":"UpdateShipment_200_OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"sourceOrderId\" : \"50220000\",\r\n    \"carrier\": {        \r\n        \"alias\": \"rm48\"\r\n    },\r\n    \"shipTo\": {\r\n        \"name\": \"Customer Name\",\r\n        \"companyName\": \"Company Name\",\r\n        \"address1\": \"Address Line 1\",\r\n        \"address2\": \"Address Line \",\r\n        \"address3\": \"Address Line \",\r\n        \"town\": \"Town\",\r\n        \"postcode\": \"Postcode\",\r\n        \"state\": \"State\",\r\n        \"isoCountry\": \"GB\",\r\n        \"email\": \"email@example.com\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/shipment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:26:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"2e64ab9d-db71-415c-a84e-be8032c8d7fd"},{"key":"x-amz-apigw-id","value":"VqX_xENVrPEF34w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6d31-1f3b40d03a5f8e3947db355f;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestStatus\": \"success\",\n    \"message\": \"Shipping info updated for Order : 50220000\"\n}"},{"id":"1e388b80-ffcf-423e-b3d8-ea05bb8f8c10","name":"UpdateShipment_401_Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"sourceOrderId\" : \"50220000\",\r\n    \"carrier\": {        \r\n        \"alias\": \"rm48\"\r\n    },\r\n    \"shipTo\": {\r\n        \"name\": \"Customer Name\",\r\n        \"companyName\": \"Company Name\",\r\n        \"address1\": \"Address Line 1\",\r\n        \"address2\": \"Address Line \",\r\n        \"address3\": \"Address Line \",\r\n        \"town\": \"Town\",\r\n        \"postcode\": \"Postcode\",\r\n        \"state\": \"State\",\r\n        \"isoCountry\": \"GB\",\r\n        \"email\": \"email@example.com\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/shipment"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:33:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"0ef33c26-0e74-4c60-865c-b4371e2e8c3f"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"VqZG5GrtLPEFZOw="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"daa55b65-bf9b-4a0c-b539-5c56bc8922f5","name":"UpdateShipment_400_BadRequest","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"sourceOrderId\" : \"50220000_Test\",\r\n    \"carrier\": {        \r\n        \"alias\": \"rm48\"\r\n    },\r\n    \"shipTo\": {\r\n        \"name\": \"Customer Name\",\r\n        \"companyName\": \"Company Name\",\r\n        \"address1\": \"Address Line 1\",\r\n        \"address2\": \"Address Line \",\r\n        \"address3\": \"Address Line \",\r\n        \"town\": \"Town\",\r\n        \"postcode\": \"Postcode\",\r\n        \"state\": \"State\",\r\n        \"isoCountry\": \"GB\",\r\n        \"email\": \"email@example.com\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://sandboxapi.precisionproco.co.uk/shipment"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 09:35:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"30"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b3816ae5-d93d-4978-90e9-3f1a36cf6c8b"},{"key":"x-amz-apigw-id","value":"VqZWjFGMLPEF98w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-62da6f5c-2ac6b7612594406512bf6e84;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Order is cancelled\"\n}"}],"_postman_id":"f096ae3a-5d6f-4240-a4d8-04c735e4f6a4"}],"id":"88fe6fd2-386e-40ab-ba64-d3a33f1b6178","description":"<p>These Shipment endpoints are used to get shipment status and update address and/or carrier of any live shipments.</p>\n","_postman_id":"88fe6fd2-386e-40ab-ba64-d3a33f1b6178"},{"name":"Webhooks","item":[],"id":"5473c2eb-0376-4d95-85ee-024896b4f6cb","description":"<p>Webhook calls that will be configured during onboarding</p>\n<p>We have standard templates for the order received and shipped status updates.</p>\n<p><em>If you have specific requirements we can develop bespoke webhooks, please discuss with your sales contact</em></p>\n<h4 id=\"order-received\">Order Received</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"TimeStamp\": \"YYYY-MM-DDTHH:MM:SS\",\n    \"SourceOrderId\": \"[your orderid]\",\n    \"OrderStatus\": \"printready\"\n}\n\n</code></pre>\n<h4 id=\"order-shipped\">Order shipped</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"TimeStamp\": \"YYYY-MM-DDTHH:MM:SS\",\n    \"SourceOrderId\": \"[your orderid]\",\n    \"ShipmentId\": \"[shipment number]\",\n    \"TrackingNumber\": \"[if provided by carrier]\",\n    \"trackingUrl\": \"[if provided by carrier]\",\n    \"Status\": \"shipped\"\n}\n\n</code></pre>\n","_postman_id":"5473c2eb-0376-4d95-85ee-024896b4f6cb"}],"event":[{"listen":"prerequest","script":{"id":"a2c4b6ef-009a-4294-b745-47a2dbb4708e","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"33f3c42d-70ca-4de1-aa97-3d3c765be454","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"baseurl","value":" https://wda3u1mv4j.execute-api.eu-west-2.amazonaws.com","disabled":true},{"key":"baseurl","value":"https://sandboxapi.precisionproco.co.uk"},{"key":"orderId","value":"50220000"},{"key":"token","value":"<token will be returned from endpoint>"},{"key":"username","value":"yourusername"}]}