checkoutDiscountCodeRemove - storefront - MUTATION
Version: 2024-04
Description:
Removes the applied discounts from an existing checkout.
Access Scopes
`unauthenticated_write_checkouts` access scope.
Arguments
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