Skip to main content
objectWorkerSyncRunStatus

Fields

Where the sync is in its life.

lastResult

How the last run ended. Absent when it has not run since the worker started.

isLocked
Boolean!

Whether the sync cannot run because its account is locked or inactive, for example a locked shop. Unlocking the account and starting the sync is the only way out.

message
String

The last message the sync reported, for example what it does or when it runs next.

statusChangedAt
DateTime

When the status last changed. Not the start or end of a run.

expectedNextRunAt
DateTime

When the next run is expected: the status time plus the interval. Not a guarantee, runs can wait in a queue.

progressPercent
Float

Progress of the run that is running, from 0 to 100. Absent when it is not known: the value exists only in the memory of the worker and the sync reports it only while it runs. The V2 route workers/status keeps its constant -1.

pendingActionId
String

The key of the action that was requested and is not yet carried out: Start, Stop, Restart, RunOnce or ResetError. The list of actions can grow, so it is a key and not an enum.