InventoryShipments Query, Publication Flags, and Consent Mutation Clarification

3/11/2026, 12:00:57 AM

You can now query InventoryShipment objects with pagination and filter by barcode, status, or destination. The query accepts a new sort key enum (ID, STATUS) and a flexible search string syntax. InventoryShipment create and barcode set error enums now include BARCODE_TOO_LONG to better surface over‑long barcodes. The Publication type received three new required boolean fields—supportsPreOrders, supportsSubscriptions, and supportsTryBeforeYouBuy—so that channel capabilities can be programmatically inspected. ShopifyPaymentsTransactionType gained two new B2B domestic taxes adjustment credit enums for managed markets. The customerEmailMarketingConsentUpdate mutation’s description was updated to note that only SUBSCRIBED, UNSUBSCRIBED, or PENDING values may be set, with NOT_SUBSCRIBED, REDACTED, and INVALID remaining read‑only.

Query Changes

➕ Added Queries (1)

inventoryShipments

Returns a paginated list of InventoryShipment objects.

Supports filtering by barcode (e.g. barcode:"12345"), status (e.g. status:"draft" or status:"in_transit"), and destination (e.g. destination_id:12345).

Mutation Changes

🔄 Modified Mutations (1)

customerEmailMarketingConsentUpdate

Updates a Customer's email marketing consent information. The customer must have an email address to update their consent. Records the marketing state (such as subscribed, pending, unsubscribed), opt-in level, and when and where the customer gave or withdrew consent.

Only three values are accepted as input: SUBSCRIBED, UNSUBSCRIBED, and PENDING.
NOT_SUBSCRIBED, REDACTED, and INVALID cannot be set via this mutation; they are
read-only or internally-set states.

Type Changes

➕ Added Types (1)

📋InventoryShipmentSortKeys➕ AddedENUM

The set of valid sort keys for the InventoryShipment query.

Values: ID, STATUS

🔄 Modified Types (4)

🏗️InventoryShipmentCreateUserErrorCode🔄 Modified
Enum value added: BARCODE_TOO_LONG
🏗️InventoryShipmentSetBarcodeUserErrorCode🔄 Modified
Enum value added: BARCODE_TOO_LONG
🏗️Publication🔄 Modified
Field added: supportsPreOrders

Whether the channel for this publication supports pre-orders.

Field added: supportsSubscriptions

Whether the channel for this publication supports subscriptions.

Field added: supportsTryBeforeYouBuy

Whether the channel for this publication supports try-before-you-buy.

🏗️ShopifyPaymentsTransactionType🔄 Modified
Enum value added: MANAGED_MARKETS_B2B_DOMESTIC_TAXES_ADJUSTMENT_CREDIT
Enum value added: MANAGED_MARKETS_B2B_DOMESTIC_TAXES_ADJUSTMENT_CREDIT_REVERSAL