How can I update customer address by address id in Magento 2 programmatically ?
Magento 2 Customer Account – How to Update Customer Address Using Address ID
addresscustomer-accountcustomer-addressmagento2
Related Topic
- Magento – Save or Update custom customer address attribute data
- Magento 2.2 – How to Update Customer Programmatically
- Magento – How to update customer address using custom Api in magento2
- Magento 2 – How to Create Customer Address by Customer ID
- Magento – Magento 2: How to add customer address programmatically
- Magento – Save customer custom address attribute programmatically
Best Answer
If you know the address id (
$addressId
) you can use the address repository to load and save updated addresses: