> ## Documentation Index
> Fetch the complete documentation index at: https://docs.subotiz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Object

Customer entity field reference.

| Field               | Type               | Desc                                                                                                                             |
| ------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| customer\_id        | string             | Customer unique identifier on Subotiz                                                                                            |
| email               | string             | Customer email                                                                                                                   |
| name                | string             | Customer name                                                                                                                    |
| type                | string             | Customer type<br />customer: member<br />guest: visitor                                                                          |
| create\_at          | string             | Customer create time                                                                                                             |
| payer\_id           | string             | Integration-side customer unique identifier                                                                                      |
| email\_subscription | int                | Whether to subscribe to marketing email notifications<br />1: Do not subscribe<br />2: Subscribe                                 |
| metadata            | map\[string]string | A set of key-value pairs that can be attached to an object, allowing you to store additional information in a structured format. |
| address             | CustomerAddress    | Customer address                                                                                                                 |

## CustomerAddress

| Field        | Type   | Desc                |
| :----------- | :----- | :------------------ |
| line1        | string | Address line 1      |
| line2        | string | Address line 2      |
| city         | string | City                |
| province     | string | Province/state code |
| postal\_code | string | Postal code         |
| country      | string | Country/region code |
