> ## 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.

# Fetch tracking information from DCL

> DCL tracking lookup result

### Path parameters

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

### Request body

`object`

<ParamField body="orderNumbers" type="string[]" required>
  Order numbers to look up
</ParamField>

<ParamField body="includeFullResponse" type="boolean">
  Include full DCL response (default false)
</ParamField>

### Response

`object`

<ResponseField name="status" type="integer" required>
  HTTP status code from DCL
</ResponseField>

<ResponseField name="body" type="object" required>
  Tracking data
</ResponseField>

### Status codes

| Code  | Meaning                        |
| ----- | ------------------------------ |
| `200` | DCL tracking lookup result     |
| `401` | Unauthorized                   |
| `424` | DCL integration not configured |
| `502` | DCL API error                  |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/dcl/tracking' \
    --header 'x-stateset-api-key: YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "orderNumbers": [
      "ORD-10042"
    ],
    "includeFullResponse": true
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "status": 1,
    "body": {}
  }
  ```
</ResponseExample>
