Concrete Integer Metafield Condition for Collections, New Error Codes

8/5/2026, 12:00:46 AM

The schema introduces a new integer metafield condition type (CollectionSourceInclusionConditionMetafieldInt) and related input objects that replace the deprecated CollectionSourceInclusionConditionMetafieldInteger. The new type uses a string‑based value field and a specialized relation enum (CollectionSourceInclusionConditionMetafieldIntRelation) to support values larger than GraphQL’s 32‑bit Int and is fully de‑deprecated in the old type. Developers should migrate any collection metafield conditions to the new Int type immediately. Additionally, several error code enums have been updated: ShippingLabelPurchaseUserErrorCode now includes ACCESS_DENIED, DeliveryCustomizationErrorCode gains MAXIMUM_DELIVERY_CUSTOMIZATIONS, and InventoryCountCreateUserErrorCode adds INVALID_TITLE. The MetaobjectAdminAccess enum has removed PRIVATE and PUBLIC_READ values, so those access levels are no longer available. Inventory shipment and transfer fields have had their descriptions updated to mention canceled items, but their types and behavior remain unchanged. No query, mutation, or directive changes were made beyond these type and enum updates.

Type Changes

➕ Added Types (4)

🏗️CollectionSourceInclusionConditionMetafieldInt➕ AddedOBJECT

A condition based on integer metafield values for including products in a collection.

Fields: definition, id, relation, value
📥CollectionSourceInclusionConditionMetafieldIntInput➕ AddedINPUT_OBJECT

The input fields for a condition based on integer metafield values.

📋CollectionSourceInclusionConditionMetafieldIntRelation➕ AddedENUM

The relation for comparing integer metafield values.

Values: EQUALS, GREATER_THAN, LESS_THAN
📥CollectionSourceInclusionConditionUpdateMetafieldIntInput➕ AddedINPUT_OBJECT

The input fields for updating a condition based on integer metafield values.

🔄 Modified Types (8)

🏗️CollectionSourceInclusionConditionMetafieldInteger🔄 Modified
🔄 Field modified: relation
🔄 Field modified: value
🏗️DeliveryCustomizationErrorCode🔄 Modified
Enum value added: MAXIMUM_DELIVERY_CUSTOMIZATIONS
🏗️InventoryCountCreateUserErrorCode🔄 Modified
Enum value added: INVALID_TITLE
🏗️InventoryShipment🔄 Modified
🔄 Field modified: totalReceivedQuantity
🏗️InventoryShipmentLineItem🔄 Modified
🔄 Field modified: unreceivedQuantity
🏗️InventoryTransfer🔄 Modified
🔄 Field modified: receivedQuantity
🏗️MetaobjectAdminAccess🔄 Modified
Enum value removed: PRIVATE
Enum value removed: PUBLIC_READ
🏗️ShippingLabelPurchaseUserErrorCode🔄 Modified
Enum value added: ACCESS_DENIED