---
title: Updated contextualPricing to be nullable - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/updated-contextualpricing-to-be-nullable'
  md: 'https://shopify.dev/changelog/updated-contextualpricing-to-be-nullable.md'
metadata:
  effectiveApiVersion: 2022-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2022-03-16T12:16:11-04:00'
  postedAt: '2022-07-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:33-05:00'
  effectiveAt: '2022-07-01T00:00:00-04:00'
---

July 1, 2022

Tags:

* API
* 2022-04

# Updated contextualPricing to be nullable

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](https://shopify.dev/api/admin-graphql/2022-01/queries/productVariant#examples-Get_the_price_for_a_product_variant_for_buyers_from_Canada)
