Back to Developer changelog

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

API

Effective October 01, 2022

As of the 2022-10 version of the Admin GraphQL API, you can use the contextualPricing field on Product and ProductVariant to fetch prices for a CompanyLocation by passing a companyLocationId argument to the context input.

Learn more about the Contextual Pricing API on Shopify.dev.