curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/sync/all' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"channels": [
"shopify"
],
"direction": "all",
"failFast": true,
"includeInventory": true,
"productSource": "string"
}'
{
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jobType": "string",
"status": "queued",
"createdAt": "2026-08-31T14:22:05Z"
}
Trigger a comprehensive sync across one or more channels.
Sync job queued
POST
/
v1
/
tenants
/
{tenant_id}
/
sync
/
all
curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/sync/all' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"channels": [
"shopify"
],
"direction": "all",
"failFast": true,
"includeInventory": true,
"productSource": "string"
}'
{
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jobType": "string",
"status": "queued",
"createdAt": "2026-08-31T14:22:05Z"
}
Path parameters
string
required
Tenant identifier
Request body
SyncAllRequest
SyncChannel[]
Ordered list of channels to run. If omitted, the server uses direction defaults.
SyncDirection
boolean
Stop immediately when a step fails.
boolean
Run inventory synchronization after channel sync.
string
Restrict catalog sync source: shopify | netsuite | both | all.
Response
object
string (uuid)
required
Unique job identifier
string
required
Type of background job
string
required
Current job status
string (date-time)
required
Job creation timestamp
Status codes
| Code | Meaning |
|---|---|
202 | Sync job queued |
401 | Unauthorized |
422 | Validation error |
curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/sync/all' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"channels": [
"shopify"
],
"direction": "all",
"failFast": true,
"includeInventory": true,
"productSource": "string"
}'
{
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jobType": "string",
"status": "queued",
"createdAt": "2026-08-31T14:22:05Z"
}
Last modified on August 31, 2026