Anchor to section titled 'undefined'

giftCardSendNotificationToRecipient
mutation

Requires write_gift_cards access scope.

Send notification to the recipient of a gift card.


Anchor to id
id
required

The ID of the gift card to send.


Was this section helpful?

The gift card that was sent.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation giftCardSendNotificationToRecipient($id: ID!) {
  giftCardSendNotificationToRecipient(id: $id) {
    giftCard {
      # GiftCard fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "id": "gid://shopify/<objectName>/10079785100"
}