---
title: "CheckoutLineItemsReplacePayload"
description: "CheckoutLineItemsReplacePayload"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-items-replace-payload'
  md: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-items-replace-payload.md'
---
# CheckoutLineItemsReplacePayload

CheckoutLineItemsReplacePayload

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

## Type Signature

`CheckoutLineItemsReplacePayload`

## Fields

* `checkout`

  [Checkout](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout.md)

  The updated checkout object.

* `checkoutUserErrors`

  [[CheckoutUserError!]!](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-user-error.md)

  The list of errors that occurred from executing the mutation.

## Schema Definition

```graphql
type CheckoutLineItemsReplacePayload { 
	checkout: Checkout
	checkoutUserErrors: [CheckoutUserError!]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/storefront-api/checkouts/mutations/checkout-line-items-replace.md).checkoutLineItemsReplace

  设置商品行列表到结账中

## Error Handling

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

