Add ‘prevented’ Chargeback Filter Value & Inventory Bin Types

9/12/2026, 12:00:41 AM

Order queries (orders and ordersCount) now recognize a new chargeback status value, “prevented,” which you can filter on similarly to accepted, lost, etc. Three new types—InventoryBinItem, InventoryBinItemConnection, and InventoryBinItemEdge—have been added to represent inventory items stored in a location bin, together with an inventoryBinItems connection field on InventoryBin. A union type “MarketableResource” was introduced that can be a Collection, Product, or Shop, and a new MarketedResource object that exposes this resource, with connections and edges to retrieve marketing activity resources. MarketingEvent objects now expose a marketedResources connection for the resources a marketing activity advertises, and the enum MarketingActivityUserErrorCode gained the value MARKED_RESOURCES_NOT_SUPPORTED_FOR_STOREFRONT_APP. The orders query argument “query” descriptions were updated to include the new “prevented” filter value, and the same updates were applied to the ordersCount query. The default sortKey for orders on the shop, customer, and company types remains ID; no substantive changes beyond the additional filter and new types. Developers should update their queries if they want to retrieve inventory bin details or filter orders by the prevented chargeback status, and handle the new marketing resource types in response data.

Query Changes

🔄 Modified Queries (2)

orders

Returns a list of orders placed in the store, including data such as order status, customer, and line item details.
Use the orders query to build reports, analyze sales performance, or automate fulfillment workflows. The orders query supports pagination,
sorting, and filtering.

~ Modified argument: query
ordersCount

Returns the number of orders in the shop. You can filter orders using search syntax or a SavedSearch, and set a maximum count limit to control query performance.

Use the query argument to filter the count by criteria like order status, financial state, or fulfillment status. The response includes both the count value and its precision, indicating whether the count is exact or an estimate.

Note:
The count is limited to 10,000 orders by default. Use the limit argument to adjust this value, or pass null for no limit. Limited to a maximum of 10000 by default.

~ Modified argument: query

Type Changes

➕ Added Types (7)

🏗️InventoryBinItem➕ AddedOBJECT

The quantity of an inventory item stored in a bin.

Note:
This object is available only in the unstable API version and to development stores
that have enabled the Physical inventory feature preview.

Fields: inventoryBin, inventoryItem, quantity
🏗️InventoryBinItemConnection➕ AddedOBJECT

An auto-generated type for paginating through multiple InventoryBinItems.

Fields: edges, nodes, pageInfo
🏗️InventoryBinItemEdge➕ AddedOBJECT

An auto-generated type which holds one InventoryBinItem and a cursor during pagination.

Fields: cursor, node
🔀MarketableResource➕ AddedUNION

A resource that a marketing activity can advertise.

🏗️MarketedResource➕ AddedOBJECT

A link between a marketing activity and a resource it advertises.

Fields: resource
🏗️MarketedResourceConnection➕ AddedOBJECT

An auto-generated type for paginating through multiple MarketedResources.

Fields: edges, nodes, pageInfo
🏗️MarketedResourceEdge➕ AddedOBJECT

An auto-generated type which holds one MarketedResource and a cursor during pagination.

Fields: cursor, node

🔄 Modified Types (6)

🏗️Company🔄 Modified
🔄 Field modified: orders
🏗️Customer🔄 Modified
🔄 Field modified: orders
🏗️InventoryBin🔄 Modified
Field added: inventoryBinItems

A paginated list of the inventory items stored in this bin and their quantities.

🏗️MarketingActivityUserErrorCode🔄 Modified
Enum value added: MARKETED_RESOURCES_NOT_SUPPORTED_FOR_STOREFRONT_APP
🏗️MarketingEvent🔄 Modified
Field added: marketedResources

The resources that this marketing activity advertises, in the order they were added.

🏗️Shop🔄 Modified
🔄 Field modified: orders