Use this endpoint to cancel a pickup that hasn’t taken place yet. The response contains the updated pickup.
How cancellation works
Carriers that support cancellation via their API: the pickup is canceled with the carrier during the request. If the carrier confirms, the response is 200 and the pickup has the status CANCELLED. If not, the response is 409 and the pickup has the status FAILED.
Carriers that Sendcloud Support handles cancellations for: Sendcloud Support cancels the pickup with the carrier on your behalf. The response is 202 and the pickup has the status CANCELLATION_REQUESTED. Once Support has handled the request, the status changes to CANCELLED, CANCELLATION_FAILED or CANCELLATION_REJECTED, which you can follow with the Retrieve a pickup endpoint.
Other carriers: the pickup can’t be canceled through Sendcloud. The response is 409.
A pickup can’t be canceled once its pickup time has started, or after the carrier’s cancellation deadline.
Authorizations
HTTPBasicAuthOAuth2ClientCreds
Authorization
string
header
required
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Scopes
write:pickup
Schedule and manage carrier pickups
Path Parameters
id
integer
required
The id of the pickup you want to cancel.
Response
The carrier has canceled the pickup.
data
BRT Pickup Object · object
BRT Pickup Object
Correos Express Pickup Object
Correos Express Pickup Object
DHL Germany Pickup Object
DHL Express Pickup Object
DHL Parcel GB Pickup Object
DHL Parcel Iberia Pickup Object
DHL Pickup Object
DPD AT Pickup Object
DPD Pickup Object
Fedex Pickup Object
GLS Italy Object
Hermes Germany Pickup Response
Poste Italiane Delivery Pickup request
UPS Pickup Object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sendcloud API Developer Portal","colors":{"primary":"#007deb","light":"#4aacff","dark":"#007deb"},"logo":{"light":"https://mintcdn.com/sendcloud/XCwUHYDXpvdKQUUZ/images/logo/sendcloud-light.svg?fit=max\u0026auto=format\u0026n=XCwUHYDXpvdKQUUZ\u0026q=85\u0026s=7f1beaa17361a486dea3cfbda34467ac","dark":"https://mintcdn.com/sendcloud/XCwUHYDXpvdKQUUZ/images/logo/sendcloud-dark.svg?fit=max\u0026auto=format\u0026n=XCwUHYDXpvdKQUUZ\u0026q=85\u0026s=d3f06cc6feef9092376cf6119275f26e"},"favicon":"https://mintcdn.com/sendcloud/LIehat_olPczp-rn/favicon.ico?fit=max\u0026auto=format\u0026n=LIehat_olPczp-rn\u0026q=85\u0026s=d41952b19261251914b518e534693461","footer":{"socials":{"facebook":"https://www.facebook.com/sendcloud","instagram":"https://instagram.com/sendcloud","linkedin":"https://www.linkedin.com/company/sendcloud"},"links":[{"header":"Product","items":[{"label":"About us","href":"https://sendcloud.com"},{"label":"Sendcloud platform","href":"https://app.sendcloud.com"},{"label":"Release log","href":"https://releaselog.sendcloud.com/changelog"},{"label":"Jobs 🚀","href":"https://jobs.sendcloud.com"}]},{"header":"Support","items":[{"label":"Help center","href":"https://support.sendcloud.com"},{"label":"Status page","href":"https://status.sendcloud.com"}]}]},"seo":{"metatags":{"google-site-verification":"Wl-7Uz7alSq_fG01AMbtDKMMQIDt-yQ4u7uFB3QuV8k"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","download-spec"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendcloud","hasAudioNarration":false,"actualSubdomain":"sendcloud","customDomains":["sendcloud.dev"],"gitSource":{"type":"gitlab","owner":"sendcloud/platform/api","repo":"sendcloud-public-api-documentation","projectId":75015551,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b003529baa97067db10ac73","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API v3","count":150},{"language":"default","tag":"API v2","count":92},{"language":"default","tag":"Developer guides","count":66},{"language":"default","tag":"Shipping","count":40},{"language":"default","tag":"Tracking \u0026 post-purchase","count":30},{"language":"default","tag":"Shipments","count":24},{"language":"default","tag":"Events \u0026 notifications","count":22},{"language":"default","tag":"Support","count":20},{"language":"default","tag":"Getting started","count":17},{"language":"default","tag":"Event subscriptions","count":15}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".mermaid svg{margin-inline:auto}"}]}
{"page":{"pagePath":"api/v3/pickups/cancel-a-pickup","slug":"/api/v3/pickups/cancel-a-pickup","pageMetadata":{"title":"Cancel a pickup","description":"Cancel a scheduled pickup, if the carrier and the pickup allow it.","deprecated":null,"version":null,"sidebarTitle":"Cancel a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml post /pickups/{id}/cancel","href":"/api/v3/pickups/cancel-a-pickup","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Cancel a scheduled pickup, if the carrier and the pickup allow it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`OAuth2 scopes required: `,_jsx(_components.code,{children:`write:pickup`}),`. See `,_jsx(_components.a,{href:`/api/v3/scopes`,children:`Scopes for OAuth apps`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Use this endpoint to cancel a pickup that hasn’t taken place yet. The response contains the updated pickup.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-cancellation-works`,children:`How cancellation works`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Carriers that support cancellation via their API`}),`: the pickup is canceled with the carrier during the request. If the carrier confirms, the response is `,_jsx(_components.code,{children:`200`}),` and the pickup has the status `,_jsx(_components.code,{children:`CANCELLED`}),`. If not, the response is `,_jsx(_components.code,{children:`409`}),` and the pickup has the status `,_jsx(_components.code,{children:`FAILED`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Carriers that Sendcloud Support handles cancellations for`}),`: Sendcloud Support cancels the pickup with the carrier on your behalf. The response is `,_jsx(_components.code,{children:`202`}),` and the pickup has the status `,_jsx(_components.code,{children:`CANCELLATION_REQUESTED`}),`. Once Support has handled the request, the status changes to `,_jsx(_components.code,{children:`CANCELLED`}),`, `,_jsx(_components.code,{children:`CANCELLATION_FAILED`}),` or `,_jsx(_components.code,{children:`CANCELLATION_REJECTED`}),`, which you can follow with the `,_jsx(_components.a,{href:`/api/v3/pickups/retrieve-a-pickup`,children:`Retrieve a pickup`}),` endpoint.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Other carriers`}),`: the pickup can’t be canceled through Sendcloud. The response is `,_jsx(_components.code,{children:`409`}),`.`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`A pickup can’t be canceled once its pickup time has started, or after the carrier’s cancellation deadline.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cancel a pickup","description":"Cancel a scheduled pickup, if the carrier and the pickup allow it.","deprecated":null,"version":null,"sidebarTitle":"Cancel a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml post /pickups/{id}/cancel","href":"/api/v3/pickups/cancel-a-pickup","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How cancellation works","slug":"how-cancellation-works","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sendcloud/85bcd80b47d42300/js/cookiebot.js"],"openApiReferenceData":{"operation":{"summary":"Cancel a pickup","description":"Cancel a scheduled pickup, if the carrier and the pickup allow it.","x-mint":{"href":"/api/v3/pickups/cancel-a-pickup","content":"\u003cInfo>\n OAuth2 scopes required: `write:pickup`. See [Scopes for OAuth apps](/api/v3/scopes).\n\u003c/Info>\n\nUse this endpoint to cancel a pickup that hasn't taken place yet. The response contains the updated pickup.\n\n## How cancellation works\n\n- **Carriers that support cancellation via their API**: the pickup is canceled with the carrier during the request. If the carrier confirms, the response is `200` and the pickup has the status `CANCELLED`. If not, the response is `409` and the pickup has the status `FAILED`.\n- **Carriers that Sendcloud Support handles cancellations for**: Sendcloud Support cancels the pickup with the carrier on your behalf. The response is `202` and the pickup has the status `CANCELLATION_REQUESTED`. Once Support has handled the request, the status changes to `CANCELLED`, `CANCELLATION_FAILED` or `CANCELLATION_REJECTED`, which you can follow with the [Retrieve a pickup](/api/v3/pickups/retrieve-a-pickup) endpoint.\n- **Other carriers**: the pickup can't be canceled through Sendcloud. The response is `409`.\n\n\u003cInfo>\n A pickup can't be canceled once its pickup time has started, or after the carrier's cancellation deadline.\n\u003c/Info>"},"tags":["Pickups"],"operationId":"sc-public-v3-scp-post-cancel_pickup","security":["724a0c64-179e-40b0-a5e3-0569e6922bbd","6e9e056f-93a7-4e68-b289-3751fba6c146"],"responses":{"200":"43dc75e2-1ecd-470e-a25c-397eb63bb842","202":"5bf03afc-3231-442f-80f3-7c26591fd51d","401":"5a45625d-f5f8-46f2-910f-680394ee7f2f","403":"56b7a930-c882-433b-9d92-02b1624663c8","404":"ed167e2c-3654-470a-8786-9934b57fb069","409":"d4ca55ae-882e-4739-a70b-241f60508e99"},"method":"post","type":"path","servers":["2cfd7faf-e5cd-41aa-a2b9-b52fd7fc5d86"],"path":"/pickups/{id}/cancel","baseUrlOptions":["https://panel.sendcloud.sc/api/v3"],"title":"Cancel a pickup","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"27fa1f48-0e77-4ce6-9b94-1a0d3e58362e":{"schema":{"type":"integer","isRequired":true,"description":"The `id` of the pickup you want to cancel.","uniqueKey":"","typeLabel":"integer"},"name":"id","in":"path","required":true,"description":"The `id` of the pickup you want to cancel."}},"responses":{"43dc75e2-1ecd-470e-a25c-397eb63bb842":{"description":"The carrier has canceled the pickup.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","title":"BRT Pickup Object","required":["time_slots","quantity","total_weight","carrier_code","address"],"properties":{"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.0.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.0.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.0.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","maxItems":1,"minItems":1,"isRequired":true,"uniqueKey":"data.oneOf.0.time_slots","typeLabel":"Time Slot Object · object[]"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["brt"],"example":"dhl_express","isRequired":true,"uniqueKey":"data.oneOf.0.carrier_code","typeLabel":"enum\u003cstring>"},"quantity":{"type":"integer","minimum":1,"description":"Number of parcels to pick up.","isRequired":true,"uniqueKey":"data.oneOf.0.quantity","typeLabel":"integer"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.0.total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.0.total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.0.total_weight","typeLabel":"Weight · object"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","state_province_code"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.0.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.0.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.0.address.city","typeLabel":"string"},"state_province_code":{"type":"string","description":"State code of the pickup place according to ISO 3166-2. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","minLength":1,"example":"IT-RM","isRequired":true,"uniqueKey":"data.oneOf.0.address.state_province_code","typeLabel":"string"},"country_code":{"type":"string","description":"Country code of the pickup place according to ISO 3166-1 alpha-2.","minLength":1,"example":"IT","isRequired":true,"uniqueKey":"data.oneOf.0.address.country_code","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.0.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.0.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.0.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.0.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.0.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.address.po_box","typeLabel":"string | null"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.0.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","description":"Phone number of the person associated with the address","example":"+319881729999","uniqueKey":"data.oneOf.0.address.phone_number","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.0.address","typeLabel":"Pickup Address Object · object"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.0.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.0.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.0.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","uniqueKey":"data.oneOf.0.special_instructions","typeLabel":"string"},"contract_id":{"oneOf":[{"type":"integer","description":"Contract ID you want to use for the pickup request.","uniqueKey":"data.oneOf.0.contract_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Contract ID you want to use for the pickup request.","uniqueKey":"data.oneOf.0.contract_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.contract_id","typeLabel":"integer | null"}},"uniqueKey":"data.oneOf.0","typeLabel":"BRT Pickup Object · object"},{"type":"object","title":"Correos Express Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.1.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["correos_express"],"example":"dhl_express","uniqueKey":"data.oneOf.1.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.1.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.1.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.1.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.1.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.1.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.1.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.1.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.1.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.1.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.1.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.1.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.1.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.1.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.1.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.1.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.1.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.1.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.1.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.1.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.1.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.1.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.1.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.1.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.1.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.1.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.1.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.1","typeLabel":"Correos Express Pickup Object · object"},{"type":"object","title":"Correos Express Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.2.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["correos"],"example":"dhl_express","uniqueKey":"data.oneOf.2.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.2.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.2.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.2.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.2.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.2.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.2.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.2.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.2.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.2.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.2.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.2.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.2.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.2.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.2.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.2.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.2.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.2.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.2.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.2.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.2.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.2.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.2.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.2.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.2.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.2.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.2.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.2","typeLabel":"Correos Express Pickup Object · object"},{"type":"object","title":"DHL Germany Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.3.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_de"],"example":"dhl_express","uniqueKey":"data.oneOf.3.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.3.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.3.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"DHL DE Pickup Item Object","description":"Items to be picked up.","required":["quantity","container_type","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"uniqueKey":"data.oneOf.3.\\items.items.[INDEX]","typeLabel":"DHL DE Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.3.\\items","typeLabel":"DHL DE Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.3.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.3.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.3.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.3.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.3.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.3.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.3.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.3.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.3.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.3.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.3.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.3.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.3.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.3.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.3.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.3.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.3.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.3.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.3","typeLabel":"DHL Germany Pickup Object · object"},{"type":"object","title":"DHL Express Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.4.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_express"],"example":"dhl_express","uniqueKey":"data.oneOf.4.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.4.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.4.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.4.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.4.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.4.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.4.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.4.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.4.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.4.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.4.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.4.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.4.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.4.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.4.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.4.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.4.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.4.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.4.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.4.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.4.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.4.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.4.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.4.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.4.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.4.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.4.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.4","typeLabel":"DHL Express Pickup Object · object"},{"type":"object","title":"DHL Parcel GB Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.5.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_parcel_gb"],"example":"dhl_express","uniqueKey":"data.oneOf.5.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.5.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.5.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.5.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.5.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.5.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.5.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.5.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.5.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.5.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.5.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.5.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.5.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.5.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.5.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.5.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.5.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.5.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.5.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.5.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.5.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.5.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.5.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.5","typeLabel":"DHL Parcel GB Pickup Object · object"},{"type":"object","title":"DHL Parcel Iberia Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.6.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_parcel_iberia"],"example":"dhl_express","uniqueKey":"data.oneOf.6.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.6.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.6.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.6.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.6.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.6.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.6.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.6.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.6.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.6.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.6.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.6.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.6.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.6.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.6.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.6.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.6.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.6.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.6.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.6.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.6.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.6.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.6.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.6.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.6.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.6","typeLabel":"DHL Parcel Iberia Pickup Object · object"},{"type":"object","title":"DHL Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.7.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl"],"example":"dhl_express","uniqueKey":"data.oneOf.7.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.7.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.7.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.7.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.7.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"DHL Pickup Item Object","description":"Items to be picked up.","required":["quantity","container_type","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"uniqueKey":"data.oneOf.7.\\items.items.[INDEX]","typeLabel":"DHL Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.7.\\items","typeLabel":"DHL Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.7.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.7.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.7.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.7.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.7.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.7.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.7.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.7.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.7.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.7.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.7.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.7.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.7.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.7.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.7.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.7.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.7.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.7.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.7","typeLabel":"DHL Pickup Object · object"},{"type":"object","title":"DPD AT Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.8.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dpd_at"],"example":"dhl_express","uniqueKey":"data.oneOf.8.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.8.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.8.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.8.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.8.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"DPD AT Pickup Item Object","description":"Items to be picked up.","required":["quantity","container_type","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"uniqueKey":"data.oneOf.8.\\items.items.[INDEX]","typeLabel":"DPD AT Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.8.\\items","typeLabel":"DPD AT Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.8.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.8.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.8.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.8.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.8.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.8.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.8.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.8.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.8.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.8.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.8.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.8.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.8.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.8.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.8.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.8.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.8.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.8.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.8.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.8.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.8","typeLabel":"DPD AT Pickup Object · object"},{"type":"object","title":"DPD Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.9.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dpd"],"example":"dhl_express","uniqueKey":"data.oneOf.9.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.9.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.9.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.9.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.9.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.9.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.9.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.9.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.9.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.9.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.9.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.9.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.9.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.9.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.9.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.9.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.9.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.9.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.9.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.9.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.9.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.9.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.9.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.9.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.9.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.9","typeLabel":"DPD Pickup Object · object"},{"type":"object","title":"Fedex Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.10.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["fedex"],"example":"dhl_express","uniqueKey":"data.oneOf.10.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.10.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.10.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.10.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.10.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.10.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.10.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.10.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.10.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.10.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.10.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.10.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.10.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.10.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.10.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.10.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.10.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.10.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.10.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.10.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.10.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.10.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.10.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.10.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.10.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.10.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.10.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.10.address","typeLabel":"Pickup Address Object · object"},"origin_detail":{"title":"Fedex Origin Detail Object","description":"Descriptive data about the origin of the shipment being picked up by FedEx.","type":"object","properties":{"package_location":{"description":"Provides a location description where the courier/driver will pick up the package.","type":"string","enum":["front","none","rear","side"],"isRequired":true,"uniqueKey":"data.oneOf.10.origin_detail.package_location","typeLabel":"enum\u003cstring>"},"building_part":{"description":"Describe package location building part.","type":"string","enum":["apartment","building","department","floor","room","suite"],"isRequired":true,"uniqueKey":"data.oneOf.10.origin_detail.building_part","typeLabel":"enum\u003cstring>"},"company_close_time":{"description":"Identifies the latest time at which the driver can gain access to pick up the package.","type":"string","format":"time","example":"17:00:00Z","isRequired":true,"uniqueKey":"data.oneOf.10.origin_detail.company_close_time","typeLabel":"string\u003ctime>"},"building_part_description":{"description":"Additional description of package pickup location.","type":"string","uniqueKey":"data.oneOf.10.origin_detail.building_part_description","typeLabel":"string"}},"required":["package_location","building_part","company_close_time"],"uniqueKey":"data.oneOf.10.origin_detail","typeLabel":"Fedex Origin Detail Object · object"}},"uniqueKey":"data.oneOf.10","typeLabel":"Fedex Pickup Object · object"},{"type":"object","title":"GLS Italy Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.11.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["gls_it"],"example":"dhl_express","uniqueKey":"data.oneOf.11.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.11.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.11.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.11.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. One or two time slots can be defined, one for the morning and one for the afternoon.\n","maxItems":2,"minItems":1,"uniqueKey":"data.oneOf.11.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.11.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.11.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.11.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.11.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.11.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.11.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.11.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.11.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.11.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.11.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","state_province_code"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.11.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.11.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.11.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.11.address.city","typeLabel":"string"},"state_province_code":{"type":"string","description":"State code of the pickup place according to ISO 3166-2. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","minLength":1,"example":"IT-RM","isRequired":true,"uniqueKey":"data.oneOf.11.address.state_province_code","typeLabel":"string"},"country_code":{"type":"string","description":"Country code of the pickup place according to ISO 3166-1 alpha-2.","minLength":1,"example":"IT","isRequired":true,"uniqueKey":"data.oneOf.11.address.country_code","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.11.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.11.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.11.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.11.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.11.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.11.address.po_box","typeLabel":"string | null"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.11.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","description":"Phone number of the person associated with the address","example":"+319881729999","uniqueKey":"data.oneOf.11.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.11.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.11","typeLabel":"GLS Italy Object · object"},{"type":"object","title":"Hermes Germany Pickup Response","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.12.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["hermes_de"],"example":"dhl_express","uniqueKey":"data.oneOf.12.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.12.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.12.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.12.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.12.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.12.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.12.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.12.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.12.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.12.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.12.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.12.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.12.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.12.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.12.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.12.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.12.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.12.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.12.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.12.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.12.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.12.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.12.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.12.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.12.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.12.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.12.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.12","typeLabel":"Hermes Germany Pickup Response · object"},{"type":"object","title":"Poste Italiane Delivery Pickup request","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.13.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["poste_it_delivery"],"example":"dhl_express","uniqueKey":"data.oneOf.13.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.13.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.13.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.13.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.13.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.13.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.13.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.13.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.13.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.13.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.13.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.13.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.13.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.13.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","state_province_code"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.13.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.13.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.13.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.13.address.city","typeLabel":"string"},"state_province_code":{"type":"string","description":"State code of the pickup place according to ISO 3166-2. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","minLength":1,"example":"IT-RM","isRequired":true,"uniqueKey":"data.oneOf.13.address.state_province_code","typeLabel":"string"},"country_code":{"type":"string","description":"Country code of the pickup place according to ISO 3166-1 alpha-2.","minLength":1,"example":"IT","isRequired":true,"uniqueKey":"data.oneOf.13.address.country_code","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.13.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.13.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.13.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.13.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.13.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.13.address.po_box","typeLabel":"string | null"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.13.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","description":"Phone number of the person associated with the address","example":"+319881729999","uniqueKey":"data.oneOf.13.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.13.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.13","typeLabel":"Poste Italiane Delivery Pickup request · object"},{"type":"object","title":"UPS Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.14.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["ups"],"example":"dhl_express","uniqueKey":"data.oneOf.14.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.14.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.14.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.14.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.14.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"UPS Pickup Item Object","description":"Items to be picked up.","required":["quantity","destination_country_code","container_type","shipping_option","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"},"destination_country_code":{"type":"string","example":"GB","minLength":2,"maxLength":2,"description":"Destination country code.","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].destination_country_code","typeLabel":"string"},"shipping_option":{"type":"string","example":"express","description":"Shipping option for the pickup.","enum":["standard","express","express_saver"],"isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].shipping_option","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.14.\\items.items.[INDEX]","typeLabel":"UPS Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.14.\\items","typeLabel":"UPS Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.14.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.14.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.14.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.14.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.14.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.14.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.14.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.14.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.14.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.14.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.14.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.14.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.14.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.14.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.14.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.14.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.14.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.14.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.14.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.14.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.14.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.14.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.14.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.14.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.14","typeLabel":"UPS Pickup Object · object"}],"uniqueKey":"data","typeLabel":"BRT Pickup Object · object · Correos Express Pickup Object · object · Correos Express Pickup Object · object · DHL Germany Pickup Object · object · DHL Express Pickup Object · object · DHL Parcel GB Pickup Object · object · DHL Parcel Iberia Pickup Object · object · DHL Pickup Object · object · DPD AT Pickup Object · object · DPD Pickup Object · object · Fedex Pickup Object · object · GLS Italy Object · object · Hermes Germany Pickup Response · object · Poste Italiane Delivery Pickup request · object · UPS Pickup Object · object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Cancelled":{"title":"Cancelled","summary":"Pickup canceled by the carrier","value":{"data":{"id":1,"time_slots":[{"start_at":"2022-04-06T12:00:00Z","end_at":"2022-04-06T17:00:00Z"}],"address":{"name":"John Doe","city":"Eindhoven","country_code":"NL","address_line_1":"Stadhuisplein","house_number":"10","address_line_2":"","postal_code":"5611 EM","company_name":"Sendcloud","email":"example@sendcloud.com","phone_number":"+310612345678"},"items":[{"quantity":1,"container_type":"parcel","total_weight":{"value":"2.00","unit":"kg"}}],"reference":"","special_instructions":"","tracking_number":"PRG220406003404","status":"CANCELLED","created_at":"2022-03-30T10:57:02.344479Z","cancelled_at":"2022-03-30T10:57:11.656260Z","carrier_code":"dhl_express","contract_id":10}}}},"exampleType":"examples"}},"exampleType":"examples"},"5bf03afc-3231-442f-80f3-7c26591fd51d":{"description":"The cancellation was requested from Sendcloud Support.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","title":"BRT Pickup Object","required":["time_slots","quantity","total_weight","carrier_code","address"],"properties":{"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.0.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.0.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.0.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","maxItems":1,"minItems":1,"isRequired":true,"uniqueKey":"data.oneOf.0.time_slots","typeLabel":"Time Slot Object · object[]"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["brt"],"example":"dhl_express","isRequired":true,"uniqueKey":"data.oneOf.0.carrier_code","typeLabel":"enum\u003cstring>"},"quantity":{"type":"integer","minimum":1,"description":"Number of parcels to pick up.","isRequired":true,"uniqueKey":"data.oneOf.0.quantity","typeLabel":"integer"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.0.total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.0.total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.0.total_weight","typeLabel":"Weight · object"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","state_province_code"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.0.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.0.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.0.address.city","typeLabel":"string"},"state_province_code":{"type":"string","description":"State code of the pickup place according to ISO 3166-2. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","minLength":1,"example":"IT-RM","isRequired":true,"uniqueKey":"data.oneOf.0.address.state_province_code","typeLabel":"string"},"country_code":{"type":"string","description":"Country code of the pickup place according to ISO 3166-1 alpha-2.","minLength":1,"example":"IT","isRequired":true,"uniqueKey":"data.oneOf.0.address.country_code","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.0.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.0.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.0.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.0.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.0.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.address.po_box","typeLabel":"string | null"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.0.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","description":"Phone number of the person associated with the address","example":"+319881729999","uniqueKey":"data.oneOf.0.address.phone_number","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.0.address","typeLabel":"Pickup Address Object · object"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.0.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.0.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.0.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.0.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","uniqueKey":"data.oneOf.0.special_instructions","typeLabel":"string"},"contract_id":{"oneOf":[{"type":"integer","description":"Contract ID you want to use for the pickup request.","uniqueKey":"data.oneOf.0.contract_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Contract ID you want to use for the pickup request.","uniqueKey":"data.oneOf.0.contract_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.contract_id","typeLabel":"integer | null"}},"uniqueKey":"data.oneOf.0","typeLabel":"BRT Pickup Object · object"},{"type":"object","title":"Correos Express Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.1.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["correos_express"],"example":"dhl_express","uniqueKey":"data.oneOf.1.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.1.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.1.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.1.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.1.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.1.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.1.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.1.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.1.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.1.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.1.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.1.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.1.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.1.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.1.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.1.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.1.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.1.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.1.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.1.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.1.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.1.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.1.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.1.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.1.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.1.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.1.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.1.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.1","typeLabel":"Correos Express Pickup Object · object"},{"type":"object","title":"Correos Express Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.2.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["correos"],"example":"dhl_express","uniqueKey":"data.oneOf.2.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.2.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.2.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.2.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.2.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.2.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.2.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.2.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.2.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.2.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.2.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.2.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.2.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.2.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.2.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.2.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.2.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.2.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.2.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.2.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.2.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.2.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.2.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.2.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.2.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.2.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.2.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.2.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.2","typeLabel":"Correos Express Pickup Object · object"},{"type":"object","title":"DHL Germany Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.3.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_de"],"example":"dhl_express","uniqueKey":"data.oneOf.3.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.3.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.3.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"DHL DE Pickup Item Object","description":"Items to be picked up.","required":["quantity","container_type","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.3.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"uniqueKey":"data.oneOf.3.\\items.items.[INDEX]","typeLabel":"DHL DE Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.3.\\items","typeLabel":"DHL DE Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.3.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.3.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.3.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.3.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.3.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.3.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.3.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.3.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.3.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.3.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.3.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.3.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.3.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.3.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.3.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.3.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.3.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.3.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.3.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.3","typeLabel":"DHL Germany Pickup Object · object"},{"type":"object","title":"DHL Express Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.4.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_express"],"example":"dhl_express","uniqueKey":"data.oneOf.4.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.4.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.4.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.4.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.4.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.4.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.4.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.4.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.4.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.4.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.4.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.4.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.4.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.4.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.4.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.4.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.4.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.4.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.4.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.4.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.4.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.4.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.4.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.4.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.4.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.4.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.4.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.4.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.4","typeLabel":"DHL Express Pickup Object · object"},{"type":"object","title":"DHL Parcel GB Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.5.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_parcel_gb"],"example":"dhl_express","uniqueKey":"data.oneOf.5.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.5.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.5.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.5.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.5.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.5.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.5.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.5.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.5.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.5.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.5.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.5.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.5.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.5.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.5.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.5.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.5.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.5.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.5.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.5.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.5.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.5.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.5.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.5.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.5.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.5","typeLabel":"DHL Parcel GB Pickup Object · object"},{"type":"object","title":"DHL Parcel Iberia Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.6.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl_parcel_iberia"],"example":"dhl_express","uniqueKey":"data.oneOf.6.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.6.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.6.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.6.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.6.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.6.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.6.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.6.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.6.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.6.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.6.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.6.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.6.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.6.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.6.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.6.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.6.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.6.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.6.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.6.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.6.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.6.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.6.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.6.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.6.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.6.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.6.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.6","typeLabel":"DHL Parcel Iberia Pickup Object · object"},{"type":"object","title":"DHL Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.7.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dhl"],"example":"dhl_express","uniqueKey":"data.oneOf.7.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.7.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.7.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.7.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.7.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"DHL Pickup Item Object","description":"Items to be picked up.","required":["quantity","container_type","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.7.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"uniqueKey":"data.oneOf.7.\\items.items.[INDEX]","typeLabel":"DHL Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.7.\\items","typeLabel":"DHL Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.7.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.7.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.7.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.7.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.7.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.7.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.7.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.7.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.7.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.7.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.7.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.7.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.7.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.7.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.7.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.7.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.7.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.7.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.7.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.7","typeLabel":"DHL Pickup Object · object"},{"type":"object","title":"DPD AT Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.8.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dpd_at"],"example":"dhl_express","uniqueKey":"data.oneOf.8.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.8.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.8.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.8.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slot for the pickup.","minItems":1,"uniqueKey":"data.oneOf.8.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"DPD AT Pickup Item Object","description":"Items to be picked up.","required":["quantity","container_type","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.8.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"uniqueKey":"data.oneOf.8.\\items.items.[INDEX]","typeLabel":"DPD AT Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.8.\\items","typeLabel":"DPD AT Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.8.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.8.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.8.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.8.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.8.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.8.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.8.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.8.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.8.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.8.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.8.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.8.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.8.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.8.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.8.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.8.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.8.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.8.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.8.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.8.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.8.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.8","typeLabel":"DPD AT Pickup Object · object"},{"type":"object","title":"DPD Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.9.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["dpd"],"example":"dhl_express","uniqueKey":"data.oneOf.9.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.9.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.9.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.9.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.9.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.9.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.9.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.9.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.9.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.9.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.9.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.9.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.9.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.9.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.9.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.9.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.9.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.9.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.9.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.9.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.9.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.9.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.9.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.9.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.9.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.9.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.9.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.9.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.9","typeLabel":"DPD Pickup Object · object"},{"type":"object","title":"Fedex Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.10.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["fedex"],"example":"dhl_express","uniqueKey":"data.oneOf.10.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.10.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.10.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.10.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.10.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.10.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.10.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.10.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.10.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.10.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.10.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.10.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.10.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.10.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.10.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.10.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.10.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.10.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.10.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.10.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.10.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.10.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.10.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.10.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.10.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.10.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.10.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.10.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.10.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.10.address","typeLabel":"Pickup Address Object · object"},"origin_detail":{"title":"Fedex Origin Detail Object","description":"Descriptive data about the origin of the shipment being picked up by FedEx.","type":"object","properties":{"package_location":{"description":"Provides a location description where the courier/driver will pick up the package.","type":"string","enum":["front","none","rear","side"],"isRequired":true,"uniqueKey":"data.oneOf.10.origin_detail.package_location","typeLabel":"enum\u003cstring>"},"building_part":{"description":"Describe package location building part.","type":"string","enum":["apartment","building","department","floor","room","suite"],"isRequired":true,"uniqueKey":"data.oneOf.10.origin_detail.building_part","typeLabel":"enum\u003cstring>"},"company_close_time":{"description":"Identifies the latest time at which the driver can gain access to pick up the package.","type":"string","format":"time","example":"17:00:00Z","isRequired":true,"uniqueKey":"data.oneOf.10.origin_detail.company_close_time","typeLabel":"string\u003ctime>"},"building_part_description":{"description":"Additional description of package pickup location.","type":"string","uniqueKey":"data.oneOf.10.origin_detail.building_part_description","typeLabel":"string"}},"required":["package_location","building_part","company_close_time"],"uniqueKey":"data.oneOf.10.origin_detail","typeLabel":"Fedex Origin Detail Object · object"}},"uniqueKey":"data.oneOf.10","typeLabel":"Fedex Pickup Object · object"},{"type":"object","title":"GLS Italy Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.11.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["gls_it"],"example":"dhl_express","uniqueKey":"data.oneOf.11.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.11.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.11.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.11.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. One or two time slots can be defined, one for the morning and one for the afternoon.\n","maxItems":2,"minItems":1,"uniqueKey":"data.oneOf.11.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.11.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.11.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.11.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.11.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.11.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.11.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.11.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.11.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.11.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.11.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.11.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","state_province_code"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.11.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.11.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.11.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.11.address.city","typeLabel":"string"},"state_province_code":{"type":"string","description":"State code of the pickup place according to ISO 3166-2. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","minLength":1,"example":"IT-RM","isRequired":true,"uniqueKey":"data.oneOf.11.address.state_province_code","typeLabel":"string"},"country_code":{"type":"string","description":"Country code of the pickup place according to ISO 3166-1 alpha-2.","minLength":1,"example":"IT","isRequired":true,"uniqueKey":"data.oneOf.11.address.country_code","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.11.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.11.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.11.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.11.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.11.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.11.address.po_box","typeLabel":"string | null"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.11.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","description":"Phone number of the person associated with the address","example":"+319881729999","uniqueKey":"data.oneOf.11.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.11.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.11","typeLabel":"GLS Italy Object · object"},{"type":"object","title":"Hermes Germany Pickup Response","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.12.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["hermes_de"],"example":"dhl_express","uniqueKey":"data.oneOf.12.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.12.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.12.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.12.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.12.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.12.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.12.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.12.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.12.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.12.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.12.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.12.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.12.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.12.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.12.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.12.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.12.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code"],"properties":{"name":{"type":"string","example":"John Doe","description":"Name of the person associated with the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"data.oneOf.12.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.city","typeLabel":"string"},"country_code":{"type":"string","example":"NL","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.12.address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"data.oneOf.12.address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"data.oneOf.12.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.12.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.12.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.12.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.12.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","example":"IT-RM","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","uniqueKey":"data.oneOf.12.address.state_province_code","typeLabel":"string"},"email":{"type":"string","format":"email","example":"johndoe@gmail.com","description":"Email address of the person associated with the address","uniqueKey":"data.oneOf.12.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"data.oneOf.12.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.12.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.12","typeLabel":"Hermes Germany Pickup Response · object"},{"type":"object","title":"Poste Italiane Delivery Pickup request","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.13.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["poste_it_delivery"],"example":"dhl_express","uniqueKey":"data.oneOf.13.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"title":"Time Slot List","type":"array","description":"Scheduled time slots for the pickup","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","format":"date-time","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].end_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].end_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.13.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.13.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"minItems":1,"uniqueKey":"data.oneOf.13.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"title":"Pickup Item Object","type":"object","description":"Information about the items to be picked up.","properties":{"quantity":{"type":"integer","minimum":1,"description":"Number of items to pick up.","isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","example":"parcel","description":"Type of containers to be picked up.","enum":["parcel"],"isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"title":"Weight","type":"object","description":"Total weight in kilograms.","properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"data.oneOf.13.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"}},"required":["quantity","container_type","total_weight"],"uniqueKey":"data.oneOf.13.\\items.items.[INDEX]","typeLabel":"Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.13.\\items","typeLabel":"Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.13.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.13.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.13.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.13.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.13.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.13.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.13.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.13.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.13.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","state_province_code"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.13.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.13.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.13.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.13.address.city","typeLabel":"string"},"state_province_code":{"type":"string","description":"State code of the pickup place according to ISO 3166-2. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","minLength":1,"example":"IT-RM","isRequired":true,"uniqueKey":"data.oneOf.13.address.state_province_code","typeLabel":"string"},"country_code":{"type":"string","description":"Country code of the pickup place according to ISO 3166-1 alpha-2.","minLength":1,"example":"IT","isRequired":true,"uniqueKey":"data.oneOf.13.address.country_code","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.13.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.13.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.13.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.13.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.13.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.13.address.po_box","typeLabel":"string | null"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.13.address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","description":"Phone number of the person associated with the address","example":"+319881729999","uniqueKey":"data.oneOf.13.address.phone_number","typeLabel":"string"}},"uniqueKey":"data.oneOf.13.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.13","typeLabel":"Poste Italiane Delivery Pickup request · object"},{"type":"object","title":"UPS Pickup Object","properties":{"id":{"type":"integer","format":"int64","minimum":1,"description":"Unique identifier of the pickup.","uniqueKey":"data.oneOf.14.id","typeLabel":"integer\u003cint64>"},"carrier_code":{"type":"string","description":"Pickup carrier code selected by the user.","enum":["ups"],"example":"dhl_express","uniqueKey":"data.oneOf.14.carrier_code","typeLabel":"enum\u003cstring>"},"time_slots":{"type":"array","items":{"type":"object","title":"Time Slot Object","properties":{"start_at":{"type":"string","description":"Scheduled pickup time in ISO 8601 DateTime format with a timezone offset.","format":"date-time","uniqueKey":"data.oneOf.14.time_slots.items.[INDEX].start_at","typeLabel":"string\u003cdate-time>"},"end_at":{"type":"string","description":"ISO 8601 DateTime of the pickup location close time, with a timezone offset. It must be later than `start_at`. This could be useful in case the pickup is delayed.","format":"date-time","uniqueKey":"data.oneOf.14.time_slots.items.[INDEX].end_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.14.time_slots.items.[INDEX]","typeLabel":"Time Slot Object · object"},"title":"Time Slot List","description":"Scheduled time slots for the pickup. Note that most carriers only support a single time slot.","minItems":1,"uniqueKey":"data.oneOf.14.time_slots","typeLabel":"Time Slot Object · object[]"},"items":{"type":"array","items":{"type":"object","title":"UPS Pickup Item Object","description":"Items to be picked up.","required":["quantity","destination_country_code","container_type","shipping_option","total_weight"],"properties":{"quantity":{"type":"integer","description":"Number of items to pick up.","minimum":1,"isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].quantity","typeLabel":"integer"},"container_type":{"type":"string","description":"Type of containers to be picked up.","enum":["parcel"],"example":"parcel","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].container_type","typeLabel":"enum\u003cstring>"},"total_weight":{"type":"object","title":"Weight","description":"Total weight in kilograms.","required":["value","unit"],"properties":{"value":{"type":"string","description":"Weight value","example":"14.5","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].total_weight.value","typeLabel":"string"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].total_weight.unit","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].total_weight","typeLabel":"Weight · object"},"destination_country_code":{"type":"string","example":"GB","minLength":2,"maxLength":2,"description":"Destination country code.","isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].destination_country_code","typeLabel":"string"},"shipping_option":{"type":"string","example":"express","description":"Shipping option for the pickup.","enum":["standard","express","express_saver"],"isRequired":true,"uniqueKey":"data.oneOf.14.\\items.items.[INDEX].shipping_option","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.14.\\items.items.[INDEX]","typeLabel":"UPS Pickup Item Object · object"},"description":"Items scheduled to be picked up.","minItems":1,"uniqueKey":"data.oneOf.14.\\items","typeLabel":"UPS Pickup Item Object · object[]"},"reference":{"type":"string","description":"Reference number for your administration.","minLength":0,"uniqueKey":"data.oneOf.14.reference","typeLabel":"string"},"special_instructions":{"type":"string","description":"Special instructions for the pickup driver.","minLength":0,"uniqueKey":"data.oneOf.14.special_instructions","typeLabel":"string"},"tracking_number":{"type":"string","minLength":0,"uniqueKey":"data.oneOf.14.tracking_number","typeLabel":"string"},"status":{"type":"string","description":"The status of the pickup:\n- `null`: no status yet. Only pickups created before the `ANNOUNCING` status was introduced can have this. It means the same as `ANNOUNCING`.\n- `ANNOUNCING`: Sendcloud has stored the pickup request but hasn't sent it to the carrier yet.\n- `CREATED`: the carrier acknowledged the booking and the pickup fee, if any, is charged. This doesn't confirm that the parcels were collected.\n- `FAILED`: the carrier didn't accept the pickup request, or didn't confirm a cancellation.\n- `CANCELLING`: Sendcloud is canceling the pickup with the carrier.\n- `CANCELLED`: the pickup is canceled.\n- `CANCELLATION_REQUESTED`: a cancellation was requested from Sendcloud Support, which hasn't handled it yet.\n- `CANCELLATION_FAILED`: Sendcloud Support couldn't cancel the pickup with the carrier.\n- `CANCELLATION_REJECTED`: the carrier rejected the cancellation request.\n- `COMPLETED`: set automatically once the pickup's start time has passed. This isn't a confirmation from the carrier that the parcels were collected.\n\nSome carriers also send their own updates on the pickup:\n- `ACCEPTED`: the carrier accepted the pickup.\n- `EN_ROUTE`: the driver is on the way.\n- `DELAYED`: the carrier reported a delay.\n- `COLLECTED`: the carrier confirmed that the parcels were collected.\n- `ACTION_REQUIRED`: the carrier needs action from you before the pickup can take place.","enum":["CREATED","CANCELLED","FAILED","ANNOUNCING","CANCELLING","CANCELLATION_REQUESTED","CANCELLATION_FAILED","CANCELLATION_REJECTED","COMPLETED","ACCEPTED","EN_ROUTE","DELAYED","COLLECTED","ACTION_REQUIRED"],"uniqueKey":"data.oneOf.14.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is created.","uniqueKey":"data.oneOf.14.created_at","typeLabel":"string\u003cdate-time>"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.14.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 DateTime at which the pickup is canceled.","uniqueKey":"data.oneOf.14.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.14.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"contract_id":{"type":"integer","description":"Id of the contract that is used to create the pickup.","uniqueKey":"data.oneOf.14.contract_id","typeLabel":"integer"},"address":{"type":"object","title":"Pickup Address Object","description":"Pickup address information.","required":["name","address_line_1","postal_code","city","country_code","phone_number"],"properties":{"name":{"type":"string","description":"Name of the person associated with the address","minLength":1,"example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.14.address.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"First line of the address","example":"Stadhuisplein","isRequired":true,"uniqueKey":"data.oneOf.14.address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","description":"Zip code of the address","minLength":1,"example":"1013 AB","isRequired":true,"uniqueKey":"data.oneOf.14.address.postal_code","typeLabel":"string"},"city":{"type":"string","description":"City of the address","minLength":1,"example":"Eindhoven","isRequired":true,"uniqueKey":"data.oneOf.14.address.city","typeLabel":"string"},"country_code":{"type":"string","description":"The country code of the customer represented as ISO 3166-1 alpha-2","minLength":1,"example":"NL","isRequired":true,"uniqueKey":"data.oneOf.14.address.country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number of the contact person in the E.164 format.","example":"+319881729999","isRequired":true,"uniqueKey":"data.oneOf.14.address.phone_number","typeLabel":"string"},"company_name":{"type":"string","description":"Name of the company associated with the address","example":"Sendcloud","uniqueKey":"data.oneOf.14.address.company_name","typeLabel":"string"},"house_number":{"type":"string","description":"House number of the address","example":"50","uniqueKey":"data.oneOf.14.address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"data.oneOf.14.address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.14.address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"data.oneOf.14.address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.14.address.po_box","typeLabel":"string | null"},"state_province_code":{"type":"string","description":"The character state code of the customer represented as ISO 3166-2 code. This field is required for certain countries. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","uniqueKey":"data.oneOf.14.address.state_province_code","typeLabel":"string"},"email":{"type":"string","description":"Email address of the person associated with the address","format":"email","example":"johndoe@gmail.com","uniqueKey":"data.oneOf.14.address.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"data.oneOf.14.address","typeLabel":"Pickup Address Object · object"}},"uniqueKey":"data.oneOf.14","typeLabel":"UPS Pickup Object · object"}],"uniqueKey":"data","typeLabel":"BRT Pickup Object · object · Correos Express Pickup Object · object · Correos Express Pickup Object · object · DHL Germany Pickup Object · object · DHL Express Pickup Object · object · DHL Parcel GB Pickup Object · object · DHL Parcel Iberia Pickup Object · object · DHL Pickup Object · object · DPD AT Pickup Object · object · DPD Pickup Object · object · Fedex Pickup Object · object · GLS Italy Object · object · Hermes Germany Pickup Response · object · Poste Italiane Delivery Pickup request · object · UPS Pickup Object · object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"CancellationRequested":{"title":"CancellationRequested","summary":"Cancellation requested from Sendcloud Support","value":{"data":{"id":1,"time_slots":[{"start_at":"2022-04-06T12:00:00Z","end_at":"2022-04-06T17:00:00Z"}],"address":{"name":"John Doe","city":"Eindhoven","country_code":"NL","address_line_1":"Stadhuisplein","house_number":"10","address_line_2":"","postal_code":"5611 EM","company_name":"Sendcloud","email":"example@sendcloud.com","phone_number":"+310612345678"},"items":[{"quantity":1,"container_type":"parcel","total_weight":{"value":"2.00","unit":"kg"}}],"reference":"","special_instructions":"","tracking_number":"PRG220406003404","status":"CANCELLATION_REQUESTED","created_at":"2022-03-30T10:57:02.344479Z","cancelled_at":null,"carrier_code":"brt","contract_id":10}}}},"exampleType":"examples"}},"exampleType":"examples"},"5a45625d-f5f8-46f2-910f-680394ee7f2f":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Errors","type":"object","description":"A standardized format for errors in JSON:API responses.","properties":{"errors":{"oneOf":[{"type":"array","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].status","typeLabel":"string\u003cint32>"},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].detail","typeLabel":"string"},"id":{"type":"string","description":"A unique identifier for the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].id","typeLabel":"string"},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].links.about","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].links","typeLabel":"object"},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1,"uniqueKey":"errors.oneOf.0.items.[INDEX].title","typeLabel":"string"},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of the `header` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.header","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].source","typeLabel":"object"},"meta":{"type":"object","description":"Additional metadata about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].meta","typeLabel":"object"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"Error · object"},"uniqueKey":"errors.oneOf.0","typeLabel":"Error · object[]"},{"type":"object","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"id":{"type":"string","description":"A unique identifier for the error."},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error."}}},"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"]},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload."},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error."},"header":{"type":"string","description":"The name of the `header` parameter that caused the error."}}},"meta":{"type":"object","description":"Additional metadata about the error."}}},"uniqueKey":"errors.oneOf.1","typeLabel":"object"}],"uniqueKey":"errors","typeLabel":"Error · object[] | object"}},"uniqueKey":"","typeLabel":"Errors · object"},"examples":{"Unauthorized":{"title":"Unauthorized","summary":"Missing or invalid credentials","value":{"errors":[{"status":"401","code":"not_authenticated","detail":"Unauthorized"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"56b7a930-c882-433b-9d92-02b1624663c8":{"description":"Forbidden. The credentials don't have the `write:pickup` scope, or pickups aren't available for your account.","content":{"application/json":{"schema":{"title":"Errors","type":"object","description":"A standardized format for errors in JSON:API responses.","properties":{"errors":{"oneOf":[{"type":"array","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].status","typeLabel":"string\u003cint32>"},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].detail","typeLabel":"string"},"id":{"type":"string","description":"A unique identifier for the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].id","typeLabel":"string"},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].links.about","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].links","typeLabel":"object"},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1,"uniqueKey":"errors.oneOf.0.items.[INDEX].title","typeLabel":"string"},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of the `header` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.header","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].source","typeLabel":"object"},"meta":{"type":"object","description":"Additional metadata about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].meta","typeLabel":"object"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"Error · object"},"uniqueKey":"errors.oneOf.0","typeLabel":"Error · object[]"},{"type":"object","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"id":{"type":"string","description":"A unique identifier for the error."},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error."}}},"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"]},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload."},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error."},"header":{"type":"string","description":"The name of the `header` parameter that caused the error."}}},"meta":{"type":"object","description":"Additional metadata about the error."}}},"uniqueKey":"errors.oneOf.1","typeLabel":"object"}],"uniqueKey":"errors","typeLabel":"Error · object[] | object"}},"uniqueKey":"","typeLabel":"Errors · object"},"examples":{"Forbidden":{"title":"Forbidden","summary":"Forbidden","value":{"errors":[{"status":"403","code":"forbidden","detail":"You do not have permission to perform this action."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"ed167e2c-3654-470a-8786-9934b57fb069":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Errors","type":"object","description":"A standardized format for errors in JSON:API responses.","properties":{"errors":{"oneOf":[{"type":"array","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].status","typeLabel":"string\u003cint32>"},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].detail","typeLabel":"string"},"id":{"type":"string","description":"A unique identifier for the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].id","typeLabel":"string"},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].links.about","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].links","typeLabel":"object"},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1,"uniqueKey":"errors.oneOf.0.items.[INDEX].title","typeLabel":"string"},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of the `header` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.header","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].source","typeLabel":"object"},"meta":{"type":"object","description":"Additional metadata about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].meta","typeLabel":"object"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"Error · object"},"uniqueKey":"errors.oneOf.0","typeLabel":"Error · object[]"},{"type":"object","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"id":{"type":"string","description":"A unique identifier for the error."},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error."}}},"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"]},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload."},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error."},"header":{"type":"string","description":"The name of the `header` parameter that caused the error."}}},"meta":{"type":"object","description":"Additional metadata about the error."}}},"uniqueKey":"errors.oneOf.1","typeLabel":"object"}],"uniqueKey":"errors","typeLabel":"Error · object[] | object"}},"uniqueKey":"","typeLabel":"Errors · object"},"examples":{"NotFound":{"title":"NotFound","summary":"Not Found","value":{"errors":[{"status":"404","code":"not_found","detail":"No Pickup matches the given query."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"d4ca55ae-882e-4739-a70b-241f60508e99":{"description":"The pickup can't be canceled. The `detail` explains why, see the examples. A pickup gets the status `FAILED` when it couldn't be scheduled, or when the carrier didn't confirm an earlier cancellation.","content":{"application/json":{"schema":{"title":"Errors","type":"object","description":"A standardized format for errors in JSON:API responses.","properties":{"errors":{"oneOf":[{"type":"array","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].status","typeLabel":"string\u003cint32>"},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1,"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].detail","typeLabel":"string"},"id":{"type":"string","description":"A unique identifier for the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].id","typeLabel":"string"},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].links.about","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].links","typeLabel":"object"},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1,"uniqueKey":"errors.oneOf.0.items.[INDEX].title","typeLabel":"string"},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of the `header` parameter that caused the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].source.header","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX].source","typeLabel":"object"},"meta":{"type":"object","description":"Additional metadata about the error.","uniqueKey":"errors.oneOf.0.items.[INDEX].meta","typeLabel":"object"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"Error · object"},"uniqueKey":"errors.oneOf.0","typeLabel":"Error · object[]"},{"type":"object","items":{"type":"object","title":"Error","description":"Error in a JSON:API error format","required":["status","code","detail"],"properties":{"id":{"type":"string","description":"A unique identifier for the error."},"links":{"type":"object","description":"A set of hyperlinks that provide additional information about the error.","properties":{"about":{"type":"string","description":"A URL that provides additional information about the error."}}},"status":{"type":"string","format":"int32","description":"The HTTP status code of the error.","minLength":1},"code":{"type":"string","description":"A unique error code for the error, in snake case format.","minLength":1,"enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list","non_field_errors","authentication_failed","validation_error","parcel_announcement_error"]},"title":{"type":"string","description":"A short, human-readable summary of the error.","minLength":1},"detail":{"type":"string","description":"A human-readable explanation of the error.","minLength":1},"source":{"type":"object","description":"An object that identifies the source of the error within the request payload.","properties":{"pointer":{"type":"string","description":"A `JSON` pointer to the location of the error within the request payload."},"parameter":{"type":"string","description":"The name of the `query` parameter that caused the error."},"header":{"type":"string","description":"The name of the `header` parameter that caused the error."}}},"meta":{"type":"object","description":"Additional metadata about the error."}}},"uniqueKey":"errors.oneOf.1","typeLabel":"object"}],"uniqueKey":"errors","typeLabel":"Error · object[] | object"}},"uniqueKey":"","typeLabel":"Errors · object"},"examples":{"PickupInThePast":{"title":"PickupInThePast","summary":"Pickup time has already started","value":{"errors":[{"status":"409","code":"conflict","detail":"You cannot cancel pickup that is already past."}]}},"AlreadyCancelled":{"title":"AlreadyCancelled","summary":"Pickup is already canceled","value":{"errors":[{"status":"409","code":"conflict","detail":"Cannot cancel a pickup that has been already cancelled."}]}},"StillBeingAnnounced":{"title":"StillBeingAnnounced","summary":"Pickup is still being scheduled","value":{"errors":[{"status":"409","code":"conflict","detail":"Cannot cancel a pickup that is still being announced. Try again later."}]}},"PickupFailed":{"title":"PickupFailed","summary":"Pickup has the status FAILED","value":{"errors":[{"status":"409","code":"conflict","detail":"Cannot cancel a pickup that failed to be announced."}]}},"CarrierDoesNotSupportCancellation":{"title":"CarrierDoesNotSupportCancellation","summary":"Carrier doesn't support cancellation","value":{"errors":[{"status":"409","code":"conflict","detail":"Cannot cancel a pickup for a carrier that does not support cancellation."}]}},"CancellationNotConfirmed":{"title":"CancellationNotConfirmed","summary":"Carrier didn't confirm the cancellation","value":{"errors":[{"status":"409","code":"conflict","detail":"The carrier did not confirm the cancellation of this pickup."}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"724a0c64-179e-40b0-a5e3-0569e6922bbd":{"HTTPBasicAuth":{"type":"http","description":"Basic Authentication using API key and secrets is currently the main authentication mechanism.","scheme":"basic","scopes":[],"schemeName":"HTTPBasicAuth"}},"6e9e056f-93a7-4e68-b289-3751fba6c146":{"OAuth2ClientCreds":{"type":"oauth2","description":"OAuth2 is a standardized protocol for authorization that allows users to share their private resources stored on one site with another site without having to provide their credentials. OAuth2 Client Credentials Grant workflow. This workflow is typically used for server-to-server interactions that require authorization to access specific resources.","flows":{"clientCredentials":{"tokenUrl":"https://account.sendcloud.com/oauth2/token/","scopes":{"read:analytics":"View your shipping analytics","read:audit-log":"View your account's audit log","read:brand":"View your brands","write:brand":"Manage your brands","write:carrier":"Configure carriers and contracts","read:checkout":"View your dynamic checkout configurations and templates","read:event-subscription":"View your event subscriptions","write:event-subscription":"Create and manage your event subscriptions","read:integration":"View your integrations","write:integration":"Connect and manage integrations","read:invoice":"View your invoices","read:notification":"View your notifications","write:notification":"Manage your notifications","read:operational-settings":"View your warehouses, shipping lanes, and other operational settings","write:operational-settings":"Manage your warehouses, shipping lanes, and other operational settings","read:order":"View your orders","write:order":"Import and process your orders","read:organization":"View organization settings","write:organization":"Change organization settings","read:parcel":"View your shipments and their tracking status","write:parcel":"Create, announce, and cancel shipments","read:pickup":"View carrier pickups and the options available for scheduling them","write:pickup":"Schedule and manage carrier pickups","read:price":"View shipping prices","write:product":"Manage your product catalog","read:return":"View your returns","write:return":"Create and manage returns","read:return-settings":"View your return settings","write:return-settings":"Configure your return settings","read:service-point":"View carrier service points","read:shipping-method":"View shipping methods, products and prices","read:shipping-rule":"View your shipping rules","write:shipping-rule":"Create and manage shipping rules","read:support-ticket":"View your support tickets","write:support-ticket":"Manage your support tickets","read:tracking-message":"View your tracking notifications","write:tracking-message":"Manage your tracking notifications","read:tracking-page":"View your tracking page","write:tracking-page":"Customize your tracking page","read:user":"Read your basic account information"}}},"scopes":["write:pickup"],"schemeName":"OAuth2ClientCreds"}}},"servers":{"2cfd7faf-e5cd-41aa-a2b9-b52fd7fc5d86":{"url":"https://panel.sendcloud.sc/api/v3","description":"Sendcloud Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Basic Authentication using API key and secrets is currently the main authentication mechanism.","scheme":"basic","scopes":[],"schemeName":"HTTPBasicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Basic Authentication using API key and secrets is currently the main authentication mechanism.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"HTTPBasicAuth","name":"Authorization"}],"title":"HTTPBasicAuth"},{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth2 is a standardized protocol for authorization that allows users to share their private resources stored on one site with another site without having to provide their credentials. OAuth2 Client Credentials Grant workflow. This workflow is typically used for server-to-server interactions that require authorization to access specific resources.","flows":{"clientCredentials":{"tokenUrl":"https://account.sendcloud.com/oauth2/token/","scopes":{"read:analytics":"View your shipping analytics","read:audit-log":"View your account's audit log","read:brand":"View your brands","write:brand":"Manage your brands","write:carrier":"Configure carriers and contracts","read:checkout":"View your dynamic checkout configurations and templates","read:event-subscription":"View your event subscriptions","write:event-subscription":"Create and manage your event subscriptions","read:integration":"View your integrations","write:integration":"Connect and manage integrations","read:invoice":"View your invoices","read:notification":"View your notifications","write:notification":"Manage your notifications","read:operational-settings":"View your warehouses, shipping lanes, and other operational settings","write:operational-settings":"Manage your warehouses, shipping lanes, and other operational settings","read:order":"View your orders","write:order":"Import and process your orders","read:organization":"View organization settings","write:organization":"Change organization settings","read:parcel":"View your shipments and their tracking status","write:parcel":"Create, announce, and cancel shipments","read:pickup":"View carrier pickups and the options available for scheduling them","write:pickup":"Schedule and manage carrier pickups","read:price":"View shipping prices","write:product":"Manage your product catalog","read:return":"View your returns","write:return":"Create and manage returns","read:return-settings":"View your return settings","write:return-settings":"Configure your return settings","read:service-point":"View carrier service points","read:shipping-method":"View shipping methods, products and prices","read:shipping-rule":"View your shipping rules","write:shipping-rule":"Create and manage shipping rules","read:support-ticket":"View your support tickets","write:support-ticket":"Manage your support tickets","read:tracking-message":"View your tracking notifications","write:tracking-message":"Manage your tracking notifications","read:tracking-page":"View your tracking page","write:tracking-page":"Customize your tracking page","read:user":"Read your basic account information"}}},"scopes":["write:pickup"],"schemeName":"OAuth2ClientCreds"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth2 is a standardized protocol for authorization that allows users to share their private resources stored on one site with another site without having to provide their credentials. OAuth2 Client Credentials Grant workflow. This workflow is typically used for server-to-server interactions that require authorization to access specific resources.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth2ClientCreds","name":"Authorization"}],"title":"OAuth2ClientCreds"}]},"originalFileLocation":".openapi/v3/pickups/openapi.yaml"},"subdomain":"sendcloud","siteName":"Sendcloud API Developer Portal","title":"Cancel a pickup - Sendcloud API Developer Portal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T07:34:57.501Z","originalFileLocation":"api/v3/pickups/cancel-a-pickup.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Cancel a scheduled pickup, if the carrier and the pickup allow it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sendcloud API Developer Portal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel a pickup - Sendcloud API Developer Portal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cancel a scheduled pickup, if the carrier and the pickup allow it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendcloud API Developer Portal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendcloud.mintlify.site/_mintlify/api/og/v2?division=Pickups\u0026amp;title=Cancel+a+pickup\u0026amp;description=Cancel+a+scheduled+pickup%2C+if+the+carrier+and+the+pickup+allow+it.\u0026amp;theme=98143dbb82b5eecb925033ee\u0026amp;signature=59c01ba8f4107a1fc4b479543c5803bdf81a864f275b00a21dd663272e7c7880\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cancel a pickup - Sendcloud API Developer Portal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cancel a scheduled pickup, if the carrier and the pickup allow it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendcloud.mintlify.site/_mintlify/api/og/v2?division=Pickups\u0026amp;title=Cancel+a+pickup\u0026amp;description=Cancel+a+scheduled+pickup%2C+if+the+carrier+and+the+pickup+allow+it.\u0026amp;theme=98143dbb82b5eecb925033ee\u0026amp;signature=59c01ba8f4107a1fc4b479543c5803bdf81a864f275b00a21dd663272e7c7880\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sendcloud/2LowbF5vJKmmScp0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sendcloud API Developer Portal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007deb\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"Wl-7Uz7alSq_fG01AMbtDKMMQIDt-yQ4u7uFB3QuV8k\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/v3/pickups/cancel-a-pickup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sendcloud.dev/#organization\",\"name\":\"Sendcloud API Developer Portal\",\"url\":\"https://sendcloud.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendcloud/XCwUHYDXpvdKQUUZ/images/logo/sendcloud-light.svg?fit=max\u0026auto=format\u0026n=XCwUHYDXpvdKQUUZ\u0026q=85\u0026s=7f1beaa17361a486dea3cfbda34467ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sendcloud.dev#website\",\"name\":\"Sendcloud API Developer Portal\",\"url\":\"https://sendcloud.dev\",\"publisher\":{\"@id\":\"https://sendcloud.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup#webpage\",\"url\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup\",\"name\":\"Cancel a pickup\",\"description\":\"Cancel a scheduled pickup, if the carrier and the pickup allow it.\",\"dateModified\":\"2026-11-09T07:34:57.501Z\",\"isPartOf\":{\"@id\":\"https://sendcloud.dev#website\"},\"breadcrumb\":{\"@id\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Carriers \u0026 pickups\",\"item\":\"https://sendcloud.dev/api/v3/contracts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pickups\",\"item\":\"https://sendcloud.dev/api/v3/pickups\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cancel a pickup\",\"item\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup#apireference\",\"headline\":\"Cancel a pickup\",\"name\":\"Cancel a pickup\",\"description\":\"Cancel a scheduled pickup, if the carrier and the pickup allow it.\",\"url\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup\",\"mainEntityOfPage\":{\"@id\":\"https://sendcloud.dev/api/v3/pickups/cancel-a-pickup#webpage\"},\"dateModified\":\"2026-11-09T07:34:57.501Z\",\"publisher\":{\"@id\":\"https://sendcloud.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://sendcloud.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sendcloud API Developer Portal\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sendcloud API Developer Portal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/v3/pickups/cancel-a-pickup.md","siteName":"Sendcloud API Developer Portal","nav":{"global":null,"tabs":[{"tab":"Developer guides","pages":[{"title":"Developer guides","href":""}]},{"tab":"API v3","groups":[{"group":"General","pages":[{"title":"Introduction","icon":"map","href":"/api/v3"},{"title":"API v3 Changelog","icon":"list-timeline","href":"/api/v3/changelog"},{"title":"Pagination","icon":"arrow-right-arrow-left","href":"/api/v3/pagination"},{"title":"Scopes for OAuth apps","icon":"user-key","href":"/api/v3/scopes"}]},{"group":"Authentication \u0026 account","icon":"key","pages":[{"group":"OAuth2","icon":"key","pages":[{"title":"OAuth 2.0 token","deprecated":null,"version":null,"sidebarTitle":"Token","openapi":"/.openapi/v3/auth/openapi.yaml post /oauth2/token","href":"/api/v3/oauth2/token"}]},{"group":"User","icon":"user","pages":[{"title":"Retrieve metadata associated with the authentication method","deprecated":null,"version":null,"sidebarTitle":"Retrieve metadata associated with the authentication method","openapi":"/.openapi/v3/user/openapi.yaml get /user/auth/metadata","href":"/api/v3/user/retrieve-metadata-associated-with-the-authentication-method"}]},{"group":"Organization","icon":"sitemap","pages":[{"title":"Retrieve organization information","deprecated":null,"version":null,"sidebarTitle":"Retrieve information about the organization","openapi":"/.openapi/v3/organization/openapi.yaml get /organization","href":"/api/v3/organization/retrieve-information-about-the-organization"}]},{"group":"Sender addresses","icon":"address-card","pages":[{"title":"Retrieve a list of sender addresses","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of sender addresses","openapi":"/.openapi/v3/sender-addresses/openapi.yaml get /addresses/sender-addresses","href":"/api/v3/sender-addresses/retrieve-a-list-of-sender-addresses"},{"title":"Retrieve a sender address","deprecated":null,"version":null,"sidebarTitle":"Retrieve a sender address","openapi":"/.openapi/v3/sender-addresses/openapi.yaml get /addresses/sender-addresses/{id}","href":"/api/v3/sender-addresses/retrieve-a-sender-address"}]},{"group":"Brands","icon":"copyright","pages":[{"title":"Retrieve a list of brands","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of brands","openapi":"/.openapi/v3/brands/openapi.yaml get /brands","href":"/api/v3/brands/retrieve-a-list-of-brands"},{"title":"Retrieve a brand","deprecated":null,"version":null,"sidebarTitle":"Retrieve a brand","openapi":"/.openapi/v3/brands/openapi.yaml get /brands/{id}","href":"/api/v3/brands/retrieve-a-brand"}]}]},{"group":"Shipping","icon":"truck-fast","pages":[{"group":"Shipping options","icon":"list-check","pages":[{"title":"Create a list of shipping options","deprecated":true,"version":null,"sidebarTitle":"Create a list of shipping options","openapi":"/.openapi/v3/shipping-options/openapi.yaml post /fetch-shipping-options","href":"/api/v3/shipping-options/create-a-list-of-shipping-options"},{"title":"Return a list of available shipping options","deprecated":null,"version":null,"sidebarTitle":"Return a list of available shipping options","openapi":"/.openapi/v3/shipping-options/openapi.yaml post /shipping-options","href":"/api/v3/shipping-options/return-a-list-of-available-shipping-options"},{"title":"Retrieve a list of shipping options","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of shipping options","openapi":"/.openapi/v3/compat/openapi.yaml post /compat/shipping-options","href":"/api/v3/compat/retrieve-a-list-of-shipping-options"}]},{"group":"Address validation","icon":"address-card","pages":[{"title":"Validate an address","deprecated":null,"version":null,"sidebarTitle":"Validate","openapi":"/.openapi/v3/shipments/openapi.yaml post /addresses/validate","href":"/api/v3/address/validate"}]},{"group":"Orders","icon":"receipt","pages":[{"title":"Orders API overview","href":"/api/v3/orders/index"},{"title":"Create/Update orders in batch","deprecated":null,"version":null,"sidebarTitle":"Create update orders in batch","openapi":"/.openapi/v3/orders/openapi.yaml post /orders","href":"/api/v3/orders/create-update-orders-in-batch"},{"title":"Retrieve a list of orders","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of orders","openapi":"/.openapi/v3/orders/openapi.yaml get /orders","href":"/api/v3/orders/retrieve-a-list-of-orders"},{"title":"Retrieve an order","deprecated":null,"version":null,"sidebarTitle":"Retrieve an order","openapi":"/.openapi/v3/orders/openapi.yaml get /orders/{id}","href":"/api/v3/orders/retrieve-an-order"},{"title":"Update an order","deprecated":null,"version":null,"sidebarTitle":"Update an order","openapi":"/.openapi/v3/orders/openapi.yaml patch /orders/{id}","href":"/api/v3/orders/update-an-order"},{"title":"Delete an order","deprecated":null,"version":null,"sidebarTitle":"Delete an order","openapi":"/.openapi/v3/orders/openapi.yaml delete /orders/{id}","href":"/api/v3/orders/delete-an-order"}]},{"group":"Ship an order","icon":"box","pages":[{"title":"Ship an Order API overview","href":"/api/v3/ship-an-order/index"},{"title":"Request a label for a single order synchronously","deprecated":null,"version":null,"sidebarTitle":"Request a label for a single order synchronously","openapi":"/.openapi/v3/ship-an-order/openapi.yaml post /orders/create-label-sync","href":"/api/v3/ship-an-order/request-a-label-for-a-single-order-synchronously"},{"title":"Request a label for one or more orders asynchronously","deprecated":null,"version":null,"sidebarTitle":"Request a label for one or more orders asynchronously","openapi":"/.openapi/v3/ship-an-order/openapi.yaml post /orders/create-labels-async","href":"/api/v3/ship-an-order/request-a-label-for-one-or-more-orders-asynchronously"}]},{"group":"Shipments","icon":"truck-fast","pages":[{"title":"Shipments API overview","href":"/api/v3/shipments/index"},{"title":"Create and announce a shipment synchronously","deprecated":null,"version":null,"sidebarTitle":"Create and announce a shipment synchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/announce","href":"/api/v3/shipments/create-and-announce-a-shipment-synchronously"},{"title":"Create and announce a shipment asynchronously","deprecated":null,"version":null,"sidebarTitle":"Create and announce a shipment asynchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments","href":"/api/v3/shipments/create-and-announce-a-shipment-asynchronously"},{"title":"Create a shipment with rules and/or defaults and announce it synchronously","deprecated":null,"version":null,"sidebarTitle":"Create a shipment with rules and or default and announce it synchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/announce-with-shipping-rules","href":"/api/v3/shipments/create-a-shipment-with-rules-and-or-default-and-announce-it-synchronously"},{"title":"Create a shipment with rules and/or defaults and announce it asynchronously","deprecated":null,"version":null,"sidebarTitle":"Create a shipment with rules and or default and announce it asynchronously","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/create-with-shipping-rules","href":"/api/v3/shipments/create-a-shipment-with-rules-and-or-default-and-announce-it-asynchronously"},{"title":"Retrieve shipments","deprecated":null,"version":null,"sidebarTitle":"Retrieve shipments","openapi":"/.openapi/v3/shipments/openapi.yaml get /shipments","href":"/api/v3/shipments/retrieve-shipments"},{"title":"Retrieve a shipment","deprecated":null,"version":null,"sidebarTitle":"Retrieve a shipment","openapi":"/.openapi/v3/shipments/openapi.yaml get /shipments/{id}","href":"/api/v3/shipments/retrieve-a-shipment"},{"title":"Retrieve a return portal URL","deprecated":null,"version":null,"sidebarTitle":"Retrieve a return portal url","openapi":"/.openapi/v3/shipments/openapi.yaml get /shipments/{id}/return-portal-url","href":"/api/v3/shipments/retrieve-a-return-portal-url"},{"title":"Cancel a shipment","deprecated":null,"version":null,"sidebarTitle":"Cancel a shipment","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/{id}/cancel","href":"/api/v3/shipments/cancel-a-shipment"},{"title":"Upload a customs document","deprecated":null,"version":null,"sidebarTitle":"Upload a customs document","tag":"Beta","openapi":"/.openapi/v3/shipments/openapi.yaml post /shipments/documents","href":"/api/v3/shipments/upload-a-customs-document"}]},{"group":"Parcel documents","icon":"file-lines","pages":[{"title":"Retrieve a parcel document","deprecated":null,"version":null,"sidebarTitle":"Retrieve a parcel document","openapi":"/.openapi/v3/parcel-documents/openapi.yaml get /parcels/{id}/documents/{type}","href":"/api/v3/parcel-documents/retrieve-a-parcel-document"},{"title":"Retrieve multiple parcel documents","deprecated":null,"version":null,"sidebarTitle":"Retrieve multiple parcel documents","openapi":"/.openapi/v3/parcel-documents/openapi.yaml get /parcel-documents/{type}","href":"/api/v3/parcel-documents/retrieve-multiple-parcel-documents"}]},{"group":"Shipping rules","icon":"sliders","pages":[{"title":"Shipping Rules API overview","href":"/api/v3/shipping-rules/index"},{"title":"Retrieve a list of shipping rules","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of shipping rules","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/rules","href":"/api/v3/shipping-rules/retrieve-a-list-of-shipping-rules"},{"title":"Create a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Create a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml post /shipping-rules/rules","href":"/api/v3/shipping-rules/create-a-shipping-rule"},{"title":"Reorder your shipping rules","deprecated":null,"version":null,"sidebarTitle":"Reorder your shipping rules","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml post /shipping-rules/rules/reorder","href":"/api/v3/shipping-rules/reorder-your-shipping-rules"},{"title":"Retrieve a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Retrieve a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/rules/{rule_id}","href":"/api/v3/shipping-rules/retrieve-a-shipping-rule"},{"title":"Update a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Update a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml patch /shipping-rules/rules/{rule_id}","href":"/api/v3/shipping-rules/update-a-shipping-rule"},{"title":"Delete a shipping rule","deprecated":null,"version":null,"sidebarTitle":"Delete a shipping rule","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml delete /shipping-rules/rules/{rule_id}","href":"/api/v3/shipping-rules/delete-a-shipping-rule"},{"title":"Retrieve a list of available actions","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of available actions","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/actions","href":"/api/v3/shipping-rules/retrieve-a-list-of-available-actions"},{"title":"Retrieve an action","deprecated":null,"version":null,"sidebarTitle":"Retrieve an action","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/actions/{identifier}","href":"/api/v3/shipping-rules/retrieve-an-action"},{"title":"Retrieve a list of available operators","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of available operators","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/operators","href":"/api/v3/shipping-rules/retrieve-a-list-of-available-operators"},{"title":"Retrieve a list of available conditions","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of available conditions","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/conditions","href":"/api/v3/shipping-rules/retrieve-a-list-of-available-conditions"},{"title":"Retrieve a condition property","deprecated":null,"version":null,"sidebarTitle":"Retrieve a condition property","tag":"Beta","openapi":"/.openapi/v3/shipping-rules/openapi.yaml get /shipping-rules/conditions/{identifier}","href":"/api/v3/shipping-rules/retrieve-a-condition-property"}]},{"group":"Shipping defaults","icon":"gear","pages":[{"title":"Shipping Defaults API overview","href":"/api/v3/shipping-defaults/index"},{"title":"Retrieve your shipping defaults","deprecated":null,"version":null,"sidebarTitle":"Retrieve your shipping defaults","tag":"Beta","openapi":"/.openapi/v3/shipping-defaults/openapi.yaml get /shipping-defaults","href":"/api/v3/shipping-defaults/retrieve-your-shipping-defaults"},{"title":"Update your shipping defaults","deprecated":null,"version":null,"sidebarTitle":"Update your shipping defaults","tag":"Beta","openapi":"/.openapi/v3/shipping-defaults/openapi.yaml patch /shipping-defaults","href":"/api/v3/shipping-defaults/update-your-shipping-defaults"}]}]},{"group":"Checkout \u0026 delivery options","icon":"cart-shopping","pages":[{"group":"Dynamic checkout","icon":"cart-shopping","pages":[{"title":"Dynamic Checkout API overview","href":"/api/v3/dynamic-checkout/index"},{"title":"Retrieve a list of delivery options","deprecated":true,"version":null,"sidebarTitle":"Retrieve a list of delivery options","openapi":"/.openapi/v3/dynamic-checkout/openapi.yaml get /checkout/configurations/{configuration_id}/delivery-options","href":"/api/v3/dynamic-checkout/retrieve-a-list-of-delivery-options"},{"title":"Generate a list of delivery options","deprecated":null,"version":null,"sidebarTitle":"Generate a list of delivery options","tag":"Beta","openapi":"/.openapi/v3/dynamic-checkout/openapi.yaml post /checkout/delivery-options","href":"/api/v3/dynamic-checkout/generate-a-list-of-delivery-options"}]},{"group":"Service points","icon":"map-location-dot","pages":[{"title":"Service Points API overview","href":"/api/v3/service-points/index"},{"title":"Retrieve a list of service points","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of service points","openapi":"/.openapi/v3/service-points/openapi.yaml get /service-points","href":"/api/v3/service-points/retrieve-a-list-of-service-points"},{"title":"Retrieve a service point","deprecated":null,"version":null,"sidebarTitle":"Retrieve a service point","openapi":"/.openapi/v3/service-points/openapi.yaml get /service-points/{service_point_id}","href":"/api/v3/service-points/retrieve-a-service-point"},{"title":"Check availability of a service point","deprecated":null,"version":null,"sidebarTitle":"Check availability of a service point","openapi":"/.openapi/v3/service-points/openapi.yaml post /service-points/{service_point_id}/check-availability","href":"/api/v3/service-points/check-availability-of-a-service-point"}]},{"group":"Duties \u0026 taxes","icon":"scale-balanced","pages":[{"title":"Create a duties and taxes calculation","deprecated":null,"version":null,"sidebarTitle":"Create a duties and taxes calculation","tag":"Beta","openapi":"/.openapi/v3/duties-and-taxes/openapi.yaml post /shipping/duties-and-taxes","href":"/api/v3/duties-and-taxes/create-a-duties-and-taxes-calculation"}]}]},{"group":"Tracking \u0026 post-purchase","icon":"location-dot","pages":[{"group":"Parcel tracking","icon":"location-dot","pages":[{"title":"Create an external parcel for tracking","deprecated":null,"version":null,"sidebarTitle":"Create an external parcel for tracking","openapi":"/.openapi/v3/parcel-tracking/openapi.yaml post /parcels/tracking","href":"/api/v3/parcel-tracking/create-an-external-parcel-for-tracking"},{"title":"Retrieve tracking information for a parcel","deprecated":null,"version":null,"sidebarTitle":"Retrieve tracking information for a parcel","openapi":"/.openapi/v3/parcel-tracking/openapi.yaml get /parcels/tracking/{tracking_number}","href":"/api/v3/parcel-tracking/retrieve-tracking-information-for-a-parcel"}]},{"group":"Parcel statuses","icon":"circle-info","pages":[{"title":"Retrieve a list of parcel statuses","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of parcel statuses","openapi":"/.openapi/v3/parcel-statuses/openapi.yaml get /parcels/statuses","href":"/api/v3/parcel-statuses/retrieve-a-list-of-parcel-statuses"}]},{"group":"Returns","icon":"rotate-left","pages":[{"title":"Returns API overview","href":"/api/v3/returns/index"},{"title":"Validate a return","deprecated":null,"version":null,"sidebarTitle":"Validate a return","openapi":"/.openapi/v3/returns/openapi.yaml post /returns/validate","href":"/api/v3/returns/validate-a-return"},{"title":"Create a return","deprecated":null,"version":null,"sidebarTitle":"Create a return","openapi":"/.openapi/v3/returns/openapi.yaml post /returns","href":"/api/v3/returns/create-a-return"},{"title":"Create a return synchronously","deprecated":null,"version":null,"sidebarTitle":"Create a return synchronously","openapi":"/.openapi/v3/returns/openapi.yaml post /returns/announce-synchronously","href":"/api/v3/returns/create-a-return-synchronously"},{"title":"Retrieve a list of returns","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of returns","openapi":"/.openapi/v3/returns/openapi.yaml get /returns","href":"/api/v3/returns/retrieve-a-list-of-returns"},{"title":"Retrieve a return","deprecated":null,"version":null,"sidebarTitle":"Retrieve a return","openapi":"/.openapi/v3/returns/openapi.yaml get /returns/{id}","href":"/api/v3/returns/retrieve-a-return"},{"title":"Request cancellation of a return","deprecated":null,"version":null,"sidebarTitle":"Request cancellation of a return","openapi":"/.openapi/v3/returns/openapi.yaml patch /returns/{id}/cancel","href":"/api/v3/returns/request-cancellation-of-a-return"}]},{"group":"Support","icon":"headset","pages":[{"title":"Support API overview","href":"/api/v3/support/index"},{"group":"Tickets","icon":"ticket","pages":[{"title":"Create a ticket for a lost parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a lost parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/lost","href":"/api/v3/support/create-a-ticket-for-a-lost-parcel"},{"title":"Create a ticket for a damaged parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a damaged parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/damage","href":"/api/v3/support/create-a-ticket-for-a-damaged-parcel"},{"title":"Create a ticket for a delayed parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a delayed parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/delay","href":"/api/v3/support/create-a-ticket-for-a-delayed-parcel"},{"title":"Create a ticket for a late delivery","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a late delivery","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/late-delivery","href":"/api/v3/support/create-a-ticket-for-a-late-delivery"},{"title":"Create a ticket for a delivered but not received parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for a delivered but not received parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/delivered-but-not-received","href":"/api/v3/support/create-a-ticket-for-a-delivered-but-not-received-parcel"},{"title":"Create a ticket for an address change","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for an address change","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/address-change","href":"/api/v3/support/create-a-ticket-for-an-address-change"},{"title":"Create a ticket for an unjustly returned parcel","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for an unjustly returned parcel","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/unjust-return","href":"/api/v3/support/create-a-ticket-for-an-unjustly-returned-parcel"},{"title":"Create a ticket for another issue","deprecated":null,"version":null,"sidebarTitle":"Create a ticket for another issue","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/other","href":"/api/v3/support/create-a-ticket-for-another-issue"},{"title":"Retrieve support tickets","deprecated":null,"version":null,"sidebarTitle":"Retrieve support tickets","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/tickets","href":"/api/v3/support/retrieve-support-tickets"},{"title":"Retrieve a support ticket","deprecated":null,"version":null,"sidebarTitle":"Retrieve a support ticket","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/tickets/{ticket_id}","href":"/api/v3/support/retrieve-a-support-ticket"}]},{"group":"Ticket data \u0026 attachments","icon":"paperclip","pages":[{"title":"Retrieve requested data for open tickets","deprecated":null,"version":null,"sidebarTitle":"Retrieve requested data for open tickets","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/tickets/requested-data","href":"/api/v3/support/retrieve-requested-data-for-open-tickets"},{"title":"Create a requested data response","deprecated":null,"version":null,"sidebarTitle":"Provide requested data","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/tickets/requested-data","href":"/api/v3/support/provide-requested-data"},{"title":"Upload a file","deprecated":null,"version":null,"sidebarTitle":"Files","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/files","href":"/api/v3/support/files"},{"title":"Create a claim letter","deprecated":null,"version":null,"sidebarTitle":"Generate claim letter","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/documents/generate/claim-letter","href":"/api/v3/support/generate-claim-letter"},{"title":"Create a sales invoice","deprecated":null,"version":null,"sidebarTitle":"Generate sales invoice","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/documents/generate/invoice","href":"/api/v3/support/generate-sales-invoice"}]},{"group":"Carrier support contacts","icon":"address-book","pages":[{"title":"Create carrier support contact","deprecated":null,"version":null,"sidebarTitle":"Create carrier support contact","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml post /dsf/carrier-support-contacts","href":"/api/v3/support/create-carrier-support-contact"},{"title":"Retrieve carrier support contacts","deprecated":null,"version":null,"sidebarTitle":"Retrieve carrier support contacts","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml get /dsf/carrier-support-contacts","href":"/api/v3/support/retrieve-carrier-support-contacts"},{"title":"Update a carrier support contact","deprecated":null,"version":null,"sidebarTitle":"Update a carrier support contact","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml patch /dsf/carrier-support-contacts/{id}","href":"/api/v3/support/update-a-carrier-support-contact"},{"title":"Delete a carrier support contact","deprecated":null,"version":null,"sidebarTitle":"Delete a carrier support contact","tag":"Beta","openapi":"/.openapi/v3/support/openapi.yaml delete /dsf/carrier-support-contacts/{id}","href":"/api/v3/support/delete-a-carrier-support-contact"}]}]}]},{"group":"Events \u0026 notifications","icon":"bell","pages":[{"group":"Webhooks (payload reference)","icon":"webhook","pages":[{"title":"Webhooks overview","href":"/api/v3/webhooks/index"},{"title":"Parcel status changed","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook ParcelStatusChanged","href":"/api/v3/webhooks/parcel-status-changed"},{"title":"Return created","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook ReturnCreated","href":"/api/v3/webhooks/return-created"},{"title":"Integration connected","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook IntegrationConnected","href":"/api/v3/webhooks/integration-connected"},{"title":"Integration modified","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook IntegrationModified","href":"/api/v3/webhooks/integration-modified"},{"title":"Integration deleted","version":null,"deprecated":null,"openapi":"/.openapi/v3/webhooks/openapi.yaml webhook IntegrationDeleted","href":"/api/v3/webhooks/integration-deleted"}]},{"group":"Events API","icon":"clock-rotate-left","pages":[{"title":"Retrieve a list of events","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of events","tag":"Beta","openapi":"/.openapi/v3/events/openapi.yaml get /events","href":"/api/v3/events/retrieve-a-list-of-events"}]},{"group":"Event subscriptions","icon":"bell","pages":[{"title":"Event Subscriptions API overview","href":"/api/v3/event-subscriptions/index"},{"group":"Connections","icon":"link","pages":[{"title":"Create a connection","deprecated":null,"version":null,"sidebarTitle":"Create a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/connections","href":"/api/v3/event-subscriptions/create-a-connection"},{"title":"List connections","deprecated":null,"version":null,"sidebarTitle":"List connections","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/connections","href":"/api/v3/event-subscriptions/list-connections"},{"title":"Get a connection","deprecated":null,"version":null,"sidebarTitle":"Get a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/connections/{id}","href":"/api/v3/event-subscriptions/get-a-connection"},{"title":"Update a connection","deprecated":null,"version":null,"sidebarTitle":"Update a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml patch /event-subscriptions/connections/{id}","href":"/api/v3/event-subscriptions/update-a-connection"},{"title":"Delete a connection","deprecated":null,"version":null,"sidebarTitle":"Delete a connection","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml delete /event-subscriptions/connections/{id}","href":"/api/v3/event-subscriptions/delete-a-connection"},{"title":"Start OAuth2 authorization","deprecated":null,"version":null,"sidebarTitle":"Start oauth2 authorization","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/connections/{id}/authorization","href":"/api/v3/event-subscriptions/start-oauth2-authorization"}]},{"group":"Subscriptions","icon":"rss","pages":[{"title":"Create a subscription","deprecated":null,"version":null,"sidebarTitle":"Create a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/subscriptions","href":"/api/v3/event-subscriptions/create-a-subscription"},{"title":"List subscriptions","deprecated":null,"version":null,"sidebarTitle":"List subscriptions","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/subscriptions","href":"/api/v3/event-subscriptions/list-subscriptions"},{"title":"Get a subscription","deprecated":null,"version":null,"sidebarTitle":"Get a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml get /event-subscriptions/subscriptions/{id}","href":"/api/v3/event-subscriptions/get-a-subscription"},{"title":"Update a subscription","deprecated":null,"version":null,"sidebarTitle":"Update a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml patch /event-subscriptions/subscriptions/{id}","href":"/api/v3/event-subscriptions/update-a-subscription"},{"title":"Delete a subscription","deprecated":null,"version":null,"sidebarTitle":"Delete a subscription","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml delete /event-subscriptions/subscriptions/{id}","href":"/api/v3/event-subscriptions/delete-a-subscription"}]},{"title":"Broadcast test event","deprecated":null,"version":null,"sidebarTitle":"Test event delivery","openapi":"/.openapi/v3/event-subscriptions/openapi.yaml post /event-subscriptions/broadcast/test/{subscription_id}","href":"/api/v3/event-subscriptions/test-event-delivery"},{"group":"Event payloads","icon":"code","pages":[{"title":"Parcel event created","version":null,"deprecated":null,"openapi":"/.openapi/v3/event-subscriptions/openapi.yaml webhook ParcelEventCreated","href":"/api/v3/event-subscriptions/parcel-event-created"},{"title":"Parcel created","version":null,"deprecated":null,"openapi":"/.openapi/v3/event-subscriptions/openapi.yaml webhook ParcelCreated","href":"/api/v3/event-subscriptions/parcel-created"}]}]}]},{"group":"Carriers \u0026 pickups","icon":"truck","pages":[{"group":"Contracts","icon":"file-contract","pages":[{"title":"Contracts API overview","href":"/api/v3/contracts/index"},{"title":"Retrieve a list of contract schemas","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of contract schemas","openapi":"/.openapi/v3/contracts/openapi.yaml get /contracts/schemas","href":"/api/v3/contracts/retrieve-a-list-of-contract-schemas"},{"title":"Create a contract for a carrier","deprecated":null,"version":null,"sidebarTitle":"Create a contract for a carrier","openapi":"/.openapi/v3/contracts/openapi.yaml post /contracts","href":"/api/v3/contracts/create-a-contract-for-a-carrier"},{"title":"Retrieve a list of contracts","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of contracts","openapi":"/.openapi/v3/contracts/openapi.yaml get /contracts","href":"/api/v3/contracts/retrieve-a-list-of-contracts"},{"title":"Retrieve a contract","deprecated":null,"version":null,"sidebarTitle":"Retrieve a contract","openapi":"/.openapi/v3/contracts/openapi.yaml get /contracts/{id}","href":"/api/v3/contracts/retrieve-a-contract"},{"title":"Update a contract","deprecated":null,"version":null,"sidebarTitle":"Update a contract","openapi":"/.openapi/v3/contracts/openapi.yaml patch /contracts/{id}","href":"/api/v3/contracts/update-a-contract"},{"title":"Delete a contract","deprecated":null,"version":null,"sidebarTitle":"Delete a contract","openapi":"/.openapi/v3/contracts/openapi.yaml delete /contracts/{id}","href":"/api/v3/contracts/delete-a-contract"}]},{"group":"Pickups","icon":"hand-holding-box","pages":[{"title":"Pickups API overview","href":"/api/v3/pickups/index"},{"title":"Create a pickup","deprecated":null,"version":null,"sidebarTitle":"Create a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml post /pickups","href":"/api/v3/pickups/create-a-pickup"},{"title":"Retrieve a list of pickups","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of pickups","openapi":"/.openapi/v3/pickups/openapi.yaml get /pickups","href":"/api/v3/pickups/retrieve-a-list-of-pickups"},{"title":"Retrieve a pickup","description":"Retrieve information about a specific pickup based on the pickup `id`.","deprecated":null,"version":null,"sidebarTitle":"Retrieve a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml get /pickups/{id}","href":"/api/v3/pickups/retrieve-a-pickup"},{"title":"Cancel a pickup","deprecated":null,"version":null,"sidebarTitle":"Cancel a pickup","openapi":"/.openapi/v3/pickups/openapi.yaml post /pickups/{id}/cancel","href":"/api/v3/pickups/cancel-a-pickup"}]},{"group":"Carrier-specific: Deutsche Post","icon":"truck","pages":[{"title":"Finalize a Deutsche Post order","description":"Closes the current open order/box and generates AWB (Air Waybill) documents for all parcels in that box.\n\n**How it works:**\n1. As you create Deutsche Post International parcels, they are automatically added to the current box (identified by the current box_number).\n2. When the box is full or you're ready to ship, call this endpoint to finalize the box.\n3. The finalization process:\n - Generates a single AWB label that is shared by all parcels in the finalized box\n - Attaches the AWB label to all parcels in the box\n - Increments the box_number, automatically starting a new box for subsequent parcels\n4. You can create and finalize multiple boxes throughout the day as needed.\n\n**Important notes:**\n- Each box has its own unique AWB label\n- All parcels within a single box share the same AWB label\n- The AWB document can be retrieved from any parcel that was in the finalized box\n- New parcels created after finalization will be added to the new box\n","deprecated":null,"version":null,"sidebarTitle":"Finalize a deutsche post order","openapi":"/.openapi/v3/carriers-dp/openapi.yaml post /carriers/dp/finalize-order","href":"/api/v3/carriers-dp/finalize-a-deutsche-post-order"}]}]},{"group":"Financial","icon":"euro-sign","pages":[{"group":"Invoices","icon":"file-invoice","pages":[{"title":"Invoices API overview","href":"/api/v3/invoices/index"},{"title":"Retrieve a list of invoices","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of invoices","openapi":"/.openapi/v3/invoices/openapi.yaml get /invoices","href":"/api/v3/invoices/retrieve-a-list-of-invoices"},{"title":"Retrieve an invoice","deprecated":null,"version":null,"sidebarTitle":"Retrieve an invoice","openapi":"/.openapi/v3/invoices/openapi.yaml get /invoices/{invoice_id}","href":"/api/v3/invoices/retrieve-an-invoice"}]},{"group":"Invoice items","icon":"file-invoice-dollar","pages":[{"title":"Invoice Items API overview","href":"/api/v3/invoice-items/index"},{"title":"Retrieve a list of invoice items","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of invoice items","openapi":"/.openapi/v3/invoice-items/openapi.yaml get /invoice-items","href":"/api/v3/invoice-items/retrieve-a-list-of-invoice-items"},{"title":"Retrieve an invoice item","deprecated":null,"version":null,"sidebarTitle":"Retrieve an invoice item","openapi":"/.openapi/v3/invoice-items/openapi.yaml get /invoice-items/{invoice_item_id}","href":"/api/v3/invoice-items/retrieve-an-invoice-item"}]},{"group":"Exchange rates","icon":"money-bill-transfer","pages":[{"title":"Exchange Rates API overview","href":"/api/v3/exchange-rates/index"},{"title":"Retrieve exchange rates","deprecated":null,"version":null,"sidebarTitle":"Retrieve exchange rates","openapi":"/.openapi/v3/exchange-rates/openapi.yaml get /exchange-rates","href":"/api/v3/exchange-rates/retrieve-exchange-rates"}]}]},{"group":"Data \u0026 insights","icon":"chart-line","pages":[{"group":"Analytics","icon":"chart-line","pages":[{"title":"Analytics API overview","href":"/api/v3/analytics/index"},{"title":"Retrieve carrier transit times","deprecated":null,"version":null,"sidebarTitle":"Retrieve carrier transit times","tag":"Beta","openapi":"/.openapi/v3/analytics/openapi.yaml get /analytics/transit-times/carriers","href":"/api/v3/analytics/retrieve-carrier-transit-times"},{"title":"Retrieve shipping option transit times","deprecated":null,"version":null,"sidebarTitle":"Retrieve shipping option transit times","tag":"Beta","openapi":"/.openapi/v3/analytics/openapi.yaml get /analytics/transit-times/shipping-options","href":"/api/v3/analytics/retrieve-shipping-option-transit-times"}]},{"group":"Reporting","icon":"file-chart-column","pages":[{"title":"Reporting API overview","href":"/api/v3/reporting/index"},{"title":"Create a parcels report","deprecated":null,"version":null,"sidebarTitle":"Create a parcels report","openapi":"/.openapi/v3/reporting/openapi.yaml post /reporting/parcels","href":"/api/v3/reporting/create-a-parcels-report"},{"title":"Retrieve a parcels report","deprecated":null,"version":null,"sidebarTitle":"Retrieve a parcels report","openapi":"/.openapi/v3/reporting/openapi.yaml get /reporting/parcels/{report_id}","href":"/api/v3/reporting/retrieve-a-parcels-report"}]}]},{"group":"Integrations","icon":"plug","pages":[{"group":"Manage integrations","icon":"plug","pages":[{"title":"Integrations API overview","href":"/api/v3/integrations/index"},{"title":"Retrieve a list of integrations","deprecated":null,"version":null,"sidebarTitle":"Retrieve a list of integrations","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations","href":"/api/v3/integrations/retrieve-a-list-of-integrations"},{"title":"Retrieve an integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve an integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations/{id}","href":"/api/v3/integrations/retrieve-an-integration"},{"title":"Update certain parts of an integration","deprecated":null,"version":null,"sidebarTitle":"Update certain parts of an integration","openapi":"/.openapi/v3/integrations/openapi.yaml patch /integrations/{id}","href":"/api/v3/integrations/update-certain-parts-of-an-integration"},{"title":"Delete an integration","deprecated":null,"version":null,"sidebarTitle":"Delete an integration","openapi":"/.openapi/v3/integrations/openapi.yaml delete /integrations/{id}","href":"/api/v3/integrations/delete-an-integration"}]},{"group":"Shop order statuses","icon":"clipboard-list","pages":[{"title":"Create or overwrite shop order statuses","deprecated":null,"version":null,"sidebarTitle":"Create or overwrite shop order statuses","openapi":"/.openapi/v3/integrations/openapi.yaml post /shop-order-statuses","href":"/api/v3/integrations/create-or-overwrite-shop-order-statuses"},{"title":"Retrieve shop order statuses for an integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve shop order statuses for an integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /shop-order-statuses","href":"/api/v3/integrations/retrieve-shop-order-statuses-for-an-integration"}]},{"group":"Custom status mapping","icon":"shuffle","pages":[{"title":"Create or update custom status mapping for an integration","deprecated":null,"version":null,"sidebarTitle":"Create or update custom status mapping for an integration","openapi":"/.openapi/v3/integrations/openapi.yaml post /shop-order-statuses/mapping","href":"/api/v3/integrations/create-or-update-custom-status-mapping-for-an-integration"},{"title":"Retrieve custom status mapping for an integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve custom status mapping for an integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /shop-order-statuses/mapping","href":"/api/v3/integrations/retrieve-custom-status-mapping-for-an-integration"}]},{"group":"Exception logs","icon":"exclamation-triangle","pages":[{"title":"Create integration exception logs","deprecated":null,"version":null,"sidebarTitle":"Create integration exception logs","openapi":"/.openapi/v3/integrations/openapi.yaml post /integrations/{id}/logs","href":"/api/v3/integrations/create-integration-exception-logs"},{"title":"Retrieve all integration exception logs","deprecated":null,"version":null,"sidebarTitle":"Retrieve all integration exception logs","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations/logs","href":"/api/v3/integrations/retrieve-all-integration-exception-logs"},{"title":"Retrieve exception logs for a specific integration","deprecated":null,"version":null,"sidebarTitle":"Retrieve exception logs for a specific integration","openapi":"/.openapi/v3/integrations/openapi.yaml get /integrations/{id}/logs","href":"/api/v3/integrations/retrieve-exception-logs-for-a-specific-integration"}]}]}]},{"tab":"API v2","pages":[{"title":"API v2","href":"/api/v2"}]}]},"basePath":"","title":"Cancel a pickup - Sendcloud API Developer Portal","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}