Availabilities, for one booking. The reschedule rules are checked first: if the booking can't be rescheduled you get an error instead of availabilities.cutoffAt).Availabilities.{ "error": true, "message": "...", "errorCode": "...", "errorData": {} }. See Error Codes for the full list of codes.| HTTP | errorCode | message | When | What to do |
|---|---|---|---|---|
| 400 | 000001 | Invalid Parameters | Missing or invalid input | Fix the input, or hand off to the shop |
| 400 | 060002 | Invalid Booking Status | Booking is cancelled, done or lapsed | Tell the caller it can not be changed, offer shop follow up |
| 400 | 060004 | Reschedule Limit Exceeded | Booking was already rescheduled once | Tell the caller, offer shop follow up |
| 400 | 060005 | Reschedule Disabled | The shop turned rescheduling off | Tell the caller, offer shop follow up |
| 400 | 060006 | Reschedule Cutoff Passed | Too close to drop-off. errorData.cutoffAt has the cutoff time | Tell the caller, offer shop follow up |
| 401 | 010000 | Unauthorized | Bad or expired token | Refresh the token and retry once |
| 403 | 000003 | Feature Unavailable | Cleverize is not enabled for this shop | Hand off to the shop, keep using the SMS link |
| 404 | 030001 | Invalid Workshop Id | Shop not found | Hand off to the shop |
| 404 | 060001 | Invalid Booking Id | No active upcoming booking found | Ask for the booking code. After 2 failed tries, hand off to the shop |
| 500 | 000000 | Internal Error | Unexpected error | Retry once, then hand off to the shop |