4/25/2026, 12:00:49 AM
Shopify now exposes a new query called customerBehaviorTrackingPreference that returns the merchant’s chosen data sharing level via the CustomerBehaviorTrackingPreference type. The new enum CustomerDataSharingLevel introduces four levels – DISABLED, CONSERVATIVE, ENHANCED, and MAXIMUM – which are used by the aforementioned query. The InventoryTransfer type received two field updates: lineItems and lineItemsCount now support an optional inventoryItemIds filter (a list of IDs) in addition to the existing pagination parameters. An additional enum value, PROCESSING_FAILED, has been added to BillingAttemptUserErrorCode to represent payment processing errors. A new webhook topic, CUSTOMER_BEHAVIOR_TRACKING_PREFERENCES_UPDATE, was added so apps can react to changes in sharing preferences. Together, these changes enable developers to query and monitor customer behavior tracking settings and filter inventory transfer line items more precisely.
Returns the configured customer behavior tracking preference.
The data sharing preferences set by the merchant.
The data sharing level set by the merchant.
PROCESSING_FAILEDlineItemslineItemsCountCUSTOMER_BEHAVIOR_TRACKING_PREFERENCES_UPDATE