Skip to main content
object

Requires read_batches access scope.

A step within a batch, representing a stage of processing.

•[BatchStepActionReadiness!]

The readiness of each batch workflow step action for the current items in this batch step.

Show fields
•BatchStepActionConnection!
non-null

The actions executed in this step.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•StaffMember

The staff member assigned to this step.

Show fields
•EventConnection!
non-null

The list of events associated with this batch step.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•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
•string

The action that occurred.

Example:

  • action:create
Anchor to comments
•boolean

Whether or not to include comment-events in your search, passing false will exclude comment-events, any other value will include comment-events.

Example:

  • false
  • true
Anchor to created_at
•time

Filter by the date and time when the event occurred. Event data is retained for 1 year.

Example:

  • created_at:>2025-10-21
  • created_at:<now
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to subject_type
•string

The resource type affected by this event. See EventSubjectType for possible values.

Example:

  • PRODUCT_VARIANT
  • PRODUCT
  • COLLECTION
•Boolean
Default:false

Reverse the order of the underlying list.

•EventSortKeys
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

•ID!
non-null

A globally-unique ID.

•Count!
non-null

The number of items in this step.

Show fields
•BatchableItemConnection!
non-null

The batchable items in this step.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•[BatchStepAction!]!
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
•BatchWorkflowStep!
non-null

The batch workflow step that this batch step follows.

Show fields

Was this section helpful?

•mutation

Assigns a staff member to a batch step. Pass a null staffMemberId to unassign.

Show payload

Arguments

•ID!
required

The ID of the batch step to assign.

•ID

The ID of the staff member to assign to the batch step. Pass null to unassign.



Was this section helpful?

•interface

Was this section helpful?