BulkUpdateHotelPassesDto
webhookUrlstring
Optional webhook URL to receive notification when operation completes. Auth headers: append #headers=Authorization:Bearer%20token
Example:
https://example.com/webhook#headers=Authorization:Bearer%20tokenforceSyncboolean
Execute synchronously (max 1000 items). If true and items >= 1000, request is rejected.
Default value:
falseitems object[]required
Array of hotel passes to update
Possible values: >= 1, <= 5000
Array [
passIdstringrequired
Hotel pass ID
Example:
507f1f77bcf86cd799439011statusstring
Possible values: [active, inactive, deleted, canceled, expired]
firstNamestring
lastNamestring
emailstring<email>
phoneNumberstring
barcodestring
checkinstring<date-time>
checkoutstring<date-time>
additionalBenefitsstring[]
roomNumberstring
roomCodestring
backFieldNamestring
backFieldContentstring
]
BulkUpdateHotelPassesDto
{
"webhookUrl": "https://example.com/webhook#headers=Authorization:Bearer%20token",
"forceSync": false,
"items": [
{
"passId": "507f1f77bcf86cd799439011",
"status": "active",
"firstName": "string",
"lastName": "string",
"email": "user@example.com",
"phoneNumber": "string",
"barcode": "string",
"checkin": "2024-07-29T15:51:28.071Z",
"checkout": "2024-07-29T15:51:28.071Z",
"additionalBenefits": [
"string"
],
"roomNumber": "string",
"roomCode": "string",
"backFieldName": "string",
"backFieldContent": "string"
}
]
}