Customer Account API2025-07
Customer Account API now includes subscription discount data
The Customer Account API now includes a discounts connection on customer subscription contracts, mirroring functionality that already exists in the Admin API.
What's new:
- Query subscription discount details directly from the Customer Account API.
- Access discount types, values, and line-item allocations through the discounts field returned by the
query.
- No changes to existing Admin API functionality.
How to use it:
You can now examine subscription discounts in customer storefronts using the discounts
field on subscription contracts. This returns the same discount information available through the Admin API, including:
- Discount amounts and percentages
- Which subscription lines the discounts apply to
- Discount allocation details
This enhancement enables the creation of more comprehensive subscription management experiences, allowing customers to see precisely how discounts affect their subscription pricing.
Learn more
Was this section helpful?