v3

OpenAPI 3.0.42026-07-312008682.1 MB
Reservations

Add reservation companion

Adds a customer as a companion to the reservation. Succeeds only if there is space for the new companion (count of current companions is less than AdultCount + ChildCount). Note this operation supports Portfolio Access Tokens.

post/api/connector/v1/reservations/addCompanion

Request body

ClientTokenstring required

Token identifying the client application.

AccessTokenstring required

Access token of the client application.

Clientstring required

Name and version of the client application.

EnterpriseIdstring uuid nullable

Unique identifier of the enterprise. Required when using Portfolio Access Tokens, ignored otherwise.

ReservationIdstring uuid required

Unique identifier of the Reservation.

CustomerIdstring uuid required

Unique identifier of the Customer.

Response

OK

CompanionshipIdstring uuid required

Identifier of the created Companionship entity.