Skip to main content

GET /track/{orderId}

Refresh and return transit status for an existing order.

Scope: shipments:track

Path parameters

NameRequiredDescription
orderIdYesOrder UUID from ship metadata.orderId

Request body

None.

Preconditions

  • Order exists.
  • order.companyId matches the API key organization.

The carrier track service is called and the order’s transitStatus may be updated.

Success response (200)

{
"data": {
"transitStatus": "intransit",
"updated": true
}
}
FieldTypeDescription
transitStatusstringCurrent status from carrier (e.g. pending, intransit, delivered, cancelled, unknown)
updatedbooleantrue if the order record was updated this call; false if unchanged or status is pending / unknown

Error responses

HTTPCondition
400Missing orderId
401API key auth failure
403Order belongs to another company
404Order not found
500Carrier track failure or server error