Update hotel daily summaries
1 min
PUT
https://api.b.preview.loyaltyservices.io/api/v3/hotel-daily-summaries/{locationCode}/{yearMonth}
locationCodestring<p>location code (ace03 External Key)</p>
yearMonthstring<p>Year and month of the period.(YYYYMM)</p>
verifiedbooleanTrue if the ADR values have been verified and validation of ADR against the baselineADR should be skipped
asyncboolean<p>Submits the operation for background processing and returns a '202 Accepted' response
along with an identifier to track the processing status.
Requires the "api:async-task</p><div></div>" scope.<p></p>
acceptstringGenerated from available response content types
bodyarray
200Success
202Accepted
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request PUT \
--url 'https://api.b.preview.loyaltyservices.io/api/v3/hotel-daily-summaries/{locationCode}/{yearMonth}?verified=boolean&async=boolean' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '[
{
"date": "",
"currencyTypeCode": "USD",
"occupiedRoomCount": 10,
"averageDailyRateUSD": 10.24
}
]'