---
title: >-
  Contextual pricing for company locations is now available for products in the
  GraphQL Admin API - 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/contextual-pricing-for-company-locations-is-now-available-for-products-in-the-graphql-admin-api
  md: >-
    https://shopify.dev/changelog/contextual-pricing-for-company-locations-is-now-available-for-products-in-the-graphql-admin-api.md
metadata:
  effectiveApiVersion: 2022-10
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2022-09-21T16:19:32-04:00'
  postedAt: '2022-10-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:35-05:00'
  effectiveAt: '2022-10-01T00:00:00-04:00'
---

October 1, 2022

Tags:

* API
* 2022-10

# Contextual pricing for company locations is now available for products in the GraphQL Admin API

As of the `2022-10` version of the Admin GraphQL API, you can use the `contextualPricing` field on [Product](https://shopify.dev/api/admin-graphql/2022-10/objects/Product) and [ProductVariant](https://shopify.dev/api/admin-graphql/2022-10/objects/ProductVariant) to fetch prices for a [CompanyLocation](https://shopify.dev/api/admin-graphql/2022-10/objects/CompanyLocation) by passing a `companyLocationId` argument to the `context` input.

Learn more about the Contextual Pricing API on [Shopify.dev](http://shopify.dev/).
