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

# voucherCreate Mutation

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
voucherCreate(
  input: VoucherInput!
): VoucherCreate
```

Details

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

<a id="arguments"></a>

### Arguments

<a id="input"></a>

#### [`input`](#input) ● [`VoucherInput!`](/api-reference/discounts/inputs/voucher-input.md)

Fields required to create a voucher.

<a id="type"></a>

### Type

<a id="vouchercreate"></a>

#### [`VoucherCreate`](/api-reference/discounts/objects/voucher-create.md)

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.
