The API uses the following object types in requests and responses for the Tire Protection category.
Making a POST
request without a required field will result in the error 400: Bad Request
.
Registration
Name | Type | Required |
---|
product_id | string | yes |
invoiceNumber | string | yes |
enrollDate | ISO 8601 date string | yes |
customer | customer object | yes |
tires | array of tire objects | yes |
vehicle | vehicle object | no |
comments | string | no |
Customer
Name | Type | Required |
---|
name | string | yes |
phone | E.164 phone string | no |
email | email string | yes |
address | address object | no |
Address
Name | Type | Required |
---|
line1 | string | yes |
line2 | string | no |
city | string | yes |
state | string | yes |
zip | string | yes |
Tire
Name | Type | Required |
---|
make | string | yes |
model | string | yes |
size | string | yes |
retailPrice | number | yes |
dot | string | no |
partNumber | string | no |
Vehicle
Name | Type | Required |
---|
year | 4-digit number | yes |
make | string | yes |
model | string | yes |
vin | string | no |
plateNumber | string | no |
plateState | string | no |
mileage | number | no |