Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Updated contextualPricing to be nullable

API

In the 2022-04 API version release, the Product.contextualPricing and ProductVariant.contextualPricing fields can now return null.

This is in preparation for future argument changes. With the current arguments, there is no case where these fields can return null. However, future arguments will introduce null cases.

Learn more about contextualPricing