Partners can now include purpose_of_stay_code in the PUT /reservations/{id} request to set or update the Purpose of Stay on a reservation. Requires the Purpose of Stay feature to be activated in PMS Hotel Settings. Valid codes can be retrieved via GET /hotels/{id}/purpose_of_stay using the code field. If the field is omitted, the reservation is updated normally without affecting the existing value.
If an invalid or inactive code is submitted, the request is not rejected but returns a warning and the reservation is delivered to the PMS without the Purpose of Stay value.
Example request:
{
"purpose_of_stay_code": "Business"
}




