Anchor to GiftCardCreatePayloadGift
payloadGift Card Create Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to giftCardgift•Gift
Card Card The created gift card.
- Anchor to giftCardCodegift•String
Card Code The created gift card's code.
- Anchor to userErrorsuser•[Gift
Errors Card User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
Creates a new
with a specified initial value. You can assign the gift card to aCustomeror create it without assignment for manual distribution.You can customize the gift card with an optional code, expiration date, and internal note. If you don't provide a code, the system generates a random 16 character alphanumeric code. The mutation also supports scheduling gift card notifications to recipients, with a personalized message, through the
field on theinput object.- Anchor to inputinput•Gift
Card Create Input! required The input fields to create a gift card.
Arguments
Was this section helpful?