Skip to main content
POST
Refund Cart 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>"

Path Parameters

order_id
string
required

Body

application/json
line_items
RefundOrderLineItem · object[]
required

The line items to refund.

reason
string

The reason for the refund.

Example:

"Defective product"

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
CartOrderApiItemSchema · object