checkoutLineItemsRemove - storefront - MUTATION
Version: 2024-04
Description:
Removes line items from an existing checkout.
Access Scopes
`unauthenticated_write_checkouts` access scope.
Arguments
-
checkoutId:
ID! -
The checkout on which to remove line items.
-
lineItemIds:
ID! -
Line item ids to remove.
The input must not contain more than `250` values.
Returns
-
checkout:
Checkout
The updated checkout object.
-
checkoutUserErrors:
CheckoutUserError!
The list of errors that occurred from executing the mutation.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples