Undo a Status Change
Put a booking back one step when a pickup, return, check-in or completion was recorded by mistake.
POST /v1/bookings/{id}/actions/revert-pickup
POST /v1/bookings/{id}/actions/revert-return
POST /v1/bookings/{id}/actions/revert-check-in
POST /v1/bookings/{id}/actions/revert-complete
Authentication
Requires a valid API key with bookings:write scope.
What each one does
| Endpoint | Applies when | Result |
|---|---|---|
revert-pickup | Rental items are picked up and none are returned | Items go back to confirmed |
revert-return | Any rental item is returned (a partial return counts) | Returned items go back to picked_up |
revert-complete | The experience part of the booking is completed | Experience goes back to checked_in |
revert-check-in | The experience part is checked_in and nothing is completed | Experience goes back to confirmed, and participant check-ins are cleared |
Undo one step at a time: undo a return before a pickup, and a completion before a check-in.
To undo a no-show, use revert-no-show.
On a booking with the same activity on several days, revert-check-in undoes the latest day checked in; the earlier days stay checked in. revert-complete also puts a day kept as no_show back to confirmed.
The booking status is worked out from its items, so on a booking with both rental items and an experience, each endpoint changes only its own half.
- Payments and deposits are not changed.
- Each undo is added to the booking history and sends a
booking.status_changedwebhook. revert-completewithdraws any survey or review request the completion queued that has not been sent yet. Completing the booking again queues it afresh.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | integer | Booking ID |
Request example
curl -X POST "https://app.equipdash.com/api/v1/bookings/123/actions/revert-complete" \
-H "Authorization: Bearer eqd_live_your_api_key"
Success response
Returns 200 OK with the updated booking:
{
"data": {
"id": 123,
"status": "checked_in",
"completed_at": null
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-09-23T10:30:00+00:00"
}
}
Error: nothing to undo
{
"error": {
"code": "revert_failed",
"message": "This booking is completed. Undo the completion first, then undo the check-in."
},
"meta": { "request_id": "req_abc123" }
}
Errors
| Status | Code | Description |
|---|---|---|
404 | resource_not_found | The booking does not exist |
403 | forbidden | The booking does not belong to the API key's supplier |
403 | insufficient_scope | The API key is missing bookings:write |
422 | revert_failed | The booking is not in a state that step can undo. The message says why |