Log in
Model

GetCustomerAddress

Magento\CustomerGraphQl\Model\Customer\Address\GetCustomerAddress

What it does

This class retrieves a customer address by ID while ensuring the address belongs to the specified customer.

Developers use this in GraphQL resolvers to fetch and validate customer address data, preventing unauthorized access to addresses that don't belong to the current customer.

Public Methods

  • execute()