Skip to main content
Version: 3.x

CheckoutCreate

Create a new checkout.

Triggers the following webhook events:

  • CHECKOUT_CREATED (async): A checkout was created.
type CheckoutCreate {
created: Boolean @deprecated
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
checkout: Checkout
}

Fields

CheckoutCreate.created ● Boolean deprecated scalar

DEPRECATED

This field will be removed in Saleor 4.0. Always returns true.

Whether the checkout was created or the current active one was returned. Refer to checkoutLinesAdd and checkoutLinesUpdate to merge a cart with an active checkout.

CheckoutCreate.checkoutErrors ● [CheckoutError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CheckoutCreate.errors ● [CheckoutError!]! non-null object

CheckoutCreate.checkout ● Checkout object

Returned by

checkoutCreate mutation


Was this page helpful?