Skip to main content
GET
/
v1
/
customers
/
{identifier}
Retrieve a customer
curl --request GET \
  --url https://api.mageloyalty.com/v1/customers/{identifier} \
  --header 'Authorization: <api-key>'
Fetch a single customer. The identifier can be:
  • A Shopify customer ID (numeric string, e.g. 6789012345)
  • An email address (e.g. jane@example.com)

Query parameters

ParameterTypeDescription
exclude_viptrueOmit the vip_tier relation from the response

Response

Returns the customer object. When exclude_vip=true, the vip_tier field will be null.

Errors

StatusScenario
404Customer not found