API Reference
AttributeTypeDescription
idstringUnique identifier for the object
namestringThe customer's full name
emailstringThe customer's email address
phonestringThe customer's phone number
address1stringThe customer's address line 1
address2stringThe customer's address line 2
citystringThe customer's address city name
statestringThe customer's address state name
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
postal_codestringZIP or postal code
unlocodestringUnited Nations code for trade and transport locations
importerbooleanFlag for if the customer is an importer
country_of_importstringThe country of import. Must be "CA" or "US"
createddateDate when the customer object was created in the format of Y-m-d
{ "id": "cus_Dx2LePPLVheOuh", "name": "Miranda Smith", "email": "miranda.smith@gmail.com", "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" }