Check given customer email is available by rest/V1/customers/isEmailAvailable REST API Magento 2.

You can verify given Emai address is available on the website using Endpoint /V1/customers/isEmailAvailable.

If an email exists on the given website, the response will be false because the same email id already exists on the given website else the response will be true. Continue reading “Check given customer email is available by rest/V1/customers/isEmailAvailable REST API Magento 2.”

Get Customer Info by Rest API using V1/customers/:customerId in Magento 2.

Get Customer Data REST API from the customer ID using the V1/customers/:customerId  endpoint in Magento 2.

V1/customers/:customerId Used to Retrieve Customer Details in Magento by Customer Id.

Action: GET

URL: <URL>/rest/V1/<store_code>/customers/me/:customerId
(Example, http://magento246.docker/rest/default/V1/customers/me/10) Continue reading “Get Customer Info by Rest API using V1/customers/:customerId in Magento 2.”

Get Customer Data by Rest API using V1/customers/me in Magento 2.

Get Logged in Customer Details and Addresses by Rest API using V1/customers/me in Magento 2.

Fetch customer data by providing customer access tokens in the header.

V1/customers/me URL used to fetch customer basic details as well as all the addresses assigned to the customer. Continue reading “Get Customer Data by Rest API using V1/customers/me in Magento 2.”