Gift Card Send Notification To Customer Payload
Return type for mutation.
Anchor to FieldsFields
- giftCard (GiftCard)
- userErrors ([GiftCardSendNotificationToCustomerUserError!]!)
- Anchor to giftCardgift•Gift
Card Card The gift card that was sent.
Show fields
- Anchor to userErrorsuser•[Gift
Errors Card Send Notification To Customer User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Anchor to Mutations with this payloadMutations with this payload
- giftCardSendNotificationToCustomer (GiftCardSendNotificationToCustomerPayload)
- •mutation
Sends a gift card notification. If the gift card has a designated recipient, a purchase confirmation is sent instead. Both default email templates include the gift card code.
By default, gift card notifications use the linked order's contact details, with the assigned customer's details as a fallback. Purchase confirmations use the assigned customer's contact details.
The gift card must have an assigned customer with an email address or phone number. Returns an error without sending if the selected contact source has no contact information. When both an email address and a phone number are available, the notification is sent by email.
Show payload
- •ID!required
The ID of the gift card to send.
Arguments
- •ID!