The Holibob API - Booking Questions
When answering Booking Questions via the booking
GraphQL query (The Holibob API - Look to Book Flow | TheHolibobAPI-LooktoBookFlow-Input-answers-to-the-booking):
All answer values must be sent as strings
All answer values must pass schema validation defined in the table below
To reset a value, you can pass
null
DataType | Comments | DataFormat | Validation | Examples |
---|---|---|---|---|
| - | Minimum length 1 |
| |
|
| Fully-qualified phone number (containing the area code and country code) We use google-libphonenumber package for phone number validation. We expect E.164 format. |
| |
|
| Fully qualified email addresses. |
| |
|
| Minimum length 1 | ||
| scheduled for deprecation for TEXT | - | Minimum length 1 | |
| - | Correctly casts to an integer value, between JavaScript | 0 123 123456 | |
| - | Correctly casts to a float value, between JavaScript | 0 0.0001 12.003 -0.0001 | |
| - | Correctly casts to a boolean value |
| |
| - | Matches ISO 8601 standard (YYYY-MM-DD) |
| |
| - | Matches |
| |
| - | Matches ISO 8601 standard |
| |
| scheduled for deprecation for BOOLEAN | - | Correctly casts to a boolean value |
|
| scheduled for deprecation for BOOLEAN | - | Correctly casts to a boolean value |
|
| Only for some INTERNAL products |
OR
OR
| Only accept “true” |
|
| - | Correctly matches the value of one of the |
TYPESCRIPT
|