---
title: "DiscountRedeemCodeBulkAddPayload"
description: "Discount redeem code bulk add payload"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-redeem-code-bulk-add-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-redeem-code-bulk-add-payload.md'
---
# DiscountRedeemCodeBulkAddPayload

Discount redeem code bulk add payload

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`DiscountRedeemCodeBulkAddPayload`

## Fields

* `bulkCreation`

  [DiscountRedeemCodeBulkCreation](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-redeem-code-bulk-creation.md)

  The ID of the discount redeem code bulk creation operation

* `userErrors`

  [[DiscountUserError!]!](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-user-error.md)

  A list of mistakes that happen during mutation execution.

## Schema Definition

```graphql
type DiscountRedeemCodeBulkAddPayload { 
	bulkCreation: DiscountRedeemCodeBulkCreation
	userErrors: [DiscountUserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/mutations/discount-redeem-code-bulk-add.md).discountRedeemCodeBulkAdd

  异步批量添加折扣兑换代码，指定要添加的代码以及代码所属的折扣代码 ID。

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

