Creates a new shipment and immediately books it with the carrier in a single operation. Sender address is automatically taken from team settings. Supports asynchronous processing via the Prefer header.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Preferred language(s) for translatable content using BCP 47 language tags. Supports quality values (q-factors) for priority ordering. The API negotiates the best available language based on this header, the team's configured language, and available translations. If omitted, the team's default language is used.
"da-DK, da;q=0.9, en;q=0.8"
Any value passed in this request will be returned in the same header. This can be used to correlate requests between client and server.
1 - 128Optional idempotency key for safely retrying requests. If the same key is reused with the same request payload within 30 minutes, the API will return the exact same response (status code, headers, and body) as the original request without re-executing it. Reuse of the same key with a different payload may return 409 Conflict.
1 - 128Set to 'respond-async' to request asynchronous processing. When set, the API returns 202 Accepted with an Operation object for polling instead of waiting for completion.
respond-async Team identifier. All resources are scoped to this team.
1"ad9546c1-393e-49a5-9a72-5cc146c9bec5"
A shipment for booking
ISO 4217 currency code for all monetary values
3"EUR"
Unit for all weight values in this shipment
g, kg, lb, oz "g"
Unit for all dimension values in this shipment
mm, cm, m, in "cm"
Invoice or order number
"INV-1001121"
Human-readable reference visible externally
"Order-5521"
System identifier for internal integrations
URI linking to the source of this shipment (webshop order URL, deep link, or any URI scheme)
Shipping service with addons. Used in Shipment requests and responses. For requests, provide carrier and service. For responses, carrier_code, service_code and other details are populated.
Parties involved in the shipment
Parcels in this shipment
1Total goods value in minor units (cents) excluding tax
15920
Total goods tax in minor units (cents)
3980
Total goods duty in minor units (cents)
5572
Shipping cost in minor units (cents) excluding tax
3920
Shipping tax in minor units (cents)
980
Shipment created and booked successfully
A shipment for booking