Post Fixed Charges
POST {{HostName}}/csh/v1/hotels/{{HotelId}}/reservations/{{reservationId}}/fixedCharges
API to set Fixed Charges on a reservation. Transaction code knowledge is required. The schedule>frequency is D=Daily, with start date and an end date for which days, O=Once, with the same start date and end date, and W=Weekly, with start date and an end date for week.
Request Body
{"fixedCharges"=>{"schedule"=>{"start"=>"2022-04-01", "end"=>"2022-04-01", "frequency"=>"D"}, "charge"=>{"transaction"=>{"code"=>"5010", "description"=>"Tickets"}, "quantity"=>"1", "chargeAmount"=>{"amount"=>"25"}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |