Tags:
- Action Required
- Admin GraphQL API
- 2025-10
Introducing the new context
field to specify discount eligibility
context
field to specify discount eligibilityAs of API version 2025-10, you can use context
to specify whether code or automatic discounts are eligible for all customers, specific customers, or customer segments.
Specifying customer eligibility is a new feature for automatic discounts. For code discounts, context
replaces , which is now marked as deprecated and will be removed in a future version.
API versions older than 2025-10 do not support customer eligibility for automatic discounts. Automatic discounts with customer or customer segment eligibility applied will be filtered out from queries prior to 2025-10.
Learn more about objects used in queries and mutations for discount context
.
Was this section helpful?