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

Discount code free shipping update payload

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

## Type Signature

`DiscountCodeFreeShippingUpdatePayload`

## Fields

* `codeDiscountNode`

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

  The updated code discount.

* `userErrors`

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

  The list of errors that occurred from executing the mutation.

## Schema Definition

```graphql
type DiscountCodeFreeShippingUpdatePayload { 
	codeDiscountNode: DiscountCodeNode
	userErrors: [DiscountUserError!]! 
}
```

## Field from

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

  更新免运费折扣码

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

