GiftCardBulkCreate
Create gift cards.
Added in Saleor 3.1Triggers 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
Returns how many objects were created.
GiftCardBulkCreate.giftCards
● [GiftCard!]!
non-null object
List of created gift cards.
GiftCardBulkCreate.errors
● [GiftCardError!]!
non-null object
Returned by
giftCardBulkCreate
mutation