Fetch customer
GET
/v3/customers/{merchantCustomerId}Fetch one particular customer defined by the Merchant's unique external ID. External ID is independent form ZEN's client ID. Customer has to be saved beforehand.
Request
Path Params
merchantCustomerId
string <uuid>
required
An unique customer external identifier
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6
Header Params
request-id
string
required
A unique identifier generated by requesting client
>= 38 characters<= 1024 characters
Example:
|us04oqdnzFQVr0rITD9/c9OvDRE2sXVfwerv.
Match pattern:
^[a-zA-Z0-9?&:_|\-\/=+.,#\s]+$
Request samples
Responses
OK(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string <uuid>
required
merchantCustomerId
string
required
>= 1 characters<= 128 characters
status
enum<string>
required
Allowed values:
newconfirmed
firstName
string
optional
<= 128 characters
lastName
string
optional
<= 128 characters
userName
string
optional
<= 128 characters
description
string
optional
<= 256 characters
email
string <email>
optional
dragonTermsAccepted
boolean
required
createdAt
string <date-time>
required
Example
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"merchantCustomerId": "string",
"status": "new",
"firstName": "string",
"lastName": "string",
"userName": "string",
"description": "string",
"email": "user@example.com",
"dragonTermsAccepted": true,
"createdAt": "2019-08-24T14:15:22.123Z"
}
Modified at 10 days ago