Skip to main content

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.
type GiftCardCreate {
giftCardErrors: [GiftCardError!]! @deprecated
errors: [GiftCardError!]!
giftCard: GiftCard
}

Fields

GiftCardCreate.giftCardErrors ● [GiftCardError!]! deprecated non-null object gift-cards

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

GiftCardCreate.errors ● [GiftCardError!]! non-null object gift-cards

GiftCardCreate.giftCard ● GiftCard object gift-cards

Returned By

giftCardCreate mutation