Skip to main content

Check Freight Booking

POST 

/api/freight/shipments/:id/check-booking

Resolve a booking_unknown load (the provider's answer to Book Freight was lost). SKU.io asks the provider whether the quote was booked: if so the load becomes booked exactly as a successful booking would (including the write to the linked shipment); if not it returns to quoted, and booking again is safe because a provider books a quote only once.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

No body. Refused with 409 when the load is not booking_unknown.

Errors. 409 when the load is in a state that does not allow this action; the body carries message and reasons (every problem, one per entry). 422 when the freight provider rejected the request; errors maps each field the provider named to its messages (an invalid API key appears under credentials). 502 when the freight provider did not answer; code carries the provider's error code when it sent one.

Authentication: Requires Bearer token with the orders:write scope.

Requires permission: freight.book

Request​

Responses​

OK

Response Headers
    Content-Type