Retrieve customer detail.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"customer_detail": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"country_code": "<string>",
"phone": "<string>",
"email": "<string>",
"is_phone_verified": true,
"is_email_verified": true,
"business": {
"business_type": "<string>",
"name": "<string>",
"pan_number": "<string>",
"gstin": "<string>"
}
}
}
}
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"customer_detail": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"country_code": "<string>",
"phone": "<string>",
"email": "<string>",
"is_phone_verified": true,
"is_email_verified": true,
"business": {
"business_type": "<string>",
"name": "<string>",
"pan_number": "<string>",
"gstin": "<string>"
}
}
}
}