The address model is used for the billing_address, sender_address, and recipient_address objects.
Field | Type | Description | Validation |
---|---|---|---|
| string | The type of location. Example: business, residential. | Possible values: |
| string | City, district, suburb, town, or village. | Required, |
| string | The company name, when shipping to a business address. | 2-35 characters |
| string | Two letter ISO country code. | Required, |
| string | The customer's email address. | Valid email address, |
| number (double) | The ID of this object in Delivery Hub. | 2-225 characters |
| string | The customer's phone number. | The regular expression pattern
|
| string | Postal or ZIP code. | Required, |
| string | (Optional, based on country) State, province, or region. | 2-35 characters |
| string | The first line of the street address, including the street name or PO Box number. | Required, |
| string | (Optional) The second line of the street address, including the apartment number. | 1-35 characters |