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

CheckoutCreatePayload

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

## Type Signature

`CheckoutCreatePayload`

## Fields

* `checkout`

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

  The new 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.

* `code`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  result code

* `message`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Custom message or corresponding result code message data CheckoutCreateResponse No

## Schema Definition

```graphql
type CheckoutCreatePayload { 
	checkout: Checkout
	checkoutUserErrors: [CheckoutUserError!]
	code: String
	message: String 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/storefront-api/checkouts/mutations/checkout-create.md).checkoutCreate

  创建新的结账

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

