> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/discounts/llms.txt)
> Source: https://docs.saleor.io/api-reference/discounts/objects/voucher-create

# VoucherCreate Object

Creates a new voucher.

Requires the MANAGE\_DISCOUNTS permission.

Triggers the following webhook events:

-   VOUCHER\_CREATED (async): A voucher was created.
-   VOUCHER\_CODES\_CREATED (async): A voucher codes were created.

```graphql
type VoucherCreate {
  discountErrors: [DiscountError!]! @deprecated
  errors: [DiscountError!]!
  voucher: Voucher
}
```

<a id="fields"></a>

### Fields

<a id="errors"></a>

#### [`errors`](#errors) ● [`[DiscountError!]!`](/api-reference/discounts/objects/discount-error.md)

<a id="voucher"></a>

#### [`voucher`](#voucher) ● [`Voucher`](/api-reference/discounts/objects/voucher.md)

Show deprecatedHide deprecated

<a id="discount-errors"></a>

#### [`discountErrors`](#discount-errors) ● [`[DiscountError!]!`](/api-reference/discounts/objects/discount-error.md)

DEPRECATED

Use `errors` field instead.

<a id="returned-by"></a>

### Returned By

[`voucherCreate`](/api-reference/discounts/mutations/voucher-create.md) mutation
