How to delete customer addresses by REST Web API Magento 2?

Customer Addresses is an integral part for any eCommerce store to deliver customer’s order item.

Sometimes you need to delete a given customer address from the customer account using the WebAPI.

Magento REST Web API provides the Out of the box feature to delete customer addresses by their Id. Continue reading “How to delete customer addresses by REST Web API Magento 2?”

How to delete customer by REST Web API Magento 2?

Customer Delete using REST Web API in Magento 2 comes with URL endpoint  V1/customers/:customerId and DELETE Action.

You need to replace  :customerId in the URL with the actual customer id. Continue reading “How to delete customer by REST Web API Magento 2?”

Get Customer Default Billing address by REST Webapi V1/customers/:customerId/billingAddress Magento.

To Retrieve Customer Default Shipping address by REST Webapi in Magento using Endpoint /V1/customers/:customerId/shippingAddress

Just Change the :customerId from the Endpoint with an Original customer ID to fetch the Shipping address of the Customer. Continue reading “Get Customer Default Billing address by REST Webapi V1/customers/:customerId/billingAddress Magento.”