This demo shows how a partner can use the data-callback attribute to receive quote data when the user clicks "Continue". Try getting a quote and clicking Continue to see the alert with all available values.
The data-callback attribute specifies a global function that receives the quote data. The "Continue" button appears after a price is shown.
| Field | Type | Example |
fromZip | string | "90001" |
toZip | string | "10001" |
vehicleType | string | "suv" |
price | integer | 1250 |
distance | integer | 2775 |
estimatedDays | string | "2775 miles, 4 days and 6 hours drive" |
fromCity | string | "Los Angeles" |
fromState | string | "CA" |
toCity | string | "New York" |
toState | string | "NY" |