---
title: "DiscountCodeFreeShippingCreatePayload"
description: "Discount code free shipping create 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-code-free-shipping-create-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-code-free-shipping-create-payload.md'
---
# DiscountCodeFreeShippingCreatePayload

Discount code free shipping create payload

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

## Type Signature

`DiscountCodeFreeShippingCreatePayload`

## Fields

* `codeDiscountNode`

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

  The created code discount.

* `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 DiscountCodeFreeShippingCreatePayload { 
	codeDiscountNode: DiscountCodeNode
	userErrors: [DiscountUserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/mutations/discount-code-free-shipping-create.md).discountCodeFreeShippingCreate

  创建免运费折扣码

## 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).

