Webhooks for damages updates
1. Damages Webhooks
- Extended create damage webhook with new fields:
vehicle_id- ID of the vehicle associated with the damageorder_id- ID of the order associated with the damage
- Extended delete damage webhook with new fields:
vehicle_id- ID of the vehicle associated with the damageorder_id- ID of the order associated with the damage
Example of create damage webhook payload:
{
"guid": "3308a9d9-52c7-46e4-994f-e204fc76e428",
"occurred_at": "2025-05-29T05:09:59.677261-0500",
"action": "damage.created",
"data": {
"id": 1,
"code": "BR",
"notes": "Some notes",
"step": "pickup",
"photo_id": 1,
"vehicle_id": 1,
"order_id": 1
}
}
Example of delete damage webhook payload:
{
"guid": "3308a9d9-52c7-46e4-994f-e204fc76e428",
"occurred_at": "2025-05-29T05:09:59.677261-0500",
"action": "damage.deleted",
"data": {
"id": 1,
"photo_id": 1,
"vehicle_id": 1,
"order_id": 1
}
}