Question

Is there any way to call customer address list with ajax in checkout page? or maybe Magento already provide an API service to do this?

Was it helpful?

Solution

Try with http://devdocs.magento.com/guides/v2.2/rest/rest_endpoints.html

GET    /V1/customers/me/billingAddress
GET    /V1/customers/:customerId/billingAddress
GET    /V1/customers/me/shippingAddress
GET    /V1/customers/:customerId/shippingAddress
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top