Address object
Attributes
| Attribute | Required | Type |
|---|---|---|
| firstName | yes | string |
| lastName | yes | string |
| street1 | yes | string |
| street2 | no | string |
| city | yes | string |
| state | yes | string |
| zip | yes | string |
| no | string | |
| phoneNumber | yes | string |
| addressType | yes | string |
| countryCode | yes | string |
Example
JSON
{
"firstName": "John",
"lastName": "Doe",
"street1": "123 Main Street",
"street2": "Apt. B", // Optional, can be omitted if not applicable
"city": "Anytown",
"state": "CA",
"zip": "12345",
"email": "johndoe@example.com",
"phoneNumber": "15551234567",
"addressType": "shipping", // Can be either shipping or billing
"countryCode": "US"
}