checkoutLineItemsReplace - storefront - MUTATION
Version: 2024-04
Description:
Sets a list of line items to a checkout.
Access Scopes
`unauthenticated_write_checkouts` access scope.
Arguments
-
checkoutId:
ID! -
The ID of the checkout.
-
lineItems:
CheckoutLineItemInput! -
A list of line item objects to set on the checkout.
The input must not contain more than `250` values.
Returns
-
checkout:
Checkout
The updated checkout object.
-
userErrors:
CheckoutUserError!
The list of errors that occurred from executing the mutation.
Examples