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

# Trigger StateSet API ERP order synchronization

> Sync job queued

### Path parameters

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

### Response

`object`

<ResponseField name="jobId" type="string (uuid)" required>
  Unique job identifier
</ResponseField>

<ResponseField name="jobType" type="string" required>
  Type of background job
</ResponseField>

<ResponseField name="status" type="string" required>
  Current job status
</ResponseField>

<ResponseField name="createdAt" type="string (date-time)" required>
  Job creation timestamp
</ResponseField>

### Status codes

| Code | Meaning |
| - | - |
| `202` | Sync job queued |
| `401` | Unauthorized |
| `424` | StateSet API integration not configured |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/sync/stateset-api' \
    --header "x-stateset-api-key: $STATESET_SYNC_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 202 theme={null}
  {
    "jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "jobType": "string",
    "status": "queued",
    "createdAt": "2026-08-31T14:22:05Z"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.