Get Customer
{{ data.customer.get({parameter: value}) }}
- Request Parameters
| Parameter |
Type |
Description |
| id |
int |
Customer identifier |
| email |
string |
Customer email address |
- Success Response
HHTP/1.1 200 OK
{
id: 5,
firstName: "Joe",
lastName: "Cole",
email: "test@gmail.com",
emailVerificationCode: "dsadsad45e#fdsfdsf",
resetHash: "45dsadsad7frfrvfv454",
status: 1,
countryId: 1,
countryName: "Armenia",
state: "Yerevan",
city: "Yerevan",
address: "Margaryan str.",
phone: "+37455000000",
zip: "0072",
languageId: 1,
created: "2017-03-20 16:00"
}
or
false
- Response Parameters
| Parameter |
Type |
Description |
| id |
int |
Customer Identifier |
| firstName |
string |
Customer first name |
| lastName |
string |
Customer last name |
| email |
string |
Customer email address |
| emailVerificationCode |
string |
Email verification code for complete registration |
| resetHash |
string |
Hash code for reset password |
| status |
int |
Customer status |
| countryId |
int |
Customer country identifier |
| countryName |
string |
Customer country name |
| state |
string |
Customer state name |
| city |
string |
Customer city name |
| address |
string |
Customer address |
| phone |
string |
Customer phone number |
| zip |
string |
Customer zip address |
| languageId |
int |
Customer predefined language identifier |
| created |
string |
Customer registration date |