The Customer entity at YouCan.
| Attribute Name | Type | Description |
|---|---|---|
| id | string | Identifier (UUID) |
| first_name | string, null | Customer first name |
| last_name | string, null | Customer last name |
| full_name | string, null | Customer full name (first + last) |
| string | Customer email address | |
| avatar | string, null | URL of the customer avatar image |
| phone | string, null | Customer phone number |
| country | string, null | Customer country |
| region | string, null | Customer region |
| city | string, null | Customer city |
| notes | string, null | Internal notes about the customer |
| location | string, null | Computed location label (city + country) |
| created_at | string | Creation date (ISO 8601, store timezone) |
| updated_at | string | Last update date (ISO 8601, store timezone) |
| deleted_at | string, null | Deletion date (ISO 8601), null if not deleted |
| links.edit | string | URL to edit the customer in the seller area |
| address | array | Customer addresses (default include) |
| orders | array | Customer orders (available include) |
Address
Array of Address objects associated with the customer.
Orders
Array of Order objects placed by the customer. Use ?include=orders to include.