Customer Object
The Customer Object is a standard data structure to hold information relating to one of your customers.
When one customer is returned by endpoints in this section, the response body will contain a Customer Object. Each object has the following structure:
| Param | Type | Description |
|---|---|---|
| customerRefId | String | Unique code from your side. Partner-provided identifier for the customer. |
| customerId | String | Customer ID |
| firstName | String | First name |
| lastName | String | Last name |
| mobileNumber | String | Phone number |
| String | ||
| gender | String | Gender - MALE: male - FEMALE: female - OTHER: other |
| dateOfBirth | String | Date of birth |
| placeOfBirth | String | Place of birth |
| nationality | String | Nationality code |
| createdAt | String | Creation time (standard format: ISO-8601) |
| updatedAt | String | Last updated time (standard format: ISO-8601) |
Ví dụ
{
"customerRefId": "ASKJLKALK213",
"customerId": "01HRVGAJSP7SX83X7AQ9QQYMBE",
"firstName": "Ha",
"lastName": "Phan",
"mobileNumber": "+84123456789",
"email": "ha@gmail.com",
"gender": "MALE",
"dateOfBirth": "1996-04-23",
"placeOfBirth": "HN",
"nationality": "EC",
"createdAt": "2024-01-26T18:26:02+07:00",
"updatedAt": "2024-01-26T18:26:02+07:00"
}