Graphql fields and variables for the coupon query
Last updated 1 year ago
Was this helpful?
The coupon record that can be applied to a subscription
Scope required: product:read
For a complete list of possible response fields see the type.
query coupon ($id: ID, $code: String) { coupon (id: $id, code: $code) { active couponCode createdAt currencyId description discountAmount discountPercentage id name planId redemptionEndDate redemptionsCount redemptionsMax updatedAt } }
id
ID
ID or Code required
code
String