Skip to main content
POST
cURL
The FBO account and each lines[].productId must already exist. Save the returned id. Pass rateId or carrier and trackingNumber.

Buy a label with the shipment

Quote rates with Get Inbound Shipment Label Quote, then pass the chosen rateId here. The response includes label and packingSlipUrl.

Ship with your own label

Pass carrier and trackingNumber. No label is purchased. The response includes packingSlipUrl.

Authorizations

string
required
Send Bearer <token> in this header. The key needs inbound_shipments:create.

Body

string
required
array
required
Declared contents of the shipment. At least one line is required.
string
Free-form notes about the shipment. Included on the packing slip.
string
The id of a rate returned by Get Inbound Shipment Label Quote, to buy that label with the shipment. The insured value and pricing come from the quote, so there’s nothing to echo back. The rate must have been quoted for the same fboAccountId. The lines’ declared value must be at or below the insured value on that rate.
string
string
cURL
packingSlipUrl is always returned. label is included when a rateId was provided.
If the label purchase fails, the shipment is cancelled and a VALIDATION_ERROR is returned, so no half-shipped record is left behind. Request rates again and retry the whole call.
This endpoint supports the Idempotency-Key header.

Errors

A schema failure is 400 BAD_REQUEST. The message is body/<field> <reason>. A missing FBO account, or one outside this organization, is 404 NOT_FOUND with message FBO account not found. These checks are 422 VALIDATION_ERROR. The message is exact.