Log in
Model

RemoveCouponFromCart

Magento\QuoteGraphQl\Model\Resolver\RemoveCouponFromCart

What it does

This resolver handles GraphQL mutations for removing coupon codes from shopping carts.

Developers use this class when implementing GraphQL endpoints that allow customers to remove applied discount coupons from their cart, validating the cart ID and user permissions before delegating to Magento's coupon management service.

Public Methods

  • resolve()