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)