# checkoutDiscountCodeRemove - storefront - MUTATION Version: 2024-04 ## Description Removes the applied discounts from an existing checkout. ### Access Scopes `unauthenticated_write_checkouts` access scope. ## Arguments * [checkoutId](/docs/api/storefront/2024-04/scalars/ID): ID! - The ID of the checkout. ## Returns * [checkout](/docs/api/storefront/2024-04/objects/Checkout): Checkout The updated checkout object. * [checkoutUserErrors](/docs/api/storefront/2024-04/objects/CheckoutUserError): CheckoutUserError! The list of errors that occurred from executing the mutation. * [userErrors](/docs/api/storefront/2024-04/objects/UserError): UserError! The list of errors that occurred from executing the mutation. ## Examples