Schema Documentation
deleteCoupon
Description
The deleteCoupon mutation
Response
Returns a DeleteCouponPayload
Arguments
Name | Description |
---|---|
input - DeleteCouponInput! | Input for the deleteCoupon mutation |
Example
Query
mutation deleteCoupon($input: DeleteCouponInput!){ deleteCoupon(input: $input){ clientMutationIdcodecoupon { ...CouponFragment } }}
Variables
{"input":DeleteCouponInput}
Response
{"data":{"deleteCoupon":{"clientMutationId":"abc123","code":"xyz789","coupon":Coupon}}}