Gift Card Send Notification To Customer User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (GiftCardSendNotificationToCustomerUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Gift
Card Send Notification To Customer User Error Code The error code.
Show enum values
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- 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!