Skip to main content
Anchor to fulfillmentOrderBatches

fulfillmentOrderBatches

query

Requires read_batches access scope and (read_assigned_fulfillment_orders access scope, read_merchant_managed_fulfillment_orders access scope, read_third_party_fulfillment_orders access scope, read_marketplace_fulfillment_orders access scope or read_buyer_membership_orders access scope).

Returns a paginated list of non-closed batches that can be filtered by fulfillment order attributes.

Anchor to Arguments

BatchConnection arguments

•BatchConnection
•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.

Anchor to fulfillmentOrderQueryfulfillmentOrderQuery
•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 assigned_location_id
•id
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to product_variant_id
•id

Filter fulfillment orders containing a line item for this product variant. Requires the read_products access scope.

Example:

  • product_variant_id:12345
•string
Anchor to updated_at
•time
•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
Anchor to assigned_to
•id

Filter batches where any step is assigned to this staff member.

Example:

  • assigned_to:12345
Anchor to created_at
•time

Filter by creation date and time.

Example:

  • created_at:>'2020-10-21T23:39:20Z'
  • created_at:<now
  • created_at:<='2024'
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to item_count
•integer

Filter batches by the number of items they contain.

Example:

  • item_count:0
  • item_count:>5
  • item_count:<=10
•string

Filter batches by name. Quoted values match the whole name, ignoring case. Unquoted values match substrings.

Example:

  • name:2026-04-15
  • name:"Morning picks"
•string

Filter batches by their status.

Valid values:

  • open
  • in_progress
  • closed

Example:

  • status:open
  • status:closed
  • status:in_progress
Anchor to updated_at
•time

Filter batches by their last update date and time. Dates without a timezone use the shop's timezone.

Example:

  • updated_at:>=2026-10-19
  • updated_at:<'2026-10-20T00:00:00Z'
•Boolean
Default:false

Reverse the order of the underlying list.

•BatchSortKeys
Default:CREATED_AT

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

Was this section helpful?

•[BatchEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

Show fields
•[Batch!]!
non-null

A list of nodes that are contained in BatchEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

Show fields
•PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.

Show fields

Was this section helpful?