Skip to main content

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.
giftCardBulkDeactivate(
ids: [ID!]!
): GiftCardBulkDeactivate

Arguments

giftCardBulkDeactivate.ids ● [ID!]! non-null scalar miscellaneous

List of gift card IDs to deactivate.

Type

GiftCardBulkDeactivate object gift-cards

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.