Returns
Create Return
Get the required, optional, and integration specific fields by calling the integrations endpoint.
POST
/
wms
/
returns
Headers
x-trackstar-api-key
string
requiredYour organization-level Trackstar API key.
x-trackstar-access-token
string
requiredYour user's access token for a specific integration (ShipHero, Extensiv, etc).
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.
Response
200 - application/json
data
object
unused_fields
string[]
Unused fields