Tags:
- Admin Extensions
- 2026-04
New purchaseType and recurringCycleLimit fields in the discounts API for discount UI extensions
You can now configure and for app discounts directly from discount UI extensions using the discounts plugin.
Previously, these fields were only accessible through the GraphQL Admin API. App developers building discount UI extensions had no way to let merchants control whether a discount applies to one-time purchases, subscriptions, or both, or how many subscription billing cycles a discount should apply to.
The following fields are now available through the discounts plugin:
: control whether the discount applies to one-time purchases, subscriptions, or both: set the number of billing cycles a subscription discount applies to (such as, a value of 4 applies the discount on the first 4 orders, then stops). A value of 0 means unlimited.
These fields work with both and discount types, and the values are enforced by purchase type filtering at checkout.
No action is required. To start using these fields, update your discount UI extension to include them in your discounts plugin configuration.
For more details, see the API documentation for .