checkoutLinesUpdate Mutation
Updates checkout line in the existing checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])
checkoutLinesUpdate(checkoutId: ID, id: ID, lines: [CheckoutLineUpdateInput!]!, token: UUID): CheckoutLinesUpdate
Returns
Show return type
type CheckoutLinesUpdate {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [CheckoutError!]!
}Arguments
checkoutId
checkoutId · ID
The ID of the checkout.
id
id · ID
The checkout’s ID.
lines
lines · [CheckoutLineUpdateInput!]!
A list of checkout lines, each containing information about an item in the checkout.
token
token · UUID
Checkout token.
Schema: Saleor 3.23.43. Download SDL.