How can i get list of all the addresses in Magento2 of user using REST API
Solved! Go to Solution.
Hello @pratap_penmetsa,
Please below REST endpoints URL to get all address of a specific customer
Endpoint URL: http://magento.com/index.php/rest/V1/customers/{id} Request: GET Header: Authorization bearer {access-token}}
I have also tried above Rest API, You can check result here https://www.screencast.com/t/umOD9zgl
Let me know if you have any trouble in it.
--
If my answer is useful, please Accept as Solution & give Kudos
Hello @pratap_penmetsa,
Please below REST endpoints URL to get all address of a specific customer
Endpoint URL: http://magento.com/index.php/rest/V1/customers/{id} Request: GET Header: Authorization bearer {access-token}}
I have also tried above Rest API, You can check result here https://www.screencast.com/t/umOD9zgl
Let me know if you have any trouble in it.
--
If my answer is useful, please Accept as Solution & give Kudos
ERROR
{
"message": "The \"z1x8i0099lvlupt43b2bwlgmvoqhn36s\" value's type is invalid. The \"int\" type was expected. Verify and try again."
}