Log in
Model

SetShippingAddressesOnCart

Magento\QuoteGraphQl\Model\Resolver\SetShippingAddressesOnCart

What it does

This GraphQL mutation resolver handles setting shipping addresses on a shopping cart.

Developers use this class when implementing the setShippingAddressesOnCart GraphQL mutation, which allows customers to add or update shipping addresses during the checkout process.

It validates the cart exists, checks if checkout is allowed, and delegates the actual address setting to a service class.

Public Methods

  • resolve()