Skip to main content
Version: Canary 🚧

GiftCardBulkDeactivate

Deactivate gift cards.

Added in Saleor 3.1
Requires MANAGE_GIFT_CARDpermission.

Triggers the following webhook events:

  • GIFT_CARD_STATUS_CHANGED (async): A gift card was deactivated.
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


Was this page helpful?