Skip to main content
Anchor to GiftCardSendNotificationToCustomerPayload

GiftCardSendNotificationToCustomerPayload

payload

Return type for giftCardSendNotificationToCustomer mutation.

•GiftCard

The gift card that was sent.

Show fields
•[GiftCardSendNotificationToCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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

Arguments

•ID!
required

The ID of the gift card to send.



Was this section helpful?