bookingCode: bookings are looked up by callerPhone. This can return several bookings, ask the caller which one. verificationRequired is always false.bookingCode: use when the caller's number finds nothing. Returns that one booking. verificationRequired is true when callerPhone differs from the phone registered on the booking.Reschedule - Availabilities does.{ "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 |
| 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 |