Model that describes retail customers.
| Name | Type | Description |
|---|---|---|
| address | String | Customer address. |
| date_of_birth | String | Customer birth date. |
| debt | Decimal | Debt. |
| deleted_mark | Boolean | Deletion mark. |
| description | String | Customer description or note. |
| String | Customer email address. | |
| fields | Array of FieldValue | Custom field values. |
| first_name | String | Customer first name. |
| full_name | String | Full name. |
| group | RetailCustomerGroup | Customer group. |
| id | Int64 | Customer ID. |
| last_name | String | Customer last name. |
| last_purchase | Int64 | Customer's last purchase date. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| main_phone | String | Customer primary phone. |
| middle_name | String | Customer middle name. |
| phones | String | Additional customer phone numbers. |
| refer_id | Int64 | ID of the customer who referred this customer. |
| region | Region | Residence region. |
| sex | String | Customer gender. Allowed values: none, male, female. |