Skip to main content
POST
Create Booking

Authorizations

Authorization
string
header
required

Used by every functional endpoint. Generate the token with POST /auth/oauth/token/ and send it as Authorization: Bearer {token}.

Body

application/json
shipment_uuid
string<uuid>

The Open Shipment's Perform.AI identifier. Provide this or shipment_id.

shipment_id
string

The Open Shipment's identifier in your system. Provide this or shipment_uuid.

Maximum string length: 50
carrier_reference
string

The carrier configuration to book with, from Settings > Carriers; it must be enabled for booking (outbound or return). Optional when the Shipment already has a carrier_reference — the booking then uses the Shipment's carrier. When provided, the request's value is used for the carrier booking. Avoid sending a value that conflicts with the Shipment's own carrier reference — omit the field or keep them consistent. Do not send it as null or an empty string.

Maximum string length: 50
pudo_location_uuid
string<uuid>

Route the booking to a specific PUDO location, from the PUDO locations endpoint.

additional_info
object

Carrier-specific booking metadata.

Response

Booking successful; all labels returned.

api_response
string
data
object

The data object of a successful booking.