Attribute | Type | Description |
---|---|---|
id | string | Unique identifier for the object |
name | string | The customer's full name |
string | The customer's email address | |
phone | string | The customer's phone number |
address1 | string | The customer's address line 1 |
address2 | string | The customer's address line 2 |
city | string | The customer's address city name |
state | string | The customer's address state name |
country | string | Two-letter country code (ISO 3166-1 alpha-2) |
postal_code | string | ZIP or postal code |
unlocode | string | United Nations code for trade and transport locations |
importer | boolean | Flag for if the customer is an importer |
country_of_import | string | The country of import. Must be "CA" or "US" |
created | date | Date when the customer object was created in the format of Y-m-d |
{
"id": "cus_Dx2LePPLVheOuh",
"name": "Miranda Smith",
"email": "[email protected]",
"phone": "6041234567",
"address1": "1156 Pender Street",
"address2": null,
"city": "Vancouver",
"state": "BC",
"country": "CA",
"postal_code": "V0L7I6",
"unlocode": "CAABB",
"importer": "1",
"country_of_import": "CA",
"created": "2023-12-04"
}