CheckoutCreate Object
Create a new checkout.
skipValidation field requires HANDLE_CHECKOUTS and AUTHENTICATED_APP permissions.
Triggers the following webhook events:
- CHECKOUT_CREATED (async): A checkout was created.
Applied directives
@webhookEventsInfo(asyncEvents: [CHECKOUT_CREATED], syncEvents: [])
type CheckoutCreate {
created: Boolean @deprecated(reason: "Always returns `true`.")
checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [CheckoutError!]!
checkout: Checkout
}
Fields
created
created · Boolean
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.
checkoutErrors
checkoutErrors · [CheckoutError!]!
errors
errors · [CheckoutError!]!
checkout
checkout · Checkout
Used by
Schema: Saleor 3.23.43. Download SDL.