---
title: VoucherCodeBulkDeleteError Object
seo:
  title: VoucherCodeBulkDeleteError Object
  description: VoucherCodeBulkDeleteError Object - no description
slug: api-reference/discounts/objects/voucher-code-bulk-delete-error
sidebar:
  label: VoucherCodeBulkDeleteError
search:
  tags:
    - API reference
    - Discounts
lastModified: '2026-04-13'
---

```graphql
type VoucherCodeBulkDeleteError {
  path: String
  message: String
  code: VoucherCodeBulkDeleteErrorCode!
  voucherCodes: [ID!]
}
```


## Fields

### path [#path]

**`path`** · [`String`](/api-reference/miscellaneous/scalars/string)

Path to field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
### message [#message]

**`message`** · [`String`](/api-reference/miscellaneous/scalars/string)

The error message.
### code [#code]

**`code`** · [`VoucherCodeBulkDeleteErrorCode!`](/api-reference/discounts/enums/voucher-code-bulk-delete-error-code)

The error code.
### voucherCodes [#voucher-codes]

**`voucherCodes`** · [`[ID!]`](/api-reference/miscellaneous/scalars/id)

List of voucher codes which causes the error.

## Used by

- [VoucherCodeBulkDelete (objects)](/api-reference/discounts/objects/voucher-code-bulk-delete)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
