Log in
Model

GetShippingAddress

Magento\QuoteGraphQl\Model\Cart\GetShippingAddress

What it does

This class handles the creation and validation of shipping addresses for GraphQL cart operations.

Developers use it when processing GraphQL mutations that set shipping addresses on quotes, supporting both new address input and existing customer address references.

It validates that only one address method is provided and enforces customer authorization when using saved addresses.

Public Methods

  • execute()