Schema Documentation

CreateCouponPayload

Description

The payload for the createCoupon mutation.

Fields
Field NameDescription
clientMutationId - String If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions.
code - String
coupon - Coupon
Example
{"clientMutationId":"xyz789","code":"xyz789","coupon":Coupon}