Skip to main content

giftCardAddNote Mutation

Adds note to the gift card.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_UPDATED (async): A gift card was updated.
giftCardAddNote(
id: ID!
input: GiftCardAddNoteInput!
): GiftCardAddNote
Details
type GiftCardAddNote {
giftCard: GiftCard
event: GiftCardEvent
errors: [GiftCardError!]!
}

Arguments​

id ● ID!​

ID of the gift card to add a note for.

input ● GiftCardAddNoteInput!​

Fields required to create a note for the gift card.

Type​

GiftCardAddNote​

Adds note to the gift card.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_UPDATED (async): A gift card was updated.