validCoupon
The validCoupon query in Bunny's GraphQL API, with its arguments, return type and an example request.
Scope required:
For a complete list of possible response fields see the CouponValidate type.
query validCoupon ($couponCode: String!) {
validCoupon (couponCode: $couponCode) {
couponIsValid
}
}
ArgumentsLink to Arguments section
| Name | Type | Description |
|---|---|---|
| couponCode | String |