CheckoutLinesAdd Object
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 checkout
An updated checkout.
CheckoutLinesAdd.checkoutErrors
● [CheckoutError!]!
deprecated non-null object checkout
DEPRECATED
This field will be removed in Saleor 4.0. Use errors
field instead.
CheckoutLinesAdd.errors
● [CheckoutError!]!
non-null object checkout
Returned By
checkoutLinesAdd
mutation