Skip to main content
PATCH
Edit an order

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.

Path Parameters

orderId
string<uuid>
required

Body

application/json
reference
string
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
recipient
object
item
object
items
object[]

Replaces all existing line items when provided.

Response

Updated order (with items[]).

order
object