Skip to main content

GiftCardBulkCreate Object

Creates gift cards.

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.
type GiftCardBulkCreate {
count: Int!
giftCards: [GiftCard!]!
errors: [GiftCardError!]!
}

Fields

count ● Int!

Returns how many objects were created.

giftCards ● [GiftCard!]!

List of created gift cards.

errors ● [GiftCardError!]!

Returned By

giftCardBulkCreate mutation