> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update tracking information for an order

> Update tracking information for an order

### Path parameters

<ParamField path="tenant_id" type="string" required>
  Tenant identifier
</ParamField>

<ParamField path="order_id" type="string (uuid)" required>
  Order UUID
</ParamField>

### Request body

`object`

<ParamField body="trackingData" type="object" required>
  Tracking data JSON
</ParamField>

### Response

`object`

<ResponseField name="ok" type="boolean" required>
  Operation success indicator
</ResponseField>

### Status codes

| Code  | Meaning          |
| ----- | ---------------- |
| `200` | Tracking updated |
| `401` | Unauthorized     |
| `404` | Order not found  |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/orders/{order_id}/tracking' \
    --header 'x-stateset-api-key: YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "trackingData": {}
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "ok": true
  }
  ```
</ResponseExample>
