Log in
Repository

AddressRepositoryInterface

Magento\Customer\Api\AddressRepositoryInterface

What it does

This interface defines the contract for managing customer address data in Magento 2.

Developers use this repository to perform CRUD operations (create, read, update, delete) on customer addresses, retrieve addresses by ID, or search for multiple addresses using filter criteria.

It's the primary service contract for programmatically handling customer address data in custom modules or integrations.

Public Methods

  • save()
  • getById()
  • getList()
  • delete()
  • deleteById()