Skip to main content
Version: 3.x

GiftCardBulkCreate

Create gift cards.

Added in Saleor 3.1.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

Requires one of the following permissions: MANAGE_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!]!)