PUT
/
wms
/
returns
/
{return_id}

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

x-trackstar-access-token
string
required

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

Path Parameters

return_id
string
required

Body

application/json
warehouse_id
string

The ID of the warehouse receiving the return. Can be passed into the Warehouse endpoint for more details.

order_id
string

The ID of the order that the return is associated with. Can be passed into the Order endpoint for more details.

line_items
object[]

A list of inventory items included in the return.

trackstar_tags
any[] | null

A list of custom tags associated with the returns. A tag can be either a string or a dictionary with one key-value pair. e.g. ['tag1', 'tag2', {'key1': 'value1'}]

Response

200 - application/json
data
object
unused_fields
string[]

Unused fields