Retrieve Customer address by address id Magento 2.

You can get the customer address details by address id in Magento 2.

When you need a Customer address object and if you have address id available for the customer address, You can get the address data using the getById() method from the Magento\Customer\Api\AddressRepositoryInterface. Continue reading “Retrieve Customer address by address id Magento 2.”

How to Get Customer address list by customer id Magento 2?

Magento supports Customers with multiple addresses like billing and shipping addresses. Customers can create an address from the My Account Section Address Book tabs from the storefront.

We can get all the list of available customer address by Customer id with AddressRepository Interface. Customer address saved under the customer_address_entity table with parent_id as a customer id. Continue reading “How to Get Customer address list by customer id Magento 2?”

How to get Shipment comments by comment id Magento 2?

You can check the shipment comments by Magento 2 using Shipment Comment Repository Interface with shipment id. Continue reading “How to get Shipment comments by comment id Magento 2?”