Model
DeleteCustomerAddress
Magento\CustomerGraphQl\Model\Customer\Address\DeleteCustomerAddress
What it does
This model handles the deletion of customer addresses through GraphQL API requests.
It validates that the address being deleted is not set as a default billing or shipping address before proceeding with deletion.
Developers use this class when implementing GraphQL mutations that need to remove customer addresses while ensuring business rule compliance.
Public Methods
- execute()