Add InventoryHistory query and InventoryTransfer search type

4/17/2026, 2:33:17 PM

The API now offers the new inventoryHistory query, which returns paginated groups of inventory adjustments. Exactly one of inventoryItemId or variantId must be supplied, optionally filtered by locationId, and the response adheres to standard GraphQL pagination arguments (first, last, before, after, reverse, sortKey). The sortKey can be either CREATED_AT or ID, as defined in the new AdjustmentGroupSortKeys enum. Pagination results are delivered through InventoryAdjustmentGroupConnection and its edges, exposing node details and cursor information. The InventoryAdjustmentGroupEdge type presents the individual adjustment group along with its cursor. Additionally, the SearchResultType enum is extended with the INVENTORY_TRANSFER value, allowing inventory transfer objects to appear in search queries.

Query Changes

βž• Added Queries (1)

inventoryHistory

A list of historical changes to inventory. Exactly one of inventoryItemId or variantId is required.

Type Changes

βž• Added Types (3)

πŸ“‹AdjustmentGroupSortKeysβž• AddedENUM

The set of valid sort keys for the AdjustmentGroup query.

Values: CREATED_AT, ID
πŸ—οΈInventoryAdjustmentGroupConnectionβž• AddedOBJECT

An auto-generated type for paginating through multiple InventoryAdjustmentGroups.

Fields: edges, nodes, pageInfo
πŸ—οΈInventoryAdjustmentGroupEdgeβž• AddedOBJECT

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

Fields: cursor, node

πŸ”„ Modified Types (1)

πŸ—οΈSearchResultTypeπŸ”„ Modified
βž• Enum value added: INVENTORY_TRANSFER