Skip to main content
PATCH
Spree Admin SDK

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Bearer token for admin authentication

Path Parameters

order_id
string
required

Order ID

id
string
required

Fulfillment ID

Body

application/json
external_references
object

Identities the record has in external systems, keyed by system: the same { system: external_id } map the Admin API renders, so what you read can be sent straight back. Systems you do not name keep the reference they have. A list of { system, external_id } entries is accepted too.

stock_location_id
string

The location the fulfillment ships from. On update, moving it re-prices the fulfillment against that location's rates.

tracking
string

Carrier tracking number, or a full https:// tracking link, which is served back as tracking_url unchanged.

tracking_carrier
string

Which carrier the tracking number belongs to: a slug from the tracking carriers endpoint. Left blank, it is detected from the number's format where possible.

selected_delivery_rate_id
string

Response

200 - application/json

shipment updated