Authorizations
Basic authentication where:
- user-id is a partner account ID
- user-password is an API key token associated with the partner account
Body
ISO 8601. This date will be stored in UTC but evaluated in the context of the hotel's local timezone.
"2024-05-20"
ISO 8601. This date will be stored in UTC but evaluated in the context of the hotel's local timezone.
"2024-05-25"
Optional, custom object. Use to include additional data with the reservation. This data is not passed to hotels and will only be stored with Selfbook. Allows up to 5 key value pairs.
Keys have a max-length of 32 characters. Allowable characters are letters, numbers, underscore(_) or hyphen (-).
Values can be strings, numbers, or booleans. Max-length of 128 characters. Allowable characters are any except: greater-than symbol (>), less-than symbol (<), double quote("), single quote(') or backslash (\).
Optional. Customer Loyalty details
Response
Created
ISO 8601.
"2024-05-20T00:00:00Z"
ISO 8601.
"2024-05-25T00:00:00Z"
Custom data object. Returned only if included in CreateReservationRequest.
ISO 8601.
"2024-05-20T18:00:00Z"
32-character alphanumeric Selfbook identifier.
"ZHPOGBXVQVFRVXXCHXRJATLEJWKNBERS"
CANCELED
, CONFIRMED
, CREATED
"CONFIRMED"