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
DEPRECATEDThis 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
DEPRECATEDThis 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