The Create a return endpoint is the heart of the Returns API; it allows you to create a stand-alone return, based mainly on the to and from_address, parcel weight and the ship_with object.You can provide a list of items and item descriptions to be included in the return via the parcel_items field (optional).
The parcel_items field is mandatory if you’re creating a return from outside the EU. This is because information about the parcel contents must be provided in order to generate the required customs documents.
The ship_with object
This object is used to select a shipping method for the return. There are two ways of selecting a shipping method:
By providing a shipping_option_code (find the code using the Shipping options API).
By providing a shipping_product_code and a set of functionalities.
Functionalities are used to filter the right shipping method within the product. Find this data using the Retrieve a list of shipping products endpoint.
The contract attribute refers to the ID of a direct contract you have with the carrier. Get the IDs for your contracts from the Retrieve a list of contracts endpoint.
If you have more than one active contract for a specific carrier, you must fill the contract attribute with your desired contract ID in your request.
Retrieve return shipping products
In your request, you must provide an appropriate shipping_product_code and a set of functionalities inside the ship_with object. To find a suitable product, refer to the Retrieve a list of shipping products endpoint.You can filter for a return method by flagging the returns field as true, and by including the from_country and to_country fields. The more fields you specify, the more refined the results will be. This helps you find the most appropriate shipping product for your return parcel.It’s also possible to filter based on your preferred shipping functionality, e.g. age_check=18, delivery_before, etc.
Add return reasons
You can (optionally) assign a return reason to parcel_items by providing a return_reason_id and entering a value from the key below. Assigning return reasons to items provides you with analyzable data you can use to predict return trends or identify issues with particular products.
Return Reason ID
Description
1
Product did not match expectations
3
Other (explain in message)
4
Incorrect product ordered
6
Product did not match description on website
7
Wrong product shipped
8
No reason
9
Rent
10
Does not work
11
Changed my mind
12
Did not meet expectations
13
Excessive amount
14
Better price available
15
Accidental order
16
No longer needed
17
Sample products
18
Looks different than expected
19
Ordered more than one size
20
Arrived too late
21
Poor quality / Faulty
22
Does not fit properly
23
Does not suit me
24
Incorrect product received
25
Parcel damaged on arrival
26
Wrong size ordered
27
Wrong color ordered
28
Does not function as expected
29
Recycle or reuse packaging
30
Size too large
31
Size too small
32
Holiday season return
Retrieve the shipping label for this return
Once the parcel for the created return is announced, you can download the shipping label for it.Find the documentation on how to retrieve a label for a parcel on the Retrieve a parcel document endpoint.The url for downloading the label is also available on the Return object (Only if the parcel is announced). To retrieve a return, take a look at the Retrieve a return endpoint.To learn more about all the options for retrieving labels and customs declaration documents, refer to the Parcel documents API documentation.
Authorizations
HTTPBasicAuthOAuth2ClientCreds
Authorization
string
header
required
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Scopes
write:return
Create and manage returns
Headers
Sendcloud-Partner-Id
string
If you are an official Sendcloud Tech Partner, send your unique Sendcloud Partner UUID as a request header for the system to recognize you.
The header is not required but if it is set, the system will check it. An unknown or invalid UUID will cause a 400 error.
Body
application/json
from_address
Address Object · object
required
Sendcloud Address object
Show child attributes
to_address
Address Object · object
required
Sendcloud Address object
Show child attributes
ship_with
Ship With Object · object
required
Shipping specifications chosen for return
Show child attributes
weight
Weight · object
required
Weight in the specified unit
Show child attributes
from_service_point
integer | null
The Sendcloud id of the service point where the end consumer drops off the return parcel. Use the Retrieve a list of service points endpoint to find service points.
Required when the selected shipping method requires a service point (for example a drop-off return at a pick-up point). The service point must be active and belong to the carrier of the shipping method.
List of items contained in this return. Required outside EU.
A single item in a domestic return - one that does not cross a customs border and does not require customs documents. All customs fields are optional.
Domestic return parcel item
International return parcel item
Show child attributes
send_tracking_emails
boolean
default:false
When true Sendcloud will send out the default track and trace emails
brand_id
integer
The ID of the brand this return belongs to. To find the brand ID, refer to the Retrieve a list of brands endpoint. If not specified, no brand is applied to the return.
Required range: x >= 1
Example:
1
total_insured_value
Insured Value Price · object
Insured value of the return. Only the listed currencies are supported for insurance.
Show child attributes
order_number
string
Identifier of the order associated with this return
Example:
"ORD12355"
total_order_value
Price With Any Currency · object
Price in the specified currency
Show child attributes
external_reference
string
Unique reference for this return, generated by the user
Example:
"RET9876"
customs_invoice_nr
string | null
Customs invoice number. This field is required if it's an international return
delivery_option
enum<string> | null
The options the customer has for returning this parcel:
drop_off_point: At a drop-off point - Print at home
drop_off_labelless: At a drop-off point - No printer needed
in_store: Return in store
pickup: Arrange a pick-up
Available options:
drop_off_point,
drop_off_labelless,
pickup,
in_store,
null
Minimum string length: 1
Example:
"drop_off_point"
customs_information
ParcelCustomsInformation · object | null
Customs information used to generate customs documents. Required for returns that need customs documents, unless you provide customs_invoice_nr.
Show child attributes
Example:
{ "invoice_number": "INV-123", "export_reason": "commercial_goods", "export_type": "private", "invoice_date": "2023-08-24", "discount_granted": { "value": "14.99", "currency": "EUR" }, "freight_costs": null, "insurance_costs": { "value": "3.60", "currency": "EUR" }, "other_costs": { "value": "1.2", "currency": "EUR" }, "general_notes": "Compliance: Goods comply with international safety standards (CE certified).", "additional_declaration_statements": [ "With reference to the above shipment, I understate that the content is not made of leather parts of animal species protected by the Washington Convention.", "I solemnly declare that the contents of this document represent a true and accurate account of the events as they occurred. I acknowledge my responsibility for the information presented herein and understand that any misrepresentation or falsification may result in legal consequences or other penalties as applicable." ], "importer_of_record": { "name": "John Doe", "company_name": "ImporterCo", "address_line_1": "Maple Avenue", "house_number": "123", "postal_code": "90210", "city": "Springfield", "country_code": "US", "state_province_code": "US-MA", "telephone": "+15551234567", "email": "info@importer-of-record-example.com" }, "tax_numbers": { "sender": [ { "name": "VAT", "country_code": "NL", "value": "NL123456789B01" }, { "name": "EORI", "country_code": "NL", "value": "NL123456789" } ], "receiver": [ { "name": "EIN", "country_code": "US", "value": "123456789" } ], "importer_of_record": [ { "name": "EIN", "country_code": "US", "value": "987654321" } ] }, "return_data": { "return_postal_code": "1111 AA", "outbound_tracking_number": "JT1234567890", "outbound_shipment_date": "2023-08-14", "outbound_carrier_name": "UPS" }, "mrn": "25NLQ8PF0V3DJ1MKX7" }
apply_rules
boolean
default:false
When set to true, return rules will be applied.
Note that rules take precedence over the values provided in the request.
For instance, if a contract is specified in one of the applied rules, the contract value provided in the request will be ignored.
Response
Created
return_id
integer
required
The Sendcloud return id
Required range: x >= 1
parcel_id
integer
required
The Sendcloud incoming parcel id
Required range: x >= 1
multi_collo_ids
integer[]
required
A list with all the related Sendcloud incoming parcel ids in the collo
Required range: x >= 1
{"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","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":75015551,"mountPath":"","label":"","_id":"6b0934046971750a5e498611"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0934046971750a5e498616","clientVersion":"0.0.4428","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":"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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".mermaid svg{margin-inline:auto}"}]}
{"page":{"pagePath":"api/v3/returns/create-a-return","slug":"/api/v3/returns/create-a-return","pageMetadata":{"title":"Create a return","description":"Create a standalone return","deprecated":null,"version":null,"sidebarTitle":"Create a return","openapi":"/.openapi/v3/returns/openapi.yaml post /returns","href":"/api/v3/returns/create-a-return","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: \"Create a standalone return\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`OAuth2 scopes required: `,_jsx(_components.code,{children:`write:return`}),`. See `,_jsx(_components.a,{href:`/api/v3/scopes`,children:`Scopes for OAuth apps`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`The Create a return endpoint is the heart of the Returns API; it allows you to create a stand-alone return, based mainly on the `,_jsx(_components.code,{children:`to`}),` and `,_jsx(_components.code,{children:`from_address`}),`, parcel `,_jsx(_components.code,{children:`weight`}),` and the `,_jsx(_components.code,{children:`ship_with`}),` object.`]}),`\n`,_jsxs(_components.p,{children:[`You can provide a list of items and item descriptions to be included in the return via the `,_jsx(_components.code,{children:`parcel_items`}),` field (optional).`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`parcel_items`}),` field is `,_jsx(_components.strong,{children:`mandatory`}),` if you’re creating a return from outside the EU. This is because information about the parcel contents must be provided in order to generate the required customs documents.`]})}),`\n`,_jsxs(Heading,{level:`2`,id:`the-ship_with-object`,children:[`The `,_jsx(_components.code,{children:`ship_with`}),` object`]}),`\n`,_jsx(_components.p,{children:`This object is used to select a shipping method for the return. There are two ways of selecting a shipping method:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`By providing a `,_jsx(_components.code,{children:`shipping_option_code`}),` (find the code using the `,_jsx(_components.a,{href:`/api/v3/shipping-options`,children:`Shipping options API`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`By providing a `,_jsx(_components.code,{children:`shipping_product_code`}),` and a set of `,_jsx(_components.code,{children:`functionalities`}),`.\nFunctionalities are used to filter the right shipping method within the product. Find this data using the `,_jsx(_components.a,{href:`/api/v2/shipping-products/retrieve-a-list-of-shipping-products`,children:`Retrieve a list of shipping products`}),` endpoint.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`contract`}),` attribute refers to the ID of a direct contract you have with the carrier. Get the IDs for your contracts from the `,_jsx(_components.a,{href:`/api/v3/contracts/retrieve-a-list-of-contracts`,children:`Retrieve a list of contracts`}),` endpoint.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If you have more than one active contract for a specific carrier, you must fill the `,_jsx(_components.code,{children:`contract`}),` attribute with your desired contract ID in your request.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`retrieve-return-shipping-products`,children:`Retrieve return shipping products`}),`\n`,_jsxs(_components.p,{children:[`In your request, you must provide an appropriate `,_jsx(_components.code,{children:`shipping_product_code`}),` and a set of `,_jsx(_components.code,{children:`functionalities`}),` inside the `,_jsx(_components.code,{children:`ship_with`}),` object. To find a suitable product, refer to the `,_jsx(_components.a,{href:`/api/v2/shipping-products/retrieve-a-list-of-shipping-products`,children:`Retrieve a list of shipping products`}),` endpoint.`]}),`\n`,_jsxs(_components.p,{children:[`You can filter for a return method by flagging the `,_jsx(_components.code,{children:`returns`}),` field as `,_jsx(_components.code,{children:`true`}),`, and by including the `,_jsx(_components.code,{children:`from_country`}),` and `,_jsx(_components.code,{children:`to_country`}),` fields. The more fields you specify, the more refined the results will be. This helps you find the most appropriate shipping product for your return parcel.`]}),`\n`,_jsxs(_components.p,{children:[`It’s also possible to filter based on your preferred `,_jsx(_components.a,{href:`/api/v2/shipping-products/retrieve-a-list-of-shipping-functionalities`,children:`shipping functionality`}),`, e.g. `,_jsx(_components.code,{children:`age_check=18`}),`, `,_jsx(_components.code,{children:`delivery_before`}),`, etc.`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-return-reasons`,children:`Add return reasons`}),`\n`,_jsxs(_components.p,{children:[`You can (optionally) assign a `,_jsx(_components.strong,{children:`return reason`}),` to `,_jsx(_components.code,{children:`parcel_items`}),` by providing a `,_jsx(_components.code,{children:`return_reason_id`}),` and entering a value from the key below. Assigning return reasons to items provides you with analyzable data you can use to predict return trends or identify issues with particular products.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Return Reason ID`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`1`}),_jsx(_components.td,{children:`Product did not match expectations`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`3`}),_jsx(_components.td,{children:`Other (explain in message)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`4`}),_jsx(_components.td,{children:`Incorrect product ordered`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`6`}),_jsx(_components.td,{children:`Product did not match description on website`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`7`}),_jsx(_components.td,{children:`Wrong product shipped`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`8`}),_jsx(_components.td,{children:`No reason`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`9`}),_jsx(_components.td,{children:`Rent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`10`}),_jsx(_components.td,{children:`Does not work`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`11`}),_jsx(_components.td,{children:`Changed my mind`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`12`}),_jsx(_components.td,{children:`Did not meet expectations`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`13`}),_jsx(_components.td,{children:`Excessive amount`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`14`}),_jsx(_components.td,{children:`Better price available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`15`}),_jsx(_components.td,{children:`Accidental order`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`16`}),_jsx(_components.td,{children:`No longer needed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`17`}),_jsx(_components.td,{children:`Sample products`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`18`}),_jsx(_components.td,{children:`Looks different than expected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`19`}),_jsx(_components.td,{children:`Ordered more than one size`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`20`}),_jsx(_components.td,{children:`Arrived too late`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`21`}),_jsx(_components.td,{children:`Poor quality / Faulty`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`22`}),_jsx(_components.td,{children:`Does not fit properly`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`23`}),_jsx(_components.td,{children:`Does not suit me`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`24`}),_jsx(_components.td,{children:`Incorrect product received`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`25`}),_jsx(_components.td,{children:`Parcel damaged on arrival`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`26`}),_jsx(_components.td,{children:`Wrong size ordered`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`27`}),_jsx(_components.td,{children:`Wrong color ordered`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`28`}),_jsx(_components.td,{children:`Does not function as expected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`29`}),_jsx(_components.td,{children:`Recycle or reuse packaging`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`30`}),_jsx(_components.td,{children:`Size too large`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`31`}),_jsx(_components.td,{children:`Size too small`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`32`}),_jsx(_components.td,{children:`Holiday season return`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`retrieve-the-shipping-label-for-this-return`,children:`Retrieve the shipping label for this return`}),`\n`,_jsx(_components.p,{children:`Once the parcel for the created return is announced, you can download the shipping label for it.`}),`\n`,_jsxs(_components.p,{children:[`Find the documentation on how to retrieve a label for a parcel on the `,_jsx(_components.a,{href:`/api/v3/parcel-documents/retrieve-a-parcel-document`,children:`Retrieve a parcel document`}),` endpoint.`]}),`\n`,_jsxs(_components.p,{children:[`The url for downloading the label is also available on the Return object (Only if the parcel is announced). To retrieve a return, take a look at the `,_jsx(_components.a,{href:`/api/v3/returns/retrieve-a-return`,children:`Retrieve a return`}),` endpoint.`]}),`\n`,_jsxs(_components.p,{children:[`To learn more about all the options for retrieving labels and customs declaration documents, refer to the `,_jsx(_components.a,{href:`/api/v3/parcel-documents`,children:`Parcel documents API`}),` documentation.`]})]})}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":"Create a return","description":"Create a standalone return","deprecated":null,"version":null,"sidebarTitle":"Create a return","openapi":"/.openapi/v3/returns/openapi.yaml post /returns","href":"/api/v3/returns/create-a-return","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The ship_with object","slug":"the-ship_with-object","depth":2,"children":[]},{"title":"Retrieve return shipping products","slug":"retrieve-return-shipping-products","depth":2,"children":[]},{"title":"Add return reasons","slug":"add-return-reasons","depth":2,"children":[]},{"title":"Retrieve the shipping label for this return","slug":"retrieve-the-shipping-label-for-this-return","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sendcloud/85bcd80b47d42300/js/cookiebot.js"],"openApiReferenceData":{"operation":{"tags":["Returns"],"summary":"Create a return","description":"Create a standalone return","x-mint":{"href":"/api/v3/returns/create-a-return","content":"\u003cInfo>\n OAuth2 scopes required: `write:return`. See [Scopes for OAuth apps](/api/v3/scopes).\n\u003c/Info>\n\nThe Create a return endpoint is the heart of the Returns API; it allows you to create a stand-alone return, based mainly on the `to` and `from_address`, parcel `weight` and the `ship_with` object.\n\nYou can provide a list of items and item descriptions to be included in the return via the `parcel_items` field (optional).\n\n\u003cInfo>\n The `parcel_items` field is **mandatory** if you're creating a return from outside the EU. This is because information about the parcel contents must be provided in order to generate the required customs documents.\n\u003c/Info>\n\n## The `ship_with` object\n\nThis object is used to select a shipping method for the return. There are two ways of selecting a shipping method:\n\n- By providing a `shipping_option_code` (find the code using the [Shipping options API](/api/v3/shipping-options)).\n- By providing a `shipping_product_code` and a set of `functionalities`. \n Functionalities are used to filter the right shipping method within the product. Find this data using the [Retrieve a list of shipping products](/api/v2/shipping-products/retrieve-a-list-of-shipping-products) endpoint.\n\nThe `contract` attribute refers to the ID of a direct contract you have with the carrier. Get the IDs for your contracts from the [Retrieve a list of contracts](/api/v3/contracts/retrieve-a-list-of-contracts) endpoint.\n\n\u003cWarning>\n If you have more than one active contract for a specific carrier, you must fill the `contract` attribute with your desired contract ID in your request.\n\u003c/Warning>\n\n## Retrieve return shipping products\n\nIn your request, you must provide an appropriate `shipping_product_code` and a set of `functionalities` inside the `ship_with` object. To find a suitable product, refer to the [Retrieve a list of shipping products](/api/v2/shipping-products/retrieve-a-list-of-shipping-products) endpoint.\n\nYou can filter for a return method by flagging the `returns` field as `true`, and by including the `from_country` and `to_country` fields. The more fields you specify, the more refined the results will be. This helps you find the most appropriate shipping product for your return parcel.\n\nIt's also possible to filter based on your preferred [shipping functionality](/api/v2/shipping-products/retrieve-a-list-of-shipping-functionalities), e.g. `age_check=18`, `delivery_before`, etc.\n\n## Add return reasons\n\nYou can (optionally) assign a **return reason** to `parcel_items` by providing a `return_reason_id` and entering a value from the key below. Assigning return reasons to items provides you with analyzable data you can use to predict return trends or identify issues with particular products.\n\n| Return Reason ID | Description |\n| ---------------- | -------------------------------------------- |\n| 1 | Product did not match expectations |\n| 3 | Other (explain in message) |\n| 4 | Incorrect product ordered |\n| 6 | Product did not match description on website |\n| 7 | Wrong product shipped |\n| 8 | No reason |\n| 9 | Rent |\n| 10 | Does not work |\n| 11 | Changed my mind |\n| 12 | Did not meet expectations |\n| 13 | Excessive amount |\n| 14 | Better price available |\n| 15 | Accidental order |\n| 16 | No longer needed |\n| 17 | Sample products |\n| 18 | Looks different than expected |\n| 19 | Ordered more than one size |\n| 20 | Arrived too late |\n| 21 | Poor quality / Faulty |\n| 22 | Does not fit properly |\n| 23 | Does not suit me |\n| 24 | Incorrect product received |\n| 25 | Parcel damaged on arrival |\n| 26 | Wrong size ordered |\n| 27 | Wrong color ordered |\n| 28 | Does not function as expected |\n| 29 | Recycle or reuse packaging |\n| 30 | Size too large |\n| 31 | Size too small |\n| 32 | Holiday season return |\n\n## Retrieve the shipping label for this return\n\nOnce the parcel for the created return is announced, you can download the shipping label for it.\n\nFind the documentation on how to retrieve a label for a parcel on the [Retrieve a parcel document](/api/v3/parcel-documents/retrieve-a-parcel-document) endpoint.\n\nThe url for downloading the label is also available on the Return object (Only if the parcel is announced). To retrieve a return, take a look at the [Retrieve a return](/api/v3/returns/retrieve-a-return) endpoint.\n\nTo learn more about all the options for retrieving labels and customs declaration documents, refer to the [Parcel documents API](/api/v3/parcel-documents) documentation."},"responses":{"201":"7e07b3e4-4e83-4014-a8f1-e60057365bfc","400":"dc65c7e1-0645-4d83-aece-4c7f4a82e3a4"},"operationId":"sc-public-v3-scp-post-returns_create_new_return","security":["4c78f63d-0fb3-49ef-b74e-7509891c2fbc","dfb7fd2e-147f-4167-a338-c95c3a857094"],"parameters":["e0f492ae-30a9-4e50-a22b-53b1a0e344c3"],"requestBody":"81864146-41d8-4471-9527-c10f6d4b3d32","method":"post","type":"path","servers":["b40b6724-d3d3-41a9-acf1-5a6d5f054ded"],"path":"/returns","baseUrlOptions":["https://panel.sendcloud.sc/api/v3"],"title":"Create a return","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e0f492ae-30a9-4e50-a22b-53b1a0e344c3":{"in":"header","name":"Sendcloud-Partner-Id","description":"If you are an official [Sendcloud Tech Partner](https://www.sendcloud.com/ecosystem/), send your unique Sendcloud Partner UUID as a request header for the system to recognize you.\n\nThe header is not required but if it is set, the system will check it. An unknown or invalid UUID will cause a 400 error.","schema":{"type":"string","description":"If you are an official [Sendcloud Tech Partner](https://www.sendcloud.com/ecosystem/), send your unique Sendcloud Partner UUID as a request header for the system to recognize you.\n\nThe header is not required but if it is set, the system will check it. An unknown or invalid UUID will cause a 400 error.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"from_address":{"type":"object","title":"Address Object","description":"Sendcloud Address object","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":"from_address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"from_address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"from_address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"from_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":"from_address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"from_address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"from_address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"from_address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"from_address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"from_address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"from_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":"from_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":"from_address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"from_address.phone_number","typeLabel":"string"}},"isRequired":true,"uniqueKey":"from_address","typeLabel":"Address Object · object"},"to_address":{"type":"object","title":"Address Object","description":"Sendcloud Address object","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":"to_address.name","typeLabel":"string"},"address_line_1":{"type":"string","example":"Stadhuisplein","description":"First line of the address","isRequired":true,"uniqueKey":"to_address.address_line_1","typeLabel":"string"},"postal_code":{"type":"string","example":"1013 AB","description":"Zip code of the address","minLength":1,"isRequired":true,"uniqueKey":"to_address.postal_code","typeLabel":"string"},"city":{"type":"string","example":"Eindhoven","description":"City of the address","minLength":1,"isRequired":true,"uniqueKey":"to_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":"to_address.country_code","typeLabel":"string"},"company_name":{"type":"string","example":"Sendcloud","description":"Name of the company associated with the address","uniqueKey":"to_address.company_name","typeLabel":"string"},"house_number":{"type":"string","example":"50","description":"House number of the address","uniqueKey":"to_address.house_number","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","example":"Apartment 17B","uniqueKey":"to_address.address_line_2","typeLabel":"string"},"po_box":{"oneOf":[{"type":"string","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"to_address.po_box.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code required in case of PO Box or post locker delivery","uniqueKey":"to_address.po_box.oneOf.1","typeLabel":"null"}],"uniqueKey":"to_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":"to_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":"to_address.email","typeLabel":"string\u003cemail>"},"phone_number":{"type":"string","example":"+319881729999","description":"Phone number of the person associated with the address","uniqueKey":"to_address.phone_number","typeLabel":"string"}},"isRequired":true,"uniqueKey":"to_address","typeLabel":"Address Object · object"},"ship_with":{"title":"Ship With Object","type":"object","description":"Shipping specifications chosen for return","properties":{"type":{"type":"string","description":"The way the shipping method and carrier will be selected. The default is `shipping_product_code`, \nbut the `shipping_option_code` is the new and preferred way.\n","enum":["shipping_option_code","shipping_product_code"],"example":"shipping_option_code","default":"shipping_product_code","uniqueKey":"ship_with.type","typeLabel":"enum\u003cstring>"},"shipping_option_code":{"type":"string","example":"dpd:return/return","description":"Shipping option code as provided by the [Shipping options API](/api/v3/shipping-options) \nand the `code` property of the corresponding response.\n\nRequired if `type` is `shipping_option_code`.","uniqueKey":"ship_with.shipping_option_code","typeLabel":"string"},"shipping_product_code":{"type":"string","example":"dpd:return/return","description":"Shipping product code as provided by the [Shipping products API](/api/v2/shipping-products/retrieve-a-list-of-shipping-products)\nand the `code` property of the corresponding response.\n\nRequired if `type` is `shipping_product_code`.","uniqueKey":"ship_with.shipping_product_code","typeLabel":"string"},"functionalities":{"title":"Shipping Functionalities Object","type":"object","x-examples":{},"properties":{"age_check":{"oneOf":[{"description":"Indicates the minimal age of the recipient to be able to receive a shipment sent with this product/method","enum":[null,16,18],"type":"integer","uniqueKey":"ship_with.functionalities.age_check.oneOf.0","typeLabel":"enum\u003cinteger>"},{"description":"Indicates the minimal age of the recipient to be able to receive a shipment sent with this product/method","enum":[null,16,18],"type":"null","uniqueKey":"ship_with.functionalities.age_check.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.age_check","typeLabel":"enum\u003cinteger> | null"},"b2b":{"description":"Indicates whether this product/method can be used for B2B shipments","type":"boolean","uniqueKey":"ship_with.functionalities.b2b","typeLabel":"boolean"},"b2c":{"description":"Indicates whether this product/method can be used for B2C shipments (shipments between a business and a person)","type":"boolean","uniqueKey":"ship_with.functionalities.b2c","typeLabel":"boolean"},"boxable":{"description":"Indicates whether the shipment fits in a box","type":"boolean","uniqueKey":"ship_with.functionalities.boxable","typeLabel":"boolean"},"bulky_goods":{"description":"Indicates that this method/product is suitable for sending bulky goods","type":"boolean","uniqueKey":"ship_with.functionalities.bulky_goods","typeLabel":"boolean"},"carrier_billing_type":{"oneOf":[{"description":"Indicates the carrier billing method","enum":["country","zonal",null],"type":"string","uniqueKey":"ship_with.functionalities.carrier_billing_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the carrier billing method","enum":["country","zonal",null],"type":"null","uniqueKey":"ship_with.functionalities.carrier_billing_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.carrier_billing_type","typeLabel":"enum\u003cstring> | null"},"cash_on_delivery":{"oneOf":[{"description":"Indicates the maximum value of cash-on-delivery payment and that this method/product can be used for COD shipments","type":"integer","uniqueKey":"ship_with.functionalities.cash_on_delivery.oneOf.0","typeLabel":"integer"},{"description":"Indicates the maximum value of cash-on-delivery payment and that this method/product can be used for COD shipments","type":"null","uniqueKey":"ship_with.functionalities.cash_on_delivery.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.cash_on_delivery","typeLabel":"integer | null"},"dangerous_goods":{"description":"Indicates that this product/method can be used to ship dangerous goods (ADR goods)","type":"boolean","uniqueKey":"ship_with.functionalities.dangerous_goods","typeLabel":"boolean"},"delivery_attempts":{"oneOf":[{"description":"Indicates the future amount of attempts for\nhome deliveries until the package is rerouted to the sender or a service point","type":"integer","uniqueKey":"ship_with.functionalities.delivery_attempts.oneOf.0","typeLabel":"integer"},{"description":"Indicates the future amount of attempts for\nhome deliveries until the package is rerouted to the sender or a service point","type":"null","uniqueKey":"ship_with.functionalities.delivery_attempts.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.delivery_attempts","typeLabel":"integer | null"},"delivery_before":{"oneOf":[{"description":"Indicates that a shipment sent with this method/product will be delivered\nbefore the time specified on the day of delivery. Should be expressed in military time format (HHMM)","type":"string","pattern":"\\d{4}","uniqueKey":"ship_with.functionalities.delivery_before.oneOf.0","typeLabel":"string"},{"description":"Indicates that a shipment sent with this method/product will be delivered\nbefore the time specified on the day of delivery. Should be expressed in military time format (HHMM)","type":"null","pattern":"\\d{4}","uniqueKey":"ship_with.functionalities.delivery_before.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.delivery_before","typeLabel":"string | null"},"delivery_deadline":{"oneOf":[{"description":"Indicates the delivery deadline, that is the guarantee of time to\ndeliver by a carrier. These usually come with some requirements, e.g. same day delivery may only be available\nif a shipment is acquired by a carrier before noon on the same day.\n\nValues:\n* BEST_EFFORT(best_effort): the shipment will be delivered by a carrier ASAP\n* SAMEDAY(sameday): the shipment will be delivered by a carrier on the day of\nacquiring the shipment\n* NEXTDAY(nextday): the shipment will be delivered by a carrier on the day next\nto the day of acquiring the shipment\n* WITHIN_24H(within_24h): the shipment will be delivered by a carrier within 24\nhours from acquiring the shipment\n* WITHIN_48H(within_48h): the shipment will be delivered by a carrier within 48\nhours from acquiring the shipment\n* WITHIN_72H(within_72h): the shipment will be delivered by a carrier within 72\nhours from acquiring the shipment","enum":["best_effort","sameday","nextday","within_24h","within_48h","within_72h",null],"type":"string","uniqueKey":"ship_with.functionalities.delivery_deadline.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the delivery deadline, that is the guarantee of time to\ndeliver by a carrier. These usually come with some requirements, e.g. same day delivery may only be available\nif a shipment is acquired by a carrier before noon on the same day.\n\nValues:\n* BEST_EFFORT(best_effort): the shipment will be delivered by a carrier ASAP\n* SAMEDAY(sameday): the shipment will be delivered by a carrier on the day of\nacquiring the shipment\n* NEXTDAY(nextday): the shipment will be delivered by a carrier on the day next\nto the day of acquiring the shipment\n* WITHIN_24H(within_24h): the shipment will be delivered by a carrier within 24\nhours from acquiring the shipment\n* WITHIN_48H(within_48h): the shipment will be delivered by a carrier within 48\nhours from acquiring the shipment\n* WITHIN_72H(within_72h): the shipment will be delivered by a carrier within 72\nhours from acquiring the shipment","enum":["best_effort","sameday","nextday","within_24h","within_48h","within_72h",null],"type":"null","uniqueKey":"ship_with.functionalities.delivery_deadline.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.delivery_deadline","typeLabel":"enum\u003cstring> | null"},"direct_contract_only":{"description":"Indicates that this method is only available for shipments with a direct (SaaS) contract","type":"boolean","uniqueKey":"ship_with.functionalities.direct_contract_only","typeLabel":"boolean"},"eco_delivery":{"description":"Indicates that a shipment with this method will be delivered in an ecologically friendly way","type":"boolean","uniqueKey":"ship_with.functionalities.eco_delivery","typeLabel":"boolean"},"first_mile":{"oneOf":[{"description":"Indicates how a shipment should be acquired by a carrier using the chosen method.\nValues:\n* PICKUP(pickup): the shipment should be picked up by the carrier's drivers from the sender (one-time)\n* DROPOFF(dropoff): the shipment should be handed in for delivery at a service point\n* PICKUP_DROPOFF(pickup_dropoff): the shipment can be either picked up by a carrier's driver,\n or be handed in for delivery at a service point\n* FULFILMENT(fulfilment): the shipment should be picked up by a recurrent pickup","enum":["pickup","dropoff","pickup_dropoff","fulfilment",null],"type":"string","uniqueKey":"ship_with.functionalities.first_mile.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates how a shipment should be acquired by a carrier using the chosen method.\nValues:\n* PICKUP(pickup): the shipment should be picked up by the carrier's drivers from the sender (one-time)\n* DROPOFF(dropoff): the shipment should be handed in for delivery at a service point\n* PICKUP_DROPOFF(pickup_dropoff): the shipment can be either picked up by a carrier's driver,\n or be handed in for delivery at a service point\n* FULFILMENT(fulfilment): the shipment should be picked up by a recurrent pickup","enum":["pickup","dropoff","pickup_dropoff","fulfilment",null],"type":"null","uniqueKey":"ship_with.functionalities.first_mile.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.first_mile","typeLabel":"enum\u003cstring> | null"},"flex_delivery":{"description":"Indicates whether flexible rerouting is available for a shipment sent with this product/method","type":"boolean","uniqueKey":"ship_with.functionalities.flex_delivery","typeLabel":"boolean"},"form_factor":{"oneOf":[{"description":"Indicates the form factor of a shipment in general terms\n\nValues:\n* LETTER(letter)\n* PARCEL(parcel)\n* MAILBOX(mailbox)\n* PALLET(pallet)\n* LONG(long)","enum":["letter","parcel","mailbox","pallet","long",null],"type":"string","uniqueKey":"ship_with.functionalities.form_factor.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the form factor of a shipment in general terms\n\nValues:\n* LETTER(letter)\n* PARCEL(parcel)\n* MAILBOX(mailbox)\n* PALLET(pallet)\n* LONG(long)","enum":["letter","parcel","mailbox","pallet","long",null],"type":"null","uniqueKey":"ship_with.functionalities.form_factor.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.form_factor","typeLabel":"enum\u003cstring> | null"},"fragile_goods":{"description":"Indicates that fragile goods may be delivered with this method/product","type":"boolean","uniqueKey":"ship_with.functionalities.fragile_goods","typeLabel":"boolean"},"fresh_goods":{"description":"Indicates that fresh/perishable goods may be delivered with this method/product","type":"boolean","uniqueKey":"ship_with.functionalities.fresh_goods","typeLabel":"boolean"},"harmonized_label":{"description":"Indicates whether a harmonized label (a shipping label combined with customs documents) will be created for a\nshipment using this product/method","type":"boolean","uniqueKey":"ship_with.functionalities.harmonized_label","typeLabel":"boolean"},"id_check":{"description":"Indicates whether a recipient will be asked to show a proof of identity when receiving a package.\nRelated to AgeCheck, but not the same.","type":"boolean","uniqueKey":"ship_with.functionalities.id_check","typeLabel":"boolean"},"incoterm":{"oneOf":[{"description":"Indicates the customs terms of shipping, e.g. who is responsible for\npaying taxes and duties for international shipments.\nValues:\n* DDU(ddu) - Delivery Duty Unpaid, recipient pays duties\n* DDP(ddp) - Delivery Duty Paid, sender pays duties\n* DAP(dap) - Delivery At Place, the seller is responsible for delivery of the goods, ready for unloading,\n at the named place of destination.\n* DAP NP(dap_np) - Delivery At Place (duties \u0026 taxes Not Paid), the seller is responsible for delivery\n of the goods, ready for unloading, at the named place of destination. Seller bears costs of shipping\n incl. clearance. Receiver bears the costs and risks of duties and VAT.\n* DAP DP(dap_dp) - Delivery At Place (duties \u0026 taxes Paid), the seller is responsible for delivery\n of the goods, ready for unloading, at the named place of destination. Seller bears the costs and risks\n of transport, clearance, duties and VAT.","enum":["dap","ddp","ddu","dap_np","dap_dp",null],"type":"string","uniqueKey":"ship_with.functionalities.incoterm.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the customs terms of shipping, e.g. who is responsible for\npaying taxes and duties for international shipments.\nValues:\n* DDU(ddu) - Delivery Duty Unpaid, recipient pays duties\n* DDP(ddp) - Delivery Duty Paid, sender pays duties\n* DAP(dap) - Delivery At Place, the seller is responsible for delivery of the goods, ready for unloading,\n at the named place of destination.\n* DAP NP(dap_np) - Delivery At Place (duties \u0026 taxes Not Paid), the seller is responsible for delivery\n of the goods, ready for unloading, at the named place of destination. Seller bears costs of shipping\n incl. clearance. Receiver bears the costs and risks of duties and VAT.\n* DAP DP(dap_dp) - Delivery At Place (duties \u0026 taxes Paid), the seller is responsible for delivery\n of the goods, ready for unloading, at the named place of destination. Seller bears the costs and risks\n of transport, clearance, duties and VAT.","enum":["dap","ddp","ddu","dap_np","dap_dp",null],"type":"null","uniqueKey":"ship_with.functionalities.incoterm.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.incoterm","typeLabel":"enum\u003cstring> | null"},"insurance":{"oneOf":[{"description":"Indicates the amount of insurance provided by a carrier for a shipment with this method/product","type":"integer","uniqueKey":"ship_with.functionalities.insurance.oneOf.0","typeLabel":"integer"},{"description":"Indicates the amount of insurance provided by a carrier for a shipment with this method/product","type":"null","uniqueKey":"ship_with.functionalities.insurance.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.insurance","typeLabel":"integer | null"},"last_mile":{"oneOf":[{"description":"Indicates the end destination of a shipment (i.e. where it will be delivered)\n\nFormerly known as Destination Type\n\nValues:\n* HOME_DELIVERY (home_delivery) - regular parcel delivery at home\n* SERVICE_POINT (service_point) - the shipment will be delivered to a service\npoint\n* MAILBOX (mailbox) - the shipment will be delivered to a mailbox of a recipient\n(related to FormFactor.MAILBOX)\n* LOCKER (locker) - the shipment will be delivered to a locker\n* LOCKER_OR_SERVICE_POINT (locker_or_servicepoint) - the shipment will be delivered to a locker or a service point","enum":["home_delivery","service_point","mailbox","locker","locker_or_service_point"],"type":"string","uniqueKey":"ship_with.functionalities.last_mile.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the end destination of a shipment (i.e. where it will be delivered)\n\nFormerly known as Destination Type\n\nValues:\n* HOME_DELIVERY (home_delivery) - regular parcel delivery at home\n* SERVICE_POINT (service_point) - the shipment will be delivered to a service\npoint\n* MAILBOX (mailbox) - the shipment will be delivered to a mailbox of a recipient\n(related to FormFactor.MAILBOX)\n* LOCKER (locker) - the shipment will be delivered to a locker\n* LOCKER_OR_SERVICE_POINT (locker_or_servicepoint) - the shipment will be delivered to a locker or a service point","enum":["home_delivery","service_point","mailbox","locker","locker_or_service_point"],"type":"null","uniqueKey":"ship_with.functionalities.last_mile.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.last_mile","typeLabel":"enum\u003cstring> | null"},"manually":{"description":"Indicates a subset of Deutsche Post shipping methods where a consumer should manually attach the label to the parcel.","type":"boolean","uniqueKey":"ship_with.functionalities.manually","typeLabel":"boolean"},"multicollo":{"description":"Indicates whether multicollo shipments are possible with this product/method.\n\nMulticollo shipments consist of multiple packages\nwhich are created and sent at the same moment to the same receiver address. All parcels of a multicollo shipment will be delivered to\nthe recipient at once.","type":"boolean","uniqueKey":"ship_with.functionalities.multicollo","typeLabel":"boolean"},"neighbor_delivery":{"description":"Indicates the neighbor delivery availability.\n\nIf the recipient is unavailable at the moment of delivery, the shipment sent with\nthis method/product can be delivered to neighbors.","type":"boolean","uniqueKey":"ship_with.functionalities.neighbor_delivery","typeLabel":"boolean"},"non_conveyable":{"description":"Indicates that a shipment sent with this product/method shouldn't be transported by conveyors.","type":"boolean","uniqueKey":"ship_with.functionalities.non_conveyable","typeLabel":"boolean"},"personalized_delivery":{"description":"Indicates a subset of Deutsche Post shipping methods shipping to a consumer.","type":"boolean","uniqueKey":"ship_with.functionalities.personalized_delivery","typeLabel":"boolean"},"premium":{"description":"Indicates whether the carrier identifies the shipment's shipping process as premium.","type":"boolean","uniqueKey":"ship_with.functionalities.premium","typeLabel":"boolean"},"priority":{"oneOf":[{"description":"Indicates the priority of a shipment.\n\nValues:\n* ECONOMICAL(economical): cheap but slow\n* STANDARD(standard): regular\n* PRIORITY(priority): prioritized delivery, might be the same as EXPRESS\n* EXPRESS(express): Express delivery","enum":["economical","standard","priority","express",null],"type":"string","uniqueKey":"ship_with.functionalities.priority.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the priority of a shipment.\n\nValues:\n* ECONOMICAL(economical): cheap but slow\n* STANDARD(standard): regular\n* PRIORITY(priority): prioritized delivery, might be the same as EXPRESS\n* EXPRESS(express): Express delivery","enum":["economical","standard","priority","express",null],"type":"null","uniqueKey":"ship_with.functionalities.priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.priority","typeLabel":"enum\u003cstring> | null"},"registered_delivery":{"description":"Indicates that the delivery of this shipment will be registered.","type":"boolean","uniqueKey":"ship_with.functionalities.registered_delivery","typeLabel":"boolean"},"returns":{"description":"Indicates that this product/method can be used for return shipments","type":"boolean","uniqueKey":"ship_with.functionalities.returns","typeLabel":"boolean"},"segment":{"oneOf":[{"description":"Internal functionality we use to support different pricing for PostNL shipments for users of different segments","enum":["a+","a","b","c","d",null],"type":"string","uniqueKey":"ship_with.functionalities.segment.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Internal functionality we use to support different pricing for PostNL shipments for users of different segments","enum":["a+","a","b","c","d",null],"type":"null","uniqueKey":"ship_with.functionalities.segment.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.segment","typeLabel":"enum\u003cstring> | null"},"service_area":{"oneOf":[{"description":"Indicates the service area of this product/method, for example — where it can be used\n\nValues:\n* DOMESTIC (domestic): available for domestic (national) shipments\n* DOMESTIC_REMOTE (domestic_remote): available for shipments to domestic remote\nterritories (e.g. overseas)\n* INTERNATIONAL (international): available for international shipments","enum":["domestic","domestic_remote","international",null],"type":"string","uniqueKey":"ship_with.functionalities.service_area.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the service area of this product/method, for example — where it can be used\n\nValues:\n* DOMESTIC (domestic): available for domestic (national) shipments\n* DOMESTIC_REMOTE (domestic_remote): available for shipments to domestic remote\nterritories (e.g. overseas)\n* INTERNATIONAL (international): available for international shipments","enum":["domestic","domestic_remote","international",null],"type":"null","uniqueKey":"ship_with.functionalities.service_area.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.service_area","typeLabel":"enum\u003cstring> | null"},"signature":{"description":"Indicates that a recipient signature will be required on delivery of a shipment sent with this product/method.","type":"boolean","uniqueKey":"ship_with.functionalities.signature","typeLabel":"boolean"},"size":{"oneOf":[{"description":"Indicates the size of a shipment. Note that the concept of a size\nmay vary per carrier and per form factor.\n\nValues:\n* XS(xs)\n* S(s)\n* M(m)\n* L(l)\n* XL(xl)\n* XXL(xxl)","enum":["xs","s","m","l","xl","xxl",null],"type":"string","uniqueKey":"ship_with.functionalities.size.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates the size of a shipment. Note that the concept of a size\nmay vary per carrier and per form factor.\n\nValues:\n* XS(xs)\n* S(s)\n* M(m)\n* L(l)\n* XL(xl)\n* XXL(xxl)","enum":["xs","s","m","l","xl","xxl",null],"type":"null","uniqueKey":"ship_with.functionalities.size.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.size","typeLabel":"enum\u003cstring> | null"},"sorted":{"description":"Indicates whether the shipment(s) are handed over to the carrier in a sorted fashion, decreasing costs.","type":"boolean","uniqueKey":"ship_with.functionalities.sorted","typeLabel":"boolean"},"surcharge":{"description":"Indicates whether the carrier can surcharge the shipment later, based on (volumetric) weight.","type":"boolean","uniqueKey":"ship_with.functionalities.surcharge","typeLabel":"boolean"},"tracked":{"description":"Indicates that this shipment can be tracked.","type":"boolean","uniqueKey":"ship_with.functionalities.tracked","typeLabel":"boolean"},"tyres":{"description":"Indicates that this shipping method/product can be used to ship tires","type":"boolean","uniqueKey":"ship_with.functionalities.tyres","typeLabel":"boolean"},"weekend_delivery":{"oneOf":[{"description":"Indicates whether deliveries with this method/product are available\non the weekends\n\nValues:\n* SATURDAY (saturday) - can be delivered on Saturday\n* SUNDAY (sunday) - can be delivered on Sunday\n* WEEKENDS (weekends) - can be delivered during the weekends","enum":["saturday","sunday","weekends",null],"type":"string","uniqueKey":"ship_with.functionalities.weekend_delivery.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Indicates whether deliveries with this method/product are available\non the weekends\n\nValues:\n* SATURDAY (saturday) - can be delivered on Saturday\n* SUNDAY (sunday) - can be delivered on Sunday\n* WEEKENDS (weekends) - can be delivered during the weekends","enum":["saturday","sunday","weekends",null],"type":"null","uniqueKey":"ship_with.functionalities.weekend_delivery.oneOf.1","typeLabel":"null"}],"uniqueKey":"ship_with.functionalities.weekend_delivery","typeLabel":"enum\u003cstring> | null"},"ers":{"type":"boolean","description":"Indicates if a shipment with this method can be sent via the Easy Return Solution for e-commerce parcels platform. Many national carriers are part of this platform.","uniqueKey":"ship_with.functionalities.ers","typeLabel":"boolean"},"pick_up":{"type":"boolean","description":"Indicates that this shipping method/product will be picked up by the carrier","uniqueKey":"ship_with.functionalities.pick_up","typeLabel":"boolean"},"labelless":{"type":"boolean","description":"Indicates that this shipping method/product can be announced with a QR code instead of a traditional label\n","uniqueKey":"ship_with.functionalities.labelless","typeLabel":"boolean"}},"description":"Shipping functionalities. Should only be provided if `type` is `shipping_product_code`.","uniqueKey":"ship_with.functionalities","typeLabel":"Shipping Functionalities Object · object"},"contract":{"type":"integer","description":"ID of the contract to ship the return with","uniqueKey":"ship_with.contract","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"ship_with","typeLabel":"Ship With Object · object"},"weight":{"title":"Weight","type":"object","description":"Weight in the specified unit","properties":{"value":{"type":"number","description":"Weight value","exclusiveMinimum":0,"example":14.5,"isRequired":true,"uniqueKey":"weight.value","typeLabel":"number"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"weight","typeLabel":"Weight · object"},"from_service_point":{"oneOf":[{"type":"integer","description":"The Sendcloud `id` of the service point where the end consumer drops off the return parcel. Use the [Retrieve a list of service points](/api/v3/service-points/retrieve-a-list-of-service-points) endpoint to find service points.\n\nRequired when the selected shipping method requires a service point (for example a drop-off return at a pick-up point). The service point must be active and belong to the carrier of the shipping method.","example":16476354,"uniqueKey":"from_service_point.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The Sendcloud `id` of the service point where the end consumer drops off the return parcel. Use the [Retrieve a list of service points](/api/v3/service-points/retrieve-a-list-of-service-points) endpoint to find service points.\n\nRequired when the selected shipping method requires a service point (for example a drop-off return at a pick-up point). The service point must be active and belong to the carrier of the shipping method.","example":16476354,"uniqueKey":"from_service_point.oneOf.1","typeLabel":"null"}],"uniqueKey":"from_service_point","typeLabel":"integer | null"},"dimensions":{"title":"Dimension","type":"object","description":"Dimension in the specified unit","properties":{"length":{"type":"number","description":"length in specified unit","minimum":0,"example":15,"isRequired":true,"uniqueKey":"dimensions.length","typeLabel":"number"},"width":{"type":"number","description":"width in specified unit","minimum":0,"example":20.5,"isRequired":true,"uniqueKey":"dimensions.width","typeLabel":"number"},"height":{"type":"number","description":"height in specified unit","minimum":0,"example":37,"isRequired":true,"uniqueKey":"dimensions.height","typeLabel":"number"},"unit":{"type":"string","title":"Dimensional units","enum":["cm","mm","m","yd","ft","in"],"example":"mm","isRequired":true,"uniqueKey":"dimensions.unit","typeLabel":"enum\u003cstring>"}},"required":["length","width","height","unit"],"uniqueKey":"dimensions","typeLabel":"Dimension · object"},"collo_count":{"type":"integer","default":1,"minimum":1,"description":"The number of collos this return consists of","uniqueKey":"collo_count","typeLabel":"integer"},"parcel_items":{"type":"array","description":"List of items contained in this return. Required outside EU.","items":{"oneOf":[{"type":"object","title":"Domestic return parcel item","description":"A single item in a domestic return - one that does not cross a customs border and does not require customs documents. All customs fields are optional.","properties":{"item_id":{"oneOf":[{"type":"string","description":"Order Item external ID in shop system","example":"5552","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Order Item external ID in shop system","example":"5552","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.item_id","typeLabel":"string | null"},"description":{"type":"string","description":"Description of the item","example":"T-Shirt XL","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.description","typeLabel":"string"},"quantity":{"type":"integer","description":"Quantity of items shipped","minimum":1,"example":1,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.quantity","typeLabel":"integer"},"weight":{"title":"Weight","type":"object","description":"Weight in the specified unit","properties":{"value":{"type":"number","description":"Weight value","exclusiveMinimum":0,"example":14.5,"isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.weight.value","typeLabel":"number"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.weight","typeLabel":"Weight · object"},"price":{"title":"Price With Any Currency","type":"object","properties":{"value":{"type":"number","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.price.value","typeLabel":"number"},"currency":{"title":"Currency Code","type":"string","description":"Three-letter ISO 4217 currency code","pattern":"^[A-Z]{3}$","example":"EUR","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.price.currency","typeLabel":"string"}},"description":"Price in the specified currency","required":["value","currency"],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.price","typeLabel":"Price With Any Currency · object"},"value":{"title":"Price With Any Currency","type":"object","properties":{"value":{"type":"number","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.value.value","typeLabel":"number"},"currency":{"title":"Currency Code","type":"string","description":"Three-letter ISO 4217 currency code","pattern":"^[A-Z]{3}$","example":"EUR","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.value.currency","typeLabel":"string"}},"description":"Price in the specified currency. **Deprecated** in favor of the `price` field.","required":["value","currency"],"deprecated":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.value","typeLabel":"Price With Any Currency · object"},"hs_code":{"type":"string","description":"Harmonized System Code.","example":"6205.20","maxLength":12,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.hs_code","typeLabel":"string"},"origin_country":{"type":"string","description":"ISO-2 code of the country where the items were originally produced.","example":"NL","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.origin_country","typeLabel":"string"},"sku":{"type":"string","description":"The SKU of the product","example":"TS1234","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.sku","typeLabel":"string"},"product_id":{"type":"string","description":"The internal ID of the product","example":"19284","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.product_id","typeLabel":"string"},"return_reason_id":{"oneOf":[{"type":"string","description":"The ID of the return reason, if any.","example":"1","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.return_reason_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the return reason, if any.","example":"1","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.return_reason_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.return_reason_id","typeLabel":"string | null"},"return_message":{"oneOf":[{"type":"string","description":"Extra information relating to the return reason","example":"Too big","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.return_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Extra information relating to the return reason","example":"Too big","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.return_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.return_message","typeLabel":"string | null"},"mid_code":{"oneOf":[{"title":"MID Code","type":"string","description":"MID code is short for Manufacturer's Identification code and must be shown on the commercial invoice. \nIt's used as an alternative to the full name and address of a manufacturer, shipper or exporter \nand is always required for U.S. formal customs entries.\n","example":"NLOZR92MEL","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.mid_code.oneOf.0","typeLabel":"string"},{"title":"MID Code","type":"null","description":"MID code is short for Manufacturer's Identification code and must be shown on the commercial invoice. \nIt's used as an alternative to the full name and address of a manufacturer, shipper or exporter \nand is always required for U.S. formal customs entries.\n","example":"NLOZR92MEL","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.mid_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.mid_code","typeLabel":"string | null"},"material_content":{"oneOf":[{"title":"Material Content","type":"string","description":"A description of materials of the order content.","example":"100% Cotton","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.material_content.oneOf.0","typeLabel":"string"},{"title":"Material Content","type":"null","description":"A description of materials of the order content.","example":"100% Cotton","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.material_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.material_content","typeLabel":"string | null"},"intended_use":{"oneOf":[{"title":"Intended Use","type":"string","description":"Intended use of the order contents. The intended use may be personal or commercial.","example":"Personal use","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.intended_use.oneOf.0","typeLabel":"string"},{"title":"Intended Use","type":"null","description":"Intended use of the order contents. The intended use may be personal or commercial.","example":"Personal use","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.intended_use.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.intended_use","typeLabel":"string | null"},"dangerous_goods":{"title":"DangerousGoods","type":"object","description":"Hazardous materials information for items.","properties":{"chemical_record_identifier":{"oneOf":[{"type":"string","description":"Chemical record identifier for the dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.chemical_record_identifier.oneOf.0","typeLabel":"string"},{"type":"null","description":"Chemical record identifier for the dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.chemical_record_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.chemical_record_identifier","typeLabel":"string | null"},"regulation_set":{"type":"string","enum":["IATA","ADR"],"description":"Regulation set governing the dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.regulation_set","typeLabel":"enum\u003cstring>"},"packaging_type_quantity":{"oneOf":[{"type":"string","description":"Quantity of packaging type","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_type_quantity.oneOf.0","typeLabel":"string"},{"type":"null","description":"Quantity of packaging type","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_type_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_type_quantity","typeLabel":"string | null"},"packaging_type":{"oneOf":[{"type":"string","description":"Type of packaging used","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Type of packaging used","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_type","typeLabel":"string | null"},"packaging_instruction_code":{"oneOf":[{"type":"string","description":"Packaging instruction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_instruction_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Packaging instruction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_instruction_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.packaging_instruction_code","typeLabel":"string | null"},"id_number":{"oneOf":[{"type":"string","description":"UN identification number","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.id_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"UN identification number","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.id_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.id_number","typeLabel":"string | null"},"class_division_number":{"oneOf":[{"type":"string","description":"Hazard class and division number","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.class_division_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Hazard class and division number","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.class_division_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.class_division_number","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"string","description":"Quantity of dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.quantity.oneOf.0","typeLabel":"string"},{"type":"null","description":"Quantity of dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.quantity","typeLabel":"string | null"},"unit_of_measurement":{"type":"string","enum":["kg","g","l","ml"],"description":"Unit of measurement for dangerous goods quantity","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.unit_of_measurement","typeLabel":"enum\u003cstring>"},"proper_shipping_name":{"oneOf":[{"type":"string","description":"Proper shipping name as defined by regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.proper_shipping_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Proper shipping name as defined by regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.proper_shipping_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.proper_shipping_name","typeLabel":"string | null"},"commodity_regulated_level_code":{"type":"string","enum":["LQ","EQ"],"description":"Commodity regulated level code","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.commodity_regulated_level_code","typeLabel":"enum\u003cstring>"},"transportation_mode":{"type":"string","enum":["Highway","Ground","PAX","CAO"],"description":"Mode of transportation","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.transportation_mode","typeLabel":"enum\u003cstring>"},"emergency_contact_name":{"oneOf":[{"type":"string","description":"Name of emergency contact person","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.emergency_contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of emergency contact person","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.emergency_contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.emergency_contact_name","typeLabel":"string | null"},"emergency_contact_phone":{"oneOf":[{"type":"string","description":"Phone number of emergency contact","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.emergency_contact_phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of emergency contact","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.emergency_contact_phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.emergency_contact_phone","typeLabel":"string | null"},"adr_packing_group_letter":{"type":"string","enum":["I","II","III"],"description":"ADR packing group classification","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.adr_packing_group_letter","typeLabel":"enum\u003cstring>"},"local_proper_shipping_name":{"oneOf":[{"type":"string","description":"Local proper shipping name","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.local_proper_shipping_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Local proper shipping name","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.local_proper_shipping_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.local_proper_shipping_name","typeLabel":"string | null"},"transport_category":{"oneOf":[{"type":"string","description":"Transport category for ADR regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.transport_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"Transport category for ADR regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.transport_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.transport_category","typeLabel":"string | null"},"tunnel_restriction_code":{"oneOf":[{"type":"string","description":"Tunnel restriction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.tunnel_restriction_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tunnel restriction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.tunnel_restriction_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.tunnel_restriction_code","typeLabel":"string | null"},"weight_type":{"type":"string","enum":["net","gross"],"description":"Type of weight measurement","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods.weight_type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dangerous_goods","typeLabel":"DangerousGoods · object"},"dds_reference":{"oneOf":[{"title":"DDS Reference","type":"string","description":"The DDS (Due Diligence Statement) reference number associated with the item, if applicable. See EUDR system for more details.","example":"25FIYPEK0A7573","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dds_reference.oneOf.0","typeLabel":"string"},{"title":"DDS Reference","type":"null","description":"The DDS (Due Diligence Statement) reference number associated with the item, if applicable. See EUDR system for more details.","example":"25FIYPEK0A7573","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dds_reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.dds_reference","typeLabel":"string | null"},"taric_doc_code":{"oneOf":[{"title":"TARIC document code","type":"string","description":"TARIC document codes are specific alphanumeric codes used in EU customs declarations (Box 44) to identify required supporting documents, certificates, or conditions for a product, like health certificates (e.g., 3200), origin proofs (e.g., EUR.1), or special authorizations (e.g., C716 for due diligence) for simplified procedures, ensuring compliance with EU trade rules for various goods.","example":"Y142","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.taric_doc_code.oneOf.0","typeLabel":"string"},{"title":"TARIC document code","type":"null","description":"TARIC document codes are specific alphanumeric codes used in EU customs declarations (Box 44) to identify required supporting documents, certificates, or conditions for a product, like health certificates (e.g., 3200), origin proofs (e.g., EUR.1), or special authorizations (e.g., C716 for due diligence) for simplified procedures, ensuring compliance with EU trade rules for various goods.","example":"Y142","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.taric_doc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.taric_doc_code","typeLabel":"string | null"},"manufacturer_product_id":{"oneOf":[{"title":"Manufacturer Product ID","type":"string","description":"A manufacturer or product supplier's unique code, assigned to an individual product.","maxLength":70,"example":"ABC-12345","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.manufacturer_product_id.oneOf.0","typeLabel":"string"},{"title":"Manufacturer Product ID","type":"null","description":"A manufacturer or product supplier's unique code, assigned to an individual product.","maxLength":70,"example":"ABC-12345","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.manufacturer_product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.manufacturer_product_id","typeLabel":"string | null"},"manufacturer_product_id_std":{"oneOf":[{"title":"Manufacturer Product ID (Standardized)","type":"string","description":"A standardized manufacturer product identifier assigned by a global industry standard body (e.g. GTIN). Provide only if one exists for the product.","maxLength":70,"example":"01234567890128","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.manufacturer_product_id_std.oneOf.0","typeLabel":"string"},{"title":"Manufacturer Product ID (Standardized)","type":"null","description":"A standardized manufacturer product identifier assigned by a global industry standard body (e.g. GTIN). Provide only if one exists for the product.","maxLength":70,"example":"01234567890128","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.manufacturer_product_id_std.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.manufacturer_product_id_std","typeLabel":"string | null"},"cpsc":{"oneOf":[{"type":"null","description":"CPSC (Consumer Product Safety Commission) certification details required for certain returns to the United States. Omit this field entirely if not applicable.","uniqueKey":"parcel_items.items.[INDEX].oneOf.0.cpsc.oneOf.0","typeLabel":"null"},{"type":"object","title":"CPSC certification","description":"CPSC (Consumer Product Safety Commission) certification details required for certain returns to the United States. Omit this field entirely if not applicable.","required":["product_id","certifier_id","version_id"],"properties":{"product_id":{"type":"string","description":"CPSC product identifier.","example":"12345","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.cpsc.oneOf.1.product_id","typeLabel":"string"},"certifier_id":{"type":"string","description":"CPSC certifier identifier.","example":"67890","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.cpsc.oneOf.1.certifier_id","typeLabel":"string"},"version_id":{"type":"string","description":"CPSC certificate version identifier.","example":"1","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.cpsc.oneOf.1.version_id","typeLabel":"string"}},"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.cpsc.oneOf.1","typeLabel":"CPSC certification · object"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.cpsc","typeLabel":"null | CPSC certification · object"},"properties":{"type":"object","additionalProperties":true,"description":"Any custom user-defined properties of order item or product","example":{"size":"red","color":"green"},"uniqueKey":"parcel_items.items.[INDEX].oneOf.0.properties","typeLabel":"object"}},"uniqueKey":"parcel_items.items.[INDEX].oneOf.0","typeLabel":"Domestic return parcel item · object"},{"type":"object","title":"International return parcel item","description":"A single item in an international return - one that crosses a customs border (e.g. non-EU to EU) and requires customs documents. `hs_code` and `origin_country` are required for international returns.","required":["description","quantity","weight","price","hs_code","origin_country"],"properties":{"description":{"type":"string","description":"Description of the item","example":"T-Shirt XL","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.description","typeLabel":"string"},"quantity":{"type":"integer","description":"Quantity of items shipped","minimum":1,"example":1,"isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.quantity","typeLabel":"integer"},"weight":{"title":"Weight","type":"object","description":"Weight in the specified unit","properties":{"value":{"type":"number","description":"Weight value","exclusiveMinimum":0,"example":14.5,"isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.weight.value","typeLabel":"number"},"unit":{"type":"string","title":"Mass Units Object","enum":["kg","g","lbs","oz"],"example":"g","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.weight.unit","typeLabel":"enum\u003cstring>"}},"required":["value","unit"],"isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.weight","typeLabel":"Weight · object"},"price":{"title":"Price With Any Currency","type":"object","properties":{"value":{"type":"number","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.price.value","typeLabel":"number"},"currency":{"title":"Currency Code","type":"string","description":"Three-letter ISO 4217 currency code","pattern":"^[A-Z]{3}$","example":"EUR","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.price.currency","typeLabel":"string"}},"description":"Price in the specified currency","required":["value","currency"],"isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.price","typeLabel":"Price With Any Currency · object"},"hs_code":{"type":"string","description":"Harmonized System Code.","example":"6205.20","maxLength":12,"isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.hs_code","typeLabel":"string"},"origin_country":{"type":"string","description":"ISO-2 code of the country where the items were originally produced.","example":"NL","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.origin_country","typeLabel":"string"},"item_id":{"oneOf":[{"type":"string","description":"Order Item external ID in shop system","example":"5552","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Order Item external ID in shop system","example":"5552","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.item_id","typeLabel":"string | null"},"value":{"title":"Price With Any Currency","type":"object","properties":{"value":{"type":"number","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.value.value","typeLabel":"number"},"currency":{"title":"Currency Code","type":"string","description":"Three-letter ISO 4217 currency code","pattern":"^[A-Z]{3}$","example":"EUR","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.value.currency","typeLabel":"string"}},"description":"Price in the specified currency. **Deprecated** in favor of the `price` field.","required":["value","currency"],"deprecated":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.value","typeLabel":"Price With Any Currency · object"},"sku":{"type":"string","description":"The SKU of the product","example":"TS1234","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.sku","typeLabel":"string"},"product_id":{"type":"string","description":"The internal ID of the product","example":"19284","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.product_id","typeLabel":"string"},"return_reason_id":{"oneOf":[{"type":"string","description":"The ID of the return reason, if any.","example":"1","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.return_reason_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the return reason, if any.","example":"1","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.return_reason_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.return_reason_id","typeLabel":"string | null"},"return_message":{"oneOf":[{"type":"string","description":"Extra information relating to the return reason","example":"Too big","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.return_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Extra information relating to the return reason","example":"Too big","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.return_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.return_message","typeLabel":"string | null"},"mid_code":{"oneOf":[{"title":"MID Code","type":"string","description":"MID code is short for Manufacturer's Identification code and must be shown on the commercial invoice. \nIt's used as an alternative to the full name and address of a manufacturer, shipper or exporter \nand is always required for U.S. formal customs entries.\n","example":"NLOZR92MEL","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.mid_code.oneOf.0","typeLabel":"string"},{"title":"MID Code","type":"null","description":"MID code is short for Manufacturer's Identification code and must be shown on the commercial invoice. \nIt's used as an alternative to the full name and address of a manufacturer, shipper or exporter \nand is always required for U.S. formal customs entries.\n","example":"NLOZR92MEL","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.mid_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.mid_code","typeLabel":"string | null"},"material_content":{"oneOf":[{"title":"Material Content","type":"string","description":"A description of materials of the order content.","example":"100% Cotton","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.material_content.oneOf.0","typeLabel":"string"},{"title":"Material Content","type":"null","description":"A description of materials of the order content.","example":"100% Cotton","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.material_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.material_content","typeLabel":"string | null"},"intended_use":{"oneOf":[{"title":"Intended Use","type":"string","description":"Intended use of the order contents. The intended use may be personal or commercial.","example":"Personal use","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.intended_use.oneOf.0","typeLabel":"string"},{"title":"Intended Use","type":"null","description":"Intended use of the order contents. The intended use may be personal or commercial.","example":"Personal use","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.intended_use.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.intended_use","typeLabel":"string | null"},"dangerous_goods":{"title":"DangerousGoods","type":"object","description":"Hazardous materials information for items.","properties":{"chemical_record_identifier":{"oneOf":[{"type":"string","description":"Chemical record identifier for the dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.chemical_record_identifier.oneOf.0","typeLabel":"string"},{"type":"null","description":"Chemical record identifier for the dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.chemical_record_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.chemical_record_identifier","typeLabel":"string | null"},"regulation_set":{"type":"string","enum":["IATA","ADR"],"description":"Regulation set governing the dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.regulation_set","typeLabel":"enum\u003cstring>"},"packaging_type_quantity":{"oneOf":[{"type":"string","description":"Quantity of packaging type","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_type_quantity.oneOf.0","typeLabel":"string"},{"type":"null","description":"Quantity of packaging type","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_type_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_type_quantity","typeLabel":"string | null"},"packaging_type":{"oneOf":[{"type":"string","description":"Type of packaging used","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Type of packaging used","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_type","typeLabel":"string | null"},"packaging_instruction_code":{"oneOf":[{"type":"string","description":"Packaging instruction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_instruction_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Packaging instruction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_instruction_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.packaging_instruction_code","typeLabel":"string | null"},"id_number":{"oneOf":[{"type":"string","description":"UN identification number","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.id_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"UN identification number","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.id_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.id_number","typeLabel":"string | null"},"class_division_number":{"oneOf":[{"type":"string","description":"Hazard class and division number","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.class_division_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Hazard class and division number","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.class_division_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.class_division_number","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"string","description":"Quantity of dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.quantity.oneOf.0","typeLabel":"string"},{"type":"null","description":"Quantity of dangerous goods","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.quantity","typeLabel":"string | null"},"unit_of_measurement":{"type":"string","enum":["kg","g","l","ml"],"description":"Unit of measurement for dangerous goods quantity","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.unit_of_measurement","typeLabel":"enum\u003cstring>"},"proper_shipping_name":{"oneOf":[{"type":"string","description":"Proper shipping name as defined by regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.proper_shipping_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Proper shipping name as defined by regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.proper_shipping_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.proper_shipping_name","typeLabel":"string | null"},"commodity_regulated_level_code":{"type":"string","enum":["LQ","EQ"],"description":"Commodity regulated level code","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.commodity_regulated_level_code","typeLabel":"enum\u003cstring>"},"transportation_mode":{"type":"string","enum":["Highway","Ground","PAX","CAO"],"description":"Mode of transportation","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.transportation_mode","typeLabel":"enum\u003cstring>"},"emergency_contact_name":{"oneOf":[{"type":"string","description":"Name of emergency contact person","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.emergency_contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of emergency contact person","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.emergency_contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.emergency_contact_name","typeLabel":"string | null"},"emergency_contact_phone":{"oneOf":[{"type":"string","description":"Phone number of emergency contact","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.emergency_contact_phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of emergency contact","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.emergency_contact_phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.emergency_contact_phone","typeLabel":"string | null"},"adr_packing_group_letter":{"type":"string","enum":["I","II","III"],"description":"ADR packing group classification","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.adr_packing_group_letter","typeLabel":"enum\u003cstring>"},"local_proper_shipping_name":{"oneOf":[{"type":"string","description":"Local proper shipping name","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.local_proper_shipping_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Local proper shipping name","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.local_proper_shipping_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.local_proper_shipping_name","typeLabel":"string | null"},"transport_category":{"oneOf":[{"type":"string","description":"Transport category for ADR regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.transport_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"Transport category for ADR regulations","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.transport_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.transport_category","typeLabel":"string | null"},"tunnel_restriction_code":{"oneOf":[{"type":"string","description":"Tunnel restriction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.tunnel_restriction_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tunnel restriction code","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.tunnel_restriction_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.tunnel_restriction_code","typeLabel":"string | null"},"weight_type":{"type":"string","enum":["net","gross"],"description":"Type of weight measurement","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods.weight_type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dangerous_goods","typeLabel":"DangerousGoods · object"},"dds_reference":{"oneOf":[{"title":"DDS Reference","type":"string","description":"The DDS (Due Diligence Statement) reference number associated with the item, if applicable. See EUDR system for more details.","example":"25FIYPEK0A7573","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dds_reference.oneOf.0","typeLabel":"string"},{"title":"DDS Reference","type":"null","description":"The DDS (Due Diligence Statement) reference number associated with the item, if applicable. See EUDR system for more details.","example":"25FIYPEK0A7573","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dds_reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.dds_reference","typeLabel":"string | null"},"taric_doc_code":{"oneOf":[{"title":"TARIC document code","type":"string","description":"TARIC document codes are specific alphanumeric codes used in EU customs declarations (Box 44) to identify required supporting documents, certificates, or conditions for a product, like health certificates (e.g., 3200), origin proofs (e.g., EUR.1), or special authorizations (e.g., C716 for due diligence) for simplified procedures, ensuring compliance with EU trade rules for various goods.","example":"Y142","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.taric_doc_code.oneOf.0","typeLabel":"string"},{"title":"TARIC document code","type":"null","description":"TARIC document codes are specific alphanumeric codes used in EU customs declarations (Box 44) to identify required supporting documents, certificates, or conditions for a product, like health certificates (e.g., 3200), origin proofs (e.g., EUR.1), or special authorizations (e.g., C716 for due diligence) for simplified procedures, ensuring compliance with EU trade rules for various goods.","example":"Y142","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.taric_doc_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.taric_doc_code","typeLabel":"string | null"},"manufacturer_product_id":{"oneOf":[{"title":"Manufacturer Product ID","type":"string","description":"A manufacturer or product supplier's unique code, assigned to an individual product.","maxLength":70,"example":"ABC-12345","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.manufacturer_product_id.oneOf.0","typeLabel":"string"},{"title":"Manufacturer Product ID","type":"null","description":"A manufacturer or product supplier's unique code, assigned to an individual product.","maxLength":70,"example":"ABC-12345","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.manufacturer_product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.manufacturer_product_id","typeLabel":"string | null"},"manufacturer_product_id_std":{"oneOf":[{"title":"Manufacturer Product ID (Standardized)","type":"string","description":"A standardized manufacturer product identifier assigned by a global industry standard body (e.g. GTIN). Provide only if one exists for the product.","maxLength":70,"example":"01234567890128","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.manufacturer_product_id_std.oneOf.0","typeLabel":"string"},{"title":"Manufacturer Product ID (Standardized)","type":"null","description":"A standardized manufacturer product identifier assigned by a global industry standard body (e.g. GTIN). Provide only if one exists for the product.","maxLength":70,"example":"01234567890128","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.manufacturer_product_id_std.oneOf.1","typeLabel":"null"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.manufacturer_product_id_std","typeLabel":"string | null"},"cpsc":{"oneOf":[{"type":"null","description":"CPSC (Consumer Product Safety Commission) certification details required for certain returns to the United States. Omit this field entirely if not applicable.","uniqueKey":"parcel_items.items.[INDEX].oneOf.1.cpsc.oneOf.0","typeLabel":"null"},{"type":"object","title":"CPSC certification","description":"CPSC (Consumer Product Safety Commission) certification details required for certain returns to the United States. Omit this field entirely if not applicable.","required":["product_id","certifier_id","version_id"],"properties":{"product_id":{"type":"string","description":"CPSC product identifier.","example":"12345","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.cpsc.oneOf.1.product_id","typeLabel":"string"},"certifier_id":{"type":"string","description":"CPSC certifier identifier.","example":"67890","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.cpsc.oneOf.1.certifier_id","typeLabel":"string"},"version_id":{"type":"string","description":"CPSC certificate version identifier.","example":"1","isRequired":true,"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.cpsc.oneOf.1.version_id","typeLabel":"string"}},"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.cpsc.oneOf.1","typeLabel":"CPSC certification · object"}],"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.cpsc","typeLabel":"null | CPSC certification · object"},"properties":{"type":"object","additionalProperties":true,"description":"Any custom user-defined properties of order item or product","example":{"size":"red","color":"green"},"uniqueKey":"parcel_items.items.[INDEX].oneOf.1.properties","typeLabel":"object"}},"uniqueKey":"parcel_items.items.[INDEX].oneOf.1","typeLabel":"International return parcel item · object"}],"uniqueKey":"parcel_items.items.[INDEX]","typeLabel":"Domestic return parcel item · object | International return parcel item · object"},"uniqueKey":"parcel_items","typeLabel":"(Domestic return parcel item · object | International return parcel item · object)[]"},"send_tracking_emails":{"type":"boolean","default":false,"description":"When true Sendcloud will send out the default track and trace emails","uniqueKey":"send_tracking_emails","typeLabel":"boolean"},"brand_id":{"type":"integer","description":"The ID of the brand this return belongs to. To find the brand ID, refer to the [Retrieve a list of brands](/api/v3/brands/retrieve-a-list-of-brands) endpoint. If not specified, no brand is applied to the return.","example":1,"minimum":1,"uniqueKey":"brand_id","typeLabel":"integer"},"total_insured_value":{"title":"Insured Value Price","type":"object","description":"Insured value of the return. Only the listed currencies are supported for insurance.","properties":{"value":{"type":"number","uniqueKey":"total_insured_value.value","typeLabel":"number"},"currency":{"type":"string","description":"ISO 4217 currency code","enum":["EUR","GBP","USD","SEK","DKK"],"uniqueKey":"total_insured_value.currency","typeLabel":"enum\u003cstring>"}},"uniqueKey":"total_insured_value","typeLabel":"Insured Value Price · object"},"order_number":{"type":"string","description":"Identifier of the order associated with this return","example":"ORD12355","uniqueKey":"order_number","typeLabel":"string"},"total_order_value":{"title":"Price With Any Currency","type":"object","properties":{"value":{"type":"number","isRequired":true,"uniqueKey":"total_order_value.value","typeLabel":"number"},"currency":{"title":"Currency Code","type":"string","description":"Three-letter ISO 4217 currency code","pattern":"^[A-Z]{3}$","example":"EUR","isRequired":true,"uniqueKey":"total_order_value.currency","typeLabel":"string"}},"description":"Price in the specified currency","required":["value","currency"],"uniqueKey":"total_order_value","typeLabel":"Price With Any Currency · object"},"external_reference":{"type":"string","description":"Unique reference for this return, generated by the user","example":"RET9876","uniqueKey":"external_reference","typeLabel":"string"},"customs_invoice_nr":{"oneOf":[{"type":"string","description":"Customs invoice number. **This field is required if it's an international return**","uniqueKey":"customs_invoice_nr.oneOf.0","typeLabel":"string"},{"type":"null","description":"Customs invoice number. **This field is required if it's an international return**","uniqueKey":"customs_invoice_nr.oneOf.1","typeLabel":"null"}],"uniqueKey":"customs_invoice_nr","typeLabel":"string | null"},"delivery_option":{"oneOf":[{"title":"DeliveryOption","x-stoplight":{"id":"1e5khic8yxpaw"},"type":"string","description":"The options the customer has for returning this parcel:\n\n- `drop_off_point`: At a drop-off point - Print at home\n- `drop_off_labelless`: At a drop-off point - No printer needed\n- `in_store`: Return in store\n- `pickup`: Arrange a pick-up","minLength":1,"example":"drop_off_point","enum":["drop_off_point","drop_off_labelless","pickup","in_store",null],"uniqueKey":"delivery_option.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"DeliveryOption","x-stoplight":{"id":"1e5khic8yxpaw"},"type":"null","description":"The options the customer has for returning this parcel:\n\n- `drop_off_point`: At a drop-off point - Print at home\n- `drop_off_labelless`: At a drop-off point - No printer needed\n- `in_store`: Return in store\n- `pickup`: Arrange a pick-up","minLength":1,"example":"drop_off_point","enum":["drop_off_point","drop_off_labelless","pickup","in_store",null],"uniqueKey":"delivery_option.oneOf.1","typeLabel":"null"}],"uniqueKey":"delivery_option","typeLabel":"enum\u003cstring> | null"},"customs_information":{"oneOf":[{"title":"ParcelCustomsInformation","type":"object","description":"Customs information used to generate customs documents. Required for returns that need customs documents, unless you provide `customs_invoice_nr`.","example":{"invoice_number":"INV-123","export_reason":"commercial_goods","export_type":"private","invoice_date":"2023-08-24","discount_granted":{"value":"14.99","currency":"EUR"},"freight_costs":null,"insurance_costs":{"value":"3.60","currency":"EUR"},"other_costs":{"value":"1.2","currency":"EUR"},"general_notes":"Compliance: Goods comply with international safety standards (CE certified).","additional_declaration_statements":["With reference to the above shipment, I understate that the content is not made of leather parts of animal species protected by the Washington Convention.","I solemnly declare that the contents of this document represent a true and accurate account of the events as they occurred. I acknowledge my responsibility for the information presented herein and understand that any misrepresentation or falsification may result in legal consequences or other penalties as applicable."],"importer_of_record":{"name":"John Doe","company_name":"ImporterCo","address_line_1":"Maple Avenue","house_number":"123","postal_code":"90210","city":"Springfield","country_code":"US","state_province_code":"US-MA","telephone":"+15551234567","email":"info@importer-of-record-example.com"},"tax_numbers":{"sender":[{"name":"VAT","country_code":"NL","value":"NL123456789B01"},{"name":"EORI","country_code":"NL","value":"NL123456789"}],"receiver":[{"name":"EIN","country_code":"US","value":"123456789"}],"importer_of_record":[{"name":"EIN","country_code":"US","value":"987654321"}]},"return_data":{"return_postal_code":"1111 AA","outbound_tracking_number":"JT1234567890","outbound_shipment_date":"2023-08-14","outbound_carrier_name":"UPS"},"mrn":"25NLQ8PF0V3DJ1MKX7"},"properties":{"invoice_number":{"type":"string","minLength":1,"maxLength":40,"description":"Customs invoice number.","example":"INV-123","isRequired":true,"uniqueKey":"customs_information.oneOf.0.invoice_number","typeLabel":"string"},"export_reason":{"type":"string","description":"Indicates the purpose or reason behind exporting the items. This classification helps customs authorities determine the applicable regulations, taxes, and duties. For Returns, this field must always be set to `returned_goods`.","enum":["gift","documents","commercial_goods","commercial_sample","returned_goods","personal_use"],"example":"commercial_goods","isRequired":true,"uniqueKey":"customs_information.oneOf.0.export_reason","typeLabel":"enum\u003cstring>"},"export_type":{"type":"string","description":"Export type documentation serves to categorize international shipments into three primary classifications: Private exports, intended for personal use; Commercial B2C exports, directed towards individual consumers; and Commercial B2B exports, involving business-to-business transactions. These distinctions facilitate adherence to regulatory requirements and ensure the orderly movement of goods across international boundaries.","enum":["private","commercial_b2c","commercial_b2b"],"default":"commercial_b2c","example":"private","uniqueKey":"customs_information.oneOf.0.export_type","typeLabel":"enum\u003cstring>"},"invoice_date":{"type":"string","format":"date","description":"The date when the commercial invoice for the goods was issued (ISO 8601). If not provided, the announcement date will be used by default.","uniqueKey":"customs_information.oneOf.0.invoice_date","typeLabel":"string\u003cdate>"},"discount_granted":{"oneOf":[{"type":"null","title":"Optional price","description":"Shipper's granted discount amount to user. If currency is not passed then `total_order_value_currency` is selected by default.","uniqueKey":"customs_information.oneOf.0.discount_granted.oneOf.0","typeLabel":"null"},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?","isRequired":true,"uniqueKey":"customs_information.oneOf.0.discount_granted.oneOf.1.value","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD","isRequired":true,"uniqueKey":"customs_information.oneOf.0.discount_granted.oneOf.1.currency","typeLabel":"string"}},"uniqueKey":"customs_information.oneOf.0.discount_granted.oneOf.1","typeLabel":"Price object · object"}],"uniqueKey":"customs_information.oneOf.0.discount_granted","typeLabel":"null | Price object · object"},"freight_costs":{"oneOf":[{"type":"null","title":"Optional price","description":"Charges associated with the transportation of the goods to their destination paid by the receiver. If currency is not passed then `total_order_value_currency` is selected by default.","uniqueKey":"customs_information.oneOf.0.freight_costs.oneOf.0","typeLabel":"null"},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?","isRequired":true,"uniqueKey":"customs_information.oneOf.0.freight_costs.oneOf.1.value","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD","isRequired":true,"uniqueKey":"customs_information.oneOf.0.freight_costs.oneOf.1.currency","typeLabel":"string"}},"uniqueKey":"customs_information.oneOf.0.freight_costs.oneOf.1","typeLabel":"Price object · object"}],"uniqueKey":"customs_information.oneOf.0.freight_costs","typeLabel":"null | Price object · object"},"insurance_costs":{"oneOf":[{"type":"null","title":"Optional price","description":"The costs of insurance coverage for the goods during transit paid by the receiver. If currency is not passed then `total_order_value_currency` is selected by default.","uniqueKey":"customs_information.oneOf.0.insurance_costs.oneOf.0","typeLabel":"null"},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?","isRequired":true,"uniqueKey":"customs_information.oneOf.0.insurance_costs.oneOf.1.value","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD","isRequired":true,"uniqueKey":"customs_information.oneOf.0.insurance_costs.oneOf.1.currency","typeLabel":"string"}},"uniqueKey":"customs_information.oneOf.0.insurance_costs.oneOf.1","typeLabel":"Price object · object"}],"uniqueKey":"customs_information.oneOf.0.insurance_costs","typeLabel":"null | Price object · object"},"other_costs":{"oneOf":[{"type":"null","title":"Optional price","description":"Additional costs or charges associated with the shipment that are not covered by freight and insurance paid by the receiver. If currency is not passed then `total_order_value_currency` is selected by default.","uniqueKey":"customs_information.oneOf.0.other_costs.oneOf.0","typeLabel":"null"},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?","isRequired":true,"uniqueKey":"customs_information.oneOf.0.other_costs.oneOf.1.value","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD","isRequired":true,"uniqueKey":"customs_information.oneOf.0.other_costs.oneOf.1.currency","typeLabel":"string"}},"uniqueKey":"customs_information.oneOf.0.other_costs.oneOf.1","typeLabel":"Price object · object"}],"uniqueKey":"customs_information.oneOf.0.other_costs","typeLabel":"null | Price object · object"},"general_notes":{"type":"string","description":"Exporter or shipper can include any additional information or special instructions related to the goods being shipped. This section is used to provide details that may not be covered in other parts of the invoice but are relevant for customs clearance.","minLength":1,"maxLength":500,"example":"Compliance: Goods comply with international safety standards (CE certified).","uniqueKey":"customs_information.oneOf.0.general_notes","typeLabel":"string"},"additional_declaration_statements":{"type":"array","description":"List of additional declaration statements. Each statement may contain specific details about the nature of the goods being shipped, their origin, or any additional information required by customs authorities. The content of an additional declaration statement can vary based on the requirements of the importing and exporting countries, as well as the nature of the goods being transported.","maxItems":100,"items":{"type":"string","example":"With reference to the above shipment, I understate that the content is not made of leather parts of animal species protected by the Washington Convention.","minLength":1,"maxLength":1024,"uniqueKey":"customs_information.oneOf.0.additional_declaration_statements.items.[INDEX]","typeLabel":"string"},"uniqueKey":"customs_information.oneOf.0.additional_declaration_statements","typeLabel":"string[]"},"importer_of_record":{"oneOf":[{"type":"object","description":"Importer of Record (IOR) information.\n\nA customs-connected record importer specializes in importing goods and managing the associated customs documentation. If not provided, the receiver's address will be used instead.","properties":{"name":{"type":"string","description":"Name of IOR","minLength":1,"maxLength":75,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.name","typeLabel":"string"},"address_line_1":{"type":"string","description":"Address of IOR","minLength":1,"maxLength":150,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.address_line_1","typeLabel":"string"},"city":{"type":"string","description":"IOR city","minLength":1,"maxLength":30,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.city","typeLabel":"string"},"postal_code":{"type":"string","description":"IOR postal code","minLength":1,"maxLength":12,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.postal_code","typeLabel":"string"},"country_code":{"type":"string","description":"IOR country. ISO 3166-1 alpha-2 code","minLength":2,"maxLength":2,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.country_code","typeLabel":"string"},"company_name":{"type":"string","description":"IOR company name","maxLength":50,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.company_name","typeLabel":"string"},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","maxLength":150,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.address_line_2","typeLabel":"string"},"house_number":{"type":"string","description":"IOR house number","maxLength":20,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.house_number","typeLabel":"string"},"state_province_code":{"type":"string","description":"ISO 3166-2 code of the state or province, including the country prefix (e.g. US-NY for New York or IT-RM for Rome). Destinations that require this field are Australia, Canada, Italy, USA and Vietnam. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","maxLength":14,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.state_province_code","typeLabel":"string"},"telephone":{"type":"string","description":"IOR phone number in E.164 format","maxLength":20,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.telephone","typeLabel":"string"},"email":{"type":"string","description":"IOR email","maxLength":320,"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0.email","typeLabel":"string"}},"required":["name","address_line_1","city","postal_code","country_code"],"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.0","typeLabel":"object"},{"type":"null","description":"Importer of Record (IOR) information.\n\nA customs-connected record importer specializes in importing goods and managing the associated customs documentation. If not provided, the receiver's address will be used instead.","properties":{"name":{"type":"string","description":"Name of IOR","minLength":1,"maxLength":75},"company_name":{"type":"string","description":"IOR company name","maxLength":50},"address_line_1":{"type":"string","description":"Address of IOR","minLength":1,"maxLength":150},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","maxLength":150},"house_number":{"type":"string","description":"IOR house number","maxLength":20},"city":{"type":"string","description":"IOR city","minLength":1,"maxLength":30},"postal_code":{"type":"string","description":"IOR postal code","minLength":1,"maxLength":12},"country_code":{"type":"string","description":"IOR country. ISO 3166-1 alpha-2 code","minLength":2,"maxLength":2},"state_province_code":{"type":"string","description":"ISO 3166-2 code of the state or province, including the country prefix (e.g. US-NY for New York or IT-RM for Rome). Destinations that require this field are Australia, Canada, Italy, USA and Vietnam. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","maxLength":14},"telephone":{"type":"string","description":"IOR phone number in E.164 format","maxLength":20},"email":{"type":"string","description":"IOR email","maxLength":320}},"required":["name","address_line_1","city","postal_code","country_code"],"uniqueKey":"customs_information.oneOf.0.importer_of_record.oneOf.1","typeLabel":"null"}],"uniqueKey":"customs_information.oneOf.0.importer_of_record","typeLabel":"object | null"},"mrn":{"oneOf":[{"type":"string","minLength":1,"maxLength":18,"description":"Movement Reference Number (MRN) of the export declaration, issued by customs when the declaration is lodged. Sendcloud passes it to the carrier. This field might not be supported by all carriers.","example":"25NLQ8PF0V3DJ1MKX7","uniqueKey":"customs_information.oneOf.0.mrn.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":18,"description":"Movement Reference Number (MRN) of the export declaration, issued by customs when the declaration is lodged. Sendcloud passes it to the carrier. This field might not be supported by all carriers.","example":"25NLQ8PF0V3DJ1MKX7","uniqueKey":"customs_information.oneOf.0.mrn.oneOf.1","typeLabel":"null"}],"uniqueKey":"customs_information.oneOf.0.mrn","typeLabel":"string | null"},"tax_numbers":{"type":"object","description":"Identification numbers and codes related to sender, receiver and importer of record provider.","properties":{"sender":{"type":"array","description":"Sender's list of identification number objects","maxItems":20,"items":{"title":"Tax Number Object","description":"Identification numbers and codes used in different contexts. These identifiers are used for taxation, customs, business registration, and other purposes, depending on the country and the specific regulatory requirements. Depending on these requirements you may need to pass one or several numbers related to sender, receiver or importer of record provider. These numbers and codes will be included into final Customs documents.","type":"object","properties":{"name":{"type":"string","example":"EORI","description":"Tax number abbreviation\n * VAT - Value-Added Tax\n * EIN - Employer Identification Number\n * GST - Goods and Services Tax\n * SSN - Social Security Number\n * EORI - Economic Operators Registration and Identification for the European Union\n * DUN - Data Universal Numbering System\n * FED - Federal Tax ID\n * STA - State Tax ID\n * CNP - Brazil CNPJ/CPF Federal Tax\n * IE - Brazil type IE/RG Federal Tax\n * INN - Russia bank details section INN\n * KPP - Russia bank details section KPP\n * OGR - Russia bank details section OGRN\n * OKP - Russia bank details section OKPO\n * IOSS - SDT or Overseas Registered Supplier or Import One-Stop-Shop or GB VAT (foreign) registration or AUSid GST Registration or VAT on E-Commerce\n * FTZ - Free Trade Zone ID\n * DAN - Deferment Account Duties Only\n * TAN - Deferment Account Tax Only\n * DTF - Deferment Account Duties, Taxes and Fees Only\n * RGP - EU Registered Exporters Registration ID\n * DLI - Driver's License\n * NID - National Identity Card - A PID (Personal Identification Number) should be provided as NID (National Identity Card).\n * PAS - Passport\n * MID - Manufacturer ID\n * UKIMS - UK Internal Market Scheme -> customs clearance for shipping from Great Britain to Northern Ireland under the Windsor Framework, for more information see [Windsor Framework](https://www.gov.uk/government/publications/the-windsor-framework)\n * VOEC - VAT On E-Commerce -> VOEC number for Norway should be shared here as advised by the [Norwegian Tax Authorities](https://www.skatteetaten.no/globalassets/bedrift-og-organisasjon/voec/sending-and-marking-goods-through-postal-services-and-transporters.pdf)\n","enum":["VAT","EIN","GST","SSN","EORI","DUN","FED","STA","CNP","IE","INN","KPP","OGR","OKP","IOSS","FTZ","DAN","TAN","DTF","RGP","DLI","NID","PAS","MID","UKIMS","VOEC"],"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.sender.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"country_code":{"type":"string","example":"NL","description":"Issuing country code (ISO 3166-1 alpha-2 code)","maxLength":2,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.sender.items.[INDEX].country_code","typeLabel":"string"},"value":{"type":"string","example":"NL123456789B01","description":"Tax number itself","maxLength":100,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.sender.items.[INDEX].value","typeLabel":"string"}},"required":["name","country_code","value"],"uniqueKey":"customs_information.oneOf.0.tax_numbers.sender.items.[INDEX]","typeLabel":"Tax Number Object · object"},"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.sender","typeLabel":"Tax Number Object · object[]"},"receiver":{"type":"array","description":"Receiver's list of identification number objects","maxItems":20,"items":{"title":"Tax Number Object","description":"Identification numbers and codes used in different contexts. These identifiers are used for taxation, customs, business registration, and other purposes, depending on the country and the specific regulatory requirements. Depending on these requirements you may need to pass one or several numbers related to sender, receiver or importer of record provider. These numbers and codes will be included into final Customs documents.","type":"object","properties":{"name":{"type":"string","example":"EORI","description":"Tax number abbreviation\n * VAT - Value-Added Tax\n * EIN - Employer Identification Number\n * GST - Goods and Services Tax\n * SSN - Social Security Number\n * EORI - Economic Operators Registration and Identification for the European Union\n * DUN - Data Universal Numbering System\n * FED - Federal Tax ID\n * STA - State Tax ID\n * CNP - Brazil CNPJ/CPF Federal Tax\n * IE - Brazil type IE/RG Federal Tax\n * INN - Russia bank details section INN\n * KPP - Russia bank details section KPP\n * OGR - Russia bank details section OGRN\n * OKP - Russia bank details section OKPO\n * IOSS - SDT or Overseas Registered Supplier or Import One-Stop-Shop or GB VAT (foreign) registration or AUSid GST Registration or VAT on E-Commerce\n * FTZ - Free Trade Zone ID\n * DAN - Deferment Account Duties Only\n * TAN - Deferment Account Tax Only\n * DTF - Deferment Account Duties, Taxes and Fees Only\n * RGP - EU Registered Exporters Registration ID\n * DLI - Driver's License\n * NID - National Identity Card - A PID (Personal Identification Number) should be provided as NID (National Identity Card).\n * PAS - Passport\n * MID - Manufacturer ID\n * UKIMS - UK Internal Market Scheme -> customs clearance for shipping from Great Britain to Northern Ireland under the Windsor Framework, for more information see [Windsor Framework](https://www.gov.uk/government/publications/the-windsor-framework)\n * VOEC - VAT On E-Commerce -> VOEC number for Norway should be shared here as advised by the [Norwegian Tax Authorities](https://www.skatteetaten.no/globalassets/bedrift-og-organisasjon/voec/sending-and-marking-goods-through-postal-services-and-transporters.pdf)\n","enum":["VAT","EIN","GST","SSN","EORI","DUN","FED","STA","CNP","IE","INN","KPP","OGR","OKP","IOSS","FTZ","DAN","TAN","DTF","RGP","DLI","NID","PAS","MID","UKIMS","VOEC"],"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.receiver.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"country_code":{"type":"string","example":"NL","description":"Issuing country code (ISO 3166-1 alpha-2 code)","maxLength":2,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.receiver.items.[INDEX].country_code","typeLabel":"string"},"value":{"type":"string","example":"NL123456789B01","description":"Tax number itself","maxLength":100,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.receiver.items.[INDEX].value","typeLabel":"string"}},"required":["name","country_code","value"],"uniqueKey":"customs_information.oneOf.0.tax_numbers.receiver.items.[INDEX]","typeLabel":"Tax Number Object · object"},"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.receiver","typeLabel":"Tax Number Object · object[]"},"importer_of_record":{"type":"array","description":"Importer of record's list of identification number objects","items":{"title":"Tax Number Object","description":"Identification numbers and codes used in different contexts. These identifiers are used for taxation, customs, business registration, and other purposes, depending on the country and the specific regulatory requirements. Depending on these requirements you may need to pass one or several numbers related to sender, receiver or importer of record provider. These numbers and codes will be included into final Customs documents.","type":"object","properties":{"name":{"type":"string","example":"EORI","description":"Tax number abbreviation\n * VAT - Value-Added Tax\n * EIN - Employer Identification Number\n * GST - Goods and Services Tax\n * SSN - Social Security Number\n * EORI - Economic Operators Registration and Identification for the European Union\n * DUN - Data Universal Numbering System\n * FED - Federal Tax ID\n * STA - State Tax ID\n * CNP - Brazil CNPJ/CPF Federal Tax\n * IE - Brazil type IE/RG Federal Tax\n * INN - Russia bank details section INN\n * KPP - Russia bank details section KPP\n * OGR - Russia bank details section OGRN\n * OKP - Russia bank details section OKPO\n * IOSS - SDT or Overseas Registered Supplier or Import One-Stop-Shop or GB VAT (foreign) registration or AUSid GST Registration or VAT on E-Commerce\n * FTZ - Free Trade Zone ID\n * DAN - Deferment Account Duties Only\n * TAN - Deferment Account Tax Only\n * DTF - Deferment Account Duties, Taxes and Fees Only\n * RGP - EU Registered Exporters Registration ID\n * DLI - Driver's License\n * NID - National Identity Card - A PID (Personal Identification Number) should be provided as NID (National Identity Card).\n * PAS - Passport\n * MID - Manufacturer ID\n * UKIMS - UK Internal Market Scheme -> customs clearance for shipping from Great Britain to Northern Ireland under the Windsor Framework, for more information see [Windsor Framework](https://www.gov.uk/government/publications/the-windsor-framework)\n * VOEC - VAT On E-Commerce -> VOEC number for Norway should be shared here as advised by the [Norwegian Tax Authorities](https://www.skatteetaten.no/globalassets/bedrift-og-organisasjon/voec/sending-and-marking-goods-through-postal-services-and-transporters.pdf)\n","enum":["VAT","EIN","GST","SSN","EORI","DUN","FED","STA","CNP","IE","INN","KPP","OGR","OKP","IOSS","FTZ","DAN","TAN","DTF","RGP","DLI","NID","PAS","MID","UKIMS","VOEC"],"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.importer_of_record.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"country_code":{"type":"string","example":"NL","description":"Issuing country code (ISO 3166-1 alpha-2 code)","maxLength":2,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.importer_of_record.items.[INDEX].country_code","typeLabel":"string"},"value":{"type":"string","example":"NL123456789B01","description":"Tax number itself","maxLength":100,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.importer_of_record.items.[INDEX].value","typeLabel":"string"}},"required":["name","country_code","value"],"uniqueKey":"customs_information.oneOf.0.tax_numbers.importer_of_record.items.[INDEX]","typeLabel":"Tax Number Object · object"},"maxItems":20,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.tax_numbers.importer_of_record","typeLabel":"Tax Number Object · object[]"}},"required":["sender","receiver","importer_of_record"],"uniqueKey":"customs_information.oneOf.0.tax_numbers","typeLabel":"object"},"return_data":{"oneOf":[{"type":"object","description":"Additional information that must be provided for return parcels. All fields are nullable. However, a partially filled object is invalid. Either all fields should be provided, or none should be.","properties":{"return_postal_code":{"type":"string","minLength":1,"maxLength":12,"description":"The postcode of the customer to whom the parcel was originally shipped.","isRequired":true,"uniqueKey":"customs_information.oneOf.0.return_data.oneOf.0.return_postal_code","typeLabel":"string"},"outbound_tracking_number":{"type":"string","description":"Tracking number of outbound shipment","example":"BE123456789","minLength":1,"maxLength":40,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.return_data.oneOf.0.outbound_tracking_number","typeLabel":"string"},"outbound_shipment_date":{"type":"string","format":"date","description":"Date of outbound shipment","example":"2020-11-27","isRequired":true,"uniqueKey":"customs_information.oneOf.0.return_data.oneOf.0.outbound_shipment_date","typeLabel":"string\u003cdate>"},"outbound_carrier_name":{"type":"string","description":"The name of the carrier used for outbound shipment","example":"DHL","minLength":1,"maxLength":50,"isRequired":true,"uniqueKey":"customs_information.oneOf.0.return_data.oneOf.0.outbound_carrier_name","typeLabel":"string"}},"required":["return_postal_code","outbound_tracking_number","outbound_shipment_date","outbound_carrier_name"],"uniqueKey":"customs_information.oneOf.0.return_data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional information that must be provided for return parcels. All fields are nullable. However, a partially filled object is invalid. Either all fields should be provided, or none should be.","properties":{"return_postal_code":{"type":"string","minLength":1,"maxLength":12,"description":"The postcode of the customer to whom the parcel was originally shipped."},"outbound_tracking_number":{"type":"string","description":"Tracking number of outbound shipment","example":"BE123456789","minLength":1,"maxLength":40},"outbound_shipment_date":{"type":"string","format":"date","description":"Date of outbound shipment","example":"2020-11-27"},"outbound_carrier_name":{"type":"string","description":"The name of the carrier used for outbound shipment","example":"DHL","minLength":1,"maxLength":50}},"required":["return_postal_code","outbound_tracking_number","outbound_shipment_date","outbound_carrier_name"],"uniqueKey":"customs_information.oneOf.0.return_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"customs_information.oneOf.0.return_data","typeLabel":"object | null"}},"required":["invoice_number","export_reason"],"uniqueKey":"customs_information.oneOf.0","typeLabel":"ParcelCustomsInformation · object"},{"title":"ParcelCustomsInformation","type":"null","description":"Customs information used to generate customs documents. Required for returns that need customs documents, unless you provide `customs_invoice_nr`.","example":{"invoice_number":"INV-123","export_reason":"commercial_goods","export_type":"private","invoice_date":"2023-08-24","discount_granted":{"value":"14.99","currency":"EUR"},"freight_costs":null,"insurance_costs":{"value":"3.60","currency":"EUR"},"other_costs":{"value":"1.2","currency":"EUR"},"general_notes":"Compliance: Goods comply with international safety standards (CE certified).","additional_declaration_statements":["With reference to the above shipment, I understate that the content is not made of leather parts of animal species protected by the Washington Convention.","I solemnly declare that the contents of this document represent a true and accurate account of the events as they occurred. I acknowledge my responsibility for the information presented herein and understand that any misrepresentation or falsification may result in legal consequences or other penalties as applicable."],"importer_of_record":{"name":"John Doe","company_name":"ImporterCo","address_line_1":"Maple Avenue","house_number":"123","postal_code":"90210","city":"Springfield","country_code":"US","state_province_code":"US-MA","telephone":"+15551234567","email":"info@importer-of-record-example.com"},"tax_numbers":{"sender":[{"name":"VAT","country_code":"NL","value":"NL123456789B01"},{"name":"EORI","country_code":"NL","value":"NL123456789"}],"receiver":[{"name":"EIN","country_code":"US","value":"123456789"}],"importer_of_record":[{"name":"EIN","country_code":"US","value":"987654321"}]},"return_data":{"return_postal_code":"1111 AA","outbound_tracking_number":"JT1234567890","outbound_shipment_date":"2023-08-14","outbound_carrier_name":"UPS"},"mrn":"25NLQ8PF0V3DJ1MKX7"},"properties":{"invoice_number":{"type":"string","minLength":1,"maxLength":40,"description":"Customs invoice number.","example":"INV-123"},"export_reason":{"type":"string","description":"Indicates the purpose or reason behind exporting the items. This classification helps customs authorities determine the applicable regulations, taxes, and duties. For Returns, this field must always be set to `returned_goods`.","enum":["gift","documents","commercial_goods","commercial_sample","returned_goods","personal_use"],"example":"commercial_goods"},"export_type":{"type":"string","description":"Export type documentation serves to categorize international shipments into three primary classifications: Private exports, intended for personal use; Commercial B2C exports, directed towards individual consumers; and Commercial B2B exports, involving business-to-business transactions. These distinctions facilitate adherence to regulatory requirements and ensure the orderly movement of goods across international boundaries.","enum":["private","commercial_b2c","commercial_b2b"],"default":"commercial_b2c","example":"private"},"invoice_date":{"type":"string","format":"date","description":"The date when the commercial invoice for the goods was issued (ISO 8601). If not provided, the announcement date will be used by default."},"discount_granted":{"oneOf":[{"type":"null","title":"Optional price","description":"Shipper's granted discount amount to user. If currency is not passed then `total_order_value_currency` is selected by default."},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD"}}}]},"freight_costs":{"oneOf":[{"type":"null","title":"Optional price","description":"Charges associated with the transportation of the goods to their destination paid by the receiver. If currency is not passed then `total_order_value_currency` is selected by default."},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD"}}}]},"insurance_costs":{"oneOf":[{"type":"null","title":"Optional price","description":"The costs of insurance coverage for the goods during transit paid by the receiver. If currency is not passed then `total_order_value_currency` is selected by default."},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD"}}}]},"other_costs":{"oneOf":[{"type":"null","title":"Optional price","description":"Additional costs or charges associated with the shipment that are not covered by freight and insurance paid by the receiver. If currency is not passed then `total_order_value_currency` is selected by default."},{"type":"object","title":"Price object","description":"Price, consisting of a value and currency.","required":["value","currency"],"properties":{"value":{"type":"string","example":"12.65","pattern":"[\\d]+(\\.[\\d]+)?"},"currency":{"type":"string","description":"ISO 4217 currency code","minLength":3,"maxLength":3,"example":"USD"}}}]},"general_notes":{"type":"string","description":"Exporter or shipper can include any additional information or special instructions related to the goods being shipped. This section is used to provide details that may not be covered in other parts of the invoice but are relevant for customs clearance.","minLength":1,"maxLength":500,"example":"Compliance: Goods comply with international safety standards (CE certified)."},"additional_declaration_statements":{"type":"array","description":"List of additional declaration statements. Each statement may contain specific details about the nature of the goods being shipped, their origin, or any additional information required by customs authorities. The content of an additional declaration statement can vary based on the requirements of the importing and exporting countries, as well as the nature of the goods being transported.","maxItems":100,"items":{"type":"string","example":"With reference to the above shipment, I understate that the content is not made of leather parts of animal species protected by the Washington Convention.","minLength":1,"maxLength":1024}},"importer_of_record":{"oneOf":[{"type":"object","description":"Importer of Record (IOR) information.\n\nA customs-connected record importer specializes in importing goods and managing the associated customs documentation. If not provided, the receiver's address will be used instead.","properties":{"name":{"type":"string","description":"Name of IOR","minLength":1,"maxLength":75},"company_name":{"type":"string","description":"IOR company name","maxLength":50},"address_line_1":{"type":"string","description":"Address of IOR","minLength":1,"maxLength":150},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","maxLength":150},"house_number":{"type":"string","description":"IOR house number","maxLength":20},"city":{"type":"string","description":"IOR city","minLength":1,"maxLength":30},"postal_code":{"type":"string","description":"IOR postal code","minLength":1,"maxLength":12},"country_code":{"type":"string","description":"IOR country. ISO 3166-1 alpha-2 code","minLength":2,"maxLength":2},"state_province_code":{"type":"string","description":"ISO 3166-2 code of the state or province, including the country prefix (e.g. US-NY for New York or IT-RM for Rome). Destinations that require this field are Australia, Canada, Italy, USA and Vietnam. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","maxLength":14},"telephone":{"type":"string","description":"IOR phone number in E.164 format","maxLength":20},"email":{"type":"string","description":"IOR email","maxLength":320}},"required":["name","address_line_1","city","postal_code","country_code"]},{"type":"null","description":"Importer of Record (IOR) information.\n\nA customs-connected record importer specializes in importing goods and managing the associated customs documentation. If not provided, the receiver's address will be used instead.","properties":{"name":{"type":"string","description":"Name of IOR","minLength":1,"maxLength":75},"company_name":{"type":"string","description":"IOR company name","maxLength":50},"address_line_1":{"type":"string","description":"Address of IOR","minLength":1,"maxLength":150},"address_line_2":{"type":"string","description":"Additional address information, e.g. 2nd level","maxLength":150},"house_number":{"type":"string","description":"IOR house number","maxLength":20},"city":{"type":"string","description":"IOR city","minLength":1,"maxLength":30},"postal_code":{"type":"string","description":"IOR postal code","minLength":1,"maxLength":12},"country_code":{"type":"string","description":"IOR country. ISO 3166-1 alpha-2 code","minLength":2,"maxLength":2},"state_province_code":{"type":"string","description":"ISO 3166-2 code of the state or province, including the country prefix (e.g. US-NY for New York or IT-RM for Rome). Destinations that require this field are Australia, Canada, Italy, USA and Vietnam. See [international shipping](/docs/shipments/international-shipping#required-fields-for-international-shipments) for details.","example":"IT-RM","maxLength":14},"telephone":{"type":"string","description":"IOR phone number in E.164 format","maxLength":20},"email":{"type":"string","description":"IOR email","maxLength":320}},"required":["name","address_line_1","city","postal_code","country_code"]}]},"mrn":{"oneOf":[{"type":"string","minLength":1,"maxLength":18,"description":"Movement Reference Number (MRN) of the export declaration, issued by customs when the declaration is lodged. Sendcloud passes it to the carrier. This field might not be supported by all carriers.","example":"25NLQ8PF0V3DJ1MKX7"},{"type":"null","minLength":1,"maxLength":18,"description":"Movement Reference Number (MRN) of the export declaration, issued by customs when the declaration is lodged. Sendcloud passes it to the carrier. This field might not be supported by all carriers.","example":"25NLQ8PF0V3DJ1MKX7"}]},"tax_numbers":{"type":"object","description":"Identification numbers and codes related to sender, receiver and importer of record provider.","properties":{"sender":{"type":"array","description":"Sender's list of identification number objects","maxItems":20,"items":{"title":"Tax Number Object","description":"Identification numbers and codes used in different contexts. These identifiers are used for taxation, customs, business registration, and other purposes, depending on the country and the specific regulatory requirements. Depending on these requirements you may need to pass one or several numbers related to sender, receiver or importer of record provider. These numbers and codes will be included into final Customs documents.","type":"object","properties":{"name":{"type":"string","example":"EORI","description":"Tax number abbreviation\n * VAT - Value-Added Tax\n * EIN - Employer Identification Number\n * GST - Goods and Services Tax\n * SSN - Social Security Number\n * EORI - Economic Operators Registration and Identification for the European Union\n * DUN - Data Universal Numbering System\n * FED - Federal Tax ID\n * STA - State Tax ID\n * CNP - Brazil CNPJ/CPF Federal Tax\n * IE - Brazil type IE/RG Federal Tax\n * INN - Russia bank details section INN\n * KPP - Russia bank details section KPP\n * OGR - Russia bank details section OGRN\n * OKP - Russia bank details section OKPO\n * IOSS - SDT or Overseas Registered Supplier or Import One-Stop-Shop or GB VAT (foreign) registration or AUSid GST Registration or VAT on E-Commerce\n * FTZ - Free Trade Zone ID\n * DAN - Deferment Account Duties Only\n * TAN - Deferment Account Tax Only\n * DTF - Deferment Account Duties, Taxes and Fees Only\n * RGP - EU Registered Exporters Registration ID\n * DLI - Driver's License\n * NID - National Identity Card - A PID (Personal Identification Number) should be provided as NID (National Identity Card).\n * PAS - Passport\n * MID - Manufacturer ID\n * UKIMS - UK Internal Market Scheme -> customs clearance for shipping from Great Britain to Northern Ireland under the Windsor Framework, for more information see [Windsor Framework](https://www.gov.uk/government/publications/the-windsor-framework)\n * VOEC - VAT On E-Commerce -> VOEC number for Norway should be shared here as advised by the [Norwegian Tax Authorities](https://www.skatteetaten.no/globalassets/bedrift-og-organisasjon/voec/sending-and-marking-goods-through-postal-services-and-transporters.pdf)\n","enum":["VAT","EIN","GST","SSN","EORI","DUN","FED","STA","CNP","IE","INN","KPP","OGR","OKP","IOSS","FTZ","DAN","TAN","DTF","RGP","DLI","NID","PAS","MID","UKIMS","VOEC"]},"country_code":{"type":"string","example":"NL","description":"Issuing country code (ISO 3166-1 alpha-2 code)","maxLength":2},"value":{"type":"string","example":"NL123456789B01","description":"Tax number itself","maxLength":100}},"required":["name","country_code","value"]}},"receiver":{"type":"array","description":"Receiver's list of identification number objects","maxItems":20,"items":{"title":"Tax Number Object","description":"Identification numbers and codes used in different contexts. These identifiers are used for taxation, customs, business registration, and other purposes, depending on the country and the specific regulatory requirements. Depending on these requirements you may need to pass one or several numbers related to sender, receiver or importer of record provider. These numbers and codes will be included into final Customs documents.","type":"object","properties":{"name":{"type":"string","example":"EORI","description":"Tax number abbreviation\n * VAT - Value-Added Tax\n * EIN - Employer Identification Number\n * GST - Goods and Services Tax\n * SSN - Social Security Number\n * EORI - Economic Operators Registration and Identification for the European Union\n * DUN - Data Universal Numbering System\n * FED - Federal Tax ID\n * STA - State Tax ID\n * CNP - Brazil CNPJ/CPF Federal Tax\n * IE - Brazil type IE/RG Federal Tax\n * INN - Russia bank details section INN\n * KPP - Russia bank details section KPP\n * OGR - Russia bank details section OGRN\n * OKP - Russia bank details section OKPO\n * IOSS - SDT or Overseas Registered Supplier or Import One-Stop-Shop or GB VAT (foreign) registration or AUSid GST Registration or VAT on E-Commerce\n * FTZ - Free Trade Zone ID\n * DAN - Deferment Account Duties Only\n * TAN - Deferment Account Tax Only\n * DTF - Deferment Account Duties, Taxes and Fees Only\n * RGP - EU Registered Exporters Registration ID\n * DLI - Driver's License\n * NID - National Identity Card - A PID (Personal Identification Number) should be provided as NID (National Identity Card).\n * PAS - Passport\n * MID - Manufacturer ID\n * UKIMS - UK Internal Market Scheme -> customs clearance for shipping from Great Britain to Northern Ireland under the Windsor Framework, for more information see [Windsor Framework](https://www.gov.uk/government/publications/the-windsor-framework)\n * VOEC - VAT On E-Commerce -> VOEC number for Norway should be shared here as advised by the [Norwegian Tax Authorities](https://www.skatteetaten.no/globalassets/bedrift-og-organisasjon/voec/sending-and-marking-goods-through-postal-services-and-transporters.pdf)\n","enum":["VAT","EIN","GST","SSN","EORI","DUN","FED","STA","CNP","IE","INN","KPP","OGR","OKP","IOSS","FTZ","DAN","TAN","DTF","RGP","DLI","NID","PAS","MID","UKIMS","VOEC"]},"country_code":{"type":"string","example":"NL","description":"Issuing country code (ISO 3166-1 alpha-2 code)","maxLength":2},"value":{"type":"string","example":"NL123456789B01","description":"Tax number itself","maxLength":100}},"required":["name","country_code","value"]}},"importer_of_record":{"type":"array","description":"Importer of record's list of identification number objects","items":{"title":"Tax Number Object","description":"Identification numbers and codes used in different contexts. These identifiers are used for taxation, customs, business registration, and other purposes, depending on the country and the specific regulatory requirements. Depending on these requirements you may need to pass one or several numbers related to sender, receiver or importer of record provider. These numbers and codes will be included into final Customs documents.","type":"object","properties":{"name":{"type":"string","example":"EORI","description":"Tax number abbreviation\n * VAT - Value-Added Tax\n * EIN - Employer Identification Number\n * GST - Goods and Services Tax\n * SSN - Social Security Number\n * EORI - Economic Operators Registration and Identification for the European Union\n * DUN - Data Universal Numbering System\n * FED - Federal Tax ID\n * STA - State Tax ID\n * CNP - Brazil CNPJ/CPF Federal Tax\n * IE - Brazil type IE/RG Federal Tax\n * INN - Russia bank details section INN\n * KPP - Russia bank details section KPP\n * OGR - Russia bank details section OGRN\n * OKP - Russia bank details section OKPO\n * IOSS - SDT or Overseas Registered Supplier or Import One-Stop-Shop or GB VAT (foreign) registration or AUSid GST Registration or VAT on E-Commerce\n * FTZ - Free Trade Zone ID\n * DAN - Deferment Account Duties Only\n * TAN - Deferment Account Tax Only\n * DTF - Deferment Account Duties, Taxes and Fees Only\n * RGP - EU Registered Exporters Registration ID\n * DLI - Driver's License\n * NID - National Identity Card - A PID (Personal Identification Number) should be provided as NID (National Identity Card).\n * PAS - Passport\n * MID - Manufacturer ID\n * UKIMS - UK Internal Market Scheme -> customs clearance for shipping from Great Britain to Northern Ireland under the Windsor Framework, for more information see [Windsor Framework](https://www.gov.uk/government/publications/the-windsor-framework)\n * VOEC - VAT On E-Commerce -> VOEC number for Norway should be shared here as advised by the [Norwegian Tax Authorities](https://www.skatteetaten.no/globalassets/bedrift-og-organisasjon/voec/sending-and-marking-goods-through-postal-services-and-transporters.pdf)\n","enum":["VAT","EIN","GST","SSN","EORI","DUN","FED","STA","CNP","IE","INN","KPP","OGR","OKP","IOSS","FTZ","DAN","TAN","DTF","RGP","DLI","NID","PAS","MID","UKIMS","VOEC"]},"country_code":{"type":"string","example":"NL","description":"Issuing country code (ISO 3166-1 alpha-2 code)","maxLength":2},"value":{"type":"string","example":"NL123456789B01","description":"Tax number itself","maxLength":100}},"required":["name","country_code","value"]},"maxItems":20}},"required":["sender","receiver","importer_of_record"]},"return_data":{"oneOf":[{"type":"object","description":"Additional information that must be provided for return parcels. All fields are nullable. However, a partially filled object is invalid. Either all fields should be provided, or none should be.","properties":{"return_postal_code":{"type":"string","minLength":1,"maxLength":12,"description":"The postcode of the customer to whom the parcel was originally shipped."},"outbound_tracking_number":{"type":"string","description":"Tracking number of outbound shipment","example":"BE123456789","minLength":1,"maxLength":40},"outbound_shipment_date":{"type":"string","format":"date","description":"Date of outbound shipment","example":"2020-11-27"},"outbound_carrier_name":{"type":"string","description":"The name of the carrier used for outbound shipment","example":"DHL","minLength":1,"maxLength":50}},"required":["return_postal_code","outbound_tracking_number","outbound_shipment_date","outbound_carrier_name"]},{"type":"null","description":"Additional information that must be provided for return parcels. All fields are nullable. However, a partially filled object is invalid. Either all fields should be provided, or none should be.","properties":{"return_postal_code":{"type":"string","minLength":1,"maxLength":12,"description":"The postcode of the customer to whom the parcel was originally shipped."},"outbound_tracking_number":{"type":"string","description":"Tracking number of outbound shipment","example":"BE123456789","minLength":1,"maxLength":40},"outbound_shipment_date":{"type":"string","format":"date","description":"Date of outbound shipment","example":"2020-11-27"},"outbound_carrier_name":{"type":"string","description":"The name of the carrier used for outbound shipment","example":"DHL","minLength":1,"maxLength":50}},"required":["return_postal_code","outbound_tracking_number","outbound_shipment_date","outbound_carrier_name"]}]}},"required":["invoice_number","export_reason"],"uniqueKey":"customs_information.oneOf.1","typeLabel":"null"}],"uniqueKey":"customs_information","typeLabel":"ParcelCustomsInformation · object | null"},"apply_rules":{"type":"boolean","default":false,"description":"When set to `true`, return rules will be applied. \n\nNote that rules take precedence over the values provided in the request. \n\nFor instance, if a contract is specified in one of the applied rules, the contract value provided in the request will be ignored.","uniqueKey":"apply_rules","typeLabel":"boolean"}},"required":["from_address","to_address","ship_with","weight"],"uniqueKey":"","typeLabel":"object"},"examples":{"Return":{"title":"Return","summary":"Create a domestic return","value":{"from_address":{"name":"My name","company_name":"Sendcloud","address_line_1":"Stadhuisplein","house_number":"50","postal_code":"1013 AB","city":"Amsterdam","country_code":"NL","phone_number":"+319881729999","email":"test@test.com"},"to_address":{"name":"My name","company_name":"Sendcloud","address_line_1":"Stadhuisplein","house_number":"50","postal_code":"1013 AB","city":"Amsterdam","country_code":"NL","phone_number":"+319881729999","email":"test@test.com"},"ship_with":{"type":"shipping_option_code","shipping_option_code":"dpd:return/return","contract":123456},"dimensions":{"height":10,"width":10,"length":10,"unit":"cm"},"weight":{"value":0.4,"unit":"kg"},"collo_count":1,"parcel_items":[{"description":"T-Shirt XL","quantity":1,"weight":{"value":0.4,"unit":"kg"},"value":{"value":6.15,"currency":"EUR"},"sku":"TS1234","product_id":"19283"}],"send_tracking_emails":false,"brand_id":1,"total_insured_value":{"value":6.15,"currency":"EUR"},"order_number":"ORD123456","total_order_value":{"value":6.15,"currency":"EUR"},"external_reference":"RET98765","delivery_option":"drop_off_point"}},"EUReturn":{"title":"EUReturn","summary":"Create a return within the EU (no customs)","value":{"from_address":{"name":"Hendrik","company_name":"Twitter","address_line_1":"Stadhuisplein","address_line_2":"string","house_number":"50","postal_code":"1013 AB","city":"Amsterdam","country_code":"NL","phone_number":"+319881729999","email":"test@test.com"},"to_address":{"name":"Jacobus","company_name":"Facebook","address_line_1":"Corso Porta Nuova","house_number":"83","postal_code":"42049","city":"Sant'ilario D'enza","state_province_code":"RE","country_code":"IT","phone_number":"+3903788201357","email":"test@test.com"},"ship_with":{"shipping_product_code":"postnl:standard/return","functionalities":{"labelless":true},"contract":123456},"dimensions":{"length":15,"width":20.5,"height":37,"unit":"mm"},"weight":{"value":14.5,"unit":"g"},"collo_count":1,"parcel_items":[{"description":"T-Shirt XL","quantity":1,"weight":{"value":14.5,"unit":"g"},"value":{"value":0,"currency":"EUR"},"hs_code":"6205.20","origin_country":"NL","sku":"TS1234","product_id":"19284"}],"send_tracking_emails":true,"brand_id":1,"total_insured_value":{"value":0,"currency":"EUR"},"order_number":"ORD12355","total_order_value":{"value":0,"currency":"EUR"},"external_reference":"RET9876","delivery_option":"drop_off_point"}},"InternationalReturn":{"title":"InternationalReturn","summary":"Create a return that requires customs","value":{"from_address":{"name":"Marie Doe","address_line_1":"Stadhuisplein 10","house_number":"10","postal_code":"5611 EM","city":"Eindhoven","country_code":"NL","phone_number":"+31612345678","email":"marie.doe@example.com"},"to_address":{"name":"John Doe","company_name":"Company XYZ","address_line_1":"123 West 43rd St","postal_code":"10036","city":"New York","state_province_code":"US-NY","country_code":"US","phone_number":"+12129976661","email":"john.doe@example.com"},"ship_with":{"type":"shipping_option_code","shipping_option_code":"dhl_express:worldwide/incoterm=dap","contract":123456},"dimensions":{"length":30,"width":20,"height":10,"unit":"cm"},"weight":{"value":0.4,"unit":"kg"},"collo_count":1,"parcel_items":[{"description":"T-Shirt XL","quantity":1,"weight":{"value":0.4,"unit":"kg"},"price":{"value":12.65,"currency":"USD"},"hs_code":"620520","origin_country":"US","sku":"TS1234","product_id":"19284","mid_code":"US1234567","material_content":"100% Cotton","intended_use":"Personal use","cpsc":{"product_id":"12345","certifier_id":"67890","version_id":"1"}}],"send_tracking_emails":true,"brand_id":1,"order_number":"ORD123456","total_order_value":{"value":12.65,"currency":"USD"},"external_reference":"RET98765","customs_invoice_nr":"INV-123","delivery_option":"drop_off_point"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"7e07b3e4-4e83-4014-a8f1-e60057365bfc":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"return_id":{"type":"integer","description":"The Sendcloud return id","minimum":1,"isRequired":true,"uniqueKey":"return_id","typeLabel":"integer"},"parcel_id":{"type":"integer","minimum":1,"description":"The Sendcloud incoming parcel id","isRequired":true,"uniqueKey":"parcel_id","typeLabel":"integer"},"multi_collo_ids":{"type":"array","description":"A list with all the related Sendcloud incoming parcel ids in the collo","items":{"type":"integer","minimum":1,"uniqueKey":"multi_collo_ids.items.[INDEX]","typeLabel":"integer"},"isRequired":true,"uniqueKey":"multi_collo_ids","typeLabel":"integer[]"}},"required":["return_id","parcel_id","multi_collo_ids"],"uniqueKey":"","typeLabel":"object"},"examples":{"example-1":{"title":"example-1","value":{"return_id":12345,"parcel_id":67880,"multi_collo_ids":[]}}},"exampleType":"examples"}},"exampleType":"examples"},"dc65c7e1-0645-4d83-aece-4c7f4a82e3a4":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Errors","type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","example":"id","description":"Name of field, if the error relates to a particular field in the request","uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","example":"This field is required","description":"Human-readable error message","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","enum":["unknown_field","invalid","forbidden","invalid_choice","min_value","null","not_found","required","not_a_list"],"description":"Machine-recognizable predefined Sendcloud code of the error","uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"Errors · object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"field":"id","message":"This field is required","code":"unknown_field"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4c78f63d-0fb3-49ef-b74e-7509891c2fbc":{"HTTPBasicAuth":{"type":"http","description":"Basic Authentication using API key and secrets is currently the main authentication mechanism.","scheme":"basic","scopes":[],"schemeName":"HTTPBasicAuth"}},"dfb7fd2e-147f-4167-a338-c95c3a857094":{"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:return"],"schemeName":"OAuth2ClientCreds"}}},"servers":{"b40b6724-d3d3-41a9-acf1-5a6d5f054ded":{"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:return"],"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/returns/openapi.yaml"},"subdomain":"sendcloud","siteName":"Sendcloud API Developer Portal","title":"Create a return - Sendcloud API Developer Portal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T08:45:58.840Z","originalFileLocation":"api/v3/returns/create-a-return.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=\"Create a standalone return\">\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=\"Create a return - Sendcloud API Developer Portal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a standalone return\">\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/returns/create-a-return\">\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=Returns\u0026amp;title=Create+a+return\u0026amp;description=Create+a+standalone+return\u0026amp;theme=98143dbb82b5eecb925033ee\u0026amp;signature=a05764d836fb8f6aa30c9d6dd2b9b455caf2bef0f71cfe749050363db7024154\">\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=\"Create a return - Sendcloud API Developer Portal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a standalone return\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendcloud.mintlify.site/_mintlify/api/og/v2?division=Returns\u0026amp;title=Create+a+return\u0026amp;description=Create+a+standalone+return\u0026amp;theme=98143dbb82b5eecb925033ee\u0026amp;signature=a05764d836fb8f6aa30c9d6dd2b9b455caf2bef0f71cfe749050363db7024154\">\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/returns/create-a-return\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/v3/returns/create-a-return.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/returns/create-a-return#webpage\",\"url\":\"https://sendcloud.dev/api/v3/returns/create-a-return\",\"name\":\"Create a return\",\"description\":\"Create a standalone return\",\"dateModified\":\"2026-11-10T08:45:58.840Z\",\"isPartOf\":{\"@id\":\"https://sendcloud.dev#website\"},\"breadcrumb\":{\"@id\":\"https://sendcloud.dev/api/v3/returns/create-a-return#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sendcloud.dev/api/v3/returns/create-a-return#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tracking \u0026 post-purchase\",\"item\":\"https://sendcloud.dev/api/v3/parcel-tracking/create-an-external-parcel-for-tracking\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Returns\",\"item\":\"https://sendcloud.dev/api/v3/returns\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a return\",\"item\":\"https://sendcloud.dev/api/v3/returns/create-a-return\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sendcloud.dev/api/v3/returns/create-a-return#apireference\",\"headline\":\"Create a return\",\"name\":\"Create a return\",\"description\":\"Create a standalone return\",\"url\":\"https://sendcloud.dev/api/v3/returns/create-a-return\",\"mainEntityOfPage\":{\"@id\":\"https://sendcloud.dev/api/v3/returns/create-a-return#webpage\"},\"dateModified\":\"2026-11-10T08:45:58.840Z\",\"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/returns/create-a-return.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","description":"Check if a return can be announced **without** actually creating the return, or announcing it with the carrier.","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","description":"Create a return synchronously, i.e. wait for a response from the carrier before continuing.","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","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","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":"Create a return - Sendcloud API Developer Portal","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","SectionHeading-CKObOTcn.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js","Markdown-CIbHOmUi.js","AssistantPageLink-C0oSAXp0.js","dist-Bp7AI3M8.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}