Skip to content

API reference

Read a Shopify Sheet schedule and its delivery status

GET
/v1/shopify-sheet/schedules/{scheduleId}

Requires query:read. Returns the schedule with its shop, its destination, the latest export of the schedule’s CURRENT destination and the last delivered one. No tokens, grant envelopes, provider errors or arbitrary internal fields are returned. Unknown stored error text becomes automation_unavailable. Times are epoch milliseconds.

scheduleId
required
string
/^[A-Za-z0-9_-]{1,128}$/

Read a Shopify Sheet schedule and its delivery status.

Times are epoch milliseconds. latest and lastDelivered are of the schedule’s current destination only, so right after a destination change both are null until the planner plans the first export on the new destination (an earlier export of the same destination, if the schedule returns to it, is shown again). latest.id is the exportId accepted by redrive.

object
schedule
required
object
id
required
string
/^[A-Za-z0-9_-]{1,128}$/
revision
required
integer
>= 1 <= 9007199254740991
enabled
required
boolean
destinationId
required
string
/^[A-Za-z0-9_-]{1,128}$/
windowDays
required
integer
>= 1 <= 90
minIntervalMinutes
required
integer
>= 5 <= 44640
nextDueAt
required
integer
<= 9007199254740991
lastErrorCode
required

Fixed operational diagnosis, or null. Unknown stored text is replaced with automation_unavailable. These fields are not HTTP status codes.

string | null
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict serving_disabled shop_settings_unread data_not_ready ordinal_conflict shopify_export_serving_disabled shopify_export_unavailable shopify_export_superseded lease_lost shopify_export_unexpected shopify_export_invalid shopify_export_forbidden shopify_export_too_large invalid_provider_request sheet_invalid_generation sheet_capacity_exhausted sheet_generation_conflict retry_after_exceeds_policy attempts_exhausted shopify_export_evidence_missing shopify_export_integrity_failure
shop
required

One Shopify shop, a live selection of the workspace. A shop has at most one Daily sales schedule.

object
connectionId
required
string
/^[A-Za-z0-9_-]{1,128}$/
shopGid
required

The shop’s Shopify GID (gid://shopify/Shop/ and its number), as the shop was selected on the connection.

string
/^gid://shopify/Shop/[0-9]{1,30}$/
destination
required
Any of:
object
id
required
string
/^[A-Za-z0-9_-]{1,128}$/
state
required
string
Allowed values: unconfigured active paused revoked
nextOrdinal
required
integer
>= 1 <= 9007199254740991
capacity
required
integer
>= 1 <= 100
latest
required
Any of:
object
id
required
string
/^[A-Za-z0-9_-]{1,128}$/
scheduleRevision
required
integer
>= 1 <= 9007199254740991
destinationOrdinal
required
integer
>= 1 <= 9007199254740991
state
required
string
Allowed values: pending running succeeded superseded failed cancelled
attempts
required
integer
<= 9007199254740991
nextAttemptAt
required
integer
<= 9007199254740991
errorCode
required

Fixed operational diagnosis, or null. Unknown stored text is replaced with automation_unavailable. These fields are not HTTP status codes.

string | null
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict serving_disabled shop_settings_unread data_not_ready ordinal_conflict shopify_export_serving_disabled shopify_export_unavailable shopify_export_superseded lease_lost shopify_export_unexpected shopify_export_invalid shopify_export_forbidden shopify_export_too_large invalid_provider_request sheet_invalid_generation sheet_capacity_exhausted sheet_generation_conflict retry_after_exceeds_policy attempts_exhausted shopify_export_evidence_missing shopify_export_integrity_failure
visibleOrdinal
required
integer | null
>= 1 <= 9007199254740991
lastDelivered
required
Any of:
object
exportId
required
string
/^[A-Za-z0-9_-]{1,128}$/
destinationOrdinal
required
integer
>= 1 <= 9007199254740991
visibleOrdinal
required
integer
>= 1 <= 9007199254740991
completedAt
required
integer
<= 9007199254740991

invalid_request.

object
error
required
object
code
required
string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict
message
required
string
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule
error
object
code
Allowed values: invalid_request unauthorized forbidden schedule_not_found method_not_allowed automation_unavailable

unauthorized.

object
error
required
object
code
required
string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict
message
required
string
error
object
code
Allowed value: unauthorized
error
object
code
Allowed values: invalid_request unauthorized forbidden schedule_not_found method_not_allowed automation_unavailable
WWW-Authenticate
required
string
Allowed value: Bearer

forbidden.

object
error
required
object
code
required
string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict
message
required
string
error
object
code
Allowed values: forbidden destination_permission_required schedule_inactive workspace_paused subscription_lapsed
error
object
code
Allowed values: invalid_request unauthorized forbidden schedule_not_found method_not_allowed automation_unavailable

schedule_not_found.

object
error
required
object
code
required
string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict
message
required
string
error
object
code
Allowed values: destination_not_found shop_unavailable schedule_not_found export_not_found not_found
error
object
code
Allowed values: invalid_request unauthorized forbidden schedule_not_found method_not_allowed automation_unavailable

method_not_allowed.

object
error
required
object
code
required
string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict
message
required
string
error
object
code
Allowed value: method_not_allowed
error
object
code
Allowed values: invalid_request unauthorized forbidden schedule_not_found method_not_allowed automation_unavailable
Allow
required
string
Allowed value: GET

rate_limited — the key’s or its workspace’s per-plan request allowance for this route’s class is used up. It is answered after authentication, on every API-key operation in this document and on MCP, and never on /health. A download link is limited the same way, after its lookup, by the key that issued it and the export’s workspace. Retry-After is the window in seconds and RateLimit-Limit is the limit of the bucket that refused. No remaining count is returned. The limits themselves are not published here.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: rate_limited
Retry-After
required
string
/^[1-9][0-9]*$/
RateLimit-Limit
required
string
/^[1-9][0-9]*$/

automation_unavailable.

object
error
required
object
code
required
string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule shop_unavailable destination_unavailable schedule_conflict schedule_not_found schedule_inactive export_not_found redrive_conflict
message
required
string
error
object
code
Allowed values: credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable
error
object
code
Allowed values: invalid_request unauthorized forbidden schedule_not_found method_not_allowed automation_unavailable