Batch Step
Requires access scope.
A step within a batch, representing a stage of processing.
Anchor to FieldsFields
- actionReadiness ([BatchStepActionReadiness!])
- actions (BatchStepActionConnection!)
- assignedStaff (StaffMember)
- events (EventConnection!)
- id (ID!)
- itemCount (Count!)
- items (BatchableItemConnection!)
- latestActions ([BatchStepAction!]!)
- workflowStep (BatchWorkflowStep!)
- Anchor to actionReadinessaction•[Batch
Readiness Step Action Readiness!] The readiness of each batch workflow step action for the current items in this batch step.
Show fields
- Anchor to actionsactions•Batch
Step Action Connection! non-null The actions executed in this step.
Show fields
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to assignedStaffassigned•Staff
Staff Member The staff member assigned to this step.
Show fields
- Anchor to eventsevents•Event
Connection! non-null The list of events associated with this batch step.
Show fields
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to queryquery•String
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.
Show filters
- Anchor to comments•boolean
Whether or not to include comment-events in your search, passing
falsewill exclude comment-events, any other value will include comment-events.falsetrue- Anchor to created_at•time
Filter by the date and time when the event occurred. Event data is retained for 1 year.
created_at:>2025-10-21created_at:<now- Anchor to subject_type•string
The resource type affected by this event. See EventSubjectType for possible values.
PRODUCT_VARIANTPRODUCTCOLLECTION
Example:
Example:
Example:
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Event
Key Sort Keys Default:ID Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
Show enum values
Arguments
- •ID!non-null
A globally-unique ID.
- Anchor to itemCountitem•Count!
Count non-null The number of items in this step.
Show fields
- Anchor to itemsitems•Batchable
Item Connection! non-null The batchable items in this step.
Show fields
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to latestActionslatest•[Batch
Actions Step Action!]! non-null The latest run of each batch workflow step action on this step, with one entry per set of items the action ran on. Re-running an action on the same items replaces its entry, and a run that's still executing takes precedence over a finished one.
Show fields
- Anchor to workflowStepworkflow•Batch
Step Workflow Step! non-null The batch workflow step that this batch step follows.
Show fields
Anchor to MutationsMutations
- batchStepAssign (BatchStepAssignPayload)
- •mutation
Assigns a staff member to a batch step. Pass a null
to unassign.Show payload
- •ID!required
The ID of the batch step to assign.
- Anchor to staffMemberIdstaff•ID
Member Id The ID of the staff member to assign to the batch step. Pass null to unassign.
Arguments
- •ID!