added
Short ID added to accept quote responses
August 21st, 2024 by Jordan Plahn
We have added a new field, short_id
to the response body of the Accept Quote API calls. The short_id
is a 20 character ID that can be used instead of the 36 character id
. This is a field requested by partners that have constraints on the size of the Weather Guarantee ID.
This will now appear in the response body for Accept Guarantee Quote, Accept and Charge Guarantee Quote, and Accept Guarantee Quote with Payment ID.
Example response:
{
"id": "abd01187-83ad-4d47-ad38-46dbe2508e14",
"short_id": "Tr2kf-2t4rNrZZ-cunh9",
"product_id": "2ad232ce-200e-482d-9e95-910e79876e83",
"created_at": "2024-08-21T13:43:16Z",
"coverage_start_date": "2024-09-10",
"coverage_end_date": "2024-09-11",
"coverage_start_hour": "08:00:00 -0500",
"coverage_end_hour": "22:00:00 -0500",
"lang_locale": "en-US",
"wholesale_price": 37.78,
"suggested_price": 45.33,
"user_email": "email@email.com",
"tax_amount": 0,
"tax_rate": 0,
"price_charged": 109.99,
"reservation_id": "R1294868",
"currency": "USD",
"exposure_name": "Campsite 14A",
"exposure_latitude": 39.0847222222,
"exposure_longitude": -96.36,
"exposure_total_coverage_amount": 300.51,
"exposure_protections": [
{
"name": "rainfall",
"upper_threshold": 0.0015,
"unit": "meter"
}
],
"payout_tiers": [
{
"number_of_hours": 4,
"payout_amount": 150.26
}
],
"documents": [
{
"name": "Terms and Conditions",
"link": "https://www.sensibleweather.com/legal/guarantee-terms-and-conditions"
},
{
"name": "Privacy Policy",
"link": "https://www.sensibleweather.com/legal/sensible-weather-privacy-policy"
}
]
}