Skip to content
Proud to collaborate with Microsoft for Startups

data.commerce.sync-checkpoint.complete ​

Idempotently mark scoped/windowed synchronization complete

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-commerce
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
providerstringYes——
scope_refstringYes—Provider partition such as merchant, store, account, or company reference.
entity_typestringYes——
window_keystringYes—Stable caller-defined window identity such as 2026-08 or an ISO date range.
cursorjsonNo——
watermark_atstringNo——
items_synced_totalintegerNo——
last_sync_workflow_uuidstringNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
sync_checkpoint_uuiduuidNo——
existsbooleanYes——
createdbooleanNo——
statusstringNo——
cursorjsonNo——
watermark_atstringNo——
items_synced_totalintegerNo——
last_sync_workflow_uuidstringNo——
last_attempt_atstringNo——
last_errorstringNo——
completed_atstringNo——
updated_atstringNo——
persisted_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerjsonNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.commerce.sync-checkpoint.complete",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "provider": "value",
    "scope_ref": "value"
  }
}