Skip to main content
Anchor to GiftCardSendNotificationToCustomerUserError

GiftCardSendNotificationToCustomerUserError

object

An error that occurs during the execution of GiftCardSendNotificationToCustomer.

•GiftCardSendNotificationToCustomerUserErrorCode

The error code.

Show enum values
•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•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?


Was this section helpful?