GET/v1/tenants/{tenantId}/ecom_stores/{eComStoreId}/customers/by_email/{email}
Get customer by email
Returns a B2C customer.
Parameters
tenantIdrequiredeComStoreIdrequiredemailrequiredThe URL-encoded email address of the customer to retrieve
Responses
application/jsoncountryIsoCodeoptionalISO 3166-1 alpha-2 country code
Example"NO"customerNumberoptionalHuman-readable customer number
Example"CUST-10042"deliveryAddressoptionalCustomer's main delivery address
Show child fields
cityrequired- Example
"Oslo" countryIsoCoderequiredISO 3166-1 alpha-2 country code
Example"NO"postCoderequired- Example
"0123" streetrequiredStreet address including house number
Example"Storgata 1"
electronicReceiptrequiredWhether the customer wants electronic receipts
Exampletrueemailoptional- Example
"ola.nordmann@example.com" firstNameoptional- Example
"Ola" idrequired- Example
"01234567-89ab-cdef-0123-456789abcdef" invoiceAddressoptionalCustomer's main invoice/billing address
Show child fields
cityrequired- Example
"Oslo" countryIsoCoderequiredISO 3166-1 alpha-2 country code
Example"NO"postCoderequired- Example
"0123" streetrequiredStreet address including house number
Example"Storgata 1"
languageIsoCodeoptionalISO 639-2 language code
Example"NOR"lastNameoptional- Example
"Nordmann" loyaltyProgramCustomerIdoptionalAuthoritative provider customer ID for this ecom store's configured loyalty program. Null if there is no configured program, no link, or the link is not ID-authoritative. Not proof of active membership. Read-only.
loyaltyProgramsrequiredList of loyalty programs and the customer's enrollment status
Show item fields
Loyalty program enrollment status for a customer
enrolledrequiredWhether the customer is enrolled in this loyalty program
ExampletrueidrequiredUnique identifier of the loyalty program
Example"01234567-89ab-cdef-0123-456789abcdef"namerequired- Example
"Premium Members Club"
phoneoptionalCustomer's phone number in E.164 format
Example"+4790123456"
401Unauthorized - Invalid or missing authentication
Unauthorized - Invalid or missing authentication
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
404Not Found - Customer not found
Not Found - Customer not found
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
500
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"