Skip to main content

giftCardCreate Mutation

Creates a new gift card.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_CREATED (async): A gift card was created.
  • NOTIFY_USER (async): A notification for created gift card.
giftCardCreate(
input: GiftCardCreateInput!
): GiftCardCreate
Show return type

Arguments

input ● GiftCardCreateInput!

Fields required to create a gift card.

Type

GiftCardCreate

Creates a new gift card.

Requires the MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_CREATED (async): A gift card was created.
  • NOTIFY_USER (async): A notification for created gift card.