<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw" -->

---
title: New Pricing audit trail for contextual product variant...
description: Shopify's GraphQL Admin API version 2026-10 adds an auditTrail field to ProductVariantContextualPricing, letting apps inspect the ordered price adjustments...
canonical: https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: New Pricing audit trail for contextual product variant prices | daily.dev
og:description: Shopify's GraphQL Admin API version 2026-10 adds an auditTrail field to ProductVariantContextualPricing, letting apps inspect the ordered price adjustments...
og:url: https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw
og:image: https://api.daily.dev/og/posts/DFLXmVVfW.png
og:image:alt: New Pricing audit trail for contextual product variant prices
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# New Pricing audit trail for contextual product variant prices

**[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)** · 2 min read · 0 upvotes · 0 comments

## Summary

Shopify's GraphQL Admin API version 2026-10 adds an auditTrail field to ProductVariantContextualPricing, letting apps inspect the ordered price adjustments (addition, multiplication, replacement) that produced a contextual variant price. It requires the appropriate access scope, covers only product variant contextual pricing (not order or draft order line items), and returns an empty list rather than a partial result when a complete audit trail cannot be produced. Existing apps are unaffected unless they opt in to query the new field.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shopify.dev/changelog/pricing-audit-trail-for-contextual-product-variant-prices>

## Questions this post answers

### How do I inspect how Shopify calculated a contextual product variant price via the GraphQL Admin API?

Query the new auditTrail field on ProductVariantContextualPricing, available starting in Admin API version 2026-10. It returns a PricingAuditTrail object whose priceAdjustments list shows each adjustment in the order Shopify applied it, including its type (ADDITION, MULTIPLICATION, or REPLACEMENT), the value used, the resulting price, and a localized label for display only.

_Teams wiring up ERP or B2B pricing integrations can track API changes like this through daily.dev._

### What access scope is required to query the ProductVariantContextualPricing auditTrail field in Shopify's Admin API?

An app needs the read_product_listings-equivalent contextual pricing access scope (the scope that gates ProductVariantContextualPricing) and must use GraphQL Admin API version 2026-10 or later; apps on earlier API versions cannot query the field. Existing apps are unaffected unless they explicitly add this field to their queries.

_Developers tracking Shopify Admin API scope requirements can follow updates like this on daily.dev._

### What happens if Shopify cannot return a complete pricing audit trail for a contextual variant price?

The priceAdjustments field returns an empty list rather than a partial or incomplete result. This first release only covers product variant contextual pricing and does not include audit trails for order line items or draft order line items, and the trail explains the calculation without identifying which market, catalog, or price list was selected.

_Anyone debugging contextual pricing edge cases can keep tabs on Shopify API nuances via daily.dev._

## Similar posts on daily.dev

- [Catalog API now returns compare-at prices as list\_price](https://daily.dev/posts/catalog-api-now-returns-compare-at-prices-as-list-price-8mqufn7h2) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Create channel markets with the GraphQL Admin API](https://daily.dev/posts/create-channel-markets-with-the-graphql-admin-api-sc4n4mevi) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Add selling plans to draft order line items with the Admin GraphQL API](https://daily.dev/posts/add-selling-plans-to-draft-order-line-items-with-the-admin-graphql-api-5jz3twwpu) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Searchable audit trail, AI assistant in Slack, and tool visibility](https://daily.dev/posts/searchable-audit-trail-ai-assistant-in-slack-and-tool-visibility-utk13m8m8) · Last9 · 1 upvotes · 0 comments
- [Publish and unpublish product variants independently from product](https://daily.dev/posts/publish-and-unpublish-product-variants-independently-from-product-drsvyfx6o) · Shopify Developer changelog · 1 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#ecommerce](https://daily.dev/tags/ecommerce), [#graphql](https://daily.dev/tags/graphql), [#shopify](https://daily.dev/tags/shopify)

[View this post on daily.dev](https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"New Pricing audit trail for contextual product variant prices","url":"https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw"},"datePublished":"2026-09-17T16:04:05.066Z","dateModified":"2026-10-29T02:14:09.172Z","description":"Shopify's GraphQL Admin API version 2026-10 adds an auditTrail field to ProductVariantContextualPricing, letting apps inspect the ordered price adjustments...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shopify Developer changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shopify Developer changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3","url":"https://daily.dev/sources/shopifychangelog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,ecommerce,graphql,shopify","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shopify Developer changelog","item":"https://daily.dev/sources/shopifychangelog"},{"@type":"ListItem","position":3,"name":"New Pricing audit trail for contextual product variant prices"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/new-pricing-audit-trail-for-contextual-product-variant-prices-dflxmvvfw#faq","mainEntity":[{"@type":"Question","name":"How do I inspect how Shopify calculated a contextual product variant price via the GraphQL Admin API?","acceptedAnswer":{"@type":"Answer","text":"Query the new auditTrail field on ProductVariantContextualPricing, available starting in Admin API version 2026-10. It returns a PricingAuditTrail object whose priceAdjustments list shows each adjustment in the order Shopify applied it, including its type (ADDITION, MULTIPLICATION, or REPLACEMENT), the value used, the resulting price, and a localized label for display only. Teams wiring up ERP or B2B pricing integrations can track API changes like this through daily.dev."}},{"@type":"Question","name":"What access scope is required to query the ProductVariantContextualPricing auditTrail field in Shopify's Admin API?","acceptedAnswer":{"@type":"Answer","text":"An app needs the read_product_listings-equivalent contextual pricing access scope (the scope that gates ProductVariantContextualPricing) and must use GraphQL Admin API version 2026-10 or later; apps on earlier API versions cannot query the field. Existing apps are unaffected unless they explicitly add this field to their queries. Developers tracking Shopify Admin API scope requirements can follow updates like this on daily.dev."}},{"@type":"Question","name":"What happens if Shopify cannot return a complete pricing audit trail for a contextual variant price?","acceptedAnswer":{"@type":"Answer","text":"The priceAdjustments field returns an empty list rather than a partial or incomplete result. This first release only covers product variant contextual pricing and does not include audit trails for order line items or draft order line items, and the trail explains the calculation without identifying which market, catalog, or price list was selected. Anyone debugging contextual pricing edge cases can keep tabs on Shopify API nuances via daily.dev."}}]}
```

