---
title: "CheckoutErrorCode"
description: "CheckoutErrorCode"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/enums/checkout-error-code'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/enums/checkout-error-code.md'
---
# CheckoutErrorCode

CheckoutErrorCode

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

## Type Signature

`CheckoutErrorCode`

## Values

* `PARAM_ILLEGAL`

  参数非法

* `INVALID`

  无效

## Schema Definition

```graphql
enum CheckoutErrorCode { 
	PARAM_ILLEGAL 
	INVALID  
}
```

## Field from

* [CheckoutUserError](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/objects/checkout-user-error.md).code

  错误码

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

