| Value | Status |
|---|---|
| 0 | Pending |
| 1 | Confirmed |
| 2 | Invoiced (set automatically when the booking is converted to an invoice) |
| 3 | Cancelled |
| 4 | Done |
1 (Confirmed), 3 (Cancelled), or 4 (Done). The request always responds with HTTP 200 carrying an error flag: error is false when the status was changed, and true when it was not (for example an unsupported status, or a booking already converted to an invoice). A booking id that does not exist returns 404..json extension is optional.error flag. Success: {"message":"Status Changed Successfully","error":false}. Not applied: {"message":"","error":true}.curl --location --globoff 'https://.daftara.com/api2/bookings/change_status/173/3' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"message": "Status Changed Successfully",
"error": false
}