Skip to main content
Version: 3.x

GiftCardBulkDeactivate

Deactivate 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 GiftCardBulkDeactivate {
count: Int!
errors: [GiftCardError!]!
}

Fields

GiftCardBulkDeactivate.count ● Int! non-null scalar

Returns how many objects were affected.

GiftCardBulkDeactivate.errors ● [GiftCardError!]! non-null object

Returned by

giftCardBulkDeactivate mutation