Skip to main content
PUT
Update an order

Headers

x-openborder-direct-api-key
string
required

OpenBorder merchant API token

Body

application/json
source_reference
number
required

Reference ID from the source system. This is the unique identifier to reference the order on subsequent calls and cannot be updated.

source_updated_at
string
required

Timestamp in ISO format when the order was last updated in the source system.

ship_to
object

Address to which the order is shipped.

billing_address
object

Billing address for the order.

order_discount
number

Total order-level discount in major currency units (e.g., 10.00 means $10 off). Discount is split proportionally across products for duties/taxes.

shipments
object[]

A shipment groups the items sent from a specific origin warehouse to the order's destination address. While a shipment originates from one location, it can be fulfilled in multiple batches (fulfillments), each potentially having a different tracking number, ship date, and carrier. To add a new shipment, provide a new shipment object with a new shipment_id

custom_properties
object | null

Optional custom metadata or structured properties. Object max. size is 4 KB.

Response

Order successfully updated. No content returned.