Skip to main content
Version: 3.x

CheckoutLinesAdd

Adds a checkout line to the existing checkout.If line was already in checkout, its quantity will be increased.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.
type CheckoutLinesAdd {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}

Fields

CheckoutLinesAdd.checkout ● Checkout object

An updated checkout.

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

DEPRECATED

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

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

Returned by

checkoutLinesAdd mutation


Was this page helpful?