Skip to main content
POST
Fulfil an order with a shipment

Authorizations

Authorization
string
header
required

API key as a bearer token. Secret keys (sk_) allow writes; publishable keys (pk_) are read-only. live = production, test = sandbox.

Headers

Idempotency-Key
string

A unique key (UUID) that makes a write request safely retryable.

Path Parameters

orderId
string<uuid>
required

Body

application/json
rate_quote_id
string
required
Example:

"quote_abc123"

pickup_point_id
string<uuid>

First-mile pickup point (merchant→courier).

delivery_method
enum<string>

How the customer receives the parcel. station_pickup = collect at a delivery station (base fee only). last_mile = rider delivers from the station to the door (base + station last-mile fee).

Available options:
station_pickup,
last_mile
delivery_station_id
string<uuid>

Last-mile / pickup station (courier→customer). Drives the last-mile fee.

Response

Fulfilled — shipment created.

order_id
string
shipment_id
string
tracking_number
string
tracking_url
string