Skip to content

Sync Status

GET /api/v1/integration/sync-status

Query sync status across entity types or for specific external IDs.

Required scope: integration:sync:read

ParameterTypeDescription
entityTypestringFilter by entity: SUPPLIER, PRODUCT, or BATCH
externalIdsstringComma-separated list of external IDs to check
sincestringISO date — only show records synced after this
pagenumberPage number (default: 1)
limitnumberItems per page (default: 50, max: 100)

When entityType is omitted, returns a count summary:

Terminal window
GET /api/v1/integration/sync-status
{
"suppliers": { "total": 42 },
"products": { "total": 128 },
"batches": { "total": 350 }
}
Terminal window
GET /api/v1/integration/sync-status?entityType=SUPPLIER&since=2024-01-01
{
"entities": [
{
"externalId": "VENDOR-001",
"internalId": "clx...",
"name": "Amazon Timber Co.",
"syncStatus": "SYNCED",
"lastSyncedAt": "2024-01-15T10:30:00.000Z"
}
],
"total": 5,
"page": 1,
"limit": 50
}
StatusDescription
SYNCEDSuccessfully synced and up-to-date
PENDINGQueued for sync
ERRORLast sync attempt failed
CONFLICTConflicting changes detected