Book a shipment and generate shipping labels or documents.
Request body data for Book shipment
Request payload for booking a shipment and generating shipping labels. Contains delivery addresses, package dimensions, weight, shipping service selection, and optional customs information.
shipping service group from which to load the shipping services to use.
The total weight (kilograms) of the shipment including packaging.
x > 0The
The seller who is booking this shipment (required).
The booked shipment will show up in the history of this seller.
A unique identifier for the request.
Used for tracing and to prevent duplicate shipment bookings.
This value is optional, if not included, a random requestUUID is generated.
A human readable reference for the request.
This will be included in the mail that is sent once the operation completes.
This value is optional, if not included, a random reference will be generated.
The
Optional length (in meters) of the shipment.
x > 0Optional width (in meters) of the shipment.
x > 0Optional height (in meters) of the shipment.
x > 0Optional customs positions for the shipment. Only required if shipping to countries for which export documents are required.
The invoice number to be used for customs declaration.
1 - 50The invoice date to be used for customs declaration.
Optional amount which should get insured when booking the shipment.
Note that most shipping services already have a basic insurance included. To use the already included insurance, you must not set this field to any value other than null.
Setting this field to a non null value will book an additional insurance.
x > 0Optional value setting whether a return labels should be included in addition to the main label or not.
Optional value setting whether to turn on/off tracking functionality for shipment. Additional charges will apply when set to true.
Optional future or today's date when the shipment will be handed over to the carrier. If not specified, default's to today.
Optional terms of trade. If not specified, default's DAP.
DAP, DDP Optional additional parcels for the shipment. Note that by default the request represent the primary parcel/package for this shipment, use this field only if is needed to add more packages for the shipment.
The userId of a third party app who booked the shipment.
Optional value. Identifies the order in the customer's shop.
Optional description of the shipment contents.
Optional system reference, can be used to trace the shipment
Optional attachments parameter
Optional COD total amount parameter. If the amount is greater than 0, it will be processed as a COD shipment
The currency in which COD amount is specified.
Returns the booking result including tracking numbers, label URLs, and shipment identifiers.
Response from booking a shipment operation. Contains booking status, shipment identifier, tracking information, and label/document references.
Indicates whether the operation was successful or not.
OK, ERROR Optional additional information about the operation's result.
When the operation failed, this field includes more information about the error.
ID of booked shipment
The tracking number of the booked shipment.
The tracking link of the booked shipment. Note that some carriers do not immediately recognize shipments after they have been created
List of URLs where the labels can be downloaded.
List of URLs where additional documents, such as export documents, can be downloaded.