Adding Customer Info and Billing Address
Customer and Billing Address information is required to create an order. This customer is the end consumer that policies are associated with and to whom communication is sent. They are also the party that will create claims.
Example:
{
"customer": {
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"phone": "5555555555"
},
"billing_address": {
"address1": "123 Main St",
"address2": "Ste 1",
"city": "Phoenix",
"zip_code": "85020",
"state": "AZ",
"country": "US"
}
}Details:
| Field | Type | Max Length | Description |
|---|---|---|---|
| customer.first_name | string | 255 | First name of customer. |
| customer.last_name | string | 255 | Last name of customer. |
| customer.email | string | 255 | Customer email. All customer communication will go to this email address. |
| customer.phone | string | 35 | Customer phone number. |
| billing_address.address1 | string | 255 | Address line 1. |
| billing_address.address2 | string | 255 | Address line 2. |
| billing_address.city | string | 255 | City. |
| billing_address.state | string | 3 | State. Must be in ISO 3166 format. Note that in non-US addresses, this may be the region or province. |
| billing_address.country | string | 2 | Country. Must be in ISO 3166 format, specifically alpha 2 or the 2 letter country abbreviation. |
| billing_address.zip_code | string | 20 | Postal code. |
NoteHaving complete customer and billing address information helps to speed up the claims process.
Todo
- Add customer object to order request body
- Add billing address object to order request body
Updated 7 months ago
