Skip to main content
PUT
Update Order

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Example:

"<x-trackstar-api-key>"

x-trackstar-access-token
string
required

Your user's access token for a specific integration (ShipHero, Extensiv, etc).

Example:

"<x-trackstar-access-token>"

Idempotency-Key
string

Optional key that makes this request safe to retry. Send the same key on a retry and Trackstar returns the first attempt's response instead of writing again; if the first attempt failed, the retry runs the write again. Reusing a key with a different request is rejected. Keys expire after 24 hours.

Required string length: 1 - 255
Example:

"9f1c2b1e-6d4a-4c1c-9a8e-2b7e3c5d1f00"

Path Parameters

order_id
string
required

Body

application/json
trackstar_tags
any[] | null

A list of custom tags associated with the resource. A tag can be either a string or a dictionary with one key-value pair.

Example:
warehouse_id
enum<string>

If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the Warehouse endpoint for more details.

Available options:
N/A - Connect an account to see options
Example:

"warehouse_id"

reference_id
string

An external unique identifier for the order, such as a Shopify order id. Defaults to id if client has not defined one.

Example:

"order_reference_id"

order_number
string

A user-friendly identifier for their order.

Example:

"so_30449"

channel_object
SandboxChannelIdSchema · object

The channel the order was placed on.

shipping_method_id
enum<string>

The ID of the actual shipping method used to ship the order. Can be passed into the Shipping Method endpoint for more details.. If shipping_method_name is also provided, this will take precedence.

Available options:
N/A - Connect an account to see options
Example:

"fedex_ground"

service_level
string

The type of shipping method requested by the customer.

Example:

"Standard"

invoice_currency_code
string

The currency used for this order. If not provided explicitly, defaults to USD.

Example:

"USD"

total_price
number

The total price a customer paid for the order.

Example:

13.49

ship_to_address
SandboxUpdateOrderShipToAddress · object
line_items
SandboxUpdateOrderLineItems · object[]

List of the products included in the order.

Example:

Response

Successful response

id
string
required

The ID of the object that has been created or modified

Example:

"id"

unused_fields
string[]
required

Unused fields

data
WmsOrderApiItemSchema · object