Skip to main content
Version: 3.x

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

Fields required to create a gift card.

Type

GiftCardCreate object

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.

Was this page helpful?