Skip to main content

giftCardCreate

Creates a new gift card.

Requires 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

Arguments

giftCardCreate.input ● GiftCardCreateInput! non-null input gift-cards

Fields required to create a gift card.

Type

GiftCardCreate object gift-cards

Creates a new gift card.

Requires 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.