{"info":{"_postman_id":"1c87d54b-02ac-4167-84ec-85cd418edc57","name":"Stuart API","description":"<html><head></head><body><p>This document details Stuart service:</p>\n<ul>\n<li><strong>Stuart On-demand</strong> is a service that offers a REST API with a range of endpoints and features which allow you to utilise our on-demand delivery services.</li>\n</ul>\n<p><em>If you wish to know more about Stuart's Terms and Conditions, please visit Stuart's website, available</em> <a href=\"https://stuart.com/terms/\"><i>here</i></a><em>.</em></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18265218","collectionId":"1c87d54b-02ac-4167-84ec-85cd418edc57","publishedId":"UzJERyiS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"00249c","highlight":"0192FF"},"publishDate":"2025-02-06T17:28:07.000Z"},"item":[{"name":"Stuart On-demand","item":[{"name":"Format","item":[],"id":"12d1bd1e-b688-4e0f-a91f-c0d309c71419","description":"<p>Our API is <strong>REST</strong> based and observes the following requirements:</p>\n<ul>\n<li>It makes use of standard HTTP methods like <code>GET</code>, <code>POST</code>, <code>PUT</code> and <code>PATCH</code></li>\n<li>Uses standard HTTP error responses to describe errors</li>\n<li>Authentication and authorization are based on the OAuth 2.0 standard</li>\n<li>All communication with our servers must be over SSL (https://)</li>\n<li>POST data must be encoded as <code>application/json</code></li>\n<li>All our responses are encoded as <code>application/json</code></li>\n<li>UTF-8 encoding required for non ASCII characters</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"69b82fa2-c70e-465a-ab2f-3820b7621c69","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"92f322e5-44af-4dfa-b29b-a0f1a8abcfde","type":"text/javascript","exec":[""]}}],"_postman_id":"12d1bd1e-b688-4e0f-a91f-c0d309c71419"},{"name":"Environments","item":[],"id":"46b2bb7a-fc46-4d9c-afc2-f4bb3ca69098","description":"<p>We have two available environments: <strong>Sandbox</strong> and <strong>Production</strong>. In this section, we will detail how to get set up in each.</p>\n<h2 id=\"sandbox\">Sandbox</h2>\n<p><code>https://api.sandbox.stuart.com</code></p>\n<p>Our Sandbox environment allows you to test your integration with simulated courier bots which mimic real-life deliveries, various <a href=\"https://community.stuart.engineering/t/testing-scenarios-in-sandbox/801\">testing scenarios</a> are available to allow you to build a robust integration. Follow the simple steps below to get setup in Sandbox:</p>\n<ol>\n<li><a href=\"https://dashboard.sandbox.stuart.com/sign-up\">Create a client account in Sandbox</a></li>\n<li><a href=\"https://dashboard.sandbox.stuart.com/settings/billing\">Add a credit card</a> (use any <a href=\"https://stripe.com/docs/testing#cards\">test credit card numbers</a>, other than American Express)</li>\n<li><a href=\"https://dashboard.sandbox.stuart.com/settings/api\">Request your API credentials</a></li>\n</ol>\n<p>Following these steps, you will be able to authenticate and start making API requests. You will be able to monitor your jobs and see your job history in your <a href=\"https://dashboard.sandbox.stuart.com/new\">dashboard</a>.</p>\n<h2 id=\"production\">Production</h2>\n<p><code>https://api.stuart.com</code></p>\n<p>Once your integration is ready, you can move the Production environment to start requesting Stuart deliveries in the real world! Follow the simple steps below to get setup in Production:</p>\n<ol>\n<li><a href=\"https://dashboard.stuart.com/sign-up\">Create a client account in Production</a></li>\n<li><a href=\"https://dashboard.stuart.com/settings/billing\">Add a valid credit card</a></li>\n<li><a href=\"https://dashboard.stuart.com/settings/api\">Request for API credentials</a></li>\n</ol>\n<p>Following these steps, you will be able to authenticate and make API requests.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"3e94bbab-8fba-4b38-a9da-3fe4a1608e8f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6123e050-112a-4433-994d-a242cdf2a19f","type":"text/javascript","exec":[""]}}],"_postman_id":"46b2bb7a-fc46-4d9c-afc2-f4bb3ca69098"},{"name":"Authentication","item":[{"name":"Get an OAuth 2.0 token","event":[{"listen":"test","script":{"id":"c763feeb-5ebc-4dab-8307-9ad97de2efa9","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]}}],"id":"7a469f59-1247-4095-b382-7cbb411165df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{oauth_client_id}}"},{"key":"client_secret","value":"{{oauth_client_secret}}"},{"key":"grant_type","value":"client_credentials"},{"key":"scope","value":"api"}]},"url":"{{api_url}}/oauth/token","description":"<p>To authenticate, use your <code>client_id</code> and <code>client_secret</code> key to get an access token from this endpoint.</p>\n<p>Find your keys in the <a href=\"https://admin.sandbox.stuart.com/client\">Sandbox API credentials</a> or <a href=\"https://admin.stuart.com/client\">Production API credentials</a> page of your Stuart account.</p>\n<p>The access token returned will have an <strong>expiration time of 1 month</strong> so be sure to handle the automated renewal of your token.</p>\n<p>Learn more about how to best handle token renewal in our forum <a href=\"https://stuart.com/developers/best-practices/authentication/\">Authentication Tips &amp; Best Practices</a>.</p>\n","urlObject":{"path":["oauth","token"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"21ce6477-bd5f-4be0-8328-f941aa437452","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"qwerty12345qwerty"},{"key":"client_secret","value":"qwerty12345qwerty"},{"key":"grant_type","value":"client_credentials"},{"key":"scope","value":"api"}]},"url":"{{api_url}}/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJFUzI1NiJ9................FWnnyLHQrm_ecB7L3roaJXCL3WGbzW2BiFA\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 2629746,\n    \"scope\": \"api\",\n    \"created_at\": 1662539482\n}"},{"id":"a0206164-5554-45e7-80fd-1dddf245973b","name":"401 - invalid_client","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"qwerty1234xxjkc12345"},{"key":"client_secret","value":"qwerty1234wxlm12345"},{"key":"grant_type","value":"client_credentials"},{"key":"scope","value":"api"}]},"url":"{{api_url}}/oauth/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_client\",\n    \"error_description\": \"Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.\"\n}"},{"id":"f3d392dd-a9e9-4089-8843-44e616f487c4","name":"401 - invalid_request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{oauth_client_id}}"},{"key":"client_secret","value":"{{oauth_client_secret}}"},{"key":"grant_type","value":"client_credentials","disabled":true},{"key":"scope","value":"api"},{"key":"","value":"","type":"text","disabled":true}]},"url":"{{api_url}}/oauth/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_request\",\n    \"error_description\": \"The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.\"\n}"},{"id":"9700ba70-94ab-4d1e-a09c-9efff44b4834","name":"401 - invalid_scope","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{oauth_client_id}}"},{"key":"client_secret","value":"{{oauth_client_secret}}"},{"key":"grant_type","value":"client_credentials"},{"key":"scope","value":"some_random_scope"},{"key":"","value":"","type":"text","disabled":true}]},"url":"{{api_url}}/oauth/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_scope\",\n    \"error_description\": \"The requested scope is invalid, unknown, or malformed.\"\n}"},{"id":"7d43816c-35c5-4bcb-9898-4b1c69bf53e2","name":"401 - unsupported_grant_type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{oauth_client_id}}"},{"key":"client_secret","value":"{{oauth_client_secret}}"},{"key":"grant_type","value":"some_random_grant_type"},{"key":"scope","value":"api"},{"key":"","value":"","type":"text","disabled":true}]},"url":"{{api_url}}/oauth/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"unsupported_grant_type\",\n    \"error_description\": \"The authorization grant type is not supported by the authorization server.\"\n}"}],"_postman_id":"7a469f59-1247-4095-b382-7cbb411165df"}],"id":"f41706c4-5e4b-4abc-aebd-061692eafc0d","description":"<p>All Stuart API endpoints support the OAuth 2.0 Authentication protocol.</p>\n<p>To adere to this protocol, get a valid access token using the <a href=\"https://stuart.com/developers/best-practices/authentication/\">Get OAuth 2.0 token</a> endpoint specified below, and add it as a HTTP header to every HTTP request you send to the Stuart API as seen in the image below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://api.sandbox.stuart.com/some_endpoint HTTP/1.1\nAuthorization: Bearer [token]\nHost: api.sandbox.stuart.com\n\n</code></pre>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"bd6888aa-8283-4528-9981-8d1f891ce5fc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3f54e28d-9593-4d44-afab-5aed0ce0b580","type":"text/javascript","exec":[""]}}],"_postman_id":"f41706c4-5e4b-4abc-aebd-061692eafc0d"},{"name":"Jobs, Deliveries and Packages","item":[{"name":"Job creation","event":[{"listen":"test","script":{"id":"29e4d533-7fc6-47ea-81b7-89ed39bb21fc","exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"job_id\", jsonData.id);","pm.collectionVariables.set(\"delivery_id\", jsonData.deliveries[0].id);","","tests[\"Response HTTP status should be 201\"] = responseCode.code === 201;"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"3a10e90b-4106-47bd-954e-fb19cb879861","exec":["var currentTimestamp = Math.floor(Date.now() / 1000);","pm.collectionVariables.set(\"client_reference\", `${currentTimestamp}`);"],"type":"text/javascript"}}],"id":"e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickup_at\": \"2025-03-26T11:00:00.000+02:00\",\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}"},"url":"{{api_url}}/v2/jobs","description":"<p>To arrange for a courier to collect your goods from a designated pickup point and deliver them to specified dropoff locations, send a job creation request via our API.</p>\n<p>Before proceeding, we recommend reviewing our <a href=\"https://stuart.com/developers/best-practices/order-flow/\">Order Flow Best Practices</a> to ensure an optimal delivery experience.</p>\n<p>By default, our system will immediately begin searching for a courier. However, we strongly encourage you to use the job.pickup_at field to schedule your package pickup in advance. You can schedule:</p>\n<ul>\n<li><p>Up to 4 days into the future for regular accounts (invoiced per order).</p>\n</li>\n<li><p>Up to 30 days into the future for corporate accounts (invoiced monthly).</p>\n</li>\n</ul>\n<p>Make sure to carefully review the payload fields to fully understand the capabilities and formatting requirements of this endpoint.</p>\n<h2 id=\"payload-fields-per-object\">Payload Fields per Object:</h2>\n<ul>\n<li>Character Restrictions: Our API supports most contemporary languages, alphabets, and symbols within the Basic Multilingual Plane (BMP). Unsupported characters are rare but fall outside the range 0x0000-0xFFFF, excluding specific exceptions like punctuation (0x2010–0x201F) and currency symbols (0x20A0–0x20BF).</li>\n</ul>\n<h3 id=\"job\">Job:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th><strong>Parent</strong></th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>job</td>\n<td>-</td>\n<td>object</td>\n<td>Root object containing all required information.</td>\n<td>required</td>\n</tr>\n<tr>\n<td>pickup_at</td>\n<td>job</td>\n<td>string</td>\n<td>A datetime (ISO 8601) specifying when the courier should arrive at the pickup location.</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>assignment_code</td>\n<td>job</td>\n<td>string</td>\n<td>An invoicing reference number, in case you need it at the invoices.</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>pickups</td>\n<td>job</td>\n<td>object</td>\n<td>The details related to origin of the deliveries or packages. Only one pickup is allowed per job.</td>\n<td>required</td>\n</tr>\n<tr>\n<td>dropoffs</td>\n<td>job</td>\n<td>array[object]</td>\n<td>The details of the destinations of the deliveries or packages.  <br />Up to 8 dropoffs are allowed per job.</td>\n<td>required</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"pickups\">Pickups:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pickups</td>\n<td>job</td>\n<td>array[object]</td>\n<td>The details related to origin of the deliveries or packages. Only one pickup is allowed per job.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>address</td>\n<td>pickups</td>\n<td>string</td>\n<td>The geographical address. Do not include additional details like floor number, building name, or apartment number. Use the <code>comment</code> field for such details. See <a href=\"https://stuart.com/developers/best-practices/addresses/\">address best practices</a>.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>coordinates</td>\n<td>pickups</td>\n<td>object</td>\n<td>Contains latitude (<code>lat</code>) and longitude (<code>long</code>) coordinates as floats. These can pinpoint the pickup/dropoff location on a map, but an address string is also required.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>pickups</td>\n<td>string</td>\n<td>A comment for the courier to assist with locating the pickup/dropoff point, e.g., floor number or door information. Max length: 1000 characters.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>pickups</td>\n<td>object</td>\n<td>Contact information for the pickup/dropoff point. Either <code>firstname</code> and <code>lastname</code>, or <code>company</code> is required. Max length: 191 characters.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>access_codes</td>\n<td>pickups</td>\n<td>array[object]</td>\n<td>Access codes for building entry, handover validation, or barcode scanning. Learn more about <a href=\"https://community.stuart.engineering/t/scanning-feature/607\">how these are displayed to couriers and our scanning feature.</a></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>code</td>\n<td>access_codes</td>\n<td>string</td>\n<td>The access code displayed to the courier or used for barcode/QR code generation or scanning. For scanning, provide the full value as shown in the barcode. Max length: 192 characters.</td>\n<td>Required</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"dropoffs\">Dropoffs:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dropoffs</td>\n<td>job</td>\n<td>array[object]</td>\n<td>The details of the destinations of the deliveries or packages.  <br />Up to 8 dropoffs are allowed per job.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>address</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>The geographical address. Do not include additional details like floor number, building name, or apartment number. Use the <code>comment</code> field for such details. See <a href=\"https://stuart.com/developers/best-practices/addresses/\">address best practices</a>.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>coordinates</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contains latitude (<code>lat</code>) and longitude (<code>long</code>) values as floats. These coordinates pinpoint the location of the pickup/dropoff on a map, bypassing geocoding from an address. Note: You must also provide an address string when using this object.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>A comment for the courier to assist with locating the pickup/dropoff point, e.g., floor number or door information. Max length: 1000 characters.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>contact</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contact information for the pickup/dropoff point. Either <code>firstname</code> and <code>lastname</code>, or <code>company</code> is required. Max length: 191 characters.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>access_codes</td>\n<td>dropoffs</td>\n<td>array[object]</td>\n<td>Access codes for building entry, handover validation, or barcode scanning. Learn more about <a href=\"https://community.stuart.engineering/t/scanning-feature/607\">how these are displayed to couriers and our scanning feature.</a></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>code</td>\n<td>access_codes</td>\n<td>string</td>\n<td>The access code displayed to the courier or used for barcode/QR code generation or scanning. For scanning, provide the full value as shown in the barcode. Max length: 192 characters.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>offering_type</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>Specify the delivery offering type: <code>scheduled</code> (for delivery slots) or <code>on_demand</code> (for instant orders). Defaults to <code>on_demand</code> if not provided.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>end_customer_time_window_start</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>A datetime (ISO 8601) indicating the start of the delivery window offered to the end customer. Format: date-time.</td>\n<td>Optional  <br />- Required when <code>offering_type</code> is <code>scheduled</code>.</td>\n</tr>\n<tr>\n<td>end_customer_time_window_end</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>A datetime (ISO 8601) indicating the end of the delivery window offered to the end customer. Format: date-time.</td>\n<td>Optional  <br />- Required when <code>offering_type</code> is <code>scheduled</code>.</td>\n</tr>\n<tr>\n<td>package_type</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>Defines the package size. Allowed values: <code>xsmall</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>xlarge</code>. See <a href=\"https://stuart.com/developers/best-practices/package-sizes/\">package type mappings</a>.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>package_description</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>A description of the package to help with identification. Max length: 1000 characters.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>client_reference</td>\n<td>dropoffs</td>\n<td>string</td>\n<td>Unique internal order reference number. Recommended as indentifier to read webhooks. See <a href=\"https://community.stuart.engineering/t/order-tracking-best-practice/631\">order tracking</a> for more details.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>delivery_slot_id</td>\n<td>dropoffs</td>\n<td>integer</td>\n<td>The delivery slot ID for configured delivery slots. This applies only to the <code>offering_type</code> <code>scheduled</code>. See the \"Get Delivery Slots\" endpoint for details.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>package_dimensions</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contains package size and weight details, composed of <code>unit</code> (string) and <code>value</code> (float).</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>delivery_options</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contains fields that add additional granularity to the delivery or package.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_data</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contains information about the partner/integrator and the marketplace from which the order originates.</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"coordinates\">Coordinates:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>coordinates</td>\n<td>pickups, dropoffs</td>\n<td>object</td>\n<td>Contains latitude (<code>lat</code>) and longitude (<code>long</code>) values as floats. These coordinates pinpoint the location of the pickup/dropoff on a map, bypassing geocoding from an address. Note: You must also provide an address string when using this object.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>lat</td>\n<td>coordinates</td>\n<td>float</td>\n<td>Specifies the latitude of the location. Accuracy up to 6 decimal places is allowed.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>long</td>\n<td>coordinates</td>\n<td>float</td>\n<td>Specifies the longitude of the location. Accuracy up to 6 decimal places is allowed.</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"contact\">Contact:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>contact</td>\n<td>pickups, dropoffs</td>\n<td>object</td>\n<td>Contact information for the origin or destination. Either <code>firstname</code> and <code>lastname</code>, or <code>company</code>, are required and its Max length is 191 characters.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>firstname</td>\n<td>contact</td>\n<td>string</td>\n<td>Name of the contact person.</td>\n<td>Optional.  <br />- Required if <code>company</code> is empty.</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>contact</td>\n<td>string</td>\n<td>Lastname of the contact person.</td>\n<td>Optional  <br />- Required if <code>company</code> is empty.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>contact</td>\n<td>string</td>\n<td>Phone number formatted according to E.164 standard.</td>\n<td>Optional.  <br />- Required if the address is not accurate enough.</td>\n</tr>\n<tr>\n<td>phone_pin_code</td>\n<td>contact</td>\n<td>string</td>\n<td>Phone number extension. Max length: 10 characters.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>email</td>\n<td>contact</td>\n<td>string</td>\n<td>Email address, formatted as a valid email.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>company</td>\n<td>contact</td>\n<td>string</td>\n<td>Company's name.</td>\n<td>Optional.  <br />- Required if <code>firstname</code> and <code>lastname</code> are empty.</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"package-dimensions\">Package Dimensions:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>package_dimensions</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contains information about the package. All objects include two fields: <code>unit</code> (string) and <code>value</code> (float).</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>length</td>\n<td>package_dimensions</td>\n<td>object</td>\n<td>Specifies the package's length. Allowed units: <code>mm</code>, <code>cm</code>, <code>dm</code>, <code>m</code>.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>width</td>\n<td>package_dimensions</td>\n<td>object</td>\n<td>Specifies the package's width. Allowed units: <code>mm</code>, <code>cm</code>, <code>dm</code>, <code>m</code>.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>height</td>\n<td>package_dimensions</td>\n<td>object</td>\n<td>Specifies the package's height. Allowed units: <code>mm</code>, <code>cm</code>, <code>dm</code>, <code>m</code>.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>package_dimensions</td>\n<td>object</td>\n<td>Specifies the package's weight. Allowed units: <code>g</code>, <code>kg</code>.</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"delivery-options\">Delivery Options:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>delivery_options</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contains fields that add additional granularity to the delivery or package.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>restricted_items</td>\n<td>delivery_options</td>\n<td>array[string]</td>\n<td>Used to flag restricted items within a delivery or package.  <br />Must include one or more of the following values: <code>TOBACCO</code>, <code>LOTTERY</code>, <code>KNIVES</code>, <code>FIREWORKS</code>, <code>SOLVENTS</code>, <code>BUTANE</code>, <code>ALCOHOL</code>, <code>SUNBEDS</code>, <code>OTHER</code>.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>cold_chain</td>\n<td>delivery_options</td>\n<td>string</td>\n<td>Used to specify whether the delivery contains temperature-sensitive products. Accepts the following values: <code>chilled</code> for refrigerated products, <code>frozen</code> for frozen products.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>alternative_locations</td>\n<td>delivery_options</td>\n<td>object</td>\n<td>Defines an alternative delivery location that can be attempted at the dropoff if the recipient is not present.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>type</td>\n<td>alternative_locations</td>\n<td>string</td>\n<td>Type of alternative delivery location.  <br />  <br />Accepted values:  <br />  <br />- <code>neighbour</code> : To leave the package with a neighbour.  <br />- <code>safe_place</code>: To drop the package in a safe place, specified in the instrucions.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>instructions</td>\n<td>alternative_locations</td>\n<td>string</td>\n<td>Instructions for the courier to follow when delivering at an alternative location.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>undeliverable_actions</td>\n<td>delivery_options</td>\n<td>object</td>\n<td>Defines the action for the courier if the recipient is unavailable and the package can't be delivered to them.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>action_type</td>\n<td>undeliverable_actions</td>\n<td>string</td>\n<td>Type of action to perform when the recipient is unavailable.  <br />  <br />Accepted values:  <br />  <br />- <code>return</code> : Return to the pickup location.  <br />- <code>discard</code>: Discard the package.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>instructions</td>\n<td>undeliverable_actions</td>\n<td>string</td>\n<td>Free-text instructions providing additional details for how to proceed if the recipient is unavailable.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>payment_to_collect</td>\n<td>delivery_options</td>\n<td>object</td>\n<td>Specifies the payment type and amount for deliveries requiring payment at dropoff. This feature must be enabled at the account level and agreed upon with Stuart.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>payment_to_collect</td>\n<td>float</td>\n<td>The payment amount (in local currency).</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>type</td>\n<td>payment_to_collect</td>\n<td>string</td>\n<td>The payment type. Allowed values: <code>card</code>, <code>cash</code>.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>pin_code</td>\n<td>delivery_options</td>\n<td>object</td>\n<td>Specifies whether pin-code validation is required for a delivery or package and the type of validation used. This feature must be enabled at the account level and agreed upon with Stuart.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>pin_code</td>\n<td>string</td>\n<td>Indicates if the pin-code feature is enabled. Allowed value: <code>true</code>.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>type</td>\n<td>pin_code</td>\n<td>string</td>\n<td>Specifies the type of pin-code validation. Allowed values: <code>static</code>, <code>dynamic</code>.  <br />The <code>static</code> type uses the last two digits of the dropoff contact's phone number while for the <code>dynamic</code> type generates a secure, dynamic 4-digit code.</td>\n<td>Required</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"partner-data\">Partner Data:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_data</td>\n<td>dropoffs</td>\n<td>object</td>\n<td>Contains information about the partner/integrator and the marketplace from which the order originates.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>integrator</td>\n<td>partner_data</td>\n<td>string</td>\n<td>Name of the partner or integrator processing the delivery request and forwarding it to Stuart.  <br />Note: We recommend using only lowercase and ASCII characters.</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>marketplace</td>\n<td>partner_data</td>\n<td>string</td>\n<td>Name of the marketplace where the order was placed.  <br />Note: We recommend using only lowercase and ASCII characters.</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"5278d045-96fe-42e5-a67b-b49b9f4c6dda","name":"200 - Instant job","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100202968,\n    \"created_at\": \"2021-12-22T14:52:04.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.919,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100907339,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100907339/a8e207aa35eb4cddb8b8eef7594c11bd\",\n            \"client_reference\": \"1761207471\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 3382054,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 3382055,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133064,\n                \"longitude\": -0.2208286,\n                \"comment\": \"3nd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null,\n            \"client_tracking_url\": \"https://dashboard.sandbox.stuart.com/track/2c3b98ee9e432a8756cc49e8aeb0c7cd/100907339/a8e207aa35eb4cddb8b8eef7594c11bd\"\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 7.32,\n        \"price_tax_excluded\": 6.1,\n        \"tax_amount\": 1.22,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"8e78aa3f-6f09-4c29-aaea-ac8aa2118b51","name":"200 - Pickup_scheduled job","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickup_at\": \"2021-12-12T11:00:00.000+02:00\",\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100202968,\n    \"created_at\": \"2021-12-22T14:52:04.000+01:00\",\n    \"status\": \"scheduled\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": \"2021-12-12T11:00:00.000+02:00\",\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.919,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100247837,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100247837/ae5ff497d3c66d79627371f695a3a107\",\n            \"client_reference\": \"1640181124\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2062809,\n                \"address\": {\n                    \"street\": \"32 Coombe Lane\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Lane, SW20 0LA, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 2062810,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Road\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Road, SW20 8QD, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4133427,\n                \"longitude\": -0.2208565,\n                \"comment\": \"3nd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                }\n                ,\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null,\n            \"client_tracking_url\": \"https://dashboard.sandbox.stuart.com/track/a382f9ee660f7c0ddb407ae76e821e72/100907338/444b5e947a90e835dfa86c87a7719488\"\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 6.48,\n        \"price_tax_excluded\": 5.4,\n        \"tax_amount\": 1.08,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"e36d3e93-9ca9-40e3-99cb-cc1029995be2","name":"200 - Scheduled slot job","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"offering_type\": \"scheduled\",\n                \"package_type\": \"xsmall\",\n                \"package_description\": \"150\",\n                \"client_reference\": \"207387111\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2023-09-07T10:00:00.000+00:00\",\n                \"end_customer_time_window_end\": \"2023-09-07T13:00:00.000+00:00\",\n                \"delivery_slot_id\": 10,\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                },\n                \"delivery_options\": {\n                    \"restricted_items\": [\n                        \"ALCOHOL\",\n                        \"TOBACCO\"\n                    ],\n                    \"alternative_locations\": [\n                        {\n                            \"type\": \"neighbour\",\n                            \"instructions\": \"go to the neighbour\"\n                        }\n                    ]\n                },\n                \"package_dimensions\": {\n                    \"length\": {\n                        \"unit\": \"cm\",\n                        \"value\": 3.5\n                    },\n                    \"width\": {\n                        \"unit\": \"cm\",\n                        \"value\": 9.3\n                    },\n                    \"height\": {\n                        \"unit\": \"cm\",\n                        \"value\": 16\n                    },\n                    \"weight\": {\n                        \"unit\": \"kg\",\n                        \"value\": 0.5\n                    }\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100565417,\n    \"created_at\": \"2023-09-05T12:17:26.000+02:00\",\n    \"status\": \"scheduled\",\n    \"package_type\": \"xsmall\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 3.244,\n    \"duration\": 13,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100701942,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100701942/1f11c34521273b817f31bc5459395960\",\n            \"client_reference\": \"207387111\",\n            \"package_description\": \"150\",\n            \"package_type\": \"xsmall\",\n            \"fleet_ids\": [\n                1,\n                971\n            ],\n            \"pickup\": {\n                \"id\": 2971258,\n                \"address\": {\n                    \"street\": \"13 RUE D'AMSTERDAM, 75008 Paris\",\n                    \"postcode\": \"75008\",\n                    \"city\": \"Paris\",\n                    \"zone\": \"paris\",\n                    \"country\": \"France\",\n                    \"formatted_address\": \"13 RUE D'AMSTERDAM, 75008 Paris\"\n                },\n                \"latitude\": 48.8768826,\n                \"longitude\": 2.3267456,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 2971259,\n                \"address\": {\n                    \"street\": \"75 RUE POUCHET, 75017 PARIS\",\n                    \"postcode\": \"75017\",\n                    \"city\": \"Paris\",\n                    \"zone\": \"paris\",\n                    \"country\": \"France\",\n                    \"formatted_address\": \"75 RUE POUCHET, 75017 PARIS\"\n                },\n                \"latitude\": 48.8960604,\n                \"longitude\": 2.3213626,\n                \"comment\": \"APPARTEMENT 152 BATIMENT E / Merci de bien vouloir déposer le colis avec la gardienne\",\n                \"contact\": {\n                    \"firstname\": \"ANNE SOPHIE\",\n                    \"lastname\": \"GRAVINA\",\n                    \"phone\": \"+33692703303 x12345678\",\n                    \"company_name\": null,\n                    \"email\": \"djgrav974@gmail.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null,\n            \"offering_type\": \"scheduled\",\n            \"end_customer_time_window_start\": \"2023-09-07T12:00:00.000+02:00\",\n            \"end_customer_time_window_end\": \"2023-09-07T15:00:00.000+02:00\",\n            \"delivery_slot_id\": 10,\n            \"package_dimensions\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 11.16,\n        \"price_tax_excluded\": 9.3,\n        \"tax_amount\": 1.86,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"EUR\"\n    },\n    \"rating\": null\n}"},{"id":"c3ee3268-ef9f-45c0-92bb-5af3c76bbc2b","name":"200 - Restricted items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                },\n                \"delivery_options\": {\n                    \"restricted_items\": [\n                        \"ALCOHOL\",\n                        \"TOBACCO\"\n                    ]\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100202968,\n    \"created_at\": \"2021-12-22T14:52:04.000+01:00\",\n    \"status\": \"scheduled\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": \"2021-12-12T11:00:00.000+02:00\",\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.919,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100247837,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100247837/ae5ff497d3c66d79627371f695a3a107\",\n            \"client_reference\": \"1640181124\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2062809,\n                \"address\": {\n                    \"street\": \"32 Coombe Lane\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Lane, SW20 0LA, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 2062810,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Road\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Road, SW20 8QD, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4133427,\n                \"longitude\": -0.2208565,\n                \"comment\": \"3nd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 6.48,\n        \"price_tax_excluded\": 5.4,\n        \"tax_amount\": 1.08,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"58e07314-23fe-4db2-b5f4-404e24e84fcb","name":"200 - Cold chain","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"1761207273\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                },\n                \"delivery_options\": {\n                    \"cold_chain\": \"chilled\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100748193,\n    \"created_at\": \"2025-10-23T10:14:34.000+02:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100907338,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100907338/444b5e947a90e835dfa86c87a7719488\",\n            \"client_reference\": \"1761207273\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 3382052,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 3382053,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133064,\n                \"longitude\": -0.2208286,\n                \"comment\": \"3rd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null,\n            \"client_tracking_url\": \"https://dashboard.sandbox.stuart.com/track/a382f9ee660f7c0ddb407ae76e821e72/100907338/444b5e947a90e835dfa86c87a7719488\"\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 7.32,\n        \"price_tax_excluded\": 6.1,\n        \"tax_amount\": 1.22,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"d3ff8c2b-5395-40d1-9daa-be702cd13152","name":"200 - Pin-code Validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"job\":{\n      \"pickups\":[\n         {\n            \"address\":\"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n            \"comment\":\"Ask Bobby\",\n            \"contact\":{\n               \"firstname\":\"Bobby\",\n               \"lastname\":\"Brown\",\n               \"phone\":\"+33610101010\",\n               \"email\":\"bobby.brown@pizzashop.com\",\n               \"company\":\"Pizza Shop\"\n            }\n         }\n      ],\n      \"dropoffs\":[\n         {\n            \"package_type\":\"medium\",\n            \"package_description\":\"yellow package\",\n            \"client_reference\":\"[your_client_ref]\",\n            \"address\":\"23 Ethelbert Rd, London SW20 8QD\",\n            \"comment\":\"3rd floor on the right\",\n            \"contact\":{\n               \"firstname\":\"Julia\",\n               \"lastname\":\"Moore\",\n               \"phone\":\"+33712222222\",\n               \"email\":\"client3@email.com\",\n               \"company\":\"Sample Company Inc.\"\n            },\n            \"delivery_options\":{\n               \"pin_code\":{\n                  \"enabled\":true,\n                  \"type\":\"static\"\n               }\n            }\n         }\n      ]\n   }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100551781,\n    \"created_at\": \"2023-07-04T18:01:37.000+02:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 5,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100687667,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100687667/0b1373b98a74f2bb4a7189bacaba6bcf\",\n            \"client_reference\": \"1688486496\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2942708,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 2942709,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.413323,\n                \"longitude\": -0.2208527,\n                \"comment\": \"3rd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+447818170638\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null,\n                \"pin_code\": \"38\"\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 10.57,\n        \"price_tax_excluded\": 8.81,\n        \"tax_amount\": 1.76,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"629eea6b-8dcd-4660-b566-15ac3da256c8","name":"200 - Payment to collect","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                },\n                \"delivery_options\": {\n                    \"payment_to_collect\": {\n                        \"amount\": 29.93,\n                        \"type\": \"card\"\n                    }\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100202968,\n    \"created_at\": \"2021-12-22T14:52:04.000+01:00\",\n    \"status\": \"scheduled\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": \"2021-12-12T11:00:00.000+02:00\",\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.919,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100247837,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100247837/ae5ff497d3c66d79627371f695a3a107\",\n            \"client_reference\": \"1640181124\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2062809,\n                \"address\": {\n                    \"street\": \"32 Coombe Lane\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Lane, SW20 0LA, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 2062810,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Road\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Road, SW20 8QD, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4133427,\n                \"longitude\": -0.2208565,\n                \"comment\": \"3nd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 6.48,\n        \"price_tax_excluded\": 5.4,\n        \"tax_amount\": 1.08,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"8b1e4f72-42f1-4f8c-9894-b58146188aa0","name":"200 - with coordinates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"coordinates\": {\n                    \"lat\": 51.409676,\n                    \"long\": -0.230138\n                },\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"coordinates\": {\n                    \"lat\": 51.413343,\n                    \"long\": -0.220856\n                },\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n \"id\": 100202968,\n \"created_at\": \"2021-12-22T14:52:04.000+01:00\",\n \"status\": \"searching\",\n \"package_type\": \"medium\",\n \"transport_type\": \"bike\",\n \"assignment_code\": \"12345436-2\",\n \"pickup_at\": \"2022-05-25T11:00:00.000+02:00\",\n \"dropoff_at\": \"2022-05-25T11:30:00.000+02:00\",\n \"ended_at\": \"2022-05-25T11:30:00.000+02:00\",\n \"comment\": \"Example comment\",\n \"distance\": 0.919,\n \"duration\": 4,\n \"traveled_time\": 0,\n \"traveled_distance\": 0,\n \"deliveries\": [\n  {\n   \"id\": 100247837,\n   \"status\": \"finished\",\n   \"picked_at\": \"2022-05-25T11:00:00.000+02:00\",\n   \"delivered_at\": \"2022-05-25T11:30:00.000+02:00\",\n   \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100247837/ae5ff497d3c66d79627371f695a3a107\",\n   \"client_reference\": \"1640181124\",\n   \"package_description\": \"yellow package\",\n   \"package_type\": \"medium\",\n   \"fleet_ids\": [\n    1\n   ],\n   \"pickup\": {\n    \"id\": 2062809,\n    \"address\": {\n     \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n     \"postcode\": \"\",\n     \"city\": \"London\",\n     \"zone\": \"london\",\n     \"country\": \"The United Kingdom\",\n     \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n    },\n    \"latitude\": 51.409676,\n    \"longitude\": -0.230138,\n    \"comment\": \"Ask Bobby\",\n    \"contact\": {\n     \"firstname\": \"Bobby\",\n     \"lastname\": \"Brown\",\n     \"phone\": \"+33610101010\",\n     \"company_name\": \"Pizza Shop\",\n     \"email\": \"bobby.brown@pizzashop.com\"\n    }\n   },\n   \"dropoff\": {\n    \"id\": 2062810,\n    \"address\": {\n     \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n     \"postcode\": \"\",\n     \"city\": \"London\",\n     \"zone\": \"london\",\n     \"country\": \"The United Kingdom\",\n     \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n    },\n    \"latitude\": 51.413343,\n    \"longitude\": -0.220856,\n    \"comment\": \"3nd floor on the right\",\n    \"contact\": {\n     \"firstname\": \"Julia\",\n     \"lastname\": \"Moore\",\n     \"phone\": \"+33712222222\",\n     \"company_name\": \"Sample Company Inc.\",\n     \"email\": \"client3@email.com\"\n    }\n   },\n   \"cancellation\": {\n    \"canceled_by\": null,\n    \"reason_key\": null,\n    \"comment\": null\n   },\n   \"eta\": {\n    \"pickup\": null,\n    \"dropoff\": null\n   },\n   \"proof\": {\n    \"signature_url\": null\n   },\n   \"package_image_url\": \"enim\",\n   \"cancellationcanceled_by\": null,\n   \"cancellationreason_key\": null,\n   \"cancellationcomment\": null,\n   \"etapickup\": null,\n   \"etadropoff\": null,\n   \"proofsignature_url\": null\n  }\n ],\n \"driver\": \"incididunt dolor sit\",\n \"pricing\": {\n  \"price_tax_included\": 6.48,\n  \"price_tax_excluded\": 5.4,\n  \"tax_amount\": 1.08,\n  \"invoice_url\": null,\n  \"tax_percentage\": 0.2,\n  \"currency\": \"GBP\"\n },\n \"rating\": \"in exercitation Excepteur eiusmod\",\n \"pricinginvoice_url\": null\n}"},{"id":"c3f62815-4a1e-4841-a307-6d524ffe32fd","name":"200 - Paused dialling/Extension number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"phone_pin_code\": \"12345678\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100430212,\n    \"created_at\": \"2023-01-24T17:52:35.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 5,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100512441,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100512441/7f8d939c6925c1fecb82a6b3d825d7fb\",\n            \"client_reference\": \"1674579155\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2592246,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                }\n            },\n            \"dropoff\": {\n                \"id\": 2592247,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133228,\n                \"longitude\": -0.2208528,\n                \"comment\": \"3rd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222 x12345678\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                }\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 10.57,\n        \"price_tax_excluded\": 8.81,\n        \"tax_amount\": 1.76,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"c2ed7b7a-a999-4ffc-9b09-790e941e4001","name":"200 - With access codes","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_1\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"phone_pin_code\": \"12345678\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_2\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100430212,\n    \"created_at\": \"2023-01-24T17:52:35.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 5,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100512441,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100512441/7f8d939c6925c1fecb82a6b3d825d7fb\",\n            \"client_reference\": \"1674579155\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2592246,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_1\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            },\n            \"dropoff\": {\n                \"id\": 2592247,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133228,\n                \"longitude\": -0.2208528,\n                \"comment\": \"3rd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222 x12345678\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_2\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 10.57,\n        \"price_tax_excluded\": 8.81,\n        \"tax_amount\": 1.76,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"cf621816-996a-4b6d-a356-bb3db591726b","name":"200 - With partner's information","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3rd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"phone_pin_code\": \"12345678\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                },\n                \"partner_data\": {\n                    \"integrator\": \"integratorname\",\n                    \"marketplace\": \"marketplacename\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100430212,\n    \"created_at\": \"2023-01-24T17:52:35.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"medium\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 5,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100512441,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100512441/7f8d939c6925c1fecb82a6b3d825d7fb\",\n            \"client_reference\": \"1674579155\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2592246,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 2592247,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133228,\n                \"longitude\": -0.2208528,\n                \"comment\": \"3rd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222 x12345678\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 10.57,\n        \"price_tax_excluded\": 8.81,\n        \"tax_amount\": 1.76,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"bbfe5aaa-cc65-4166-b880-6931d3b6f71c","name":"200 - Alternative location - Safe","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"small\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"delivery_options\": {\n                    \"alternative_locations\": [\n                        {\n                            \"type\": \"safe_place\",\n                            \"instructions\": \"Leave inside the blue box near the entrance\"\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100710443,\n    \"created_at\": \"2025-03-25T12:39:30.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"small\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100861660,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100861660/485a134789291498731e0d81424fc9f5\",\n            \"client_reference\": \"1742902770\",\n            \"package_description\": null,\n            \"package_type\": \"small\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 3290696,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 3290697,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133064,\n                \"longitude\": -0.2208286,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 7.32,\n        \"price_tax_excluded\": 6.1,\n        \"tax_amount\": 1.22,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"9cbecf13-d771-421b-8ffa-a1e0a50605b6","name":"200 - Alternative location - Neighbour","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"small\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"delivery_options\": {\n                    \"alternative_locations\": [\n                        {\n                            \"type\": \"neighbour\",\n                            \"instructions\": \"Leave with John in flat 3B\"\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100710444,\n    \"created_at\": \"2025-03-25T12:42:09.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"small\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100861661,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100861661/b368d676dce2b5f6a20bf991fa7882df\",\n            \"client_reference\": \"1742902929\",\n            \"package_description\": null,\n            \"package_type\": \"small\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 3290698,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 3290699,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133064,\n                \"longitude\": -0.2208286,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 7.32,\n        \"price_tax_excluded\": 6.1,\n        \"tax_amount\": 1.22,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"874a6bd1-c2e4-4937-b43e-209f05ece328","name":"200 - Undeliverable action - Return","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"small\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"delivery_options\": {\n                    \"undeliverable_actions\": {\n                        \"action_type\": \"return\",\n                        \"instructions\": \"Please return the package to its pickup location.\"\n                    }\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100710446,\n    \"created_at\": \"2025-03-25T12:45:52.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"small\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100861663,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100861663/51f9a19ef8dfaa5d497cc7a0dfc231de\",\n            \"client_reference\": \"1742903152\",\n            \"package_description\": null,\n            \"package_type\": \"small\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 3290702,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 3290703,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133064,\n                \"longitude\": -0.2208286,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 7.32,\n        \"price_tax_excluded\": 6.1,\n        \"tax_amount\": 1.22,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"9afc41c7-5a56-4ea4-9872-9a8f49153b33","name":"200 - Undeliverable action - Discard","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"small\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"delivery_options\": {\n                    \"undeliverable_actions\": {\n                        \"action_type\": \"discard\",\n                        \"instructions\": \"Discard the package if no one is available to receive it.\"\n                    }\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100710447,\n    \"created_at\": \"2025-03-25T12:49:06.000+01:00\",\n    \"status\": \"searching\",\n    \"package_type\": \"small\",\n    \"transport_type\": null,\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.917,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100861664,\n            \"status\": \"pending\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100861664/9b7bcd1a2930d29e55763338648ea5ce\",\n            \"client_reference\": \"1742903345\",\n            \"package_description\": null,\n            \"package_type\": \"small\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 3290704,\n                \"address\": {\n                    \"street\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 3290705,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Rd, London SW20 8QD\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Rd, London SW20 8QD\"\n                },\n                \"latitude\": 51.4133064,\n                \"longitude\": -0.2208286,\n                \"comment\": null,\n                \"contact\": {\n                    \"firstname\": null,\n                    \"lastname\": null,\n                    \"phone\": null,\n                    \"company_name\": null,\n                    \"email\": null\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": null,\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 7.32,\n        \"price_tax_excluded\": 6.1,\n        \"tax_amount\": 1.22,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"b7f310ea-0b1f-4338-bb35-f5968d65226b","name":"422 - Duplicate order id","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"JOB_INVALID_DUPLICATED_ORDER_ID\",\n    \"message\": \"Provided order ID is already used\",\n    \"data\": {\n        \"job.dropoffs.client_reference\": [\n            \"must be unique\",\n            \"size cannot be greater than 191\"\n        ]\n    }\n}"},{"id":"48b8a7f8-99f5-4ea4-a69a-06bde0ff8670","name":"422 - Invalid phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+3361010101022222\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"PHONE_INVALID\",\n    \"message\": \"a origin phone is invalid\",\n    \"data\": {\n        \"job.pickups.contact_phone\": [\n            \"is an invalid number\"\n        ]\n    }\n}"},{"id":"6bec82f3-6bba-48c9-9665-a380e4e2d26b","name":"422 - Out of range","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"57 King William St, Swindon SN1 3LS, UK\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+3361010101022222\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"OUT_OF_RANGE\",\n    \"message\": \"This location is out of range\"\n}"},{"id":"dd6e2d39-55b2-48c8-85b2-9ae193d8af68","name":"422 - Service temporarily unavailable","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"57 King William St, Swindon SN1 3LS, UK\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+3361010101022222\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"LOCATION_TEMPORARILY_UNAVAILABLE\",\n    \"message\": \"We cannot operate in this area at the moment, please try again later\"\n}"},{"id":"3741d75c-3403-4ca8-8429-995fc2ed41b0","name":"422 - Instant job out of opening hours","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"57 King William St, Swindon SN1 3LS, UK\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+3361010101022222\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"RECORD_INVALID\",\n    \"message\": \"Unable to save record\",\n    \"data\": {\n        \"packages.restrictions.instant_pickup_time\": [\n            \"is not valid\"\n        ]\n    }\n}"},{"id":"fe65145c-681f-470b-8791-56cc1b68cc7f","name":"422 - Can't geocode","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 C0 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+3361010101022222\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CANT_GEOCODE_ADDRESS\",\n    \"message\": \"The address can't be geocoded\"\n}"},{"id":"de300ad2-b612-4a9b-82f5-f8fd048202b1","name":"422 - Invalid","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010222\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"PHONE_INVALID\",\n    \"message\": \"a origin phone is invalid\",\n    \"data\": {\n        \"job.pickups.contact_phone\": [\n            \"is an invalid number\"\n        ],\n        \"job.dropoffs.address\": [\n            \"must be filled\",\n            \"is not in a valid area\"\n        ]\n    }\n}"},{"id":"72f5e55a-935c-4016-86f7-ad08984e4eda","name":"422 - Unsupported job stacking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"job\": {\n       \"pickups\": [\n           {\n               \"address\": \"1-10 Temple Back, Bristol BS1, UK\",\n               \"comment\": \"Ask Bobby\",\n               \"contact\": {\n                   \"firstname\": \"Bobby\",\n                   \"lastname\": \"Brown\",\n                   \"phone\": \"+33610101010\",\n                   \"email\": \"bobby.brown@pizzashop.com\",\n                   \"company\": \"Pizza Shop\"\n               }\n           }\n       ],\n       \"dropoffs\": [\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_1]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           },\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_2]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           },\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_3]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           },\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_4]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           },\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_5]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           },\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_6]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           },\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_7]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           },\n           {\n               \"package_type\": \"xlarge\",\n               \"package_description\": \"yellow package\",\n               \"client_reference\": \"[your_client_ref_8]\",\n               \"address\": \"149 Victoria St, Bristol BS1 6DU, UK\",\n               \"comment\": \"3nd floor on the right\",\n               \"contact\": {\n                   \"firstname\": \"Julia\",\n                   \"lastname\": \"Moore\",\n                   \"phone\": \"+33712222222\",\n                   \"email\": \"client3@email.com\",\n                   \"company\": \"Sample Company Inc.\"\n               }\n           }\n       ]\n   }\n} ","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"UNSUPPORTED_JOB_STACKING\",\n    \"message\": \"The total package volume is too large\"\n}"}],"_postman_id":"e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8"},{"name":"Job validation","event":[{"listen":"prerequest","script":{"id":"bdbad5aa-0fc2-48d2-9634-17d4e49b31ea","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"7626d616-1b20-44cf-ada6-53acd0648d86","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"44bc770e-81df-423c-a09a-75b48f380c95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickup_at\": \"2021-12-12T11:00:00.000+02:00\",\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}"},"url":"{{api_url}}/v2/jobs/validate","description":"<p>Verify the payload validity according to job's creation requirements.</p>\n<p>We recommend to read through the <a href=\"https://stuart.com/developers/setup-for-success/\">setup for success</a> guide to avoid common errors when setting up the integration.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs","validate"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"f2efee78-8b09-4b2a-83ea-751b9b77cff8","name":"200 - OK","originalRequest":{"method":"POST","header":[{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"valid\": true\n}"},{"id":"3ec90560-b054-46b5-bc7a-03e276f938e8","name":"200 - with coordinates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"coordinates\": {\n                    \"lat\": 51.409676,\n                    \"long\": -0.230138\n                },\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"coordinates\": {\n                    \"lat\": 51.413343,\n                    \"long\": -0.220856\n                },\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"valid\": true\n}"},{"id":"c95c62f0-023e-4247-822f-5a6dba8f2673","name":"422 - out of range","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"job\": {\n    \"pickups\": [\n      {\n        \"address\": \"57 King William St, Swindon SN1 3LS, UK\",\n        \"comment\": \"Ask Bobby\",\n        \"contact\": {\n          \"firstname\": \"Bobby\",\n          \"lastname\": \"Brown\",\n          \"phone\": \"+33610101010\",\n          \"email\": \"bobby.brown@pizzashop.com\",\n          \"company\": \"Pizza Shop\"\n        }\n      }\n    ],\n    \"dropoffs\": [\n      {\n        \"package_type\": \"medium\",\n        \"package_description\": \"yellow package\",\n        \"client_reference\": \"[your_client_ref]\",\n        \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n        \"comment\": \"3nd floor on the right\",\n        \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n        \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n        \"contact\": {\n          \"firstname\": \"Julia\",\n          \"lastname\": \"Moore\",\n          \"phone\": \"+33712222222\",\n          \"email\": \"client3@email.com\",\n          \"company\": \"Sample Company Inc.\"\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/validate"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"OUT_OF_RANGE\",\n    \"message\": \"This location is out of range\"\n}"},{"id":"802ac925-40c5-4612-b152-56f03b9bac6f","name":"422 - can't geocode","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"job\": {\n    \"pickups\": [\n      {\n        \"address\": \"32 C0 0LA\",\n        \"comment\": \"Ask Bobby\",\n        \"contact\": {\n          \"firstname\": \"Bobby\",\n          \"lastname\": \"Brown\",\n          \"phone\": \"+33610101010\",\n          \"email\": \"bobby.brown@pizzashop.com\",\n          \"company\": \"Pizza Shop\"\n        }\n      }\n    ],\n    \"dropoffs\": [\n      {\n        \"package_type\": \"medium\",\n        \"package_description\": \"yellow package\",\n        \"client_reference\": \"[your_client_ref]\",\n        \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n        \"comment\": \"3nd floor on the right\",\n        \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n        \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n        \"contact\": {\n          \"firstname\": \"Julia\",\n          \"lastname\": \"Moore\",\n          \"phone\": \"+33712222222\",\n          \"email\": \"client3@email.com\",\n          \"company\": \"Sample Company Inc.\"\n        }\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/validate"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CANT_GEOCODE_ADDRESS\",\n    \"message\": \"The address can't be geocoded\"\n}"},{"id":"ae3308d5-d684-4186-864e-98f19af67b81","name":"422 - service temporarily unavailable","originalRequest":{"method":"POST","header":[{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/validate"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"LOCATION_TEMPORARILY_UNAVAILABLE\",\n    \"message\": \"We cannot operate in this area at the moment, please try again later\"\n}"}],"_postman_id":"44bc770e-81df-423c-a09a-75b48f380c95"},{"name":"Job pricing","event":[{"listen":"test","script":{"id":"787ba29c-813a-4e6d-ba86-7737553d5942","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"b8d84202-d8f3-4a9f-8a3d-7a7ec0343d45","exec":[""],"type":"text/javascript"}}],"id":"f0aae7da-4063-4ff4-a82d-af6f90ec6586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickup_at\": \"2021-12-12T11:00:00.000+02:00\",\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}"},"url":"{{api_url}}/v2/jobs/pricing","description":"<p>Request the price for a job by using the same request payload used to <a href=\"#e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8\">create a job</a>.</p>\n<p>The minimal details required to get the pricing are the pickup and dropoff <code>address</code>, and <code>package_type</code> information.</p>\n<p>The response will detail the price of the job both including and excluding tax and the currency.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs","pricing"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"c3dc4211-fc4f-4780-98ed-37035b34436c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/pricing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"amount\": 6.1,\n    \"amount_with_tax\": 7.32,\n    \"currency\": \"GBP\"\n}"},{"id":"71fb00d7-18da-4844-9682-80bc7e073e96","name":"422 - Duplicate order id","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"job\": {\n    \"pickups\": [\n      {\n        \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n        \"comment\": \"Ask Bobby\",\n        \"contact\": {\n          \"firstname\": \"Bobby\",\n          \"lastname\": \"Brown\",\n          \"phone\": \"+33610101010\",\n          \"email\": \"bobby.brown@pizzashop.com\",\n          \"company\": \"Pizza Shop\"\n        },\n         \"access_codes\": [{\n          \"code\": \"your_access_code_1\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n         }]\n      }\n    ],\n    \"dropoffs\": [\n      {\n        \"package_type\": \"medium\",\n        \"package_description\": \"yellow package\",\n        \"client_reference\": \"[your_client_ref]\",\n        \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n        \"comment\": \"3nd floor on the right\",\n        \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n        \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n        \"contact\": {\n          \"firstname\": \"Julia\",\n          \"lastname\": \"Moore\",\n          \"phone\": \"+33712222222\",\n          \"email\": \"client3@email.com\",\n          \"company\": \"Sample Company Inc.\"\n        },\n          \"access_codes\":[ {\n          \"code\": \"your_access_code_2\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n          }]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/pricing"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"JOB_INVALID_DUPLICATED_ORDER_ID\",\n    \"message\": \"Provided order ID is already used\",\n    \"data\": {\n        \"job.dropoffs.client_reference\": [\n            \"must be unique\",\n            \"size cannot be greater than 191\"\n        ]\n    }\n}"},{"id":"7a3fe893-c12f-46fa-895d-7b856faa9ec9","name":"422 - Can't geocode","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"job\": {\n    \"pickups\": [\n      {\n        \"address\": \"Wrong address\",\n        \"comment\": \"Ask Bobby\",\n        \"contact\": {\n          \"firstname\": \"Bobby\",\n          \"lastname\": \"Brown\",\n          \"phone\": \"+33610101010\",\n          \"email\": \"bobby.brown@pizzashop.com\",\n          \"company\": \"Pizza Shop\"\n        },\n         \"access_codes\": [{\n          \"code\": \"your_access_code_1\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n         }]\n      }\n    ],\n    \"dropoffs\": [\n      {\n        \"package_type\": \"medium\",\n        \"package_description\": \"yellow package\",\n        \"client_reference\": \"[your_client_ref]\",\n        \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n        \"comment\": \"3nd floor on the right\",\n        \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n        \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n        \"contact\": {\n          \"firstname\": \"Julia\",\n          \"lastname\": \"Moore\",\n          \"phone\": \"+33712222222\",\n          \"email\": \"client3@email.com\",\n          \"company\": \"Sample Company Inc.\"\n        },\n          \"access_codes\":[ {\n          \"code\": \"your_access_code_2\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n          }]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/pricing"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CANT_GEOCODE_ADDRESS\",\n    \"message\": \"The address can't be geocoded\"\n}\n"},{"id":"afa16c4f-1ac0-441e-9eeb-22d69d8eab79","name":"422 - Invalid address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"job\": {\n    \"pickups\": [\n      {\n        \"address\": \"C. de Pau Claris 182, Barcelona 08037\",\n        \"comment\": \"Ask Bobby\",\n        \"contact\": {\n          \"firstname\": \"Bobby\",\n          \"lastname\": \"Brown\",\n          \"phone\": \"+33610101010\",\n          \"email\": \"bobby.brown@pizzashop.com\",\n          \"company\": \"Pizza Shop\"\n        },\n         \"access_codes\": [{\n          \"code\": \"your_access_code_1\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n         }]\n      }\n    ],\n    \"dropoffs\": [\n      {\n        \"package_type\": \"medium\",\n        \"package_description\": \"yellow package\",\n        \"client_reference\": \"[your_client_ref]\",\n        \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n        \"comment\": \"3nd floor on the right\",\n        \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n        \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n        \"contact\": {\n          \"firstname\": \"Julia\",\n          \"lastname\": \"Moore\",\n          \"phone\": \"+33712222222\",\n          \"email\": \"client3@email.com\",\n          \"company\": \"Sample Company Inc.\"\n        },\n          \"access_codes\":[ {\n          \"code\": \"your_access_code_2\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n          }]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/pricing"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"JOB_INVALID_DUPLICATED_ORDER_ID\",\n    \"message\": \"Provided order ID is already used\",\n    \"data\": {\n        \"job.dropoffs.client_reference\": [\n            \"must be unique\",\n            \"size cannot be greater than 191\"\n        ]\n    }\n}"},{"id":"a36782e1-5dc5-430b-982f-2102a60994ee","name":"422 - Invalid date","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\"job\": {\n    \"pickup_at\": \"2020-12-12T11:00:00.000+02:00\",\n    \"pickups\": [\n      {\n        \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n        \"comment\": \"Ask Bobby\",\n        \"contact\": {\n          \"firstname\": \"Bobby\",\n          \"lastname\": \"Brown\",\n          \"phone\": \"+33610101010\",\n          \"email\": \"bobby.brown@pizzashop.com\",\n          \"company\": \"Pizza Shop\"\n        },\n         \"access_codes\": [{\n          \"code\": \"your_access_code_1\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n         }]\n      }\n    ],\n    \"dropoffs\": [\n      {\n        \"package_type\": \"medium\",\n        \"package_description\": \"yellow package\",\n        \"client_reference\": \"[your_client_ref]\",\n        \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n        \"comment\": \"3nd floor on the right\",\n        \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n        \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n        \"contact\": {\n          \"firstname\": \"Julia\",\n          \"lastname\": \"Moore\",\n          \"phone\": \"+33712222222\",\n          \"email\": \"client3@email.com\",\n          \"company\": \"Sample Company Inc.\"\n        },\n          \"access_codes\":[ {\n          \"code\": \"your_access_code_2\",\n          \"type\": \"text\",\n          \"title\": \"access code title\",\n          \"instructions\": \"please put your instructions here\"\n          }]\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/pricing"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"RECORD_INVALID\",\n    \"message\": \"Unable to save record\",\n    \"data\": {\n        \"job.pickup_at\": [\n            \"can not schedule a pickup in the past\",\n            \"is not valid\"\n        ]\n    }\n}"}],"_postman_id":"f0aae7da-4063-4ff4-a82d-af6f90ec6586"},{"name":"Job eta to pickup","event":[{"listen":"test","script":{"id":"fcf8a957-4839-490d-9305-a6a6c4d2a697","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"dff7f0de-4e00-4e6f-8965-747086c7462f","exec":["var currentTimestamp = Math.floor(Date.now() / 1000);","pm.collectionVariables.set(\"client_reference\", `${currentTimestamp}`);"],"type":"text/javascript"}}],"id":"2fa0ec2f-f3c1-4303-93f8-cea1eb2b4d5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickup_at\": \"2021-12-12T11:00:00.000+02:00\",\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}"},"url":"{{api_url}}/v2/jobs/eta","description":"<p>This endpoint allows you to get an estimated time <strong>in seconds</strong> of arrival at the origin address using exactly the same request body as the <a href=\"#e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8\">Create a job</a> endpoint.<br />Read more about how you might use this endpoint on our <a href=\"https://stuart.com/developers/best-practices/pre-order-eta/\">Developer Portal guide</a>.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs","eta"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"a0e0513c-5828-4392-bbd0-9f763f34897f","name":"200 - OK","originalRequest":{"method":"POST","header":[{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/eta/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"eta\": 64\n}"},{"id":"71cfad5c-255c-458c-b5a4-5d5adddeaa8a","name":"200 - Payload with coordinates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"coordinates\": {\n                    \"lat\": 51.409676,\n                    \"long\": -0.230138\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"package_type\": \"small\",\n                \"coordinates\": {\n                    \"lat\": 51.409987,\n                    \"long\": -0.230234\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/eta/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"eta\": 300\n}"},{"id":"d19fdf91-91cf-4e0b-8cc0-255674ba0a69","name":"422 - duplicate order id","originalRequest":{"method":"POST","header":[{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_1\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_2\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/eta/"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"JOB_INVALID_DUPLICATED_ORDER_ID\",\n    \"message\": \"Provided order ID is already used\",\n    \"data\": {\n        \"job.dropoffs.client_reference\": [\n            \"must be unique\",\n            \"size cannot be greater than 191\"\n        ]\n    }\n}"}],"_postman_id":"2fa0ec2f-f3c1-4303-93f8-cea1eb2b4d5a"},{"name":"Job eta to dropoff","event":[{"listen":"test","script":{"id":"fcf8a957-4839-490d-9305-a6a6c4d2a697","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"dff7f0de-4e00-4e6f-8965-747086c7462f","exec":["var currentTimestamp = Math.floor(Date.now() / 1000);","pm.collectionVariables.set(\"client_reference\", `${currentTimestamp}`);"],"type":"text/javascript"}}],"id":"a57941c7-0d5f-4ecd-aa05-e8150ae70b0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"coordinates\": {\n                    \"lat\": 51.409676,\n                    \"long\": -0.230138\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"package_type\": \"small\",\n                \"coordinates\": {\n                    \"lat\": 51.409987,\n                    \"long\": -0.230234\n                }\n            }\n        ]\n    }\n}"},"url":"{{api_url}}/v2/jobs/cpt","description":"<p>This endpoint allows you to get an estimated time of arrival <strong>in seconds</strong> at the destination address for a given Job.</p>\n<p>Please note that if you wish to provide coordinates, you must also provide the textual address.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs","cpt"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"9a462ab1-7ff3-43ee-8aa2-1f21992585bf","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"email\": \"bobby.brown@pizzashop.com\",\n                    \"company\": \"Pizza Shop\"\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"package_description\": \"yellow package\",\n                \"client_reference\": \"[your_client_ref]\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"comment\": \"3nd floor on the right\",\n                \"end_customer_time_window_start\": \"2021-12-12T11:00:00.000+02:00\",\n                \"end_customer_time_window_end\": \"2021-12-12T13:00:00.000+02:00\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"email\": \"client3@email.com\",\n                    \"company\": \"Sample Company Inc.\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/cpt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"seconds\": 1321\n}"},{"id":"5f29ea29-5ed4-43ee-b1b5-c600440d572f","name":"200 - Minimal payload","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/cpt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"seconds\": 1592\n}"},{"id":"c23d4c44-efdd-42ae-a551-bd4194638a69","name":"200 - Minimal payload with coordinates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n                \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n                \"coordinates\": {\n                    \"lat\": 51.409676,\n                    \"long\": -0.230138\n                }\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\",\n                \"package_type\": \"small\",\n                \"coordinates\": {\n                    \"lat\": 51.409987,\n                    \"long\": -0.230234\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/cpt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"seconds\": 1410\n}"},{"id":"41954e94-004e-48df-8923-2f94bfc98c79","name":"422 - address missing","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"pickups\": [\n            {\n            }\n        ],\n        \"dropoffs\": [\n            {\n                \"package_type\": \"medium\",\n                \"address\": \"23 Ethelbert Rd, London SW20 8QD\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/cpt"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"ADDRESS_INVALID\",\n    \"message\": \"An origin address is not in a valid pickup area\",\n    \"data\": {\n        \"job.pickups.address\": [\n            \"must be filled\",\n            \"is not in a valid area\"\n        ]\n    }\n}"}],"_postman_id":"a57941c7-0d5f-4ecd-aa05-e8150ae70b0e"},{"name":"Job update","event":[{"listen":"test","script":{"id":"69f901c1-0fce-402d-bb55-2f07ef8d2dcd","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"07b3f6b6-8598-4464-a6f2-6cfb718dc038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"deliveries\": [\n            {\n                \"id\": [delivery_id],\n                \"client_reference\": \"124356789\",\n                \"comment\": \"New comment\",\n                \"package_description\": \"Small green package\",\n                \"pickup\": {\n                    \"comment\": \"Updated pickup comment\",\n                    \"contact\": {\n                        \"company_name\": \"Updated Company Name\",\n                        \"firstname\": \"My firstname\",\n                        \"lastname\": \"My last name\",\n                        \"phone\": \"+33610101010\",\n                        \"email\": \"pickup@company.com\"\n\n                    }\n                }, \n                \"dropoff\": {\n                    \"comment\": \"Updated dropoff comment\",\n                    \"contact\": {\n                        \"company_name\": \"Dropoff Company Name\",\n                        \"firstname\": \"Customer's firstname\",\n                        \"lastname\": \"Customer's lastname\",\n                        \"phone\": \"+33620202020\",\n                        \"email\": \"dropoff@company.com\"\n\n                    }\n                }\n            }\n        ]\n    }\n}"},"url":"{{api_url}}/v2/jobs/:jobId","description":"<p>Update some details of a job in accordance with the restrictions detailed below.<br />When the delivery status is <code>pending</code>, <code>picking</code>, <code>almost_picking</code>, <code>waiting_at_pickup</code> you can update:</p>\n<ul><li><p>client_reference</p></li><li><p>package_description</p></li><li><p>pickup.comment</p></li><li><p>pickup.contact.firstname</p></li><li><p>pickup.contact.lastname</p></li><li><p>pickup.contact.phone</p></li><li><p>pickup.contact.email</p></li><li><p>pickup.contact.company_name</p></li><li><p>dropoff.comment</p></li><li><p>dropoff.contact.firstname</p></li><li><p>dropoff.contact.lastname</p></li><li><p>dropofff.contact.phone</p></li><li><p>dropoff.contact.email</p></li><li><p>dropoff.contact.company</p></li></ul>\n\n<p>When the delivery status is <code>delivering</code>, <code>almost_delivering</code>, <code>waiting_at_dropoff</code> you can update:</p>\n<ul><li><p>client_reference</p></li><li><p>package_description</p></li><li><p>dropoff.comment</p></li><li><p>dropoff.contact.firstname</p></li><li><p>dropoff.contact.lastname</p></li><li><p>dropoff.contact.phone</p></li><li><p>dropoff.contact.email</p></li><li><p>dropoff.contact.company</p></li></ul>\n\n<p>When the delivery status is <code>delivered</code> you can only update the <code>client_reference</code></p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs",":jobId"],"host":["{{api_url}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Job's id returned in the job creation response</p>\n","type":"text/plain"},"type":"any","value":"100202989","key":"jobId"}]}},"response":[{"id":"8577148c-ebc2-4805-8a02-647e6b014e2f","name":"200 - OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"deliveries\": [\n            {\n                \"id\": [delivery_id],\n                \"client_reference\": \"124356789\",\n                \"comment\": \"New comment\",\n                \"package_description\": \"Small green package\",\n                \"pickup\": {\n                    \"comment\": \"Updated pickup comment\",\n                    \"contact\": {\n                        \"company_name\": \"Updated Company Name\",\n                        \"firstname\": \"My firstname\",\n                        \"lastname\": \"My last name\",\n                        \"phone\": \"+33610101010\",\n                        \"email\": \"pickup@company.com\"\n                    }\n                },\n                \"dropoff\": {\n                    \"comment\": \"Updated dropoff comment\",\n                    \"contact\": {\n                        \"company_name\": \"Dropoff Company Name\",\n                        \"firstname\": \"Customer's firstname\",\n                        \"lastname\": \"Customer's lastname\",\n                        \"phone\": \"+33620202020\",\n                        \"email\": \"dropoff@company.com\"\n                    }\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Sep 2022 15:44:36 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Status","value":"200 OK","enabled":true},{"key":"Vary","value":"Accept-Encoding, Origin","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true},{"key":"Stuart-Stack","value":"V3","enabled":true},{"key":"X-Request-Id","value":"5c9edbd6-5b65-44ee-b3a5-20198ba57872","enabled":true},{"key":"X-MinuteRateLimit-Limit","value":"1000","enabled":true},{"key":"X-MinuteRateLimit-Remaining","value":"999","enabled":true},{"key":"X-DailyRateLimit-Identifier","value":"ratelimit:89.91.9.3:2022-09-09","enabled":true},{"key":"ETag","value":"W/\"bef6d06e8ad5509818a5bdec2fbc48ad\"","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","enabled":true},{"key":"X-DailyRateLimit-Limit","value":"500000","enabled":true},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin","enabled":true},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"X-MinuteRateLimit-Identifier","value":"ratelimit:89.91.9.3:2022-09-09-17-44","enabled":true},{"key":"X-DailyRateLimit-Remaining","value":"499940","enabled":true},{"key":"X-Download-Options","value":"noopen","enabled":true},{"key":"X-Runtime","value":"0.586481","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","enabled":true},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100307763,\n    \"created_at\": \"2022-09-09T17:41:50.000+02:00\",\n    \"status\": \"in_progress\",\n    \"package_type\": \"medium\",\n    \"transport_type\": \"walk\",\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": null,\n    \"comment\": null,\n    \"distance\": 0.919,\n    \"duration\": 5,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100355015,\n            \"status\": \"picking\",\n            \"picked_at\": null,\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100355015/8ebdcbf85f1279527670d385c750d5f0\",\n            \"client_reference\": \"124356789\",\n            \"package_description\": \"Small green package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                42,\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2277299,\n                \"address\": {\n                    \"street\": \"32 Coombe Lane\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Lane, SW20 0LA, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Updated pickup comment\",\n                \"contact\": {\n                    \"firstname\": \"My firstname\",\n                    \"lastname\": \"My last name\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Updated Company Name\",\n                    \"email\": \"pickup@company.com\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_1\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            },\n            \"dropoff\": {\n                \"id\": 2277300,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Road\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Road, SW20 8QD, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4133427,\n                \"longitude\": -0.2208565,\n                \"comment\": \"Updated dropoff comment\",\n                \"contact\": {\n                    \"firstname\": \"Customer's firstname\",\n                    \"lastname\": \"Customer's lastname\",\n                    \"phone\": \"+33620202020\",\n                    \"company_name\": \"Dropoff Company Name\",\n                    \"email\": \"dropoff@company.com\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_2\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            },\n            \"cancellation\": {\n                \"canceled_by\": null,\n                \"reason_key\": null,\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": \"2022-09-09T17:54:31.000+02:00\",\n                \"dropoff\": \"2022-09-09T18:05:12.000+02:00\"\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null\n        }\n    ],\n    \"driver\": {\n        \"id\": 422498,\n        \"display_name\": \"Hassan D.\",\n        \"phone\": \"+33445734156\",\n        \"picture_url\": null,\n        \"transport_type\": \"walk\",\n        \"latitude\": 51.41294861,\n        \"longitude\": -0.22125\n    },\n    \"pricing\": {\n        \"price_tax_included\": 8.81,\n        \"price_tax_excluded\": 8.81,\n        \"tax_amount\": 0,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"c4baaa85-7d0d-45e0-8ceb-546d82b62e1a","name":"404 - Job not found","originalRequest":{"method":"PATCH","header":[{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"deliveries\": [\n            {\n                \"id\": [delivery_id],\n                \"package_description\": \"Big red package\",\n                \"pickup\": {\n                    \"comment\": \"test comment\"\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/1223456"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"Not found\"\n}"},{"id":"3e60a42f-5bb0-4393-9f18-f4d33d234e88","name":"404 - Delivery not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"deliveries\": [\n            {\n                \"id\": 1000001,\n                \"client_reference\": \"124356789\",\n                \"comment\": \"New comment\",\n                \"package_description\": \"Small green package\",\n                \"pickup\": {\n                    \"comment\": \"Updated pickup comment\",\n                    \"contact\": {\n                        \"company_name\": \"Updated Company Name\",\n                        \"firstname\": \"My firstname\",\n                        \"lastname\": \"My last name\",\n                        \"phone\": \"+33610101010\",\n                        \"email\": \"pickup@company.com\"\n                    }\n                },\n                \"dropoff\": {\n                    \"comment\": \"Updated dropoff comment\",\n                    \"contact\": {\n                        \"company_name\": \"Dropoff Company Name\",\n                        \"firstname\": \"Customer's firstname\",\n                        \"lastname\": \"Customer's lastname\",\n                        \"phone\": \"+33620202020\",\n                        \"email\": \"dropoff@company.com\"\n                    }\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 Sep 2022 14:13:38 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Status","value":"404 Not Found","enabled":true},{"key":"Vary","value":"Accept-Encoding, Origin","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true},{"key":"Stuart-Stack","value":"V3","enabled":true},{"key":"X-Request-Id","value":"3fa16e52-fea1-4e5d-82c2-c90062a4a086","enabled":true},{"key":"X-MinuteRateLimit-Limit","value":"1000","enabled":true},{"key":"X-MinuteRateLimit-Remaining","value":"997","enabled":true},{"key":"X-DailyRateLimit-Identifier","value":"ratelimit:89.91.9.3:2022-09-12","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"Cache-Control","value":"no-cache","enabled":true},{"key":"X-DailyRateLimit-Limit","value":"500000","enabled":true},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin","enabled":true},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"X-MinuteRateLimit-Identifier","value":"ratelimit:89.91.9.3:2022-09-12-16-13","enabled":true},{"key":"X-DailyRateLimit-Remaining","value":"499947","enabled":true},{"key":"X-Download-Options","value":"noopen","enabled":true},{"key":"X-Runtime","value":"0.055481","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","enabled":true},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"Couldn't find Delivery with 'id'=(0)\"\n}"},{"id":"31fa397c-bcbc-45bf-a53b-8ca701495937","name":"422 - Cannot update","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"job\": {\n        \"deliveries\": [\n            {\n                \"id\": 100336065,\n                \"client_reference\": \"124356789\",\n                \"comment\": \"New comment\",\n                \"package_description\": \"Small green package\",\n                \"pickup\": {\n                    \"comment\": \"Updated pickup comment\",\n                    \"contact\": {\n                        \"company_name\": \"Updated Company Name\",\n                        \"firstname\": \"My firstname\",\n                        \"lastname\": \"My last name\",\n                        \"phone\": \"+33610101010\",\n                        \"email\": \"pickup@company.com\"\n                    }\n                },\n                \"dropoff\": {\n                    \"comment\": \"Updated dropoff comment\",\n                    \"contact\": {\n                        \"company_name\": \"Dropoff Company Name\",\n                        \"firstname\": \"Customer's firstname\",\n                        \"lastname\": \"Customer's lastname\",\n                        \"phone\": \"+33620202020\",\n                        \"email\": \"dropoff@company.com\"\n                    }\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 Sep 2022 12:59:51 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Status","value":"422 Unprocessable Entity","enabled":true},{"key":"Vary","value":"Accept-Encoding, Origin","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true},{"key":"Stuart-Stack","value":"V3","enabled":true},{"key":"X-Request-Id","value":"df2845d1-4f56-493a-972a-36f5b0b58c65","enabled":true},{"key":"X-MinuteRateLimit-Limit","value":"1000","enabled":true},{"key":"X-MinuteRateLimit-Remaining","value":"998","enabled":true},{"key":"X-DailyRateLimit-Identifier","value":"ratelimit:89.91.9.3:2022-09-12","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"Cache-Control","value":"no-cache","enabled":true},{"key":"X-DailyRateLimit-Limit","value":"500000","enabled":true},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin","enabled":true},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"X-MinuteRateLimit-Identifier","value":"ratelimit:89.91.9.3:2022-09-12-14-59","enabled":true},{"key":"X-DailyRateLimit-Remaining","value":"499955","enabled":true},{"key":"X-Download-Options","value":"noopen","enabled":true},{"key":"X-Runtime","value":"0.073302","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","enabled":true},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"JOB_UPDATE_ERROR\",\n    \"message\": \"Job can't be updated\"\n}"}],"variable":[{"key":"jobId","value":"100202989","description":"(Required) Job's id returned in the job creation response"}],"_postman_id":"07b3f6b6-8598-4464-a6f2-6cfb718dc038"},{"name":"Get a job","event":[{"listen":"test","script":{"id":"a1570e73-a0fc-4a17-8a97-6e46f382162d","type":"text/javascript","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"]}}],"id":"abf5c056-9683-4711-9c37-0f5557f3d0b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/:jobId","description":"<p>This endpoint allows you to get the details of a job using the <code>id</code> found in the response of your <a href=\"#e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8\">job creation request</a>.</p>\n<p>The following url's provide access to s3 resources for a limited period of time as highlighted below. To access these contents at any time we recommend storing the image in your systems.</p>\n<p><code>signature_url</code> and <code>proof_of_delivery_url</code> proof of delivery images have a 48 hours TTL.</p>\n<p><code>invoive_url</code> invoicing images have a 1 hour TTL.</p>\n<p>⚠️ Please note that URL links can be up to 2000 characters in length.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs",":jobId"],"host":["{{api_url}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Job id</p>\n","type":"text/plain"},"type":"any","value":"77073746","key":"jobId"}]}},"response":[{"id":"440176cc-63c5-4037-ac6f-45f337a4bc5f","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/[job_id]"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100202989,\n    \"created_at\": \"2021-12-22T15:14:59.000+01:00\",\n    \"status\": \"finished\",\n    \"package_type\": \"medium\",\n    \"transport_type\": \"walk\",\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": \"2021-12-22T15:30:57.000+01:00\",\n    \"comment\": null,\n    \"distance\": 0.919,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100247860,\n            \"status\": \"delivered\",\n            \"picked_at\": \"2021-12-22T15:15:10.000+01:00\",\n            \"delivered_at\": \"2021-12-22T15:30:56.000+01:00\",\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100247860/d629f0b981204c930fe2fdeaed69c1c9\",\n            \"client_reference\": \"1640182499\",\n            \"package_description\": \"Big red package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 2062855,\n                \"address\": {\n                    \"street\": \"32 Coombe Lane\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Lane, SW20 0LA, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"test comment\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_1\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            },\n            \"dropoff\": {\n                \"id\": 2062856,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Road\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Road, SW20 8QD, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4133427,\n                \"longitude\": -0.2208565,\n                \"comment\": \"3nd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": [\n                    {\n                        \"code\": \"your_access_code_2\",\n                        \"type\": \"text\",\n                        \"title\": \"access code title\",\n                        \"instructions\": \"please put your instructions here\"\n                    }\n                ]\n            },\n            \"cancellation\": {\n                \"canceled_by\": \"operations\",\n                \"reason_key\": \"customer_cancellation_requested\",\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": \"2021-12-22T15:15:04.000+01:00\",\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": \"https://stuart-bucket-sandbox.s3.eu-central-1.amazonaws.com/uploads/signatures/d-100810923-067b7f788c.jpg\"\n            },\n            \"package_image_url\": null,\n            \"proof_of_delivery_url\": \"https://stuart-bucket-sandbox.s3.eu-central-1.amazonaws.com/uploads/task_report_pictures/trp-453c13ddc1d86f8e07c4.jpeg\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/28aec4040c2e2cb15a9166d34467c01f/100739880/cf02f815dd177ba4c125965c8a9fb242\"\n        }\n    ],\n    \"driver\": {\n        \"id\": 410206,\n        \"display_name\": \"Jermey W.\",\n        \"phone\": \"+33727173259\",\n        \"picture_url\": null,\n        \"transport_type\": \"walk\",\n        \"latitude\": 51.40956116,\n        \"longitude\": -0.23012\n    },\n    \"pricing\": {\n        \"price_tax_included\": 12.96,\n        \"price_tax_excluded\": 10.8,\n        \"tax_amount\": 2.16,\n        \"invoice_url\": \"https://stuart-bucket-sandbox.s3.eu-central-1.amazonaws.com/uploads/grouped_invoices/4c4c7c9b-0ded-46dd-b4df-ffc94bea7f4a/67246/invoice.pdf\",\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"ebc3f8c2-2399-4918-8688-73acf788abc7","name":"200 - Job returned","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/[job_id]"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100645682,\n    \"created_at\": \"2024-07-24T10:15:42.000+02:00\",\n    \"status\": \"canceled\",\n    \"package_type\": \"medium\",\n    \"transport_type\": \"motorbike\",\n    \"assignment_code\": null,\n    \"pickup_at\": null,\n    \"dropoff_at\": null,\n    \"ended_at\": \"2024-09-27T10:46:43.000+02:00\",\n    \"comment\": null,\n    \"distance\": 0.919,\n    \"duration\": 4,\n    \"traveled_time\": 0,\n    \"traveled_distance\": 0,\n    \"deliveries\": [\n        {\n            \"id\": 100790428,\n            \"status\": \"cancelled\",\n            \"picked_at\": \"2024-07-24T10:17:14.000+02:00\",\n            \"delivered_at\": null,\n            \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100790428/c134f90d3d31fbca4bcb9fb78381aeb9\",\n            \"client_reference\": \"1721808941\",\n            \"package_description\": \"yellow package\",\n            \"package_type\": \"medium\",\n            \"fleet_ids\": [\n                1\n            ],\n            \"pickup\": {\n                \"id\": 3148232,\n                \"address\": {\n                    \"street\": \"32 Coombe Lane\",\n                    \"postcode\": \"SW20 0LA\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"32 Coombe Lane, SW20 0LA, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4096757,\n                \"longitude\": -0.2301377,\n                \"comment\": \"Ask Bobby\",\n                \"contact\": {\n                    \"firstname\": \"Bobby\",\n                    \"lastname\": \"Brown\",\n                    \"phone\": \"+33610101010\",\n                    \"company_name\": \"Pizza Shop\",\n                    \"email\": \"bobby.brown@pizzashop.com\"\n                },\n                \"access_codes\": []\n            },\n            \"dropoff\": {\n                \"id\": 3148233,\n                \"address\": {\n                    \"street\": \"23 Ethelbert Road\",\n                    \"postcode\": \"SW20 8QD\",\n                    \"city\": \"London\",\n                    \"zone\": \"london\",\n                    \"country\": \"The United Kingdom\",\n                    \"formatted_address\": \"23 Ethelbert Road, SW20 8QD, London, The United Kingdom\"\n                },\n                \"latitude\": 51.4133427,\n                \"longitude\": -0.2208565,\n                \"comment\": \"3nd floor on the right\",\n                \"contact\": {\n                    \"firstname\": \"Julia\",\n                    \"lastname\": \"Moore\",\n                    \"phone\": \"+33712222222\",\n                    \"company_name\": \"Sample Company Inc.\",\n                    \"email\": \"client3@email.com\"\n                },\n                \"access_codes\": []\n            },\n            \"cancellation\": {\n                \"canceled_by\": \"client\",\n                \"reason_key\": \"incorrect_package\",\n                \"comment\": null\n            },\n            \"eta\": {\n                \"pickup\": \"2024-07-24T10:17:50.000+02:00\",\n                \"dropoff\": null\n            },\n            \"proof\": {\n                \"signature_url\": null\n            },\n            \"package_image_url\": null,\n            \"proof_of_delivery_url\": null,\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/7eb8a9e3ce14b84acd0ad182ed7d5f7a/100790428/c134f90d3d31fbca4bcb9fb78381aeb9\",\n            \"return_reason\": \"Incorrect package\"\n        }\n    ],\n    \"driver\": null,\n    \"pricing\": {\n        \"price_tax_included\": 6.48,\n        \"price_tax_excluded\": 5.4,\n        \"tax_amount\": 1.08,\n        \"invoice_url\": null,\n        \"tax_percentage\": 0.2,\n        \"currency\": \"GBP\"\n    },\n    \"rating\": null\n}"},{"id":"45d2e911-2293-4274-bd21-ca9656d62d56","name":"404 - Job not found","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/1232435"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Dec 2021 15:11:51 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Status","value":"404 Not Found","enabled":true},{"key":"Vary","value":"Accept-Encoding, Origin","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true},{"key":"Stuart-Stack","value":"V3","enabled":true},{"key":"X-Request-Id","value":"e8da748e-fab4-4501-ad5d-040dab39c054","enabled":true},{"key":"X-MinuteRateLimit-Limit","value":"1000","enabled":true},{"key":"X-MinuteRateLimit-Remaining","value":"998","enabled":true},{"key":"X-DailyRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"Cache-Control","value":"no-cache","enabled":true},{"key":"X-DailyRateLimit-Limit","value":"500000","enabled":true},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin","enabled":true},{"key":"X-Permitted-Cross-Domain-Policies","value":"none","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"X-MinuteRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22-16-11","enabled":true},{"key":"X-DailyRateLimit-Remaining","value":"499948","enabled":true},{"key":"X-Download-Options","value":"noopen","enabled":true},{"key":"X-Runtime","value":"0.031723","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Powered-By","value":"Phusion Passenger Enterprise 5.2.3","enabled":true},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"Not found\"\n}"}],"variable":[{"key":"jobId","value":"77073746","description":"(Required) Job id"}],"_postman_id":"abf5c056-9683-4711-9c37-0f5557f3d0b2"},{"name":"Get jobs","event":[{"listen":"test","script":{"id":"37685753-5337-4529-b36f-c873f891d848","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"fa326cf4-43a0-43c0-98bd-f616e5902b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs?status=in_progress&page=1&per_page=1&client_reference=[your_client_ref]&active=true","description":"<p>This endpoint allows you to retrieve all the jobs created in your Stuart account from the last 90 days.<br />The results will come back paginated in descending order of the 'pickup_at' job scheduling value.</p>\n<p>The following url's provide access to s3 resources for a limited period of time as highlighted below. To access these contents at any time we recommend storing the image in your systems.</p>\n<p><code>signature_url</code> and <code>proof_of_delivery_url</code> proof of delivery images have a 48 hours TTL.</p>\n<p><code>invoive_url</code> invoicing images have a 1 hour TTL.</p>\n<p>⚠️ Please note that URL links can be up to 2000 characters in length.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs"],"host":["{{api_url}}"],"query":[{"description":{"content":"<p>Filter result using a comma separated list of statuses.\nAllowed Values: new, scheduled, searching, in_progress, finished, canceled, expired</p>\n","type":"text/plain"},"key":"status","value":"in_progress"},{"description":{"content":"<p>The page number you want to retrieve</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Max number of result you want per page.</p>\n","type":"text/plain"},"key":"per_page","value":"1"},{"description":{"content":"<p>The client_reference you used during the Job creation.</p>\n","type":"text/plain"},"key":"client_reference","value":"[your_client_ref]"},{"description":{"content":"<p>Boolean: Overrides the status to give only currently active orders.</p>\n","type":"text/plain"},"key":"active","value":"true"}],"variable":[]}},"response":[{"id":"e2c9910a-548c-4aec-8614-105f6799491e","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/jobs?status=finished&page=1&per_page=1&client_reference=1640181124&active=false&order=start_inviting_at:desc","host":["{{api_url}}"],"path":["v2","jobs"],"query":[{"key":"status","value":"finished","description":"Filter result using a comma separated list of statuses.\nAllowed Values: new, scheduled, searching, in_progress, finished, canceled, expired"},{"key":"page","value":"1","description":"The page number you want to retrieve"},{"key":"per_page","value":"1","description":"Max number of result you want per page."},{"key":"client_reference","value":"1640181124","description":"The client_reference you used during the Job creation."},{"key":"active","value":"false","description":"Boolean: Overrides the status to give only currently active orders."},{"key":"order","value":"start_inviting_at:desc","description":"Allowed Values: start_inviting_at:desc, pickup_at:desc, pickup_at:asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 100202968,\n        \"created_at\": \"2021-12-22T14:52:04.000+01:00\",\n        \"status\": \"finished\",\n        \"package_type\": \"medium\",\n        \"transport_type\": \"walk\",\n        \"assignment_code\": null,\n        \"pickup_at\": null,\n        \"dropoff_at\": null,\n        \"ended_at\": \"2021-12-22T15:08:03.000+01:00\",\n        \"comment\": null,\n        \"distance\": 0.919,\n        \"duration\": 4,\n        \"traveled_time\": 0,\n        \"traveled_distance\": 0,\n        \"deliveries\": [\n            {\n                \"id\": 100247837,\n                \"status\": \"delivered\",\n                \"picked_at\": \"2021-12-22T14:52:54.000+01:00\",\n                \"delivered_at\": \"2021-12-22T15:08:01.000+01:00\",\n                \"tracking_url\": \"https://stuart.sandbox.followmy.delivery/100247837/ae5ff497d3c66d79627371f695a3a107\",\n                \"client_reference\": \"1640181124\",\n                \"package_description\": \"yellow package\",\n                \"package_type\": \"medium\",\n                \"fleet_ids\": [\n                    1\n                ],\n                \"pickup\": {\n                    \"id\": 2062809,\n                    \"address\": {\n                        \"street\": \"32 Coombe Lane\",\n                        \"postcode\": \"SW20 0LA\",\n                        \"city\": \"London\",\n                        \"zone\": \"london\",\n                        \"country\": \"The United Kingdom\",\n                        \"formatted_address\": \"32 Coombe Lane, SW20 0LA, London, The United Kingdom\"\n                    },\n                    \"latitude\": 51.4096757,\n                    \"longitude\": -0.2301377,\n                    \"comment\": \"Ask Bobby\",\n                    \"contact\": {\n                        \"firstname\": \"Bobby\",\n                        \"lastname\": \"Brown\",\n                        \"phone\": \"+33610101010\",\n                        \"company_name\": \"Pizza Shop\",\n                        \"email\": \"bobby.brown@pizzashop.com\"\n                    },\n                    \"access_codes\": [\n                        {\n                            \"code\": \"your_access_code_1\",\n                            \"type\": \"text\",\n                            \"title\": \"access code title\",\n                            \"instructions\": \"please put your instructions here\"\n                        }\n                    ]\n                },\n                \"dropoff\": {\n                    \"id\": 2062810,\n                    \"address\": {\n                        \"street\": \"23 Ethelbert Road\",\n                        \"postcode\": \"SW20 8QD\",\n                        \"city\": \"London\",\n                        \"zone\": \"london\",\n                        \"country\": \"The United Kingdom\",\n                        \"formatted_address\": \"23 Ethelbert Road, SW20 8QD, London, The United Kingdom\"\n                    },\n                    \"latitude\": 51.4133427,\n                    \"longitude\": -0.2208565,\n                    \"comment\": \"3nd floor on the right\",\n                    \"contact\": {\n                        \"firstname\": \"Julia\",\n                        \"lastname\": \"Moore\",\n                        \"phone\": \"+33712222222\",\n                        \"company_name\": \"Sample Company Inc.\",\n                        \"email\": \"client3@email.com\"\n                    },\n                    \"access_codes\": [\n                        {\n                            \"code\": \"your_access_code_2\",\n                            \"type\": \"text\",\n                            \"title\": \"access code title\",\n                            \"instructions\": \"please put your instructions here\"\n                        }\n                    ]\n                },\n                \"cancellation\": {\n                    \"canceled_by\": \"operations\",\n                    \"reason_key\": \"customer_cancellation_requested\",\n                    \"comment\": null\n                },\n                \"eta\": {\n                    \"pickup\": \"2021-12-22T14:53:08.000+01:00\",\n                    \"dropoff\": null\n                },\n                \"proof\": {\n                    \"signature_url\": \"https://stuart-bucket-sandbox.s3.eu-central-1.amazonaws.com/uploads/signatures/d-100810923-067b7f788c.jpg\"\n                },\n                \"package_image_url\": null,\n                \"proof_of_delivery_url\": \"https://stuart-bucket-sandbox.s3.eu-central-1.amazonaws.com/uploads/task_report_pictures/trp-453c13ddc1d86f8e07c4.jpeg\"\n            }\n        ],\n        \"driver\": {\n            \"id\": 410206,\n            \"display_name\": \"Jermey W.\",\n            \"phone\": \"+33727173259\",\n            \"picture_url\": null,\n            \"transport_type\": \"walk\",\n            \"latitude\": 51.40956116,\n            \"longitude\": -0.23012\n        },\n        \"pricing\": {\n            \"price_tax_included\": 12.96,\n            \"price_tax_excluded\": 10.8,\n            \"tax_amount\": 2.16,\n            \"invoice_url\": \"https://stuart-bucket-sandbox.s3.eu-central-1.amazonaws.com/uploads/grouped_invoices/558d796d-8919-41aa-8225-60bfac64b1bb/67233/invoice.pdf\",\n            \"tax_percentage\": 0.2,\n            \"currency\": \"GBP\"\n        },\n        \"rating\": null\n    }\n]"},{"id":"d6a95d99-34cc-4caa-ad4d-5016a1187d03","name":"200 - OK empty","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/jobs?status=active&page=1&per_page=1&client_reference=1640181124&active=false&order=start_inviting_at:desc","host":["{{api_url}}"],"path":["v2","jobs"],"query":[{"description":"Filter result using a comma separated list of statuses.\nAllowed Values: new, scheduled, searching, in_progress, finished, canceled, expired","key":"status","value":"active"},{"description":"The page number you want to retrieve","key":"page","value":"1"},{"description":"Max number of result you want per page.","key":"per_page","value":"1"},{"description":"The client_reference you used during the Job creation.","key":"client_reference","value":"1640181124"},{"description":"Boolean: Overrides the status to give only currently active orders.","key":"active","value":"false"},{"description":"Allowed Values: start_inviting_at:desc, pickup_at:desc, pickup_at:asc","key":"order","value":"start_inviting_at:desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"fa326cf4-43a0-43c0-98bd-f616e5902b85"},{"name":"Get courier's anonymous phone number.","event":[{"listen":"test","script":{"id":"11158ea3-dc19-4ef7-a955-264b721ff410","type":"text/javascript","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"]}}],"id":"6ed291b2-2cb5-4f53-9cdf-cfaa7820928d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/v2/deliveries/[delivery_id]/phone_number","description":"<p>Once your delivery is assigned to a courier, you can request their anonymous phone number. Once the delivery is complete, the phone number will expire. <br /> Read more about our <a href=\"https://community.stuart.engineering/t/anonymised-calling/319\">two-way anonymised calling</a>.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","deliveries","[delivery_id]","phone_number"],"host":["{{api_url}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Delivery id received in job creation response</p>\n","type":"text/plain"},"type":"any","value":"100317494","key":"delivery_id"}]}},"response":[{"id":"d6bb2c55-43c4-40a2-8154-663a4bf0bb56","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/deliveries/[delivery_id]/phone_number"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"phone_number\": \"+33728934950\"\n}"},{"id":"07f21619-1865-4421-8334-1ffcf03136fc","name":"422 - no current delivery","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/deliveries/[delivery_id]/phone_number"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NO_CURRENT_DELIVERY\",\n    \"message\": \"You need a delivery to create a phone call session.\"\n}"},{"id":"20444027-5a7d-40a2-a3b1-46df6d4c6991","name":"422 - phone call not available","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/deliveries/[delivery_id]/phone_number"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"PHONE_CALL_NOT_AVAILABLE\",\n    \"message\": \"Cannot create a phone call for the given delivery.\"\n}"}],"variable":[{"key":"delivery_id","value":"100317494","description":"(Required) Delivery id received in job creation response"}],"_postman_id":"6ed291b2-2cb5-4f53-9cdf-cfaa7820928d"}],"id":"b338dee2-f8ac-4da6-94f6-ad9010df7dd1","description":"<p>The <strong>job</strong> is the primary object you’ll encounter in our API and webhook payloads. A job consists of one pickup task and at least one dropoff task.</p>\n<p>A <strong>delivery</strong> is a sub-component of a job and represents the assignment to pick up and drop off a package. A job contains at least one delivery, but it can include multiple deliveries if it involves several packages (multiple dropoffs).</p>\n<p>A <strong>package</strong> refers to an item or group of items that you want it to be collected from a specified pickup point and deliver to a designated dropoff location. While a package is a more detailed object compared to a delivery, they are functionally equivalent when comparing webhook updates between versions 2 and 3.</p>\n<ul>\n<li>This means that <code>deliveries.id</code> from job creation response (and webhooks v2) is equal to <code>package.id</code> in webhooks v3, hence we encourage you to store its value along with <code>job.id</code>.</li>\n</ul>\n<p>Below, you’ll find the different statuses a job, delivery, or package may go through. These statuses can be tracked via the Stuart dashboard, real-time webhook updates, or the \"Get a Job\" endpoint.</p>\n<h2 id=\"job-statuses\">Job Statuses</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>new</code></td>\n<td>The job has been created successfully.</td>\n</tr>\n<tr>\n<td><code>scheduled</code></td>\n<td>Waiting to start searching for a courier at the scheduled time.</td>\n</tr>\n<tr>\n<td><code>searching</code></td>\n<td>Actively searching for a courier.</td>\n</tr>\n<tr>\n<td><code>in_progress</code></td>\n<td>A courier has accepted the job and started the delivery.</td>\n</tr>\n<tr>\n<td><code>finished</code></td>\n<td>The job has been successfully completed.</td>\n</tr>\n<tr>\n<td><code>canceled</code></td>\n<td>The job was canceled. See the <a href=\"https://stuart.com/developers/best-practices/cancellation/\">full list of reason</a> for details.</td>\n</tr>\n<tr>\n<td><code>expired</code></td>\n<td>No courier was found for the job within the allocated time. <a href=\"https://community.stuart.engineering/t/change-to-expirations/403\">How do expirations work?</a></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"delivery-statuses\"><strong>Delivery Statuses</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>Delivery Status</code></th>\n<th><code>Description</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pending</code></td>\n<td>Your order is in the Stuart system. Our dispatcher will start searching for a courier at the right time based on your delivery time window.</td>\n</tr>\n<tr>\n<td><code>picking</code></td>\n<td>A courier has accepted your order and is on their way to the pickup location.</td>\n</tr>\n<tr>\n<td><code>almost_picking</code></td>\n<td>The courier has entered the geofence of the pickup location. This customisable account setting radius is set to 35 meters by default.</td>\n</tr>\n<tr>\n<td><code>waiting_at_pickup</code></td>\n<td>The courier has been waiting at the pickup for 2 minutes.</td>\n</tr>\n<tr>\n<td><code>delivering</code></td>\n<td>The courier confirmed in-app that they have the package and are heading to the drop off location.</td>\n</tr>\n<tr>\n<td><code>almost_delivering</code></td>\n<td>The courier has entered the drop off location geofence. Both the picking &amp; delivering geofence radii are defined by the same account setting (35 m default).</td>\n</tr>\n<tr>\n<td><code>waiting_at_dropoff</code></td>\n<td>The courier has been waiting at the drop off for 2 minutes.</td>\n</tr>\n<tr>\n<td><code>delivered</code></td>\n<td>The courier has confirmed in-app that the package was delivered successfully and has collected a signature / proof of delivery from the customer (if the feature is enabled for the account).</td>\n</tr>\n<tr>\n<td><code>cancelled</code></td>\n<td>The delivery was cancelled. Find more details on this status in our <a href=\"https://api-docs.stuart.com/#b338dee2-f8ac-4da6-94f6-ad9010df7dd1\">Delivery Statuses</a>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"package-statuses\"><strong>Package Statuses</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Package status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>package_created</code></td>\n<td>Your package is in the Stuart system. Our dispatcher will start searching for a courier at the right time based on your delivery time window.</td>\n</tr>\n<tr>\n<td><code>courier_assigned</code></td>\n<td>A courier has accepted your package and is on their way to the pickup location.</td>\n</tr>\n<tr>\n<td><code>courier_arriving_at_pickup</code></td>\n<td>The courier has entered the geofence of the pickup location. This customisable account setting radius is set to 35 meters by default.</td>\n</tr>\n<tr>\n<td><code>courier_waiting_at_pickup</code></td>\n<td>The courier has been waiting at the pickup for 2 minutes.</td>\n</tr>\n<tr>\n<td><code>package_delivering</code></td>\n<td>The courier confirmed in-app that they have the package and are heading to the drop off location.</td>\n</tr>\n<tr>\n<td><code>courier_arriving_at_dropoff</code></td>\n<td>The courier has entered the drop off location geofence. This customisable account setting radius is set to 35 meters by default.</td>\n</tr>\n<tr>\n<td><code>courier_waiting_at_dropoff</code></td>\n<td>The courier has been waiting at the drop off for 2 minutes.</td>\n</tr>\n<tr>\n<td><code>package_delivered</code></td>\n<td>The courier has confirmed in-app that the package was delivered successfully.</td>\n</tr>\n<tr>\n<td><code>package_canceled</code></td>\n<td>The package delivery has been cancelled.  <br />Note: This status does not refer to a situation where a courier cancels and another courier will be assigned, but specifically when the delivery of the package itself has been cancelled because it won't be delivered, see the cancelation reasons for more info.</td>\n</tr>\n</tbody>\n</table>\n</div><p>You can find detailled flow in the webhooks section of this documentation.</p>\n","_postman_id":"b338dee2-f8ac-4da6-94f6-ad9010df7dd1","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"Order ready signal","item":[{"name":"Delivery ready","event":[{"listen":"test","script":{"id":"38ce1695-122b-4aaf-8799-9087890787f1","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d4b184db-19d0-4b0c-a7f9-3e616b8fe7b6","exec":[""],"type":"text/javascript","packages":{}}}],"id":"dece9887-2648-49b4-8585-77dcf799ae6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_ready_at\": \"2022-09-12T11:00:00.00+02:00\"\n}"},"url":"{{api_url}}/v2/deliveries/[delivery_id]/order_ready","description":"<p>This endpoint enables you to inform us when an order is ready for pickup.</p>\n<p>You can either explicitly include the time in your request or, by default, the system will use the server’s time.</p>\n<p>Please ensure to send us the signal through this endpoint only when the order is fully prepared and ready for pickup.</p>\n<h2 id=\"delivery-ready-payload-fields\"><strong>Delivery ready Payload Fields</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>order_ready_at</td>\n<td>string</td>\n<td>A datetime (ISO 8601) of when the order was ready. More details at <a href=\"https://community.stuart.engineering/t/how-should-i-format-dates/48\">how to format dates.</a></td>\n<td>optional</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","deliveries","[delivery_id]","order_ready"],"host":["{{api_url}}"],"query":[],"variable":[{"type":"any","value":"100511787","key":"delivery_id"}]}},"response":[{"id":"5fee8653-6862-47ce-aabe-74ac21d265cf","name":"204 - OK","originalRequest":{"method":"POST","header":[],"url":"{{api_url}}/v2/deliveries/[delivery_id]/order_ready"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":""},{"id":"a52f4a12-f47f-45c1-b482-e97499491026","name":"204 - With datetime","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_ready_at\": \"2022-09-12T11:00:00.00+02:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/deliveries/[delivery_id]/order_ready"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":""},{"id":"ca53593e-c149-4a24-ba60-e4e0f6ea69d9","name":"404 - Invalid delivery_id","originalRequest":{"method":"POST","header":[],"url":"{{api_url}}/v2/deliveries/[delivery_id]/order_ready"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"message\": \"Not found\"\n}"},{"id":"295ea531-1133-4553-9ea4-cca16ca3dfcc","name":"422 - Invalid datetime","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_ready_at\": \"Nov 12th 2022 at 11:00 AM\"    \n}\n","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/deliveries/[delivery_id]/order_ready"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"RECORD_INVALID\",\n  \"message\": \"Unable to save record\",\n  \"data\": {\n    \"order_ready_at\": [\"must be a time\"]\n  }\n}\n"}],"_postman_id":"dece9887-2648-49b4-8585-77dcf799ae6b"},{"name":"Job ready","id":"397bd7ee-686a-4e95-bb16-fe12dac19485","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_ready_at\": \"2022-09-12T11:00:00.00+02:00\"\n}"},"url":"{{api_url}}/v2/jobs/[job_id]/order_ready","description":"<p>This endpoint allows you to notify us when an order (or multiple orders) under a single job ID is ready for pickup.</p>\n<p>You can either explicitly include the time in your request or, by default, the system will use the server’s time.</p>\n<p>Please ensure to send us the signal through this endpoint only when the order is fully prepared and ready for pickup.</p>\n<h2 id=\"job-ready-payload-fields\"><strong>Job ready Payload Fields</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>order_ready_at</td>\n<td>string</td>\n<td>A datetime (ISO 8601) of when the order was ready. More details at <a href=\"https://community.stuart.engineering/t/how-should-i-format-dates/48\">how to format dates.</a></td>\n<td>optional</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs","[job_id]","order_ready"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"42217a3c-f965-44d8-b877-bb9edfc1ec9f","name":"204 - OK","originalRequest":{"method":"POST","header":[],"url":"{{api_url}}/v2/jobs/[job_id]/order_ready"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":null},{"id":"2d7fd1ab-b612-4e92-99a2-9117a3169c67","name":"204 - With datetime","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_ready_at\": \"2022-09-12T11:00:00.00+02:00\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]/order_ready"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":null},{"id":"f5a41386-4ee4-439c-8ea3-2f1eba1c2b82","name":"404 - Invalid job_id","originalRequest":{"method":"POST","header":[],"url":"{{api_url}}/v2/jobs/[job_id]/order_ready"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"message\": \"Not found\"\n}"},{"id":"66d5f2eb-1d6d-461b-a6ae-8d07747aaef2","name":"422 - Invalid datetime","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_ready_at\": \"Nov 12th 2022 at 11:00 AM\"    \n}\n","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]/order_ready"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"RECORD_INVALID\",\n  \"message\": \"Unable to save record\",\n  \"data\": {\n    \"order_ready_at\": [\"must be a time\"]\n  }\n}\n"},{"id":"5122c0c1-7ec2-4d3f-8134-b96d5dde7b05","name":"422 - Action already performed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_ready_at\": \"Nov 12th 2022 at 11:00 AM\"    \n}\n","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]/order_ready"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"BAD_REQUEST\",\n    \"message\": \"You can only execute this action once per order\"\n}"}],"_postman_id":"397bd7ee-686a-4e95-bb16-fe12dac19485"}],"id":"7f9ac0b9-d908-4bd0-a87f-c0f07c9170d8","description":"<p>When an order is ready, you can notify us to help us streamline the pick-up process and minimise any potential friction during the pick-up. This notification can be sent at either the <strong>delivery</strong> or <strong>job</strong> level, depending on how your system identifies and manages orders.</p>\n<p>You can send the signal:</p>\n<ul>\n<li><p>At the <strong>delivery level</strong> – when a specific delivery (package) is ready.</p>\n</li>\n<li><p>At the <strong>job level</strong> – when <strong>all deliveries</strong> in the job are ready for pickup.</p>\n</li>\n</ul>\n<p>We <strong>recommend sending the signal at the delivery level</strong> for more granular tracking, unless your system handles all packages together and they’re always ready at the same time.</p>\n","_postman_id":"7f9ac0b9-d908-4bd0-a87f-c0f07c9170d8","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"Cancellations","item":[{"name":"Job cancellation","id":"c250d9ca-2fb9-4d71-8d96-d9b8792f34c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"The customer doesn't want the package anymore\",\n    \"public_reason_key\": \"customer_cancellation_requested\"\n}"},"url":"{{api_url}}/v2/jobs/[job_id]/cancel","description":"<p>Cancel a job including all of its deliveries. We advise providing your reason for cancelling to provide visibility for reporting, the allowed values are detailed in the table below.</p>\n<h2 id=\"job-cancellation-payload-fields\">Job Cancellation Payload Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>public_reason_key</td>\n<td>string</td>\n<td>One of our public reasons for cancellation.  <br /><strong>Allowed Values</strong>: <code>address_error</code>, <code>courier_issue</code>, <code>customer_cancellation_requested</code>, <code>duplicate_package</code>, <code>incorrect_package</code>, <code>no_supply</code>, <code>other</code>, <code>package_damaged</code>, <code>package_not_ready</code>, <code>pu_closed</code>, <code>technical_issue</code>, <code>wrong_package_size</code>.</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>string</td>\n<td>A comment giving more details about the reasons for the cancellation.</td>\n<td>optional</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs","[job_id]","cancel"],"host":["{{api_url}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Job id</p>\n","type":"text/plain"},"type":"any","value":"44999047","key":"jobId"}]}},"response":[{"id":"25c94433-d171-4a19-a93f-6a8810d7b1d3","name":"204 - no content (OK)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"The customer doesn't want the package anymore\",\n    \"public_reason_key\": \"customer_cancellation_requested\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]/cancel"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"8d3f5238-931a-440e-90cc-a4acfa20e923","name":"422 - already picked up","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"The customer doesn't want the package anymore\",\n    \"public_reason_key\": \"customer_cancellation_requested\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/jobs/[job_id]/cancel"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CANCELLATION_ERROR\",\n    \"message\": \"Job already picked up\"\n}"},{"id":"a460890d-cf6e-419c-b6c9-6ae754719a26","name":"404 - not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"The customer doesn't want the package anymore\",\n    \"public_reason_key\": \"customer_cancellation_requested\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_url}}/v2/jobs/[job_id]/cancel","host":["{{api_url}}"],"path":["v2","jobs","[job_id]","cancel"],"variable":[{"key":"jobId","value":"44999047","description":"(Required) Job id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"Not found\"\n}"}],"variable":[{"key":"jobId","value":"44999047","description":"(Required) Job id"}],"_postman_id":"c250d9ca-2fb9-4d71-8d96-d9b8792f34c6"},{"name":"Delivery cancellation","id":"bc4d68ce-6ce5-49db-a4f9-e1a91764df8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"public_reason_key\": \"customer_cancellation_requested\",\n    \"comment\": \"The customer doesn't want the product anymore\"\n}"},"url":"{{api_url}}/v2/deliveries/[delivery_id]/cancel","description":"<p>Cancel a single delivery of your job. We advise providing your reason for cancelling to provide visibility for reporting, the allowed values are detailed in the table below.</p>\n<h2 id=\"delivery-cancellation-payload-fields\">Delivery Cancellation Payload Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>public_reason_key</td>\n<td>string</td>\n<td>One of our public reasons for cancellation.  <br /><strong>Allowed Values</strong>: <code>address_error</code>, <code>courier_issue</code>, <code>customer_cancellation_requested</code>, <code>duplicate_package</code>, <code>incorrect_package</code>, <code>no_supply</code>, <code>other</code>, <code>package_damaged</code>, <code>package_not_ready</code>, <code>pu_closed</code>, <code>technical_issue</code>, <code>wrong_package_size</code>.</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>string</td>\n<td>A comment giving more details about the reasons for the cancellation.</td>\n<td>optional</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","deliveries","[delivery_id]","cancel"],"host":["{{api_url}}"],"query":[],"variable":[{"description":{"content":"<p>(Required) Delivery id</p>\n","type":"text/plain"},"type":"any","value":"44999047","key":"deliveryId"}]}},"response":[{"id":"d8e83fd3-05a1-4c6c-a3db-8486e22f37af","name":"204 - no content (OK)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"public_reason_key\": \"pu_closed\",\n    \"comment\": \"The shop is currently closed\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/deliveries/[delivery_id]/cancel"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"ad65c9fc-077d-45b9-ad86-2b0ab5494c79","name":"422 - already picked up","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"public_reason_key\": \"customer_cancellation_requested\",\n    \"comment\": \"The customer doesn't want the product anymore\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/deliveries/[delivery_id]/cancel"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CANCELLATION_ERROR\",\n    \"message\": \"Delivery already picked up\"\n}"},{"id":"a9ed886d-ca60-42f6-b305-0cc00121ae6c","name":"404 - not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"public_reason_key\": \"customer_cancellation_requested\",\n    \"comment\": \"The customer doesn't want the product anymore\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_url}}/v2/deliveries/[delivery_id]/cancel","host":["{{api_url}}"],"path":["v2","deliveries","[delivery_id]","cancel"],"variable":[{"key":"deliveryId","value":"44999047","description":"(Required) Delivery id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"Not found\"\n}"}],"variable":[{"key":"deliveryId","value":"44999047","description":"(Required) Delivery id"}],"_postman_id":"bc4d68ce-6ce5-49db-a4f9-e1a91764df8d"}],"id":"119a8667-d4e4-499f-937d-c0c122c00199","description":"<p>At any time before your package is picked up, signified by the '<em>delivering</em>' status, you can cancel the job or delivery by API. Any cancellation requests made after this point will result in an error. To cancel a job after this stage in the delivery lifecycle, contact <a href=\"https://help.stuart.com/en/articles/7010877-cancelling-your-delivery-after-the-pickup\">Stuart Support</a> to cancel it for you.</p>\n<p>When cancelling your order, we recommend providing the reason for reporting and analytics purposes.</p>\n<p>Note, cancellation fees apply when the job has been accepted by a courier for <strong>more than 2 minutes.</strong></p>\n","_postman_id":"119a8667-d4e4-499f-937d-c0c122c00199","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"Cancellation Reasons","item":[],"id":"2420ab6a-103a-4fd3-9c23-4d87b84e5582","description":"<p><strong>What is the cancellation object?</strong></p>\n<p>The cancellation object was created to signify the cancellation of a Stuart job, with details of who cancelled it and the reason. This cancellation object information can be found at any time using our get a job endpoints and our webhooks.</p>\n<p>When <a href=\"https://community.stuart.engineering/t/order-tracking/631\">tracking orders</a> to see what's happening to them in real-time, we recommend using our <a href=\"#801ec7fb-9664-4dec-95d6-1ec460df8fb8\">delivery update webhooks</a>. Here's an example of the cancellation object of a webhook event:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"cancellation\":\n{\n    \"canceledBy\":\"operations\",\n    \"reasonKey\":\"end-customer_unreachable\",\n    \"comment\":\"\"\n}\n\n</code></pre>\n<p>*<code>canceledBy</code> is one of [<code>client</code>, <code>operations</code>, <code>system</code>] where:</p>\n<ul>\n<li><p><strong>Client</strong>: Refers to the integrator (in this case, your system) that initiates a cancellation request via the API.</p>\n</li>\n<li><p><strong>Operations</strong>: Refers to our operations team, which performs a manual cancellation, even if the request originated from the courier or client.</p>\n</li>\n<li><p><strong>System</strong>: Refers to our system, where cancellations occur automatically based on the expiration interval configured for the account.</p>\n</li>\n</ul>\n<p><strong>What can cancellation updates tell me?</strong></p>\n<p>As the Stuart architecture has evolved, this cancellation object has adapted to signal some other use cases than just the simple cancel. These are: courier <em>reassignment</em>, <em>return</em> and <em>manual stacking</em>.<br />You may need to identify these use cases to integrate our updates into your own internal tracking system, or to trigger some actions based on the identified use case.</p>\n<p>If you have any questions or concerns around these topics for your integration, feel free to ask or seek answers to your questions on our <a href=\"https://community.stuart.engineering/\">Community Forum</a>. For example, here's a Q&amp;A post answering <a href=\"https://community.stuart.engineering/t/identifying-a-failed-delivery-for-refunding-the-customer/698/3\">how to identify a failed delivery for refunding the customer</a>.</p>\n<p><strong>What cancellation reasons are there?</strong></p>\n<p>Let's look at the cancellation reason key's that could come with each of these scenarios and whether they'll lead to a charge. For more detail on each, check out <a href=\"https://stuart.com/developers/best-practices/cancellation/\">this post</a>.</p>\n<p>⚠️Update:<br />There is a new reason key <code>wrong_weight</code> which doesn't sit in any of the categories below, for more information see <a href=\"https://community.stuart.engineering/t/new-cancellation-reason-key/883\">this announcement</a>.</p>\n<h2 id=\"cancellation\">Cancellation</h2>\n<p>When your order is truly cancelled <strong>no further action will be taken</strong>. When this happens your delivery will have a <code>cancelled</code> status alongside one of the following statuses:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong><code>reasonKey</code></strong></th>\n<th><strong>Reason</strong></th>\n<th><strong>Charge</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>end-customer_unreachable</code></td>\n<td>End-customer unreachable</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>duplicate_package</code></td>\n<td>Duplicate package</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>customer_cancellation_requested</code></td>\n<td>Customer cancellation / Requested</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>pu_closed</code></td>\n<td>PU Closed</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>address_error</code></td>\n<td>Address error</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>no_supply</code></td>\n<td>No supply</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>wrong_package_size</code></td>\n<td>Wrong package size</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>incorrect_package</code></td>\n<td>Incorrect package</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>technical_issue</code></td>\n<td>Technical issue</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>courier_issue</code></td>\n<td>Courier Issue</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>package_not_ready</code></td>\n<td>Package not ready</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>package_damaged</code></td>\n<td>Package damaged</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>other</code></td>\n<td>Other</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>job_expired</code></td>\n<td>Job expired</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>cold_chain</code></td>\n<td>Cold chain</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>end-customer_refused_package</code></td>\n<td>End-customer refused package</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>end-customer_underaged</code></td>\n<td>End-customer underaged</td>\n<td>✅</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"courier-reassigned\">Courier reassigned</h2>\n<p>When tracking via webhooks and your order <code>cancellation.reasonKey</code> changes to one from the below list and <strong>the status of the delivery is</strong> <strong><code>pending</code></strong>, this signifies a courier reassignment.</p>\n<p>This means that the current courier will <strong>not</strong> continue to fulfil this order and our dispatcher will assign a new courier. Find out more about <a href=\"https://community.stuart.engineering/t/recognising-a-driver-unassigned-event-through-webhooks/562\">recognising a courier unassign event through webhooks</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong><code>reasonKey</code></strong></th>\n<th><strong>Reason</strong></th>\n<th><strong>Charge</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>package_not_ready</code></td>\n<td>Package not ready</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>customer_cancellation_requested</code></td>\n<td>Customer cancellation / Requested</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>courier_issue</code></td>\n<td>Courier Issue</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>package_damaged</code></td>\n<td>Package damaged</td>\n<td>✅ (unless courier responsibility)</td>\n</tr>\n<tr>\n<td><code>reassigned_to_better_courier</code></td>\n<td>Reassigned to better courier</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>manually_stacked</code></td>\n<td>Manually stacked</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>no_supply</code></td>\n<td>No supply</td>\n<td>❌</td>\n</tr>\n<tr>\n<td><code>wrong_package_size</code></td>\n<td>Wrong package size</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>wrong_weight</code></td>\n<td>Weight exceeded</td>\n<td>❌</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"return\">Return</h2>\n<p>If your package is being returned to the pickup location you'll receive a<br /><code>cancelled</code> delivery status and associated reason key <strong>after which you'll receive the usual delivery statuses from picking through to delivered - allowing you to track this return leg.</strong></p>\n<p>Here are the reasons that a package may be returned:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong><code>reasonKey</code></strong></th>\n<th><strong>Reason</strong></th>\n<th><strong>Charge</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>end-customer_unreachable</code></td>\n<td>End-customer unreachable</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>address_error</code></td>\n<td>Address error</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>package_damaged</code></td>\n<td>Package damaged</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>end-customer_refused_package</code></td>\n<td>End-customer refused package</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>cash_or_equipment_return</code></td>\n<td>Cash or equipment return</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>incorrect_package</code></td>\n<td>Incorrect package</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>cold_chain</code></td>\n<td>Cold chain</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>end-customer_underaged</code></td>\n<td>End-customer underaged</td>\n<td>✅</td>\n</tr>\n<tr>\n<td><code>customer_cancellation_requested</code></td>\n<td>Client Request</td>\n<td>✅</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"manually-stacked\">Manually Stacked</h2>\n<p>When your delivery status is <code>cancelled</code> and the reason key is <code>manually_stacked</code>, your order has been stacked with another by our Support team. Read more about <a href=\"https://community.stuart.engineering/t/manually-stacked-what-happened-to-my-order/233\">manual stacking</a> on our forum.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong><code>reasonKey</code></strong></th>\n<th><strong>Reason</strong></th>\n<th><strong>Charge</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>manually_stacked</code></td>\n<td>Manually stacked</td>\n<td>❌</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"e6435010-6f1c-44db-bd33-d94b59699b51","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2b726a74-9a02-4ab9-beba-622fe5f7de61","type":"text/javascript","exec":[""]}}],"_postman_id":"2420ab6a-103a-4fd3-9c23-4d87b84e5582"},{"name":"Webhooks","item":[{"name":"Version 3","item":[{"name":"Event flows","item":[],"id":"a173ae4d-9980-459e-9443-e5c9441af53a","description":"<p>In the diagrams below you will find representations of the different possible flow of events you may receive assuming all possible events are subscribed to.</p>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXeSPotXDT2csleHGGnpEpF29zGolIXGIXRISh6UiBE1sAVq9iJ0ItiI6e96n6UdpLQvvE5HCYL760Rw3PYRqggkhML9FOYn-P92DWHNRZwwhZ9N4b3PGDdRLlF7B78z8eGfaSlA?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v3%20webhooks%20reference%20keys\" height=\"250\" width=\"208\" />\n\n<h5 id=\"happy-path\"><strong>Happy Path</strong></h5>\n<img src=\"https://content.pstmn.io/825dad08-7b79-416a-82a0-2a436511b2ed/UmVzb3VyY2VzIGZvciBEb2N1bWVudGF0aW9uIC0gRGVsaXZlcnkgZmxvdyBIYXBweSBQYXRoICgxKS5qcGc=\" alt=\"v3%20webhooks%20happy%20path%20flow\" />\n\n<h5 id=\"courier-reassignment\">Courier Reassignment</h5>\n<p>The courier handling your package could be changed at any time after initial assignment, though most likely period for courier reassignment is before the package is collected.</p>\n<img src=\"https://content.pstmn.io/2a5a90ee-fa45-437d-b5f9-59976246acad/UmVzb3VyY2VzIGZvciBEb2N1bWVudGF0aW9uIC0gUmVhc3NpZ25tZW50IGZsb3cuanBn\" alt=\"v3%20webhooks%20reassignment%20flow\" />\n\n<h5 id=\"return\">Return</h5>\n<p>In the case that your package cannot be delivered, it may be returned to the location where it was origionally collected.</p>\n<img src=\"https://content.pstmn.io/a8cf3e64-fa4f-4baf-a391-ae8a3b5bbfc5/UmVzb3VyY2VzIGZvciBEb2N1bWVudGF0aW9uIC0gUmV0dXJuIGZsb3cuanBn\" alt=\"v3%20webhooks%20return%20flow\" />\n\n<h5 id=\"cancelation\">Cancelation</h5>\n<p>Your package may be canceled at any time following it's creation. This is a final status meaning that no further action will be taken on your package.</p>\n<img src=\"https://content.pstmn.io/7a30c4c5-863a-4080-869b-0862a647400c/UmVzb3VyY2VzIGZvciBEb2N1bWVudGF0aW9uIC0gQ2FuY2VsYXRpb24gZmxvdy5qcGc=\" alt=\"v3%20webhooks%20cancelation%20flow\" />","_postman_id":"a173ae4d-9980-459e-9443-e5c9441af53a","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}},{"name":"Payload fields","item":[],"id":"c459c180-1b02-4814-866d-c5f91c00ddc7","description":"<p>Below you will find the list of all possible fields that can be sent in the different webhook events.</p>\n<p>Some fields will be returned for each webhook topic, while others are specific to certain topics.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Parent</strong></th>\n<th><strong>Field type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Available for</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>version</td>\n<td>-</td>\n<td>string</td>\n<td>Indicate the webhook payload version  <br />example: \"v3\"</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>occured_at</td>\n<td>-</td>\n<td>string</td>\n<td>Timestamp indicating the exact time the event occurred.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>event_id</td>\n<td>-</td>\n<td>string</td>\n<td>Unique ID for each webhook event sent. This ID is always unique except in case of a retry.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>webhook_id</td>\n<td>-</td>\n<td>integer</td>\n<td>ID generated when first subscribing to the webhook.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>topic</td>\n<td>-</td>\n<td>string</td>\n<td>Webhook event's name.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>details</td>\n<td>-</td>\n<td>object</td>\n<td>Object containing specific information about the package and its delivery.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>account</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing account information.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>id</td>\n<td>account</td>\n<td>integer</td>\n<td>Stuart’s client account ID.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>package</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing package information.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>package</td>\n<td>string</td>\n<td>Your package's unique reference. This is the value you send in the <code>client_reference</code> field at <a href=\"https://api-docs.stuart.com/#e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8\">order creation</a>.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>id</td>\n<td>package</td>\n<td>string</td>\n<td>Package identifier created by Stuart. It can be found in the response to <a href=\"https://api-docs.stuart.com/#e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8\">job creation</a> and <a href=\"https://api-docs.stuart.com/#fa326cf4-43a0-43c0-98bd-f616e5902b85\">get jobs</a> requests under the field <code>deliveries[].id</code>.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>client_tracking_url</td>\n<td>package</td>\n<td>string</td>\n<td>URL to the package’s live tracking page.  <br />  <br />This page is for internal use by your staff to manage and track orders. It includes additional features like a customer support (CS) widget to access live support.</td>\n<td>package_created,  <br />courier_assigned,  <br />courier_waiting, package_delivering,  <br />package_delivered</td>\n</tr>\n<tr>\n<td>end_customer_tracking_url</td>\n<td>package</td>\n<td>string</td>\n<td>URL to the package’s live tracking page.  <br />  <br />This page is intended for end-customers.</td>\n<td>package_created,  <br />courier_assigned,  <br />courier_waiting, package_delivering,  <br />package_delivered</td>\n</tr>\n<tr>\n<td>courier</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing courier’s information.</td>\n<td>courier_assigned</td>\n</tr>\n<tr>\n<td>coordinates</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing the current coordinates of the courier's location.</td>\n<td>courier_moving</td>\n</tr>\n<tr>\n<td>latitude</td>\n<td>coordinates</td>\n<td>float</td>\n<td></td>\n<td>courier_moving</td>\n</tr>\n<tr>\n<td>longitude</td>\n<td>coordinates</td>\n<td>float</td>\n<td></td>\n<td>courier_moving</td>\n</tr>\n<tr>\n<td>name</td>\n<td>courier</td>\n<td>string</td>\n<td>Courier’s fullname.</td>\n<td>courier_assigned,</td>\n</tr>\n<tr>\n<td>proximity_radius</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing information about the distance between the courier and a specific location in the delivery process. It could either be the collection, delivery, or return place.</td>\n<td>courier_arriving</td>\n</tr>\n<tr>\n<td>value</td>\n<td>proximity_radius</td>\n<td>integer</td>\n<td>Distance in meters between the courier and a specific location in the delivery process. It could either be the collection, delivery, or return place</td>\n<td>courier_arriving</td>\n</tr>\n<tr>\n<td>unit</td>\n<td>proximity_radius</td>\n<td>string</td>\n<td>Unit of measure for distance.</td>\n<td>courier_arriving</td>\n</tr>\n<tr>\n<td>return</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing package return information.</td>\n<td>package_returning, package_returned</td>\n</tr>\n<tr>\n<td>cancellation</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing package cancellation information.</td>\n<td>package_canceled</td>\n</tr>\n<tr>\n<td>reassigning</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing package reassignment information.</td>\n<td>courier_reassigning</td>\n</tr>\n<tr>\n<td>actor</td>\n<td>cancelation , return or reassigning</td>\n<td>string</td>\n<td>Initiator of the cancelation, return or reassignment.  <br />Allowed values:  <br /><code>client</code>, <code>operations</code> or <code>system</code></td>\n<td>package_returning, package_returned, package_canceled, courier_reassigning</td>\n</tr>\n<tr>\n<td>key</td>\n<td>cancelation , return or reassigning</td>\n<td>string</td>\n<td>Reason key for cancelation, return or reassignment.</td>\n<td>package_returning, package_returned,  <br />package_canceled, courier_reassigning</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>cancelation , return , reassigning or split</td>\n<td>string</td>\n<td>Reason for the cancelation, return, reassignment or split.</td>\n<td>package_returning, package_returned,  <br />package_canceled, courier_reassigning, package_split</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>cancelation or return</td>\n<td>string or null</td>\n<td>A comment giving more details about the reason for the cancellation.</td>\n<td>package_canceled</td>\n</tr>\n<tr>\n<td>task</td>\n<td>details</td>\n<td>string</td>\n<td>The task for which the event was triggered.  <br />  <br />Allowed values: <code>pickup</code> or <code>dropoff</code></td>\n<td>courier_arriving, courier_waiting</td>\n</tr>\n<tr>\n<td>split</td>\n<td>details</td>\n<td>object</td>\n<td>Object containing package split information.</td>\n<td>package_split</td>\n</tr>\n<tr>\n<td>new_package</td>\n<td>details</td>\n<td>Object</td>\n<td>Object containing the id of the new package created as a result of a package split.</td>\n<td>package_split</td>\n</tr>\n<tr>\n<td>id</td>\n<td>new_package</td>\n<td>string</td>\n<td>Identifier of the new package created as a result of a package split.</td>\n<td>package_split</td>\n</tr>\n<tr>\n<td>packages</td>\n<td>details</td>\n<td>array[string]</td>\n<td>An array containing Stuart package identifiers of additional stacked packages. It will only be available for stacked packages.</td>\n<td>courier_assigned</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c459c180-1b02-4814-866d-c5f91c00ddc7","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}},{"name":"Webhook events","item":[{"name":"Package created webhook","id":"a16c968b-7c24-4b51-9176-de3600cf00d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-02-13T15:29:36.000+01:00\",\n    \"event_id\": \"93ce4c52-5b27-4cec-9baf-68cfcdd4da46\",\n    \"webhook_id\": 2359,\n    \"topic\": \"package_created\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676298576\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-created-webhooks-endpoint","description":"<p>This webhook is sent when a package is created.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-package-created-webhooks-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a16c968b-7c24-4b51-9176-de3600cf00d5"},{"name":"Courier assigned webhook","id":"2ec9fdb1-907e-4856-b144-971c279d91e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-04-28T15:41:29.000+02:00\",\n    \"event_id\": \"49b42175-8c53-4003-aac0-8558876b422b\",\n    \"webhook_id\": 2510,\n    \"topic\": \"courier_assigned\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"courier\": {\n            \"name\": \"Adriel Pfeffer\"\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1682689274\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-assigned-webhooks-endpoint","description":"<p>This webhook is sent when a courier is assigned to a package. If multiple packages are stacked together, the payload will include the <code>details.packages</code> field containing the package identifiers.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-courier-assigned-webhooks-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[{"id":"56fb0891-15ad-4403-a64e-592e77fe5c56","name":"Non-stacked packages","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-04-28T15:41:29.000+02:00\",\n    \"event_id\": \"49b42175-8c53-4003-aac0-8558876b422b\",\n    \"webhook_id\": 2510,\n    \"topic\": \"courier_assigned\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"courier\": {\n            \"name\": \"Adriel Pfeffer\"\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1682689274\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-assigned-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"9e45daef-0ec5-40e6-90c0-a8f5d1d8f4db","name":"Stacked packages","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-04-28T15:41:29.000+02:00\",\n    \"event_id\": \"49b42175-8c53-4003-aac0-8558876b422b\",\n    \"webhook_id\": 2510,\n    \"topic\": \"courier_assigned\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"courier\": {\n            \"name\": \"Adriel Pfeffer\"\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1682689274\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        },\n        \"packages\": [\n            \"10000000002\",\n            \"10000000003\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-arriving-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2ec9fdb1-907e-4856-b144-971c279d91e9"},{"name":"Courier arriving webhook","id":"ecde5aa6-825d-450f-bc8b-35306cbac6f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-04-28T15:44:00.658+02:00\",\n    \"event_id\": \"37ad2c94-8cd7-47c5-b0a8-5f1f79b1dffc\",\n    \"webhook_id\": 2510,\n    \"topic\": \"courier_arriving\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1682689274\"\n        },\n        \"proximity_radius\": {\n            \"value\": 36,\n            \"unit\": \"meters\"\n        },\n        \"task\": \"pickup\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-arriving-webhook-endpoint","description":"<p>This webhook is sent when a courier is on the way to a specific place in the delivery process. This can be either the place of <strong>pickup</strong> or <strong>dropoff</strong> of the package. In the payload, the subfield <strong><code>details.task</code></strong> specifies the type of location (either “pickup” or “dropoff”).</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-courier-arriving-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[{"id":"3b5851f7-face-4ff8-9ab6-0e96de7dd57e","name":"Pickup","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-01-10T16:58:42.326+01:00\",\n    \"event_id\": \"d60e5f40-5c6e-4f8e-b836-c8de2171f3df\",\n    \"webhook_id\": 2359,\n    \"topic\": \"courier_arriving\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676298576\"\n        },\n        \"courier\": {\n            \"id\": 12001,\n            \"name\": \"Leta Boehm\"\n        },\n        \"proximity_radius\": {\n            \"magnitude\": 36,\n            \"unit\": \"meters\"\n        },\n        \"task\": \"pickup\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-arriving-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"21c206e0-f3e5-40e5-a2d0-2e3942e4c328","name":"Dropoff","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-01-10T17:18:42.326+01:00\",\n    \"event_id\": \"d60e5f40-5c6e-4f8e-b836-c8de2171f3df\",\n    \"webhook_id\": 2359,\n    \"topic\": \"courier_arriving\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676298576\"\n        },\n        \"courier\": {\n            \"id\": 12001,\n            \"name\": \"Leta Boehm\"\n        },\n        \"proximity_radius\": {\n            \"magnitude\": 36,\n            \"unit\": \"meters\"\n        },\n        \"task\": \"dropoff\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-arriving-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ecde5aa6-825d-450f-bc8b-35306cbac6f1"},{"name":"Package split webhook","id":"89860ff4-f3e2-4185-bd48-eae392b2a75b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2024-11-15T09:37:03.000+01:00\",\n    \"event_id\": \"5a854833-1166-4956-9770-0d8b4ea73c2b\",\n    \"webhook_id\": 3890,\n    \"topic\": \"package_split\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"split\": {\n            \"reason\": \"Split Package - Client request\"\n        },\n        \"new_package\": {\n            \"id\": \"100825044\"\n        },\n        \"package\": {\n            \"id\": \"100825043\",\n            \"reference\": \"12345586829\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-split-webhook-endpoint","description":"<p>This webhook is sent when a package is split into two or more packages with the purpose of being delivered by multiple couriers.</p>\n<p>In the event of a split, you will receive this webhook for each newly created package. For example, if a package is split to be delivered by three different couriers, you will receive this webhook twice, with the <code>new_package</code> field indicating the ID of each newly created package.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-package-split-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[{"id":"2afa6b72-1c6f-4420-b991-e4e2dc718c36","name":"Package split - Client request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2024-11-15T09:37:03.000+01:00\",\n    \"event_id\": \"5a854833-1166-4956-9770-0d8b4ea73c2b\",\n    \"webhook_id\": 3890,\n    \"topic\": \"package_split\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"split\": {\n            \"reason\": \"Split Package - Client request\"\n        },\n        \"new_package\": {\n            \"id\": \"100825044\"\n        },\n        \"package\": {\n            \"id\": \"100825043\",\n            \"reference\": \"28229884849\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-split-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"cb4c8acb-2779-4691-b3ea-7e9c972cf1bc","name":"Package split - Weight exceeded","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2024-11-15T10:49:46.000+01:00\",\n    \"event_id\": \"517d591a-b777-4282-bf4e-eac4abc6e0e5\",\n    \"webhook_id\": 3890,\n    \"topic\": \"package_split\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"split\": {\n            \"reason\": \"Split Package - Weight exceeded\"\n        },\n        \"new_package\": {\n            \"id\": \"100825070\"\n        },\n        \"package\": {\n            \"id\": \"100825069\",\n            \"reference\": \"208383938844\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-split-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"4823dc87-8d20-4377-89c1-bbb861ec8e89","name":"Package split - No Capacity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2024-11-15T09:39:21.000+01:00\",\n    \"event_id\": \"f166e907-78e3-48e0-bf87-957e7047b995\",\n    \"webhook_id\": 3890,\n    \"topic\": \"package_split\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"split\": {\n            \"reason\": \"Split Package - No capacity\"\n        },\n        \"new_package\": {\n            \"id\": \"100825048\"\n        },\n        \"package\": {\n            \"id\": \"100825046\",\n            \"reference\": \"289389389445\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-split-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"89860ff4-f3e2-4185-bd48-eae392b2a75b"},{"name":"Courier waiting webhook","id":"17709766-fba7-4293-b307-b0f8cf3195e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-04-28T15:44:13.529+02:00\",\n    \"event_id\": \"099c8fed-1eea-41f5-a1df-d4c046be53a7\",\n    \"webhook_id\": 2510,\n    \"topic\": \"courier_waiting\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1682689274\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        },\n        \"task\": \"pickup\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-waiting-webhook-endpoint","description":"<p>This webhook is sent when a courier is waiting at a specific place in the delivery process. This can be either the place of <strong>pickup</strong> or <strong>dropoff</strong> of the package. In the payload the subfield <strong><code>details.task</code></strong> specifies the type of location (one of “pickup” or “dropoff”).</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-courier-waiting-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[{"id":"0af77791-0e35-4695-8443-bd9073d5efd4","name":"Pickup","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-02-13T15:32:58.976+01:00\",\n    \"event_id\": \"d26bae6c-e309-495f-8b46-0eb91e7c8824\",\n    \"webhook_id\": 2359,\n    \"topic\": \"courier_waiting\",\n    \"details\": {\n        \"account\": {\n            \"id\": 1\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676298576\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        },\n        \"task\": \"pickup\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-waiting-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"042120f7-0e6c-425c-819d-f32af8a2730f","name":"Dropoff","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-02-13T15:52:58.976+01:00\",\n    \"event_id\": \"d26bae6c-e309-495f-8b46-0eb91e7c8824\",\n    \"webhook_id\": 2359,\n    \"topic\": \"courier_waiting\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676298576\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        },\n        \"task\": \"dropoff\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-waiting-webhook-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"17709766-fba7-4293-b307-b0f8cf3195e7"},{"name":"Package delivering webhook","id":"366ec670-dec4-4b50-9c52-f2ed85c5485d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-02-13T15:30:44.000+01:00\",\n    \"event_id\": \"2551af2a-54bf-4b82-af91-35cee45f4af5\",\n    \"webhook_id\": 2359,\n    \"topic\": \"package_delivering\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676298576\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-delivering-webhook-endpoint","description":"<p>This webhook is sent right after a courier retrieved a package (at pickup).</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-package-delivering-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"366ec670-dec4-4b50-9c52-f2ed85c5485d"},{"name":"Package delivered webhook","id":"33e9de5d-f5ff-487d-b9f0-30066427ad93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-05-02T16:08:57.000+02:00\",\n    \"event_id\": \"ab1f8bcc-7eb8-48e7-9ba6-5f0c720dd231\",\n    \"webhook_id\": 2515,\n    \"topic\": \"package_delivered\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1683036378\",\n            \"client_tracking_url\": \"https://stuart.sandbox.followmy.delivery/2edc9e7032023929f3a5c61170a5a68e/100803824/331e0a2e57e570ffc87a8ddef166707f\",\n            \"end_customer_tracking_url\": \"https://stuart.sandbox.followmy.delivery/100803824/331e0a2e57e570ffc87a8ddef166707f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-delivered-webhook-endpoint","description":"<p>This webhook is sent when a package delivery is completed.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-package-delivered-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"33e9de5d-f5ff-487d-b9f0-30066427ad93"},{"name":"Package canceled webhook","id":"62fd2825-051f-485b-a7d7-0b53420b82b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-02-13T15:58:42.000+01:00\",\n    \"event_id\": \"e8dc1cb4-2e75-4b11-9255-770cebcecd82\",\n    \"webhook_id\": 2359,\n    \"topic\": \"package_canceled\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676300282\"\n        },\n        \"cancelation\": {\n            \"actor\": \"client\",\n            \"reason\": \"Address error\",\n            \"key\": \"address_error\",\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-canceled-webhook-endpoint","description":"<p>This webhook is sent when a package is canceled.</p>\n<p><code>actor</code> is one of [<code>client</code>, <code>operations</code>, <code>system</code>]</p>\n<p><code>cancelation.key</code> is one of:</p>\n<p>[ <code>end-customer_unreachable</code>, <code>duplicate_package</code>, <code>customer_cancellation_requested</code>, <code>pu_closed</code>, <code>address_error</code>, <code>no_supply</code>, <code>wrong_package_size</code>, <code>incorrect_package</code>, <code>technical_issue</code>, <code>courier_issue</code>, <code>package_not_ready</code>, <code>package_damaged</code>, <code>other</code>, <code>job_expired</code>, <code>cold_chain</code>, <code>end-customer_refused_package</code>, or <code>end-customer_underaged]</code></p>\n<p>Find out more about our <a href=\"https://api-docs.stuart.com/#2420ab6a-103a-4fd3-9c23-4d87b84e5582\">cancellation reasons</a>.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-package-canceled-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"62fd2825-051f-485b-a7d7-0b53420b82b1"},{"name":"Package returning webhook","id":"4be1df53-1bcc-45af-aab6-3ea93f3c3294","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-02-13T16:00:36.000+01:00\",\n    \"event_id\": \"515b417c-49d1-460b-867c-00c6bd1ce6fe\",\n    \"webhook_id\": 2359,\n    \"topic\": \"package_returning\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"return\": {\n            \"key\": \"end-customer_unreachable\",\n            \"reason\": \"End-customer unreachable\"\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676300384\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-returning-webhook-endpoint","description":"<p>This webhook is sent when a package has been requested to be returned to its origin.</p>\n<p>⚠️ Please note that the 'returning' status may not be triggered in all cases, though we aim in the future to ensure accuracy in triggering this event for every occurance that a package is returning to the pickup location. If this inconsistency can cause a critical issue for you integration please reach out for guidance through the <a href=\"https://community.stuart.engineering/\">Developer Community Forum</a>.</p>\n<p>List of possible keys: <code>end-customer_unreachable</code>, <code>address_error</code>, <code>package_damaged</code>, <code>end-customer_refused_package</code>, <code>cash_or_equipment_return</code>, <code>incorrect_package</code>, <code>cold_chain</code>, <code>end-customer_underaged</code> or <code>customer_cancellation_requested</code></p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-package-returning-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4be1df53-1bcc-45af-aab6-3ea93f3c3294"},{"name":"Package returned webhook","id":"248602e2-f217-43ec-8246-fd84a837bd72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-02-13T16:01:25.000+01:00\",\n    \"event_id\": \"91ad6f82-d62a-4e4c-87d7-9988697e044e\",\n    \"webhook_id\": 2359,\n    \"topic\": \"package_returned\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1676300384\"\n        },\n        \"return\": {\n            \"actor\": \"operations\",\n            \"key\": \"end-customer_unreachable\",\n            \"reason\": \"End-customer unreachable\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-package-returned-webhook-endpoint","description":"<p>This webhook is sent when a package return is completed.</p>\n<p>⚠️ Please note that the 'returned' status may not be triggered in all cases, though we aim in the future to ensure accuracy in triggering this event for every occurance that a package has been returned to the pickup location. If this inconsistency can cause a critical issue for you integration please reach out for guidance through the <a href=\"https://community.stuart.engineering/\">Developer Community Forum</a>.</p>\n<p>List of possible keys: <code>end-customer_unreachable</code>, <code>address_error</code>, <code>package_damaged</code>, <code>end-customer_refused_package</code>, <code>cash_or_equipment_return</code>, <code>incorrect_package</code>, <code>cold_chain</code>, <code>end-customer_underaged</code> or <code>customer_cancellation_requested</code></p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-package-returned-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"248602e2-f217-43ec-8246-fd84a837bd72"},{"name":"Courier reassigning webhook","id":"276b7249-4acc-4c17-b320-78bfd6647d24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2022-07-26T16:13:39+02:00\",\n    \"event_id\": \"d8f783d4-26cb-49ba-a813-7cf628e87304\",\n    \"webhook_id\": 2359,\n    \"topic\": \"courier_reassigning\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1712492828\"\n        },\n        \"reassigning\": {\n            \"actor\": \"operations\",\n            \"key\": \"reassigned_to_better_courier\",\n            \"reason\": \"Reassigned to better courier\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-reassigning-webhook-endpoint","description":"<p>This webhook is sent when a package delivery has been reassigned to another courier.</p>\n<p>List of possible keys: <code>package_not_ready</code>, <code>customer_cancellation_requested</code>, <code>courier_issue</code>, <code>package_damaged</code>, <code>reassigned_to_better_courier</code>, <code>manually_stacked</code>, <code>no_supply or wrong_package_size</code> or <code>wrong_weight</code></p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-courier-reassigning-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"276b7249-4acc-4c17-b320-78bfd6647d24"},{"name":"Courier moving (dropoff)","id":"10c6dcfa-2c5e-41bc-a129-94b477b3b3c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"v3\",\n    \"occurred_at\": \"2023-12-11T10:19:25.394+01:00\",\n    \"event_id\": \"021736cf-4396-4fb0-a74c-09f9ca04a4e6\",\n    \"webhook_id\": 2510,\n    \"topic\": \"courier_moving\",\n    \"details\": {\n        \"account\": {\n            \"id\": 451871\n        },\n        \"package\": {\n            \"id\": \"10000000001\",\n            \"reference\": \"1682689274\"\n        },\n        \"coordinates\": {\n            \"latitude\": 51.409676,\n            \"longitude\": -0.230138\n        },\n        \"task\": \"dropoff\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-courier-reassigning-webhook-endpoint","description":"<p>This webhook is sent while the courier is en route from pickup to dropoff.</p>\n<p>It is sent every 30 seconds if the courier has moved since the last update.</p>\n<p>The payload includes the coordinates of the courier's position in real time.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-courier-reassigning-webhook-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"10c6dcfa-2c5e-41bc-a129-94b477b3b3c7"}],"id":"af3dda10-59b5-45e2-98c8-0e52bb1a532f","description":"<p>The following events can each be subscribed to in order to receive real-time updates.</p>\n<p>To understand the flow of events you can expect to receive for various scenarios, please see <a href=\"#70a92a09-ff2f-4dd1-b35e-f05dbf3925fc\">event flows</a> documentation.</p>\n","_postman_id":"af3dda10-59b5-45e2-98c8-0e52bb1a532f","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}}],"id":"131cf619-71cd-4f0c-a595-dbd6e9c54938","description":"<p>This section details version three (v3) of Stuart on-demand webhooks. These webhooks are the latest version which improve upon our previous (v2) offering.</p>\n<p>Please pay attention to the usage guidelines below when implementing these webhooks to avoid experiencing breaking changes in the future.</p>\n<p><strong>Usage Guidelines</strong></p>\n<ul>\n<li>v3 webhooks may be subject to change in the future.</li>\n<li>New webhook events can be created in the future.</li>\n<li>New attributes may be added to the webhook's payloads in the future.</li>\n<li>The length of specific fields may change in the future.</li>\n<li>Field validation checks should consider the field type noted in the payload fields table.</li>\n</ul>\n<p>Note: In case of an unsuccessful webhook event reception, our system can attempt to retry sending the same webhook event up to 5 times.</p>\n<p>To keep up to date with changes coming be sure to subscribe to our announcement notifications <a href=\"https://community.stuart.engineering/t/how-to-receive-announcement-notifications/1137\">here</a>.</p>\n","_postman_id":"131cf619-71cd-4f0c-a595-dbd6e9c54938","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}},{"name":"Version 2 [Deprecated]","item":[{"name":"Event flows","item":[],"id":"7c3c54ce-fa45-400a-8aec-5c80dca97990","description":"<p>Webhook v2 enables subscription to both job status updates and delivery status updates. The diagrams below illustrate the various possible event flows that may be received, assuming all available events are subscribed to.</p>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXeSPotXDT2csleHGGnpEpF29zGolIXGIXRISh6UiBE1sAVq9iJ0ItiI6e96n6UdpLQvvE5HCYL760Rw3PYRqggkhML9FOYn-P92DWHNRZwwhZ9N4b3PGDdRLlF7B78z8eGfaSlA?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v2%20webhooks%20reference%20keys\" width=\"193\" height=\"231\" />\n\n<h5 id=\"happy-path\"><strong>Happy Path</strong></h5>\n<ul>\n<li><strong>Job update webhooks:</strong></li>\n</ul>\n<p>Assuming you subscribed to both job/create and job/update events, you’ll receive the following webhook events:</p>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXeA4vcd7DhiLPMLP3t85-c9ktqgyV3SGfYyrfy6HTRs3foocrpjRaR_zi7l4FwXiMQX-2d18Et-btCjFtgpXANR4erV_G2Zw0Ulp3_DxGoPVjnbP3GyuReeggY-jYGURIgEISRmlw?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v2%20job/update%20webhooks%20-%20happy%20path%20flow\" />\n\n<ul>\n<li><strong>Delivery update webhooks:</strong></li>\n</ul>\n<p>Assuming you subscribed to both delivery/create and delivery/update events, you’ll receive the following webhook events:</p>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXfwOFsY-OHUNMyhkzqZPcFixHK9R8lORI20j2ze5w3wWRNlmk9C5-c20Bjf5bnwf1INRv_qZuX07Z1D-4UkGpTHJhl4X_VdxdI4Jrl8g0u-9Dmj72YlPeZSWW0mJ2_XkEBn-fFG?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v2%20delivery/update%20webhooks%20-%20happy%20path%20flow\" />\n\n<p>For the purpose of clarity and conciseness, the following sections will specifically address delivery update webhooks.</p>\n<h5 id=\"courier-reassignment\"><strong>Courier Reassignment</strong></h5>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXcLMQRPjqp-VY3E_86YrWcZJSSNQfRbUd8OXBRnaunywSTesCqtCRlwF8EA7UY0XXLDXiOaYjRknczP52wWQLmT8iVDQVvuHK4irvJSdt-Pp1qu-Pf2Y0UinRrcI06vSEXAfa-T8A?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v2%20delivery/update%20webhooks%20-%20courier%20reassignment%20flow\" />\n\n<h5 id=\"return\"><strong>Return</strong></h5>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXcqT8diFCNWyiy8IcC-rWh-u2qoaBx_2tbByvqSuvvY4gpw3Lo84ZgTOLzGSP2rwm1RSQ-WSM9FeyXu49pNxY0M5hIYDwOmZEymzUKRnW1Wq6vQfHvNO60-Mp4bHU-yTdfQThNX?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v2%20delivery/update%20webhooks%20-%20return%20flow\" />\n\n<h5 id=\"cancelation\"><strong>Cancelation</strong></h5>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXfnGNDZ3uQICuvOG_Aq7fWXnRyOjoIIB_FRV5n7E2RjHoSIddDFB4p9r9wfXDj6OvuD_FnpVONPZ1IdmiuY3PyTjFYrzan-n2QZAZOdulbg347ANyO-OQQWK2HYdJ5n2-4We2SbZw?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v2%20delivery/update%20webhooks%20-%20cancelation%20flow\" />\n\n<h5 id=\"expired-delivery\"><strong>Expired delivery:</strong></h5>\n<img src=\"https://lh7-qw.googleusercontent.com/docsz/AD_4nXdz9AY7bgdqGmQ2QuGV8t90EgGpkOQ2TCEnBQg71t3TEmEPDHNklSuDIPKksVlSSRsbasV8eCo7cTmtZ94xUO9qORClLPktB_s_HyvLH4WN8k-2f8YE6-_yQdMdh1TbNeruwXaMQQ?key=fq77slujjbwzJEcqlnHGQnGa\" alt=\"v2%20delivery/update%20webhooks%20-%20expiry%20flow\" />","_postman_id":"7c3c54ce-fa45-400a-8aec-5c80dca97990","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}},{"name":"Payload fields","item":[],"id":"6821b8e7-8b92-4885-b460-08f1d7de2af3","description":"<p>Below, you will find the list of fields that can be sent in the different webhook events.</p>\n<p>Some fields will be returned for each webhook topic, while others are specific to certain topics.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Parent</strong></th>\n<th><strong>Field type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Available for</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>event</td>\n<td>-</td>\n<td>string</td>\n<td>Webhook event's name. Possible values: job, delivery</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Webhook event’s type. Possible values: create, update</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>data</td>\n<td>-</td>\n<td>object</td>\n<td>Object containing specific information about the delivery job.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>id</td>\n<td>data</td>\n<td>integer</td>\n<td>Job (event = job) or package (event= delivery) identifier created by Stuart.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>status</td>\n<td>data</td>\n<td>string</td>\n<td>Current status of the job, delivery, or driver.  <br />Possible values include: searching, pending, busy.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>data</td>\n<td>string</td>\n<td>A datetime (ISO 8601) of when the job was created.</td>\n<td>job/create  <br />job/update</td>\n</tr>\n<tr>\n<td>transportType</td>\n<td>data</td>\n<td>object</td>\n<td>Object containing transport type information.</td>\n<td>All topics</td>\n</tr>\n<tr>\n<td>packageType</td>\n<td>data</td>\n<td>object</td>\n<td>Object containing package type information.</td>\n<td>job/create  <br />job/update  <br />delivery/create  <br />delivery/update</td>\n</tr>\n<tr>\n<td>originComment</td>\n<td>data</td>\n<td>string</td>\n<td>A comment for the courier to help find the pickup location, e.g. floor number, door, etc. Max length: 1000.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>destinationComment</td>\n<td>data</td>\n<td>string</td>\n<td>A comment for the courier to help find the drop-off location, e.g. floor number, door, etc. Max length: 1000.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>jobReference</td>\n<td>data</td>\n<td>string</td>\n<td>Unique internal order reference. We recommend always providing this value and using it for tracking.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>currentDelivery</td>\n<td>data</td>\n<td>object</td>\n<td>Object containing information about the ongoing delivery.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>deliveries</td>\n<td>data</td>\n<td>Array[object]</td>\n<td>Array of objects describing all deliveries related to the job.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>id</td>\n<td>currentDelivery</td>\n<td>integer</td>\n<td>Package identifier created by Stuart.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>trackingUrl</td>\n<td>currentDelivery</td>\n<td>string</td>\n<td>URL to the package’s live tracking page.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>clientReference</td>\n<td>currentDelivery</td>\n<td>string</td>\n<td>Unique internal delivery reference. We recommend always providing this value and using it for tracking.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>driver</td>\n<td>currentDelivery</td>\n<td>object</td>\n<td>Object containing information about the courier.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>status</td>\n<td>currentDelivery</td>\n<td>string</td>\n<td>Current status of delivery. Values include: pending, picking, delivered.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>etaToDestination</td>\n<td>currentDelivery</td>\n<td>string</td>\n<td>Estimated datetime (ISO 8601) of arrival at the destination address</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>etaToOrigin</td>\n<td>currentDelivery</td>\n<td>string</td>\n<td>Estimated datetime (ISO 8601) of arrival at the origin address.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n<tr>\n<td>cancellation</td>\n<td>currentDelivery</td>\n<td>object</td>\n<td>Object containing cancellation information.</td>\n<td>job/create<br /><br />job/update</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6821b8e7-8b92-4885-b460-08f1d7de2af3","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}},{"name":"Webhook events","item":[{"name":"Job create webhook event","id":"4ba82776-7146-417c-aed5-c2b97b4c7ee5","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"job\",\n  \"type\": \"create\",\n  \"data\": {\n    \"id\": 100214157,\n    \"status\": \"searching\",\n    \"comment\": null,\n    \"pickupAt\": null,\n    \"dropoffAt\": null,\n    \"createdAt\": \"2022-01-19T14:19:44.000+01:00\",\n    \"endedAt\": null,\n    \"transportType\": {\n      \"code\": \"bike\"\n    },\n    \"packageType\": null,\n    \"originComment\": null,\n    \"destinationComment\": null,\n    \"jobReference\": \"12345\",\n    \"currentDelivery\": null,\n    \"deliveries\": [\n      {\n        \"id\": 100259470,\n        \"clientReference\": \"12345\"\n      },\n      {\n        \"id\": 100259471,\n        \"clientReference\": \"465768798\"\n      }\n    ]\n  }\n}"},"url":"https://your.domain.com/your-job-create-webhooks-endpoint","description":"<p>Job creation webhook schema. Please use the <code>clientReference</code> to track your deliveries</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-job-create-webhooks-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ba82776-7146-417c-aed5-c2b97b4c7ee5"},{"name":"Job update webhook event","id":"3c0e85c1-cefe-42f6-93c3-e3ea349def8f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"job\",\n  \"type\": \"update\",\n  \"data\": {\n    \"id\": 100214157,\n    \"status\": \"in_progress\",\n    \"comment\": null,\n    \"pickupAt\": null,\n    \"dropoffAt\": null,\n    \"createdAt\": \"2022-01-19T14:19:44.000+01:00\",\n    \"endedAt\": null,\n    \"transportType\": {\n      \"code\": \"bike\"\n    },\n    \"packageType\": null,\n    \"originComment\": null,\n    \"destinationComment\": null,\n    \"jobReference\": \"12345\",\n    \"currentDelivery\": {\n      \"id\": 100259470,\n      \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100259470/8ff0ecfc54c9b55f66f4fa1223e3fffd\",\n      \"clientReference\": \"12345\",\n      \"driver\": {\n        \"status\": \"busy\",\n        \"latitude\": 48.87818527,\n        \"longitude\": 2.29685044,\n        \"name\": \"Eveline Green\",\n        \"firstname\": \"Eveline\",\n        \"lastname\": \"Green\",\n        \"phone\": \"+33601010101\",\n        \"picture_path_imgix\": null,\n        \"transportType\": {\n          \"code\": \"bike\"\n        }\n      },\n      \"status\": \"picking\",\n      \"transportType\": {\n        \"code\": \"bike\"\n      },\n      \"packageType\": null,\n      \"etaToDestination\": \"2022-01-19T14:24:56.000+01:00\",\n      \"etaToOrigin\": \"2022-01-19T14:22:57.000+01:00\",\n      \"cancellation\": {\n        \"canceledBy\": null,\n        \"reasonKey\": null,\n        \"comment\": null\n      }\n    },\n    \"deliveries\": [\n      {\n        \"id\": 100259470,\n        \"clientReference\": \"12345\"\n      },\n      {\n        \"id\": 100259471,\n        \"clientReference\": \"465768798\"\n      }\n    ]\n  }\n}"},"url":"https://your.domain.com/your-job-update-webhooks-endpoint","description":"<p>Job update webhook schema. Please use the <code>clientReference</code> to track your deliveries</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-job-update-webhooks-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[{"id":"27e73294-c8de-4954-a5f0-7f32d17f72c5","name":"Status picking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689133,\n        \"status\": \"in_progress\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T16:32:12.000+01:00\",\n        \"endedAt\": null,\n        \"transportType\": {\n            \"code\": \"trailerbike\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838071,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838071/ed7ccae0cc063144e9e23adcebce47eb\",\n            \"clientReference\": \"123456789\",\n            \"driver\": {\n                \"status\": \"busy\",\n                \"latitude\": 48.88597187,\n                \"longitude\": 2.32292979,\n                \"name\": \"Malvina Collins\",\n                \"firstname\": \"Malvina\",\n                \"lastname\": \"Collins\",\n                \"phone\": \"+33179003996\",\n                \"picture_path_imgix\": null,\n                \"transportType\": {\n                    \"code\": \"trailerbike\"\n                }\n            },\n            \"status\": \"picking\",\n            \"transportType\": {\n                \"code\": \"trailerbike\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": \"2024-12-20T16:34:56.000+01:00\",\n            \"etaToOrigin\": \"2024-12-20T16:34:40.000+01:00\",\n            \"cancellation\": {\n                \"canceledBy\": null,\n                \"reasonKey\": null,\n                \"comment\": null\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838071,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"06088018-4283-400b-93ac-0f4d7a26948a","name":"Status almost picking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689133,\n        \"status\": \"in_progress\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T16:32:12.000+01:00\",\n        \"endedAt\": null,\n        \"transportType\": {\n            \"code\": \"trailerbike\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838071,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838071/ed7ccae0cc063144e9e23adcebce47eb\",\n            \"clientReference\": \"123456789\",\n            \"driver\": {\n                \"status\": \"busy\",\n                \"latitude\": 48.88653965,\n                \"longitude\": 2.32538133,\n                \"name\": \"Malvina Collins\",\n                \"firstname\": \"Malvina\",\n                \"lastname\": \"Collins\",\n                \"phone\": \"+33179003996\",\n                \"picture_path_imgix\": null,\n                \"transportType\": {\n                    \"code\": \"trailerbike\"\n                }\n            },\n            \"status\": \"almost_picking\",\n            \"transportType\": {\n                \"code\": \"trailerbike\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": \"2024-12-20T16:36:17.000+01:00\",\n            \"etaToOrigin\": \"2024-12-20T16:36:01.000+01:00\",\n            \"cancellation\": {\n                \"canceledBy\": null,\n                \"reasonKey\": null,\n                \"comment\": null\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838071,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"6d9a034e-4c3d-4606-b53a-f79b80421ccc","name":"Status waiting at PU","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689133,\n        \"status\": \"in_progress\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T16:32:12.000+01:00\",\n        \"endedAt\": null,\n        \"transportType\": {\n            \"code\": \"trailerbike\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838071,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838071/ed7ccae0cc063144e9e23adcebce47eb\",\n            \"clientReference\": \"123456789\",\n            \"driver\": {\n                \"status\": \"busy\",\n                \"latitude\": 48.88660809,\n                \"longitude\": 2.32555836,\n                \"name\": \"Malvina Collins\",\n                \"firstname\": \"Malvina\",\n                \"lastname\": \"Collins\",\n                \"phone\": \"+33179003996\",\n                \"picture_path_imgix\": null,\n                \"transportType\": {\n                    \"code\": \"trailerbike\"\n                }\n            },\n            \"status\": \"waiting_at_pickup\",\n            \"transportType\": {\n                \"code\": \"trailerbike\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": \"2024-12-20T16:36:50.000+01:00\",\n            \"etaToOrigin\": \"2024-12-20T16:36:34.000+01:00\",\n            \"cancellation\": {\n                \"canceledBy\": null,\n                \"reasonKey\": null,\n                \"comment\": null\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838071,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"5722d06b-a06f-4d79-b957-643ed9118be3","name":"Status delivering","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689133,\n        \"status\": \"in_progress\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T16:32:12.000+01:00\",\n        \"endedAt\": null,\n        \"transportType\": {\n            \"code\": \"trailerbike\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838071,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838071/ed7ccae0cc063144e9e23adcebce47eb\",\n            \"clientReference\": \"123456789\",\n            \"driver\": {\n                \"status\": \"busy\",\n                \"latitude\": 48.88684128,\n                \"longitude\": 2.32574075,\n                \"name\": \"Malvina Collins\",\n                \"firstname\": \"Malvina\",\n                \"lastname\": \"Collins\",\n                \"phone\": \"+33179003996\",\n                \"picture_path_imgix\": null,\n                \"transportType\": {\n                    \"code\": \"trailerbike\"\n                }\n            },\n            \"status\": \"delivering\",\n            \"transportType\": {\n                \"code\": \"trailerbike\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": \"2024-12-20T16:36:50.000+01:00\",\n            \"etaToOrigin\": \"2024-12-20T16:36:34.000+01:00\",\n            \"cancellation\": {\n                \"canceledBy\": null,\n                \"reasonKey\": null,\n                \"comment\": null\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838071,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"1065e4b6-5a36-413f-b1a6-5914ed2f0b8d","name":"Status almost delivering","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689133,\n        \"status\": \"in_progress\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T16:32:12.000+01:00\",\n        \"endedAt\": null,\n        \"transportType\": {\n            \"code\": \"trailerbike\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838071,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838071/ed7ccae0cc063144e9e23adcebce47eb\",\n            \"clientReference\": \"123456789\",\n            \"driver\": {\n                \"status\": \"busy\",\n                \"latitude\": 48.88684128,\n                \"longitude\": 2.32574075,\n                \"name\": \"Malvina Collins\",\n                \"firstname\": \"Malvina\",\n                \"lastname\": \"Collins\",\n                \"phone\": \"+33179003996\",\n                \"picture_path_imgix\": null,\n                \"transportType\": {\n                    \"code\": \"trailerbike\"\n                }\n            },\n            \"status\": \"almost_delivering\",\n            \"transportType\": {\n                \"code\": \"trailerbike\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": \"2024-12-20T16:36:50.000+01:00\",\n            \"etaToOrigin\": \"2024-12-20T16:36:34.000+01:00\",\n            \"cancellation\": {\n                \"canceledBy\": null,\n                \"reasonKey\": null,\n                \"comment\": null\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838071,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"d5137dac-20ff-4dd5-8182-a2b5e1aa5e0e","name":"Status waiting at DO","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689133,\n        \"status\": \"in_progress\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T16:32:12.000+01:00\",\n        \"endedAt\": null,\n        \"transportType\": {\n            \"code\": \"trailerbike\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838071,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838071/ed7ccae0cc063144e9e23adcebce47eb\",\n            \"clientReference\": \"123456789\",\n            \"driver\": {\n                \"status\": \"busy\",\n                \"latitude\": 48.88697055,\n                \"longitude\": 2.32568174,\n                \"name\": \"Malvina Collins\",\n                \"firstname\": \"Malvina\",\n                \"lastname\": \"Collins\",\n                \"phone\": \"+33179003996\",\n                \"picture_path_imgix\": null,\n                \"transportType\": {\n                    \"code\": \"trailerbike\"\n                }\n            },\n            \"status\": \"waiting_at_dropoff\",\n            \"transportType\": {\n                \"code\": \"trailerbike\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": \"2024-12-20T16:36:50.000+01:00\",\n            \"etaToOrigin\": \"2024-12-20T16:36:34.000+01:00\",\n            \"cancellation\": {\n                \"canceledBy\": null,\n                \"reasonKey\": null,\n                \"comment\": null\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838071,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"f920066a-902e-46be-a5fa-188e3cc7d195","name":"Status delivered","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689133,\n        \"status\": \"finished\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T16:32:12.000+01:00\",\n        \"endedAt\": \"2024-12-20T16:37:12.000+01:00\",\n        \"transportType\": {\n            \"code\": \"trailerbike\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838071,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838071/ed7ccae0cc063144e9e23adcebce47eb\",\n            \"clientReference\": \"123456789\",\n            \"driver\": {\n                \"status\": \"on_duty\",\n                \"latitude\": 48.88699083,\n                \"longitude\": 2.32567101,\n                \"name\": \"Malvina Collins\",\n                \"firstname\": \"Malvina\",\n                \"lastname\": \"Collins\",\n                \"phone\": \"+33179003996\",\n                \"picture_path_imgix\": null,\n                \"transportType\": {\n                    \"code\": \"trailerbike\"\n                }\n            },\n            \"status\": \"delivered\",\n            \"transportType\": {\n                \"code\": \"trailerbike\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": \"2024-12-20T16:36:50.000+01:00\",\n            \"etaToOrigin\": \"2024-12-20T16:36:34.000+01:00\",\n            \"cancellation\": {\n                \"canceledBy\": null,\n                \"reasonKey\": null,\n                \"comment\": null\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838071,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"67cc7235-79d0-4041-8dc0-4956aba884de","name":"Status canceled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"job\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100689145,\n        \"status\": \"canceled\",\n        \"comment\": null,\n        \"pickupAt\": null,\n        \"dropoffAt\": null,\n        \"createdAt\": \"2024-12-20T17:08:10.000+01:00\",\n        \"endedAt\": \"2024-12-20T17:08:16.000+01:00\",\n        \"transportType\": null,\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"originComment\": null,\n        \"destinationComment\": null,\n        \"jobReference\": \"123456789\",\n        \"currentDelivery\": {\n            \"id\": 100838083,\n            \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838083/c0f94caca6adda952badab022d0567a3\",\n            \"clientReference\": \"123456789\",\n            \"driver\": null,\n            \"status\": \"cancelled\",\n            \"transportType\": {\n                \"code\": \"walk\"\n            },\n            \"packageType\": {\n                \"code\": \"small\"\n            },\n            \"etaToDestination\": null,\n            \"etaToOrigin\": null,\n            \"cancellation\": {\n                \"canceledBy\": \"client\",\n                \"reasonKey\": \"customer_cancellation_requested\",\n                \"comment\": \"The customer doesn't want the package anymore\"\n            }\n        },\n        \"deliveries\": [\n            {\n                \"id\": 100838083,\n                \"clientReference\": \"123456789\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-job-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3c0e85c1-cefe-42f6-93c3-e3ea349def8f"},{"name":"Delivery create webhook event","id":"90b73db3-ac08-4583-b66b-fe06cf286ca9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"delivery\",\n  \"type\": \"create\",\n  \"data\": {\n    \"id\": 100259470,\n    \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100259470/8ff0ecfc54c9b55f66f4fa1223e3fffd\",\n    \"clientReference\": \"12345\",\n    \"driver\": null,\n    \"status\": \"pending\",\n    \"transportType\": {\n      \"code\": \"bike\"\n    },\n    \"packageType\": null,\n    \"etaToDestination\": null,\n    \"etaToOrigin\": null,\n    \"cancellation\": {\n      \"canceledBy\": null,\n      \"reasonKey\": null,\n      \"comment\": null\n    }\n  }\n}"},"url":"https://your.domain.com/your-delivery-create-webhooks-endpoint","description":"<p>Delivery creation webhook schema. Please use the <code>clientReference</code> to track your deliveries</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-delivery-create-webhooks-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"90b73db3-ac08-4583-b66b-fe06cf286ca9"},{"name":"Delivery update webhook event","id":"5503b4f9-c4ac-4190-b953-827a721b7798","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"delivery\",\n  \"type\": \"update\",\n  \"data\": {\n    \"id\": 100259471,\n    \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100259471/a0f6ec2a332eae5e882f5c14619bfbb5\",\n    \"clientReference\": \"465768798\",\n    \"driver\": {\n      \"status\": \"busy\",\n      \"latitude\": 48.8781395,\n      \"longitude\": 2.29643011,\n      \"name\": \"Eveline Green\",\n      \"firstname\": \"Eveline\",\n      \"lastname\": \"Green\",\n      \"phone\": \"+33610101010\",\n      \"picture_path_imgix\": null,\n      \"transportType\": {\n        \"code\": \"bike\"\n      }\n    },\n    \"status\": \"almost_picking\",\n    \"transportType\": {\n      \"code\": \"bike\"\n    },\n    \"packageType\": null,\n    \"etaToDestination\": \"2022-01-19T14:25:59.000+01:00\",\n    \"etaToOrigin\": \"2022-01-19T14:23:14.000+01:00\",\n    \"cancellation\": {\n      \"canceledBy\": null,\n      \"reasonKey\": null,\n      \"comment\": null\n    }\n  }\n}"},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint","description":"<p>Delivery update webhook schema. Please use the <code>clientReference</code> to track your deliveries</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}},"urlObject":{"protocol":"https","path":["your-delivery-update-webhooks-endpoint"],"host":["your","domain","com"],"query":[],"variable":[]}},"response":[{"id":"4641a624-ca0b-4210-a61f-78c885b22cf2","name":"Status picking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838037,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838037/bbcf8a0f8522faca3cfe61f86478c02b\",\n        \"clientReference\": \"123456789\",\n        \"driver\": {\n            \"status\": \"busy\",\n            \"latitude\": 48.88591864,\n            \"longitude\": 2.32735008,\n            \"name\": \"Katlyn Koepp\",\n            \"firstname\": \"Katlyn\",\n            \"lastname\": \"Koepp\",\n            \"phone\": \"+33632262599\",\n            \"picture_path_imgix\": null,\n            \"transportType\": {\n                \"code\": \"van\"\n            }\n        },\n        \"status\": \"picking\",\n        \"transportType\": {\n            \"code\": \"van\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": \"2024-12-20T15:03:51.000+01:00\",\n        \"etaToOrigin\": \"2024-12-20T15:01:47.000+01:00\",\n        \"cancellation\": {\n            \"canceledBy\": null,\n            \"reasonKey\": null,\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"144235f6-2ba5-4134-8499-14f42642f478","name":"Status almost picking","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838037,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838037/bbcf8a0f8522faca3cfe61f86478c02b\",\n        \"clientReference\": \"123456789\",\n        \"driver\": {\n            \"status\": \"busy\",\n            \"latitude\": 48.8866309,\n            \"longitude\": 2.32594996,\n            \"name\": \"Katlyn Koepp\",\n            \"firstname\": \"Katlyn\",\n            \"lastname\": \"Koepp\",\n            \"phone\": \"+33632262599\",\n            \"picture_path_imgix\": null,\n            \"transportType\": {\n                \"code\": \"van\"\n            }\n        },\n        \"status\": \"almost_picking\",\n        \"transportType\": {\n            \"code\": \"van\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": \"2024-12-20T15:04:14.000+01:00\",\n        \"etaToOrigin\": \"2024-12-20T15:02:10.000+01:00\",\n        \"cancellation\": {\n            \"canceledBy\": null,\n            \"reasonKey\": null,\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"e458b33a-a474-48cd-b34f-842b8e4890a8","name":"Status waiting at PU","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838037,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838037/bbcf8a0f8522faca3cfe61f86478c02b\",\n        \"clientReference\": \"123456789\",\n        \"driver\": {\n            \"status\": \"busy\",\n            \"latitude\": 48.8866309,\n            \"longitude\": 2.32594996,\n            \"name\": \"Katlyn Koepp\",\n            \"firstname\": \"Katlyn\",\n            \"lastname\": \"Koepp\",\n            \"phone\": \"+33632262599\",\n            \"picture_path_imgix\": null,\n            \"transportType\": {\n                \"code\": \"van\"\n            }\n        },\n        \"status\": \"waiting_at_pickup\",\n        \"transportType\": {\n            \"code\": \"van\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": \"2024-12-20T15:04:14.000+01:00\",\n        \"etaToOrigin\": \"2024-12-20T15:02:10.000+01:00\",\n        \"cancellation\": {\n            \"canceledBy\": null,\n            \"reasonKey\": null,\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"c8dfda60-a6ef-43bf-9196-d722585bb215","name":"Status delivering","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838037,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838037/bbcf8a0f8522faca3cfe61f86478c02b\",\n        \"clientReference\": \"123456789\",\n        \"driver\": {\n            \"status\": \"busy\",\n            \"latitude\": 48.8866816,\n            \"longitude\": 2.32571929,\n            \"name\": \"Katlyn Koepp\",\n            \"firstname\": \"Katlyn\",\n            \"lastname\": \"Koepp\",\n            \"phone\": \"+33632262599\",\n            \"picture_path_imgix\": null,\n            \"transportType\": {\n                \"code\": \"van\"\n            }\n        },\n        \"status\": \"delivering\",\n        \"transportType\": {\n            \"code\": \"van\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": \"2024-12-20T15:04:14.000+01:00\",\n        \"etaToOrigin\": \"2024-12-20T15:02:10.000+01:00\",\n        \"cancellation\": {\n            \"canceledBy\": null,\n            \"reasonKey\": null,\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"1eb26acd-f0e6-4467-9e87-c908f130069f","name":"Status almost delivering","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838037,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838037/bbcf8a0f8522faca3cfe61f86478c02b\",\n        \"clientReference\": \"123456789\",\n        \"driver\": {\n            \"status\": \"busy\",\n            \"latitude\": 48.88679059,\n            \"longitude\": 2.32588022,\n            \"name\": \"Katlyn Koepp\",\n            \"firstname\": \"Katlyn\",\n            \"lastname\": \"Koepp\",\n            \"phone\": \"+33632262599\",\n            \"picture_path_imgix\": null,\n            \"transportType\": {\n                \"code\": \"van\"\n            }\n        },\n        \"status\": \"almost_delivering\",\n        \"transportType\": {\n            \"code\": \"van\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": \"2024-12-20T15:04:22.000+01:00\",\n        \"etaToOrigin\": \"2024-12-20T15:02:10.000+01:00\",\n        \"cancellation\": {\n            \"canceledBy\": null,\n            \"reasonKey\": null,\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"9d4968c3-3a29-4442-aa4d-2bc870448f76","name":"Status waiting at DO","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838037,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838037/bbcf8a0f8522faca3cfe61f86478c02b\",\n        \"clientReference\": \"123456789\",\n        \"driver\": {\n            \"status\": \"busy\",\n            \"latitude\": 48.88695028,\n            \"longitude\": 2.32581049,\n            \"name\": \"Katlyn Koepp\",\n            \"firstname\": \"Katlyn\",\n            \"lastname\": \"Koepp\",\n            \"phone\": \"+33632262599\",\n            \"picture_path_imgix\": null,\n            \"transportType\": {\n                \"code\": \"van\"\n            }\n        },\n        \"status\": \"waiting_at_dropoff\",\n        \"transportType\": {\n            \"code\": \"van\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": \"2024-12-20T15:04:22.000+01:00\",\n        \"etaToOrigin\": \"2024-12-20T15:02:10.000+01:00\",\n        \"cancellation\": {\n            \"canceledBy\": null,\n            \"reasonKey\": null,\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"70519c66-d466-4fe2-9b1f-342efd22f067","name":"Status delivered","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838037,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838037/bbcf8a0f8522faca3cfe61f86478c02b\",\n        \"clientReference\": \"123456789\",\n        \"driver\": {\n            \"status\": \"on_duty\",\n            \"latitude\": 48.88700858,\n            \"longitude\": 2.3257783,\n            \"name\": \"Katlyn Koepp\",\n            \"firstname\": \"Katlyn\",\n            \"lastname\": \"Koepp\",\n            \"phone\": \"+33632262599\",\n            \"picture_path_imgix\": null,\n            \"transportType\": {\n                \"code\": \"van\"\n            }\n        },\n        \"status\": \"delivered\",\n        \"transportType\": {\n            \"code\": \"van\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": \"2024-12-20T15:04:22.000+01:00\",\n        \"etaToOrigin\": \"2024-12-20T15:02:10.000+01:00\",\n        \"cancellation\": {\n            \"canceledBy\": null,\n            \"reasonKey\": null,\n            \"comment\": null\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"80424729-470f-4437-a2d9-b62503879e37","name":"Status canceled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"delivery\",\n    \"type\": \"update\",\n    \"data\": {\n        \"id\": 100838068,\n        \"trackingUrl\": \"https://stuart.sandbox.followmy.delivery/100838068/df675e3feb776ffb1951ba2820558652\",\n        \"clientReference\": \"123456789\",\n        \"driver\": null,\n        \"status\": \"cancelled\",\n        \"transportType\": {\n            \"code\": \"walk\"\n        },\n        \"packageType\": {\n            \"code\": \"small\"\n        },\n        \"etaToDestination\": null,\n        \"etaToOrigin\": null,\n        \"cancellation\": {\n            \"canceledBy\": \"client\",\n            \"reasonKey\": \"customer_cancellation_requested\",\n            \"comment\": \"The customer doesn't want the package anymore\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your.domain.com/your-delivery-update-webhooks-endpoint"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5503b4f9-c4ac-4190-b953-827a721b7798"},{"name":"Courier update event","id":"1a4d1c31-e3e3-4755-8054-245d02196ab8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"event\": \"driver\",\n    \"type\": \"update\",\n    \"data\": {\n        \"status\": \"busy\",\n        \"latitude\": 48.85559,\n        \"longitude\": 2.36014,\n        \"name\": \"Maverick Lang\",\n        \"firstname\": \"Brannon\",\n        \"lastname\": \"Marks\",\n        \"phone\": \"+33957261331\",\n        \"picture_path_imgix\": null,\n        \"transportType\": {\n            \"code\": \"car\"\n        },\n        \"job\": {\n            \"id\": 104018,\n            \"currentDelivery\": {\n                \"id\": 103875,\n                \"driver\": {\n                    \"status\": \"busy\",\n                    \"latitude\": 48.85559,\n                    \"longitude\": 2.36014,\n                    \"name\": \"Maverick Lang\",\n                    \"firstname\": \"Brannon\",\n                    \"lastname\": \"Marks\",\n                    \"phone\": \"+33957261331\",\n                    \"picture_path_imgix\": null,\n                    \"transportType\": {\n                        \"code\": \"car\"\n                    }\n                },\n                \"transportType\": {\n                    \"code\": \"car\"\n                },\n                \"packageType\": {\n                    \"code\": \"small\"\n                },\n                \"etaToDestination\": \"2018-07-24T16:55:12.000+02:00\",\n                \"trackingUrl\": \"https://stuart.followmy.delivery/{DeliveryId}/{Hash}\",\n                \"etaToOrigin\": \"2022-07-24T16:43:56.000+02:00\",\n                \"status\": \"delivering\",\n                \"clientReference\": \"Order_ID_1234_1\"\n            },\n            \"transportType\": {\n                \"code\": \"car\"\n            },\n            \"packageType\": {\n                \"code\": \"xlarge\"\n            },\n            \"status\": \"in_progress\",\n            \"comment\": null,\n            \"pickupAt\": null,\n            \"dropoffAt\": null,\n            \"createdAt\": \"2022-07-24T16:43:44.000+02:00\",\n            \"endedAt\": null,\n            \"originComment\": null,\n            \"destinationComment\": null,\n            \"jobReference\": \"Order_ID_1234_1\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"/your-endpoint-url","description":"<p>Receive courier update events including lat/long location position updates.</p>\n<p>As part of this webhook event, the list of deliveries is also included.</p>\n<p>This webhook is sent every 1 to 10 seconds and it is triggered every time the courier mobile application sends us a valid location. Its frequency depends on several factors such as:</p>\n<ul>\n<li>the stage of the delivery  </li>\n<li>the speed of the courier  </li>\n<li>the distance covered since the last update</li>\n</ul>\n<h2 id=\"required-fields\">Required fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>event</td>\n<td>string</td>\n<td>Allowed Values: driver</td>\n<td>required</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Allowed Values: update,online,offline</td>\n<td>required</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>latitude</td>\n<td>number</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>longitude</td>\n<td>number</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>firstname</td>\n<td>string</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>string</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>transportType</td>\n<td>object</td>\n<td>code allowed values:  <br />bike, cargobike, cargobikexl, motorbike, motorbikexl, car, van</td>\n<td>required</td>\n</tr>\n<tr>\n<td>job</td>\n<td>object</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>fleets</td>\n<td>array[object]</td>\n<td>The fleets that the given courier belongs to.</td>\n<td>required</td>\n</tr>\n<tr>\n<td>id</td>\n<td>integer</td>\n<td></td>\n<td>required</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>The name of the fleet.</td>\n<td>required</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["your-endpoint-url"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a4d1c31-e3e3-4755-8054-245d02196ab8"}],"id":"57ed5e16-3b21-48ee-a015-3e5af7d83040","description":"<p>The following events can each be subscribed to in order to receive real-time updates.</p>\n<p>To understand the flow of events you can expect to receive for various scenarios, please see <a href=\"https://stuart-1.postman.co/workspace/CSE~57774ce5-22a9-42fe-8a98-d1ac9b589d36/folder/34841543-54eda82e-62eb-48c8-88e5-c845f0f8db17?action=share&amp;source=copy-link&amp;creator=34841543&amp;ctx=documentation\">event flows</a> documentation.</p>\n","_postman_id":"57ed5e16-3b21-48ee-a015-3e5af7d83040","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}}],"id":"7ed0989c-a5c2-4653-8c3a-499d062418a3","description":"<p><strong>[Deprecated]</strong> This section details our previous webhook offering, which is now deprecated, meaning it is no longer supported or maintained. Please transition to our version 3 to harness our latest technology, and be sure to subscribe to <a href=\"https://community.stuart.engineering/t/how-to-receive-announcement-notifications/1137\">our forum for future announcements</a> regarding the discontinuation date.</p>\n<p><strong>Note:</strong> In case of an unsuccessful webhook event reception, our system can attempt to retry sending the same webhook event up to 5 times.</p>\n","_postman_id":"7ed0989c-a5c2-4653-8c3a-499d062418a3","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571","id":"072e0459-ad87-4938-82cc-0d5a3b609571","name":"Webhooks","type":"folder"}}}],"id":"072e0459-ad87-4938-82cc-0d5a3b609571","description":"<p>Webhooks allow you to receive real-time events regarding the delivery of your packages.</p>\n<p>It's critical to use webhooks as opposed to polling the API for continuous updates in order to avoid exceeding our rate limits.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>Webhook validation headers can be used to validate that the webhooks we send actually come from us. To set this up simply add the 'Webhook authentication header' starting with \"X-\" along with the 'Webhook authentication key' in the Stuart admin page(Sandbox, Production), or when using our webhook management endpoints.</p>\n<p>Each time we send a webhook we will then include this key-value pair which can be used to validate where the webhooks come from.</p>\n<h2 id=\"public-ips\">Public IPs</h2>\n<p>Please note that we recommend you to rely on DNS resolution rather than IP whitelisting to successfully receive webhooks events.</p>\n<p>For security purposes here is the list of public IPs from which you can receive webhooks events from us:</p>\n<p><strong>Sandbox</strong></p>\n<ul>\n<li>34.254.62.41</li>\n<li>54.194.139.211</li>\n<li>54.195.221.43</li>\n</ul>\n<p><strong>Production</strong></p>\n<ul>\n<li>108.128.110.19</li>\n<li>54.171.243.90</li>\n<li>52.51.60.65</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"_postman_id":"072e0459-ad87-4938-82cc-0d5a3b609571"},{"name":"Webhook management","item":[{"name":"Webhook creation","event":[{"listen":"test","script":{"id":"50156d37-a2f0-4798-96e6-5680ed5fab8d","exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.unset(\"webhook_id\");","pm.collectionVariables.set(\"webhook_id\", jsonData.id);","","tests[\"Response HTTP status should be 201\"] = responseCode.code === 201;"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"36b2ce6e-65d5-4afc-86e9-e77edefd0bdf","exec":[""],"type":"text/javascript"}}],"id":"a24c6b46-8d75-4799-b790-cc3b611f2a94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhook.site/89a9b726-7fd1-4cf9-a9af-08d904a01255\",\n    \"version\": \"v3\",\n    \"topics\": [\n        \"package_created\",\n        \"courier_waiting\",\n        \"package_delivered\",\n        \"package_canceled\"\n    ],\n    \"enabled\": true,\n    \"authentication_header\": \"your_webhook_authentication_header\",\n    \"authentication_key\": \"your_webhook_authentication_key\"\n}"},"url":"{{api_url}}/v2/webhooks","description":"<p>Create a webhook through the Stuart API.</p>\n<p>Here is the full list of events you can subscribe to:</p>\n<ul>\n<li><code>package_created</code></li>\n<li><code>courier_assigned</code></li>\n<li><code>courier_arriving</code></li>\n<li><code>courier_waiting</code></li>\n<li><code>package_delivering</code></li>\n<li><code>package_delivered</code></li>\n<li><code>package_canceled</code></li>\n<li><code>package_returning</code></li>\n<li><code>package_returned</code></li>\n<li><code>courier_reassigning</code></li>\n</ul>\n<p>Note: In the payload, you must specify the webhook version that you want to use. The possible values for the version field are <code>v1</code> and <code>v3</code>.</p>\n<p>[Deprecated]</p>\n<p>Below are the webhook topics from our previous version:</p>\n<ul>\n<li>job/create</li>\n<li>job/update</li>\n<li>delivery/create</li>\n<li>delivery/update</li>\n<li>driver/update</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","webhooks"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e9890aed-1d98-41d4-b246-34d36bfacefd","name":"201 - Created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhoook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede597\",\n    \"version\": \"v3\",\n    \"topics\": [\n        \"package_created\",\n        \"courier_waiting\",\n        \"package_delivered\",\n        \"package_canceled\"\n    ],\n    \"enabled\": true,\n    \"authentication_header\": \"your_webhook_authentication_header\",\n    \"authentication_key\": \"your_webhook_authentication_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/webhooks"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1521,\n    \"created_at\": \"2021-12-22T16:33:40.000+01:00\",\n    \"updated_at\": \"2021-12-22T16:33:40.000+01:00\",\n    \"url\": \"https://webhoook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede597\",\n    \"enabled\": true,\n    \"authentication_header\": \"your_webhook_authentication_header\",\n    \"authentication_key\": \"your_webhook_authentication_key\",\n    \"topics\": [\n        {\n            \"name\": \"package_created\"\n        },\n        {\n            \"name\": \"courier_waiting\"\n        },\n        {\n            \"name\": \"package_delivered\"\n        },\n        {\n            \"name\": \"package_canceled\"\n        }\n    ]\n}"},{"id":"a020cd4b-0183-4507-a734-5c54930fb17e","name":"422 - Invalid topic","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhoook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede597\",\n    \"enabled\": true,\n    \"authentication_header\": \"your_webhook_authentication_header\",\n    \"authentication_key\": \"your_webhook_authentication_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/webhooks"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"RECORD_INVALID\",\n    \"message\": \"Unable to save record\",\n    \"data\": {\n        \"topics\": [\n            \"can't be blank\"\n        ]\n    }\n}"},{"id":"01bddb99-dbf7-46eb-8af9-4e6620b05bd1","name":"422 - Wrong URL formar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"//webhook.site/89a9b726-7fd1-4cf9-a9af-08d904a01255\",\n    \"version\": \"v3\",\n    \"topics\": [\n        \"package_created\",\n        \"courier_assigned\",\n        \"courier_arriving\",\n        \"courier_waiting\",\n        \"package_delivered\"\n    ],\n    \"enabled\": true,\n    \"authentication_header\": \"your_webhook_authentication_header\",\n    \"authentication_key\": \"your_webhook_authentication_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/webhooks"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"RECORD_INVALID\",\n    \"message\": \"Unable to save record\",\n    \"data\": {\n        \"url\": [\n            \"wrong format, it should start with http:// or https://\"\n        ]\n    }\n}"},{"id":"094daae8-a520-4ec9-901e-c18fa47192a7","name":"422 - Version mismatch","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhook.site/89a9b726-7fd1-4cf9-a9af-08d904a01255\",\n    \"version\": \"v3\",\n    \"topics\": [\n        \"job/create\",\n        \"job/update\"\n    ],\n    \"enabled\": true,\n    \"authentication_header\": \"your_webhook_authentication_header\",\n    \"authentication_key\": \"your_webhook_authentication_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/webhooks"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"RECORD_INVALID\",\n    \"message\": \"Unable to save record\",\n    \"data\": {\n        \"topics\": [\n            \"are not matching webhook version\"\n        ]\n    }\n}"}],"_postman_id":"a24c6b46-8d75-4799-b790-cc3b611f2a94"},{"name":"Get a webhook","id":"d942b272-36cf-4a18-997c-26229a13edd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{api_url}}/v2/webhooks/[your_webhook_id]","description":"<p>This endpoint allows you to get information on a specific webhook that you have created.</p>\n<p>[your_webhook_id] in the path refers to the webhook id generated when creating your webhook.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","webhooks","[your_webhook_id]"],"host":["{{api_url}}"],"query":[],"variable":[{"id":"bbbd02cd-1c4e-4d8a-8be1-7231c5fa3fa6","type":"any","value":"-47838619","key":"webhookId"}]}},"response":[{"id":"623da942-72c9-472b-93fd-628a1262d772","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{api_url}}/v2/webhooks/1521"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1521,\n    \"created_at\": \"2023-03-02T16:21:42.000+01:00\",\n    \"updated_at\": \"2023-03-10T17:56:33.000+01:00\",\n    \"url\": \"https://webhoook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede597\",\n    \"enabled\": true,\n    \"authentication_header\": \"your_webhook_authentication_header\",\n    \"authentication_key\": \"your_webhook_authentication_key\",\n    \"topics\": [\n        {\n            \"name\": \"package_created\"\n        },\n        {\n            \"name\": \"courier_waiting\"\n        },\n        {\n            \"name\": \"package_delivered\"\n        },\n        {\n            \"name\": \"package_canceled\"\n        }\n    ]\n}"},{"id":"63644f03-c8a0-4b0b-b7e4-c7ab7a889fb4","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{api_url}}/v2/webhooks/12345678"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"The webhook doesn't exists\"\n}"}],"variable":[{"id":"bbbd02cd-1c4e-4d8a-8be1-7231c5fa3fa6","key":"webhookId","value":"-47838619"}],"_postman_id":"d942b272-36cf-4a18-997c-26229a13edd4"},{"name":"Get all webhooks","id":"5bb45f40-3a43-4242-80e1-818b5ec61a3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{api_url}}/v2/webhooks/","description":"<p>This endpoint returns a list of your current webhooks. Currently, you are able to have a maximum of <strong>6</strong> webhooks.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","webhooks",""],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"e83f785a-feca-4391-a895-4fee4cf48a41","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{api_url}}/v2/webhooks/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1036,\n        \"created_at\": \"2021-11-09T16:21:42.000+01:00\",\n        \"updated_at\": \"2021-12-13T11:54:38.000+01:00\",\n        \"url\": \"https://webhook.site/9540bc25-bbd5-4131-9b6e-7cc5a3a89631\",\n        \"enabled\": true,\n        \"authentication_header\": \"your_webhook_authentication_header\",\n        \"authentication_key\": \"your_webhook_authentication_key\",\n        \"topics\": [\n            {\n                \"name\": \"delivery/create\"\n            },\n            {\n                \"name\": \"delivery/update\"\n            }\n        ]\n    },\n    {\n        \"id\": 1521,\n        \"created_at\": \"2023-03-02T16:21:42.000+01:00\",\n        \"updated_at\": \"2023-03-10T17:56:33.000+01:00\",\n        \"url\": \"https://webhoook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede597\",\n        \"enabled\": true,\n        \"authentication_header\": \"your_webhook_authentication_header\",\n        \"authentication_key\": \"your_webhook_authentication_key\",\n        \"topics\": [\n            {\n                \"name\": \"package_created\"\n            },\n            {\n                \"name\": \"courier_waiting\"\n            },\n            {\n                \"name\": \"package_delivered\"\n            },\n            {\n                \"name\": \"package_canceled\"\n            }\n        ]\n    }\n]"}],"_postman_id":"5bb45f40-3a43-4242-80e1-818b5ec61a3a"},{"name":"Webhook update","id":"625cfe64-880f-47d5-9d00-02f28b840516","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede592\",\n    \"version\": \"v3\",\n    \"topics\": [\n        \"package_created\",\n        \"courier_assigned\",\n        \"courier_arriving\",\n        \"courier_waiting\",\n        \"package_delivered\",\n        \"package_canceled\",\n        \"package_returning\",\n        \"package_returned\",\n        \"courier_reassigning\"\n    ],\n    \"enabled\": false,\n    \"authentication_header\": \"your_new_wehbook_authentication_header\",\n    \"authentication_key\": \"your_new_authentication_key\"\n}"},"url":"{{api_url}}/v2/webhooks/[your_webhook_id]","description":"<p>This endpoint allows you to update any webhooks you have created.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","webhooks","[your_webhook_id]"],"host":["{{api_url}}"],"query":[],"variable":[{"id":"22f9ed67-effa-42af-a32a-ff3875660393","type":"any","value":"15744962","key":"webhookId"}]}},"response":[{"id":"e8c9aaae-c197-4574-b034-d29b06023a81","name":"200 - OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede592\",\n    \"version\": \"v3\",\n    \"topics\": [\n        \"package_created\",\n        \"courier_assigned\",\n        \"courier_arriving\",\n        \"courier_waiting\",\n        \"package_delivered\",\n        \"package_canceled\",\n        \"package_returning\",\n        \"package_returned\",\n        \"courier_reassigning\"\n    ],\n    \"enabled\": false,\n    \"authentication_header\": \"your_new_wehbook_authentication_header\",\n    \"authentication_key\": \"your_new_authentication_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/webhooks/1521"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Dec 2021 15:43:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Accept-Encoding, Origin"},{"key":"X-DailyRateLimit-Limit","value":"500000"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Stuart-Stack","value":"V3"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-MinuteRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22-16-43"},{"key":"X-DailyRateLimit-Remaining","value":"499846"},{"key":"X-Request-Id","value":"0d9a50b4-d23b-4d27-9f7e-e24e8018f298"},{"key":"X-MinuteRateLimit-Limit","value":"1000"},{"key":"X-MinuteRateLimit-Remaining","value":"999"},{"key":"X-DailyRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22"},{"key":"X-Download-Options","value":"noopen"},{"key":"ETag","value":"W/\"4efee39dd95fc7c568421de3a376402d\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.057666"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Powered-By","value":"Phusion Passenger Enterprise 5.2.3"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1521,\n    \"created_at\": \"2023-03-02T16:21:42.000+01:00\",\n    \"updated_at\": \"2023-03-10T17:56:33.000+01:00\",\n    \"url\": \"https://webhook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede592\",\n    \"enabled\": false,\n    \"authentication_header\": \"your_new_wehbook_authentication_header\",\n    \"authentication_key\": \"your_new_webhooke_authentication_key\",\n    \"topics\": [\n        {\n            \"name\": \"package_created\"\n        },\n        {\n            \"name\": \"courier_assigned\"\n        },\n        {\n            \"name\": \"courier_arriving\"\n        },\n        {\n            \"name\": \"courier_waiting\"\n        },\n        {\n            \"name\": \"package_delivered\"\n        },\n        {\n            \"name\": \"package_canceled\"\n        },\n        {\n            \"name\": \"package_returning\"\n        },\n        {\n            \"name\": \"package_returned\"\n        },\n        {\n            \"name\": \"courier_reassigning\"\n        }\n    ]\n}"},{"id":"13b78d91-e205-4944-9f95-cf9190ef9b24","name":"422 - Invalid topic","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede592\",\n    \"version\": \"v3\",\n    \"topics\": [\n    ],\n    \"enabled\": false,\n    \"authentication_header\": \"your_new_wehbook_authentication_header\",\n    \"authentication_key\": \"your_new_webhooke_authentication_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/webhooks/1521"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"RECORD_INVALID\",\n    \"message\": \"Unable to save record\",\n    \"data\": {\n        \"topics\": [\n            \"can't be blank\"\n        ]\n    }\n}"},{"id":"649cafc7-0ade-47d1-b6d2-b6f12213fd48","name":"404 - Not found","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede592\",\n    \"version\": \"v3\",\n    \"topics\": [\n        \"package_created_v3\",\n        \"courier_assigned_v3\",\n        \"courier_arriving_v3\",\n        \"courier_waiting_v3\",\n        \"package_delivered_v3\",\n        \"package_canceled_v3\",\n        \"package_returning_v3\",\n        \"package_returned_v3\",\n        \"courier_reassigning_v3\"\n    ],\n    \"enabled\": false,\n    \"authentication_header\": \"your_new_wehbook_authentication_header\",\n    \"authentication_key\": \"your_new_authentication_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/webhooks/15211573573"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Dec 2021 15:43:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Accept-Encoding, Origin"},{"key":"X-DailyRateLimit-Limit","value":"500000"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Stuart-Stack","value":"V3"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-MinuteRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22-16-43"},{"key":"X-DailyRateLimit-Remaining","value":"499846"},{"key":"X-Request-Id","value":"0d9a50b4-d23b-4d27-9f7e-e24e8018f298"},{"key":"X-MinuteRateLimit-Limit","value":"1000"},{"key":"X-MinuteRateLimit-Remaining","value":"999"},{"key":"X-DailyRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22"},{"key":"X-Download-Options","value":"noopen"},{"key":"ETag","value":"W/\"4efee39dd95fc7c568421de3a376402d\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.057666"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Powered-By","value":"Phusion Passenger Enterprise 5.2.3"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1521,\n    \"created_at\": \"2023-03-02T16:21:42.000+01:00\",\n    \"updated_at\": \"2023-03-10T17:56:33.000+01:00\",\n    \"url\": \"https://webhook.site/#!/03dd1cda-4261-41f4-8776-d58af4ede592\",\n    \"enabled\": false,\n    \"authentication_header\": \"your_new_wehbook_authentication_header\",\n    \"authentication_key\": \"your_new_webhooke_authentication_key\",\n    \"topics\": [\n        {\n            \"name\": \"package_created\"\n        },\n        {\n            \"name\": \"courier_assigned\"\n        },\n        {\n            \"name\": \"courier_arriving\"\n        },\n        {\n            \"name\": \"courier_waiting\"\n        },\n        {\n            \"name\": \"package_delivered\"\n        },\n        {\n            \"name\": \"package_canceled\"\n        },\n        {\n            \"name\": \"package_returning\"\n        },\n        {\n            \"name\": \"package_returned\"\n        },\n        {\n            \"name\": \"courier_reassigning\"\n        }\n    ]\n}"}],"variable":[{"id":"22f9ed67-effa-42af-a32a-ff3875660393","key":"webhookId","value":"15744962"}],"_postman_id":"625cfe64-880f-47d5-9d00-02f28b840516"},{"name":"Delete a webhook","id":"5a7182e7-3568-4d0e-b9bb-827312b39362","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{api_url}}/v2/webhooks/[your_webhook_id]","description":"<p>This endpoint allows you to delete a particular webhook.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","webhooks","[your_webhook_id]"],"host":["{{api_url}}"],"query":[],"variable":[{"id":"35c3ff86-dbc4-41f3-8fe5-b1eb6e3e6eeb","type":"any","value":"15744962","key":"webhookId"}]}},"response":[{"id":"dd64dc12-1fd4-4261-a81a-bece58546e0c","name":"200 - OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/v2/webhooks/1521"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"75cc78be-9489-4fec-9ad7-e4788b987e48","name":"404 - Not found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{api_url}}/v2/webhooks/1521"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Dec 2021 15:45:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"404 Not Found"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding, Origin"},{"key":"X-DailyRateLimit-Limit","value":"500000"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-MinuteRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22-16-45"},{"key":"X-DailyRateLimit-Remaining","value":"499843"},{"key":"X-Request-Id","value":"4554dfff-8c10-409c-8335-d659339947e9"},{"key":"X-MinuteRateLimit-Limit","value":"1000"},{"key":"X-MinuteRateLimit-Remaining","value":"998"},{"key":"X-DailyRateLimit-Identifier","value":"ratelimit:82.124.113.255:2021-12-22"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Runtime","value":"0.024078"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Powered-By","value":"Phusion Passenger Enterprise 5.2.3"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"The webhook doesn't exists\"\n}"}],"variable":[{"id":"35c3ff86-dbc4-41f3-8fe5-b1eb6e3e6eeb","key":"webhookId","value":"15744962"}],"_postman_id":"5a7182e7-3568-4d0e-b9bb-827312b39362"}],"id":"c641551d-25bd-4c60-952f-534f316ec905","description":"<p>As well as being able to manage your webhook setup through our Stuart dashboard (<a href=\"https://dashboard.sandbox.stuart.com/settings/api\">Sandbox</a>, <a href=\"https://admin.stuart.com/client\">Production</a>), you can also manage your webhooks by <a href=\"#a24c6b46-8d75-4799-b790-cc3b611f2a94\">API</a>.</p>\n<p>You are limited to a maximum of <strong>6</strong> webhook subscriptions.</p>\n<p>A subscription can only include topics from the same version.</p>\n<p>The same URL cannot be utilized more than once to subscribe to the same webhook version. However, it is possible to use the same URL for subscriptions to different versions of the webhook.</p>\n","_postman_id":"c641551d-25bd-4c60-952f-534f316ec905","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"Addresses","item":[{"name":"Validate address","event":[{"listen":"test","script":{"id":"d1c0316c-a757-4c7c-98f6-18b94b2fe33d","type":"text/javascript","exec":["tests[\"Response HTTP status should be 200\"] = responseCode.code === 200;"]}}],"id":"21fa9bf6-b146-408a-9de7-485f63648c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/v2/addresses/validate?address=32 Coombe Ln, Raynes Park, London SW20 0LA&type=picking","description":"<p>The endpoint described below allows you validate a pickup or dropoff address.</p>\n<p><strong>Note that when the address is approximate (not precise), a</strong> <a href=\"https://stuart.com/developers/setup-for-success/\">valid contact phone</a> <strong>is required for successful validation.</strong></p>\n<p>It is generally recommended to always provide a valid phone number to ensure our courier the best chance of finding the location.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","addresses","validate"],"host":["{{api_url}}"],"query":[{"description":{"content":"<p>Full-text address you want to validate</p>\n","type":"text/plain"},"key":"address","value":"32 Coombe Ln, Raynes Park, London SW20 0LA"},{"description":{"content":"<p>Allowed Values: picking, delivering</p>\n","type":"text/plain"},"key":"type","value":"picking"},{"disabled":true,"description":{"content":"<p>Phone number is required if the address is approximate and must be in E.164 standard</p>\n","type":"text/plain"},"key":"phone","value":"+34666777555"}],"variable":[]}},"response":[{"id":"91f82b55-6ea9-485f-88fa-dd96a27f08a6","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/addresses/validate?address=29 Rue de Rivoli 75004 Paris&type=picking&phone=+34666777555","host":["{{api_url}}"],"path":["v2","addresses","validate"],"query":[{"description":"Full-text address you want to validate","key":"address","value":"29 Rue de Rivoli 75004 Paris"},{"description":"Allowed Values: picking, delivering","key":"type","value":"picking"},{"description":"Phone number is required if the address is approximate and must be in E.164 standard","key":"phone","value":"+34666777555"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"58dabf64-7c9b-4b26-8c20-24f381008ba7","name":"422 - record invalid","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/addresses/validate?type=picking","host":["{{api_url}}"],"path":["v2","addresses","validate"],"query":[{"description":"Full-text address you want to validate","key":"address","value":"Rivolu","disabled":true},{"description":"Allowed Values: picking, delivering","key":"type","value":"picking"},{"description":"Phone number is required if the address is approximate and must be in E.164 standard","key":"phone","value":"+34666777555","disabled":true}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"RECORD_INVALID\",\n    \"message\": \"address is missing and address is empty\",\n    \"data\": [\n        \"address is missing\",\n        \"address is empty\"\n    ]\n}"},{"id":"d7d2a3da-4f7f-4e5f-80a1-a95ed80d3c66","name":"422 - out of range","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/addresses/validate?address=57 King William St, Swindon SN1 3LS, UK&type=picking","host":["{{api_url}}"],"path":["v2","addresses","validate"],"query":[{"description":"Full-text address you want to validate","key":"address","value":"57 King William St, Swindon SN1 3LS, UK"},{"description":"Allowed Values: picking, delivering","key":"type","value":"picking"},{"description":"Phone number is required if the address is approximate and must be in E.164 standard","key":"phone","value":"+34666777555","disabled":true}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"OUT_OF_RANGE\",\n    \"message\": \"This location is out of range\"\n}"},{"id":"bbd8007a-20bd-434c-98ae-45013a4ccf5c","name":"422 - can't geocode","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/addresses/validate?address=apt 50 8bis tern&type=delivering","host":["{{api_url}}"],"path":["v2","addresses","validate"],"query":[{"description":"Full-text address you want to validate","key":"address","value":"apt 50 8bis tern"},{"description":"Allowed Values: picking, delivering","key":"type","value":"delivering"},{"description":"Phone number is required if the address is approximate and must be in E.164 standard","key":"phone","value":"+34666777555","disabled":true}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CANT_GEOCODE_ADDRESS\",\n    \"message\": \"The address can't be geocoded\"\n}"}],"_postman_id":"21fa9bf6-b146-408a-9de7-485f63648c67"},{"name":"Validate address","id":"57fb53d4-5a32-49e4-871a-955c6a3ff7f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"picking\",\n    \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n    \"phone\": \"+442079476330\",\n    \"coordinates\": {\n        \"lat\": 51.40968,\n        \"long\": -0.23012\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/addresses/validate","description":"<p>Before <a href=\"#e4bc63c0-a8c5-4a73-a0ed-b4ddcd5533a8\">create a job</a>. you can ensure your pickup and dropoffs are eligible for a Stuart delivery.</p>\n<p>Eligibility in that context means that we can geocode the given address AND that the address is geocoded inside our zone coverage.</p>\n<p>Best practice is to specify a phone number in order to avoid approximative addresses.</p>\n<h2 id=\"payload-fields\">Payload Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Parent field</th>\n<th>Type</th>\n<th>Description</th>\n<th>Need</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Type of validation  <br />Allowed Values: picking, delivering (required)</td>\n<td>required</td>\n</tr>\n<tr>\n<td>address</td>\n<td>-</td>\n<td>string</td>\n<td>Full-text address you want to validate.</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>-</td>\n<td>string</td>\n<td>Phone number is required when the address is not precise enough</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>coordinates</td>\n<td>-</td>\n<td>object</td>\n<td>The coordinates object contains latitude (\"lat\") and longitude (\"long\") coordinates which are float values.</td>\n<td>optional</td>\n</tr>\n<tr>\n<td>lat</td>\n<td>coordinates</td>\n<td>float</td>\n<td>The latitude of the coordinates. Up to an accuracy of 6 decimal places allowed.</td>\n<td>required</td>\n</tr>\n<tr>\n<td>long</td>\n<td>coordinates</td>\n<td>float</td>\n<td>The longitude of the coordinates. Up to an accuracy of 6 decimal places allowed.</td>\n<td>required</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","addresses","validate"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"b4792d18-191b-4a21-a0f0-b2ddb4089d2d","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"picking\",\n    \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\",\n    \"phone\": \"+442079476330\",\n    \"coordinates\": {\n        \"lat\": 51.40968,\n        \"long\": -0.23012\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/addresses/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"4e41ee28-eef3-4bc5-b16b-239ace765774","name":"422 - out of range","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"picking\",\n    \"address\": \"71 The Quadrant, St Albans AL4 9RD, UK\",\n    \"coordinates\": {\n        \"lat\": 51.763651,\n        \"long\": -0.305529\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/addresses/validate"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"OUT_OF_RANGE\",\n    \"message\": \"This location is out of range\"\n}"},{"id":"e4d84c99-c560-494c-8437-1e994f65d3e5","name":"422 - contact phone required","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"picking\",\n    \"address\": \"32 London SW20 0LA\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/addresses/validate"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"ADDRESS_CONTACT_PHONE_REQUIRED\",\n    \"message\": \"Contact phone is required\"\n}"},{"id":"324b3e7b-be8f-415e-bf2b-e64762531507","name":"422 - can't geocode","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"picking\",\n    \"address\": \"32 C0 0LA\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/addresses/validate"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CANT_GEOCODE_ADDRESS\",\n    \"message\": \"The address can't be geocoded\"\n}"}],"_postman_id":"57fb53d4-5a32-49e4-871a-955c6a3ff7f7"}],"id":"c1e9d5c2-3a46-4b02-92d1-8528b80aa299","description":"<p>Correct and valid addresses are a core aspect of being able to successfully conduct deliveries with Stuart.</p>\n<p>Read our <a href=\"https://stuart.com/developers/best-practices/addresses/\">addresses best practices</a> to ensure the optimal experience.</p>\n","event":[{"listen":"prerequest","script":{"id":"e88fcc76-91e6-46be-a5e9-615dfa9038bc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9eb30212-c553-410d-bfe8-00e52e4d43e8","type":"text/javascript","exec":[""]}}],"_postman_id":"c1e9d5c2-3a46-4b02-92d1-8528b80aa299","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"Open Zones","item":[{"name":"Get zone coverage","id":"e254afe9-84b1-492a-b60a-9d0acd42ee6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/v2/areas/paris?type=picking","description":"<p>Get the picking or delivery area of an open Stuart zone. This endpoint response is in <a href=\"https://geojson.org\">GeoJSON standard</a></p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","areas","paris"],"host":["{{api_url}}"],"query":[{"description":{"content":"<p>Allowed Values: picking, delivering\ndefault: picking</p>\n","type":"text/plain"},"key":"type","value":"picking"}],"variable":[{"description":{"content":"<p>(Required) Zone's code</p>\n","type":"text/plain"},"type":"any","value":"paris","key":"zone"}]}},"response":[{"id":"309b602d-40e7-4ccb-951e-c96895177086","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/areas/paris?type=picking","host":["{{api_url}}"],"path":["v2","areas","paris"],"query":[{"description":"Allowed Values: picking, delivering\ndefault: picking","key":"type","value":"picking"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"FeatureCollection\",\n    \"features\": [\n        {\n            \"type\": \"Feature\",\n            \"properties\": {\n                \"name\": \"Paris Operational Area\",\n                \"zipcode\": \"paris - pu area\"\n            },\n            \"geometry\": {\n                \"coordinates\": [\n                    [\n                        [\n                            1.625374,\n                            48.638567\n                        ],\n                        [\n                            1.661449,\n                            48.610099\n                        ],\n                        [\n                            1.703686,\n                            48.59977\n                        ],\n                        [\n                            1.700628,\n                            48.578011\n                        ],\n                        [\n                            1.769871,\n                            48.546156\n                        ],\n                        [\n                            1.766073,\n                            48.512243\n                        ],\n                        [\n                            1.787217,\n                            48.479909\n                        ],\n                        [\n                            1.800124,\n                            48.466643\n                        ],\n                        [\n                            1.831155,\n                            48.461111\n                        ],\n                        [\n                            1.841199,\n                            48.447148\n                        ],\n                        [\n                            1.866927,\n                            48.435411\n                        ],\n                        [\n                            1.926225,\n                            48.440924\n                        ],\n                        [\n                            1.918225,\n                            48.395443\n                        ],\n                        [\n                            1.961794,\n                            48.392284\n                        ],\n                        [\n                            1.971254,\n                            48.356471\n                        ],\n                        [\n                            1.95918,\n                            48.314346\n                        ],\n                        [\n                            1.96391,\n                            48.282625\n                        ],\n                        [\n                            2.041543,\n                            48.280763\n                        ],\n                        [\n                            2.113408,\n                            48.291733\n                        ],\n                        [\n                            2.169214,\n                            48.292884\n                        ],\n                        [\n                            2.209298,\n                            48.331505\n                        ],\n                        [\n                            2.240499,\n                            48.297343\n                        ],\n                        [\n                            2.269626,\n                            48.296207\n                        ],\n                        [\n                            2.282247,\n                            48.306635\n                        ],\n                        [\n                            2.311561,\n                            48.306404\n                        ],\n                        [\n                            2.321747,\n                            48.326095\n                        ],\n                        [\n                            2.356313,\n                            48.299405\n                        ],\n                        [\n                            2.401732,\n                            48.307436\n                        ],\n                        [\n                            2.411169,\n                            48.276832\n                        ],\n                        [\n                            2.436769,\n                            48.245227\n                        ],\n                        [\n                            2.471729,\n                            48.245184\n                        ],\n                        [\n                            2.505176,\n                            48.220405\n                        ],\n                        [\n                            2.503702,\n                            48.167681\n                        ],\n                        [\n                            2.469976,\n                            48.162346\n                        ],\n                        [\n                            2.435828,\n                            48.11998\n                        ],\n                        [\n                            2.483168,\n                            48.121425\n                        ],\n                        [\n                            2.540456,\n                            48.122839\n                        ],\n                        [\n                            2.563969,\n                            48.135726\n                        ],\n                        [\n                            2.595972,\n                            48.124397\n                        ],\n                        [\n                            2.639409,\n                            48.131308\n                        ],\n                        [\n                            2.670249,\n                            48.114507\n                        ],\n                        [\n                            2.698036,\n                            48.118969\n                        ],\n                        [\n                            2.745574,\n                            48.132417\n                        ],\n                        [\n                            2.766088,\n                            48.147115\n                        ],\n                        [\n                            2.754438,\n                            48.163574\n                        ],\n                        [\n                            2.79707,\n                            48.157116\n                        ],\n                        [\n                            2.800051,\n                            48.122911\n                        ],\n                        [\n                            2.866936,\n                            48.138842\n                        ],\n                        [\n                            2.878247,\n                            48.150697\n                        ],\n                        [\n                            2.950696,\n                            48.156927\n                        ],\n                        [\n                            2.962124,\n                            48.184219\n                        ],\n                        [\n                            2.988668,\n                            48.200126\n                        ],\n                        [\n                            3.016239,\n                            48.20745\n                        ],\n                        [\n                            3.04643,\n                            48.242558\n                        ],\n                        [\n                            3.061271,\n                            48.254406\n                        ],\n                        [\n                            3.059889,\n                            48.267872\n                        ],\n                        [\n                            3.039163,\n                            48.280854\n                        ],\n                        [\n                            3.034968,\n                            48.296284\n                        ],\n                        [\n                            3.047375,\n                            48.320373\n                        ],\n                        [\n                            3.056004,\n                            48.350462\n                        ],\n                        [\n                            3.097932,\n                            48.345501\n                        ],\n                        [\n                            3.142564,\n                            48.361068\n                        ],\n                        [\n                            3.177479,\n                            48.365306\n                        ],\n                        [\n                            3.233684,\n                            48.360088\n                        ],\n                        [\n                            3.282726,\n                            48.363819\n                        ],\n                        [\n                            3.38537,\n                            48.367863\n                        ],\n                        [\n                            3.380427,\n                            48.38691\n                        ],\n                        [\n                            3.425736,\n                            48.383106\n                        ],\n                        [\n                            3.436811,\n                            48.414556\n                        ],\n                        [\n                            3.412657,\n                            48.429655\n                        ],\n                        [\n                            3.425066,\n                            48.450045\n                        ],\n                        [\n                            3.407926,\n                            48.476399\n                        ],\n                        [\n                            3.454215,\n                            48.494294\n                        ],\n                        [\n                            3.429788,\n                            48.5219\n                        ],\n                        [\n                            3.476784,\n                            48.528769\n                        ],\n                        [\n                            3.501104,\n                            48.549041\n                        ],\n                        [\n                            3.484706,\n                            48.570893\n                        ],\n                        [\n                            3.504284,\n                            48.582483\n                        ],\n                        [\n                            3.537816,\n                            48.588754\n                        ],\n                        [\n                            3.519886,\n                            48.602443\n                        ],\n                        [\n                            3.5809,\n                            48.618003\n                        ],\n                        [\n                            3.541594,\n                            48.635122\n                        ],\n                        [\n                            3.545023,\n                            48.648974\n                        ],\n                        [\n                            3.506939,\n                            48.656295\n                        ],\n                        [\n                            3.470251,\n                            48.644114\n                        ],\n                        [\n                            3.466458,\n                            48.668959\n                        ],\n                        [\n                            3.496683,\n                            48.699721\n                        ],\n                        [\n                            3.489358,\n                            48.744567\n                        ],\n                        [\n                            3.421691,\n                            48.767485\n                        ],\n                        [\n                            3.487492,\n                            48.795877\n                        ],\n                        [\n                            3.462006,\n                            48.803616\n                        ],\n                        [\n                            3.50898,\n                            48.811202\n                        ],\n                        [\n                            3.507607,\n                            48.858132\n                        ],\n                        [\n                            3.472257,\n                            48.859635\n                        ],\n                        [\n                            3.439512,\n                            48.881239\n                        ],\n                        [\n                            3.384183,\n                            48.937233\n                        ],\n                        [\n                            3.343019,\n                            48.926959\n                        ],\n                        [\n                            3.320578,\n                            48.956013\n                        ],\n                        [\n                            3.285718,\n                            48.958115\n                        ],\n                        [\n                            3.251228,\n                            48.99177\n                        ],\n                        [\n                            3.211513,\n                            49.026961\n                        ],\n                        [\n                            3.175135,\n                            49.107863\n                        ],\n                        [\n                            3.071147,\n                            49.128151\n                        ],\n                        [\n                            3.028372,\n                            49.102076\n                        ],\n                        [\n                            2.98394,\n                            49.089574\n                        ],\n                        [\n                            2.966929,\n                            49.098474\n                        ],\n                        [\n                            2.905302,\n                            49.08903\n                        ],\n                        [\n                            2.8977,\n                            49.080938\n                        ],\n                        [\n                            2.890993,\n                            49.082602\n                        ],\n                        [\n                            2.866205,\n                            49.075383\n                        ],\n                        [\n                            2.85194,\n                            49.088271\n                        ],\n                        [\n                            2.831863,\n                            49.089316\n                        ],\n                        [\n                            2.812431,\n                            49.099664\n                        ],\n                        [\n                            2.79476,\n                            49.093484\n                        ],\n                        [\n                            2.786861,\n                            49.086197\n                        ],\n                        [\n                            2.76719,\n                            49.08579\n                        ],\n                        [\n                            2.784197,\n                            49.076478\n                        ],\n                        [\n                            2.775918,\n                            49.072438\n                        ],\n                        [\n                            2.761951,\n                            49.063839\n                        ],\n                        [\n                            2.744433,\n                            49.063912\n                        ],\n                        [\n                            2.729517,\n                            49.085812\n                        ],\n                        [\n                            2.704623,\n                            49.073709\n                        ],\n                        [\n                            2.686365,\n                            49.094092\n                        ],\n                        [\n                            2.63946,\n                            49.115905\n                        ],\n                        [\n                            2.594374,\n                            49.087282\n                        ],\n                        [\n                            2.570863,\n                            49.102568\n                        ],\n                        [\n                            2.565242,\n                            49.127959\n                        ],\n                        [\n                            2.515938,\n                            49.123327\n                        ],\n                        [\n                            2.475788,\n                            49.142137\n                        ],\n                        [\n                            2.627676,\n                            49.204021\n                        ],\n                        [\n                            2.551631,\n                            49.246567\n                        ],\n                        [\n                            2.485253,\n                            49.30435\n                        ],\n                        [\n                            2.401028,\n                            49.26676\n                        ],\n                        [\n                            2.329147,\n                            49.222837\n                        ],\n                        [\n                            2.362098,\n                            49.159244\n                        ],\n                        [\n                            2.326126,\n                            49.189323\n                        ],\n                        [\n                            2.306156,\n                            49.187978\n                        ],\n                        [\n                            2.268726,\n                            49.163031\n                        ],\n                        [\n                            2.231296,\n                            49.158346\n                        ],\n                        [\n                            2.243912,\n                            49.170974\n                        ],\n                        [\n                            2.225532,\n                            49.183388\n                        ],\n                        [\n                            2.177794,\n                            49.180776\n                        ],\n                        [\n                            2.132832,\n                            49.198621\n                        ],\n                        [\n                            2.110997,\n                            49.195728\n                        ],\n                        [\n                            2.093241,\n                            49.215373\n                        ],\n                        [\n                            2.030692,\n                            49.196828\n                        ],\n                        [\n                            2.00725,\n                            49.183786\n                        ],\n                        [\n                            1.977221,\n                            49.187106\n                        ],\n                        [\n                            1.947191,\n                            49.176192\n                        ],\n                        [\n                            1.859272,\n                            49.177181\n                        ],\n                        [\n                            1.789127,\n                            49.190343\n                        ],\n                        [\n                            1.763174,\n                            49.179643\n                        ],\n                        [\n                            1.752164,\n                            49.225998\n                        ],\n                        [\n                            1.715535,\n                            49.258935\n                        ],\n                        [\n                            1.656719,\n                            49.191631\n                        ],\n                        [\n                            1.643555,\n                            49.131926\n                        ],\n                        [\n                            1.593561,\n                            49.096179\n                        ],\n                        [\n                            1.510868,\n                            49.092237\n                        ],\n                        [\n                            1.432655,\n                            49.071417\n                        ],\n                        [\n                            1.466149,\n                            49.006374\n                        ],\n                        [\n                            1.459368,\n                            48.983745\n                        ],\n                        [\n                            1.476765,\n                            48.971277\n                        ],\n                        [\n                            1.499763,\n                            48.974252\n                        ],\n                        [\n                            1.486382,\n                            48.965492\n                        ],\n                        [\n                            1.529079,\n                            48.90012\n                        ],\n                        [\n                            1.542648,\n                            48.8671\n                        ],\n                        [\n                            1.560091,\n                            48.840215\n                        ],\n                        [\n                            1.568337,\n                            48.764356\n                        ],\n                        [\n                            1.614435,\n                            48.746293\n                        ],\n                        [\n                            1.556521,\n                            48.69832\n                        ],\n                        [\n                            1.597669,\n                            48.683618\n                        ],\n                        [\n                            1.598078,\n                            48.658878\n                        ],\n                        [\n                            1.625374,\n                            48.638567\n                        ]\n                    ]\n                ],\n                \"type\": \"Polygon\"\n            },\n            \"id\": \"378259afa690d017bb41f09313aa88cc\"\n        }\n    ]\n}"},{"id":"74e894c9-6d14-4a8c-82c1-b4633ebaf75a","name":"404 - zone not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{api_url}}/v2/areas/pris?type=picking","host":["{{api_url}}"],"path":["v2","areas","pris"],"query":[{"description":"Allowed Values: picking, delivering\ndefault: picking","key":"type","value":"picking"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"NOT_FOUND\",\n    \"message\": \"Not found\"\n}"}],"variable":[{"key":"zone","value":"paris","description":"(Required) Zone's code"}],"_postman_id":"e254afe9-84b1-492a-b60a-9d0acd42ee6f"}],"id":"bbde72bf-8708-42cf-86a3-070219150c8e","description":"<p>Here's a list of the zones where Stuart is currently operating, these codes can be used to get zone coverage GeoJSON through the <a href=\"#bbde72bf-8708-42cf-86a3-070219150c8e\">get zone coverage</a> endpoint.</p>\n<h1 id=\"france\">France</h1>\n<p><code>amiens</code>, <code>angers</code>, <code>angouleme</code>, <code>annecy</code>, <code>antibes</code>, <code>aubagne</code>, <code>avignon</code>, <code>beauvais</code>, <code>besancon</code>, <code>beziers</code>, <code>blois</code>, <code>bordeaux</code>, <code>boulogne_sur_mer</code>, <code>brest</code>, <code>brive</code>, <code>caen</code>, <code>calais</code>, <code>cannes</code>, <code>cazeres</code>, <code>charleville_mezieres</code>, <code>cherbourg</code>, <code>cholet</code>, <code>clermont_ferrand</code>, <code>colmar</code>, <code>dijon</code>, <code>dinard</code>, <code>douai</code>, <code>dunkerque</code>, <code>evreux</code>, <code>foix</code>, <code>grenoble</code>, <code>guerande</code>, <code>la_rochelle</code>, <code>le_havre</code>, <code>le_mans</code>, <code>lille</code>, <code>limoges</code>, <code>lyon</code>, <code>marseille</code>, <code>merignac</code>, <code>merlimont</code>, <code>metz</code>, <code>montpellier</code>, <code>mulhouse</code>, <code>nancy</code>, <code>nantes</code>, <code>nice</code>, <code>nimes</code>, <code>niort</code>, <code>orleans</code>, <code>pamiers</code>, <code>paris</code>, <code>perigueux</code>, <code>perpignan</code>, <code>poitiers</code>, <code>quimper</code>, <code>reims</code>, <code>rennes</code>, <code>roubaix</code>, <code>rouen</code>, <code>saint_brieuc</code>, <code>saint_etienne</code>, <code>saint_nazaire</code>, <code>saint_quentin</code>, <code>strasbourg</code>, <code>thionville</code>, <code>toulon</code>, <code>toulouse</code>, <code>tours</code>, <code>valence</code>, <code>valenciennes</code>, <code>vannes</code>, <code>bayonne</code>, <code>tarbes</code>, <code>belfort</code>, <code>lens</code>, <code>bethune</code>, <code>chalons_en_champagne</code>, <code>cambrai</code>, <code>soissons</code> <code>niort</code>, <code>lorient</code>, <code>chambery</code>, <code>bourges</code>, <code>la_roche_sur_yon</code>, <code>carcassonne</code>, <code>narbonne</code>, <code>dieppe</code>, <code>montauban</code>, <code>hyeres</code>, <code>sedan</code>, <code>orleans</code>, <code>frejus_saint_raphael</code>, <code>cherbourg</code>, <code>neydens</code>, <code>chalon_sur_saone</code>, <code>troyes</code>, <code>arras</code>, <code>pau</code>, <code>chartres</code> , <code>aix_en_provence</code> , <code>albi</code> , <code>auxerre</code> , <code>chambly</code> , <code>clairoix</code> , <code>conde_sur_lescaut</code> , <code>dax</code> , <code>denain</code> , <code>dreux</code> , <code>epernay</code> , <code>forbach</code> , <code>montluçon</code> , <code>roanne</code> , <code>saint_dizier</code> , <code>saint_malo</code> , <code>sens</code> , <code>villefranche_sur_saone</code></p>\n<h1 id=\"united-kingdom\">United-Kingdom</h1>\n<p><code>basildon</code>, <code>belfast</code>, <code>birmingham</code>, <code>blackpool</code>, <code>bournemouth</code>, <code>brighton</code>, <code>bristol</code>, <code>cambridge</code>, <code>cardiff</code>, <code>coventry</code>, <code>crawley</code>, <code>darlington</code>, <code>derby</code>, <code>edinburgh</code> , <code>exeter</code>, <code>farnborough</code>, <code>gillingham</code>, <code>glasgow</code> ,<code>grimsby</code>, <code>harlow</code> , <code>huddersfield</code>, <code>hull</code>, <code>leeds</code>, <code>leicester</code>, <code>liverpool</code>, <code>london</code>, <code>manchester</code>, <code>milton_keynes</code>, <code>newcastle_gateshead</code>, <code>northampton</code>, <code>nottingham</code>, <code>norwich</code> , <code>oxford</code>, <code>portsmouth</code> , <code>plymouth</code>, <code>reading</code>, <code>sheffield</code>, <code>south_shields</code>, <code>southampton</code>, <code>stoke</code> ,<code>sunderland</code>, <code>swansea</code>, <code>teesside</code>, <code>wakefield</code>, <code>warrington</code> , <code>wigan</code> , <code>york</code></p>\n<h1 id=\"poland\">Poland</h1>\n<p><code>kraków</code> , <code>lodz</code> , <code>poznan</code> , <code>silesia</code>, <code>szczecin</code> , <code>torun</code> , <code>tricity</code> , <code>warszawa</code> , <code>wroclaw</code></p>\n<h1 id=\"italy\">Italy</h1>\n<p><code>milano</code></p>\n","_postman_id":"bbde72bf-8708-42cf-86a3-070219150c8e","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"Scheduling Slots","item":[{"name":"Get zone's scheduling slots","id":"7b1abc29-1d79-4117-89e9-016ecc393624","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/schedules/:zone/:type/:date","description":"<p>This endpoint allows you to find scheduling slots for one of our <a href=\"#bbde72bf-8708-42cf-86a3-070219150c8e\">zones</a>.</p>\n<p>Please note you will receive slots from the current time of making your request. Hence we recommend fetching slots for dates in the future and caching the results for around one month for optimal results.</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","jobs","schedules",":zone",":type",":date"],"host":["{{api_url}}"],"query":[],"variable":[{"type":"any","value":null,"key":"zone"},{"description":{"content":"<p>(Required) Type of schedules\nAllowed values: [pickup, dropoff]</p>\n","type":"text/plain"},"type":"any","value":"pickup","key":"type"},{"description":{"content":"<p>(Required) Date\nFormat: YYYY-MM-DD</p>\n","type":"text/plain"},"type":"any","value":"2022-07-22","key":"date"}]}},"response":[{"id":"bc6040b2-47a4-4a17-8df0-0fe8473314d9","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/schedules/paris/pickup/2021-12-25"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"date\": \"2021-12-25T00:00:00.000+01:00\",\n    \"type\": \"pickup\",\n    \"slots\": [\n        {\n            \"start_time\": \"2021-12-25T00:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T00:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T00:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T00:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T00:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T00:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T00:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T01:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T01:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T01:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T01:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T01:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T01:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T01:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T01:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T02:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T02:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T02:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T02:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T02:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T02:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T02:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T02:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T03:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T03:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T03:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T03:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T03:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T03:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T03:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T03:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T04:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T04:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T04:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T04:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T04:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T04:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T04:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T04:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T05:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T05:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T05:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T05:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T05:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T05:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T05:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T05:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T06:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T06:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T06:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T06:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T06:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T06:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T06:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T06:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T07:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T07:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T07:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T07:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T07:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T07:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T07:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T07:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T08:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T08:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T08:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T08:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T08:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T08:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T08:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T08:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T09:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T09:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T09:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T09:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T09:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T09:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T09:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T09:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T10:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T10:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T10:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T10:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T10:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T10:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T10:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T10:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T11:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T11:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T11:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T11:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T11:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T11:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T11:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T11:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T12:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T12:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T12:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T12:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T12:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T12:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T12:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T12:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T13:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T13:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T13:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T13:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T13:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T13:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T13:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T13:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T14:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T14:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T14:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T14:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T14:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T14:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T14:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T14:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T15:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T15:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T15:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T15:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T15:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T15:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T15:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T15:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T16:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T16:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T16:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T16:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T16:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T16:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T16:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T16:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T17:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T17:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T17:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T17:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T17:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T17:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T17:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T17:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T18:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T18:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T18:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T18:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T18:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T18:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T18:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T18:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T19:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T19:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T19:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T19:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T19:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T19:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T19:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T19:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T20:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T20:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T20:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T20:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T20:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T20:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T20:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T20:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T21:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T21:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T21:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T21:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T21:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T21:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T21:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T21:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T22:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T22:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T22:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T22:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T22:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T22:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T22:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T22:45:00.000+01:00\",\n            \"end_time\": \"2021-12-25T23:00:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T23:00:00.000+01:00\",\n            \"end_time\": \"2021-12-25T23:15:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T23:15:00.000+01:00\",\n            \"end_time\": \"2021-12-25T23:30:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T23:30:00.000+01:00\",\n            \"end_time\": \"2021-12-25T23:45:00.000+01:00\"\n        },\n        {\n            \"start_time\": \"2021-12-25T23:45:00.000+01:00\",\n            \"end_time\": \"2021-12-26T00:00:00.000+01:00\"\n        }\n    ]\n}"},{"id":"7ba1e658-73fb-408d-9697-b8cd447eeda8","name":"400 - invalid type","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/schedules/paris/picking/2021-12-25"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"INVALID_TYPE\",\n    \"message\": \"Invalid type. Valid types: pickup or dropoff.\"\n}"},{"id":"4a3d4871-0a3b-4076-8d4c-38c9d91ebbf3","name":"400 - invalid date","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/v2/jobs/schedules/paris/pickup/2021-25-12"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n \"error\": \"INVALID_TYPE\",\n \"message\": \"Invalid date format. Valid format: YYYY-MM-DD, YYY-MM-DDThh:mm:ssZ or YYY-MM-DDThh:mm:ssTZD\"\n}"}],"_postman_id":"7b1abc29-1d79-4117-89e9-016ecc393624"},{"name":"Get delivery slots","id":"9acceabc-f973-49a4-a32b-9d19645baa75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"from\": \"2023-08-10T00:00:00.000+02:00\",\n    \"to\": \"2023-08-10T23:59:00.000+02:00\",\n    \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/delivery_slots","description":"<p>This endpoint allows you to retrieve the available delivery slots configured for your account, which can then be displayed to your customers.</p>\n<p>Please note, the slot ID can also be used when creating a delivery job for a specific delivery slot</p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}},"urlObject":{"path":["v2","delivery_slots"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"6b2c08f6-8269-4928-bc27-3ec69f272e29","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"from\": \"2023-08-10T00:00:00.000+02:00\",\n    \"to\": \"2023-08-10T23:59:00.000+02:00\",\n    \"address\": \"32 Coombe Ln, Raynes Park, London SW20 0LA\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/delivery_slots"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"from\": \"2023-08-10T00:00:00.000+02:00\",\n    \"to\": \"2023-08-10T23:59:00.000+02:00\",\n    \"slots\": [\n        {\n            \"start_time\": \"2023-08-10T03:00:00.000+00:00\",\n            \"end_time\": \"2023-08-10T04:00:00.000+00:00\",\n            \"slot_id\": 115\n        },\n        {\n            \"start_time\": \"2023-08-10T06:00:00.000+00:00\",\n            \"end_time\": \"2023-08-10T07:00:00.000+00:00\",\n            \"slot_id\": 116\n        },\n        {\n            \"start_time\": \"2023-08-10T08:00:00.000+00:00\",\n            \"end_time\": \"2023-08-10T09:00:00.000+00:00\",\n            \"slot_id\": 117\n        }\n    ]\n}"},{"id":"e0b2f4b6-7872-49e9-aada-ffb5c3d84c55","name":"422 - Invalid date","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"from\": \"2023-06-10T00:00:00.000+02:00\",\n    \"to\": \"2023-06-10T23:59:00.000+02:00\",\n    \"address\": \"43 avenue de Clichy, 75017 Paris\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_url}}/v2/delivery_slots"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"INVALID_PARAMETERS\",\n    \"message\": \"Invalid parameters\",\n    \"data\": {\n        \"errors\": {\n            \"from\": [\n                \"cannot request dates in the past\"\n            ]\n        }\n    }\n}"}],"_postman_id":"9acceabc-f973-49a4-a32b-9d19645baa75"}],"id":"19ae6d64-d878-42cd-804e-a954a6afb85a","description":"<p>Get scheduling slots which can be used to display directly to your customer on your site.</p>\n<p>These slots also allow you to recognise Stuart's opening and closing times for a given zone.</p>\n","_postman_id":"19ae6d64-d878-42cd-804e-a954a6afb85a","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"API Health","item":[{"name":"Get API health","id":"fd543c9f-66d9-4e61-a3f4-97a38a1cabc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{api_url}}/health","urlObject":{"path":["health"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[{"id":"28910ef3-9bce-45ad-8d57-8bf23b37ff6d","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"{{api_url}}/health"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Stuart API health\",\n    \"status\": \"pass\"\n}"}],"_postman_id":"fd543c9f-66d9-4e61-a3f4-97a38a1cabc1"}],"id":"f2ad2953-999a-4fc4-af8e-bc8a8f853ddf","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ae57172c-cf12-4bca-bdab-14d6b2b1d5d0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a5e62b18-e324-4a39-8b9a-b38888b40301","type":"text/javascript","exec":[""]}}],"_postman_id":"f2ad2953-999a-4fc4-af8e-bc8a8f853ddf","description":""},{"name":"Errors","item":[],"id":"e7572871-c6a1-4d29-931a-13a6d4fa386d","description":"<p>Here you can find the exhaustive list of Stuart API error responses, the expected format can be found below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": \"BAD_REQUEST\",\n    \"message\": \"job[dropoffs][0][package_type] is invalid\"\n}\n\n</code></pre>\n<p>The HTTP status codes detailed below allow you to determine the best way to address the error.<br />If you see an error response which is not listed below please let us know.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Code</strong></th>\n<th><strong>Error</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>Bad Request</code></td>\n</tr>\n<tr>\n<td>401</td>\n<td><code>Unauthorized</code></td>\n</tr>\n<tr>\n<td>403</td>\n<td><code>Forbidden</code></td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>Not Found</code></td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>Unprocessable Entity</code></td>\n</tr>\n<tr>\n<td>500</td>\n<td><code>Server Error</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"authentication-errors\">Authentication Errors</h2>\n<p>For authentication errors the response payload has a different structure than other error types, the expected format can be found below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": \"invalid_client\", \n    \"error_description\": \"Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Code</strong></th>\n<th><strong>Error</strong></th>\n<th><strong>Error Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>401</td>\n<td><code>invalid_client</code></td>\n<td>Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.</td>\n</tr>\n<tr>\n<td>401</td>\n<td><code>unsupported_grant_type</code></td>\n<td>The authorization grant type is not supported by the authorization server.</td>\n</tr>\n<tr>\n<td>401</td>\n<td><code>invalid_scope</code></td>\n<td>The requested scope is invalid, unknown, or malformed.</td>\n</tr>\n<tr>\n<td>401</td>\n<td><code>invalid_request</code></td>\n<td>The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"api-communication-errors\">API Communication Errors</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Code</strong></th>\n<th><strong>Error</strong></th>\n<th><strong>Message</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>401</td>\n<td><code>INVALID_GRANT</code></td>\n<td>The access token is invalid.</td>\n</tr>\n<tr>\n<td>401</td>\n<td><code>INVALID_GRANT</code></td>\n<td>The access token expired.</td>\n</tr>\n<tr>\n<td>403</td>\n<td><code>PERMISSION_DENIED</code></td>\n<td>You are not authorized to access this page.</td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>NOT_FOUND</code></td>\n<td>Couldn't find Job with 'id'= <code>{job_id}</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"address-errors\">Address Errors</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Code</strong></th>\n<th><strong>Error</strong></th>\n<th><strong>Message</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>Type does not have a valid value.</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>The address is missing.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>CANT_GEOCODE_ADDRESS</code></td>\n<td>The address can't be geocoded.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>OUT_OF_RANGE</code></td>\n<td>This location is out of range.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>ADDRESS_CONTACT_PHONE_REQUIRED</code></td>\n<td>Contact phone is required.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>LOCATION_TEMPORARILY_UNAVAILABLE</code></td>\n<td>We cannot operate in this area at the moment, please try again later</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"scheduled-job-errors\">Scheduled Job Errors</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Code</strong></th>\n<th><strong>Error</strong></th>\n<th><strong>Message</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>job[pickup_at] is invalid.</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>job[dropoff_at] is invalid.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Can not schedule a pickup in the past.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Can not schedule a dropoff in the past.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Can not schedule a dropoff in less than 60 minutes from now.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Can not schedule a pickup at this time</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Can not stack a job with scheduled dropoff time.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"other-job-errors\">Other Job Errors</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Code</strong></th>\n<th><strong>Error</strong></th>\n<th><strong>Message</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>job[pickups][0][address] is missing.</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>job[dropoffs][0][address] is missing.</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>package_type must be present on all destinations.</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>job[dropoffs][0][package_type] is invalid.</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>job[package_type] is invalid.</td>\n</tr>\n<tr>\n<td>400</td>\n<td><code>BAD_REQUEST</code></td>\n<td>transport_type, package_type are missing, exactly one parameter must be provided.</td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>NOT_FOUND</code></td>\n<td>Couldn't find Job with 'id'=<code>{job_id}</code></td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>NOT_FOUND</code></td>\n<td>Couldn't find Delivery with 'id'=<code>{delivery_id}</code></td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>NOT_FOUND</code></td>\n<td>Couldn't find Job with an out of range value for 'id'.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Unable to save record: a valid phone number is required due to low address accuracy.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Unable to save record: Package size <code>{package_type}</code> is not allowed.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Unable to save record: Delivery options are not valid</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>Unable to save record: Unknown restricted items: <code>{restricted_item}</code></td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>PHONE_INVALID</code></td>\n<td>An origin phone is invalid.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>PHONE_INVALID</code></td>\n<td>A destination phone is invalid.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>EMAIL_INVALID</code></td>\n<td>An origin email is invalid.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>EMAIL_INVALID</code></td>\n<td>A destination email is invalid.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>JOB_DISTANCE_NOT_ALLOWED</code></td>\n<td>Job distance exceeded the maximum range of the selected transport type</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>JOB_INVALID_DUPLICATED_ORDER_ID</code></td>\n<td>Provided order ID is already used</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>ADDRESS_INVALID</code></td>\n<td>A destination address is not in a valid delivery area.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>CREDIT_CARD_NOT_FOUND</code></td>\n<td>Insufficient funds, please provide a Credit Card.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>PAYMENT_DECLINED</code></td>\n<td>The payment was declined</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>JOB_UPDATE_ERROR</code></td>\n<td>Job can't be updated</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>RECORD_INVALID</code></td>\n<td>This client can't use the payment at dropoff feature</td>\n</tr>\n<tr>\n<td>500</td>\n<td><code>UNKNOWN</code></td>\n<td>TransportType with <code>{transport_type}</code> does not exist</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"c79024c4-e3f3-484a-9371-c146a7a626ee","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2a00b2d1-f373-4e29-8140-7113c058050d","type":"text/javascript","exec":[""]}}],"_postman_id":"e7572871-c6a1-4d29-931a-13a6d4fa386d"},{"name":"Rate Limits","item":[],"id":"a0f9081e-2ccf-4e56-aa47-829a39cfacaf","description":"<p>Rate limiting of the API is primarily considered on a per-user basis. We consider two main Rate Limit windows: per minute and per day. Additionally, any requests made before being authenticated are rate limited by IP source and are restricted to 500 requests per minute.</p>\n<p>If you exceed our rate limits you can expect to receive an error code <code>429</code> responses from our API.</p>\n<h2 id=\"minute-rate-limit\">Minute Rate Limit</h2>\n<p>Up to 1000 requests can be consumed every minute, and our response headers will detail:</p>\n<ul>\n<li><code>X-MinuteRateLimit-Identifier</code> allowing you to identify the minute time window</li>\n<li><code>X-MinuteRateLimit-Limit</code> is the total amount of requests</li>\n<li><code>X-MinuteRateLimit-Remaining</code> is the remaining amount of available requests</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  ...\n  \"X-MinuteRateLimit-Identifier\": \"[IP/USER ID]:[YYYY]-[MM]-[DD]-[hh]-[mm]\",\n  \"X-MinuteRateLimit-Limit\": \"1000\",\n  \"X-MinuteRateLimit-Remaining\": \"XX\"\n  ...\n}\n\n</code></pre>\n<h2 id=\"daily-rate-limit\">Daily Rate Limit</h2>\n<p>Up to 500,000 requests can be consumed per day, and our response headers will detail:</p>\n<ul>\n<li><code>X-DailyRateLimit-Identifier</code> allowing you to identify the daily time window</li>\n<li><code>X-DailyRateLimit-Limit</code> is the total amount of requests</li>\n<li><code>X-DailyRateLimit-Remaining</code> is the remaining amount of available requests</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  ...\n  \"X-DailyRateLimit-Identifier\": \"[IP/USER ID]:[YYYY]-[MM]-[DD]\",\n  \"X-DailyRateLimit-Limit\": \"500000\",\n  \"X-DailyRateLimit-Remaining\": \"XX\"\n  ...\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ceaddb16-fc3d-4350-92fe-db5fbcb37946","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"61a63a1c-dbbf-453f-9cb2-ea3956e28421","type":"text/javascript","exec":[""]}}],"_postman_id":"a0f9081e-2ccf-4e56-aa47-829a39cfacaf"},{"name":"Changelog","item":[],"id":"676e38e0-3c9d-43c2-918f-c0106ad0e93f","description":"<p>This section list the additions and updates to the Stuart On-demand API:</p>\n<p>25/03/2025</p>\n<p>Two new fields added to the <code>delivery_options</code> object:</p>\n<ul>\n<li><p><code>alternative_locations</code>: Allows clients to specify an alternative delivery option (e.g. neighbour, safe place) when in-person delivery is not required at first attempt.</p>\n</li>\n<li><p><code>undeliverable_actions</code>: Enables clients to define the action to be taken in case the recipient is unavailable (e.g. return, discard).</p>\n</li>\n</ul>\n<p>07/02/2025</p>\n<ul>\n<li>Revamp of the \"Job &amp; Deliveries\" section, now renamed to \"Job, Deliveries, and Packages\". Updated the Webhooks section and removed outdated sections, including \"Client Libraries\" and \"Plugins\".</li>\n</ul>\n<p>25/11/2024</p>\n<ul>\n<li>New package_split webhook. It has been added to the webhooks v3.</li>\n</ul>\n<p>01/11/2024</p>\n<ul>\n<li>A new <strong>\"<strong>client_tracking_url</strong>\"</strong> field has been added to the V3 webhook payloads, providing your staff with a live tracking page to manage orders, access customer support, and view proof of deliveries.<br />  The existing <strong>\"<strong>tracking_url</strong>\"</strong> has been renamed to <strong>\"<strong>end_customer_tracking_url</strong>\"</strong> to clarify its purpose for end-customers tracking their deliveries.</li>\n</ul>\n<p>27/09/2024</p>\n<ul>\n<li>A new \"return_reason\" field has been added to the 'get job' endpoint, providing the reason for a package return.</li>\n</ul>\n<p>11/06/2024</p>\n<ul>\n<li>New \"packages\" field added to the courier-assigned webhook payload, to share IDs of packages stacked with the one covered by the webhook.</li>\n</ul>\n<p>27/05/2024</p>\n<ul>\n<li>Update the 'job creation' endpoint. The error \"UNSUPPORTED_JOB_STACKING\" has been added.</li>\n</ul>\n<p>11/12/2023</p>\n<ul>\n<li>New courier_moving to dropoff webhook. It has been added to the webhooks v3.</li>\n</ul>\n<p>21/11/2023</p>\n<ul>\n<li>Updated the 'job pricing' endpoint.</li>\n</ul>\n<p>31/10/2023</p>\n<ul>\n<li>New 'Delivery order ready' endpoint.</li>\n</ul>\n<p>10/10/2023</p>\n<ul>\n<li>New \"partner_data\" field added to the job creation payload.</li>\n</ul>\n<p>25/09/2023</p>\n<ul>\n<li><p>New \"Customer promised time\" endpoint added, to return the estimate time to dropoff address.</p>\n</li>\n<li><p>New <a href=\"#74fc3fb4-87d5-43c1-b1e7-0de6eb318b3c\">webhooks \"v3\"</a> released, adding new statuses and more granularity to the tracking.</p>\n</li>\n</ul>\n<p>05/09/2023</p>\n<ul>\n<li><p>Access is restricted to proof of delivery and invoice image url's, available through <a href=\"https://api-docs.stuart.com/#abf5c056-9683-4711-9c37-0f5557f3d0b2\">GET Job endpoints</a>, with Time to Live (TTL) of 48 hours for <code>signature_url</code> and <code>proof_of_delivery_url</code>, and 1 hour for <code>invoive_url</code>.</p>\n</li>\n<li><p>⚠️ Please note that URL links can be up to 2000 characters in length.</p>\n</li>\n<li><p>To access these contents at any time we recommend storing the image in your systems.</p>\n</li>\n</ul>\n<p>04/09/2023</p>\n<ul>\n<li>Courier online/offline webhook events for dedicated fleets are now deprecated, the endpoint details have been removed from this documentation. More details <a href=\"https://community.stuart.engineering/t/feature-deprecation-courier-online-offline-webhooks/1999\">here</a>.</li>\n</ul>\n<p>09/08/2023</p>\n<p>Scheduled offering added:</p>\n<ul>\n<li><p>'<a href=\"https://api-docs.stuart.com/#9acceabc-f973-49a4-a32b-9d19645baa75\">get delivery slots'</a> endpoint allows you to retrieve available scheduled delivery slots configured for your account, which can then be displayed to your customers.</p>\n</li>\n<li><p>New attributes added to the job creation endpoint, <code>offering_type</code> to specify a scheduled delivery request, and <code>delivery_slot_ID</code> for specifying a slot from the 'get delivery slots' endpoint.</p>\n</li>\n</ul>\n<p>10/07/2023</p>\n<ul>\n<li>Now able to request pin-code validation as proof of delivery at a package level within the <code>delivery options</code> object. More details can be found <a href=\"https://community.stuart.engineering/t/new-proof-of-delivery-feature-pin-code-verification/1958\">here</a>.</li>\n</ul>\n<p>06/07/2023</p>\n<ul>\n<li>Added a new POST /addresses/validate endpoint. It is now possible to check an address validity using its coordinates.</li>\n</ul>\n<p>25/12/2022</p>\n<ul>\n<li>Now able to specify the<code>dropoffs_contact</code>'s extension numbe in the new <code>phone_pin_code</code> field. More details can be found <a href=\"https://community.stuart.engineering/t/new-feature-drop-off-contacts-extension-number/1771\">here</a>.</li>\n</ul>\n<p>14/12/2022</p>\n<ul>\n<li><p>Now able to retrieve photo proof of delivery in the API response of the \"Get a Job\" &amp; \"Get Jobs\" endpoints. More information <a href=\"https://community.stuart.engineering/t/get-your-photo-proof-of-delivery-pod-by-api/1732\">here</a>.</p>\n</li>\n<li><p>Added <code>restricted_items</code> as <code>delivery_options</code> in the Job creation endpoint. More details can be found <a href=\"https://community.stuart.engineering/t/flag-orders-containing-restricted-items/1749\">here</a>.</p>\n</li>\n</ul>\n","_postman_id":"676e38e0-3c9d-43c2-918f-c0106ad0e93f","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":true,"source":{"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","name":"Stuart On-demand","type":"folder"}}},{"name":"Help","item":[],"id":"34e506f3-da30-490d-846e-fcdd3e328a57","description":"<p>If you have any questions about your integration, there's a good chance someone may have already asked it in the <a href=\"https://community.stuart.engineering/\">developers community forum</a>. </p>\n<p>Find the answer your are looking for in the <a href=\"https://community.stuart.engineering/c/faq\">FAQ section</a> or ask your question by creating a new topic in the <a href=\"https://community.stuart.engineering/c/q-and-a\">Q&amp;A section</a>. Our team will get back to you as soon as possible!</p>\n<p>For any other <strong>non-technical</strong> requests please contact <a href=\"mailto:support@stuart.com\">support@stuart.com</a> or log into the <a href=\"https://dashboard.stuart.com\">production dashboard</a> and live chat with us.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"4ee41ae3-9466-47dd-8574-66533de6bcac","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3b5074be-19d2-4a1d-ae3e-ec5f557b62dd","type":"text/javascript","exec":[""]}}],"_postman_id":"34e506f3-da30-490d-846e-fcdd3e328a57"}],"id":"69c5cfaa-1063-4088-be5b-1a3578ad928e","description":"<p>This section details the full technical specification of the Stuart Delivery API. Please find additional content, help and guides in our <a href=\"https://community.stuart.engineering/\">Developer Community Forum</a>.</p>\n<p>Before starting your integration, we strongly recommend reading our <a href=\"https://stuart.com/developers/quick-start-guide/\">getting started</a> guide and following the linked guidance, including signing up to the forum to receive announcements of API changes and updates that may impact your integration.</p>\n<p>Be sure to make use of our <a href=\"https://www.youtube.com/watch?v=9WXoCtpeJx0\">postman collection</a> to help you play around with our API, you'll need to set up the authentication using the credentials you'll get by following the setup steps below.</p>\n<p><strong>Disclaimer</strong><br />Once your delivery is assigned to a courier, you can request their anonymous phone number. Once the delivery is complete, the phone number will expire. Read more about our <a href=\"https://community.stuart.engineering/t/anonymised-calling/319\"><em>two-way anonymised calling</em></a>.</p>\n<p><em><strong>Please note that, pursuant to the General Data Protection Regulation (GDPR), the minimisation of personal data is a mandatory requirement. During your integration, we therefore strongly recommend implementing our data masking solution in order to comply with the GDPR and other applicable data protection regulations.</strong></em></p>\n","auth":{"type":"oauth2","oauth2":{"client_authentication":"<client_authentication>","tokenName":"<token-name>","challengeAlgorithm":"<challenge-algorithm>","scope":"<scope>","grant_type":"<grant_type>","clientSecret":"{{oauth_client_secret}}","clientId":"{{oauth_client_id}}","accessTokenUrl":"<access-token-url>"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"68577f73-e863-46cb-a891-a720bcd85fef","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"46d09de4-b20e-40e7-9633-aaadcbcd7b64","type":"text/javascript","exec":[""]}}],"_postman_id":"69c5cfaa-1063-4088-be5b-1a3578ad928e"}],"event":[{"listen":"prerequest","script":{"id":"43ef0fa5-4940-4025-864e-332df8f1144c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d956cc3d-9a5d-4580-82c4-266bd61a039d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"zone","value":"paris"},{"key":"job_id","value":"[job_id]"},{"key":"delivery_id","value":"[delivery_id]"},{"key":"client_reference","value":"[your_client_ref]"},{"key":"webhook_id","value":"[your_webhook_id]"},{"key":"h2h_transaction","value":"[transaction_id]"}]}