Skip to main content

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​

EndpointApplies whenResult
revert-pickupRental items are picked up and none are returnedItems go back to confirmed
revert-returnAny rental item is returned (a partial return counts)Returned items go back to picked_up
revert-completeThe experience part of the booking is completedExperience goes back to checked_in
revert-check-inThe experience part is checked_in and nothing is completedExperience 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_changed webhook.
  • revert-complete withdraws any survey or review request the completion queued that has not been sent yet. Completing the booking again queues it afresh.

Path Parameters​

ParameterTypeDescription
idintegerBooking 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​

StatusCodeDescription
404resource_not_foundThe booking does not exist
403forbiddenThe booking does not belong to the API key's supplier
403insufficient_scopeThe API key is missing bookings:write
422revert_failedThe booking is not in a state that step can undo. The message says why