Request a label for a single or multiple orders. This endpoint will fail gracefully if some orders cannot be processed, returning any successfully created labels along with error details for the orders that failed.
id of the relevant shipment with the Retrieve a shipment endpoint.
To apply shipping rules to the orders, make sure to set apply_shipping_rules to true.
This endpoint will attempt to generate labels for each order. If a request for one label errors, it will still attempt to generate the other labels. Because of this, the response might return a mix of labels and errors. Use the errors source pointer field to see which labels encountered a problem.Basic Authentication using API key and secrets is currently the main authentication mechanism.
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.
Payload for creating labels for orders.
Note that if the sender_address_id is not specified, the API will use the default sender address associated with your account.
The ID of the integration your orders belong to.
70
Array of order objects you want to create labels for
1 - 20 elementsMulticollo parcels array model used for splitting shipped object into multiple parcels
The ID of the sender address you would like to ship from. If not specified, your default sender address will be used.
A sender address can be added through the Sendcloud panel and be retrieved using the Retrieve a list of sender addresses endpoint.
192
The ID of the brand. Brands can be added through the Sendcloud panel and be retrieved using the Retrieve a list of brands endpoint.
x >= 142
The ship with object can be used to define how you would like to send your shipment.
You can use a shipping_option_code. This is a unique identifier that displays what carrier and what set of shipping functionalities you want to use.
{
"type": "shipping_option_code",
"properties": {
"shipping_option_code": "postnl:standard/insured=3000",
"contract_id": 517
}
}