Skip to main content

GiftCardBulkCreate Object

Create gift cards.

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

Fields

GiftCardBulkCreate.count ● Int! non-null scalar miscellaneous

Returns how many objects were created.

GiftCardBulkCreate.giftCards ● [GiftCard!]! non-null object gift-cards

List of created gift cards.

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

Returned By

giftCardBulkCreate mutation