---
title: OrderCreateFromCheckoutError Object
seo:
  title: OrderCreateFromCheckoutError Object
  description: OrderCreateFromCheckoutError Object - no description
slug: api-reference/orders/objects/order-create-from-checkout-error
sidebar:
  label: OrderCreateFromCheckoutError
search:
  tags:
    - API reference
    - Orders
lastModified: '2026-04-13'
---

```graphql
type OrderCreateFromCheckoutError {
  field: String
  message: String
  code: OrderCreateFromCheckoutErrorCode!
  variants: [ID!]
  lines: [ID!]
  promoCodeDetails: PromoCodeRejectionDetails
}
```


## Fields

### field [#field]

**`field`** · [`String`](/api-reference/miscellaneous/scalars/string)

Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
### message [#message]

**`message`** · [`String`](/api-reference/miscellaneous/scalars/string)

The error message.
### code [#code]

**`code`** · [`OrderCreateFromCheckoutErrorCode!`](/api-reference/orders/enums/order-create-from-checkout-error-code)

The error code.
### variants [#variants]

**`variants`** · [`[ID!]`](/api-reference/miscellaneous/scalars/id)

List of variant IDs which causes the error.
### lines [#lines]

**`lines`** · [`[ID!]`](/api-reference/miscellaneous/scalars/id)

List of line Ids which cause the error.
### promoCodeDetails [#promo-code-details]

**`promoCodeDetails`** · [`PromoCodeRejectionDetails`](/api-reference/checkout/objects/promo-code-rejection-details)

Details of the promo code that caused the error. Null when the error is not a promo code rejection.

Added in Saleor 3.23

## Used by

- [OrderCreateFromCheckout (objects)](/api-reference/orders/objects/order-create-from-checkout)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
