v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Reservations

Add Tag

Add a tag to a reservation. If the tag does not exist, it will be created automatically.

post/reservations/{stay_code}/tags

Path parameters

stay_codestring required

The code of the stay.

Request body

tag_namestring required

The name of the tag to add.

Response

The tag has been successfully added to the reservation.

request_idstring required

Unique identifier for the request.

error_codeinteger required

Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.

error_msgstring required

Message detailing the status of the response.

Example response

{
  "error_msg": "Done."
}