Update Room Reservation Guest Contact
post
[PlatformAddress]
/api/1.0/venue?action=updateBookingRoomReservationGuestContact
Update Room Reservation Guest Contact
Property | Type | Required | Description |
---|---|---|---|
id | integer | optional | The unique id of the guest contact to update. |
firstName | string | required | The first name of the guest contact. |
lastName | string | required | The last name of the guest contact. |
phone | string | required | The phone number of the guest contact. |
email | string | required | The email address of the guest contact. |
When id is provided, it will fetch guest contact by id and update contact details. when id parameter is missing, it will update guest contact based on firstName, lastName and email.
Note: You can not update guest contact which is anonymised.
{
"id": 12,
"firstName": "First Name",
"lastName": "Last Name",
"phone": "123456",
"email" : "[email protected]",
}
Property | Description |
---|---|
success | Whether or not the guest contact was updated |
id | The unique id of the guest contact that was updated |
Code | Description |
---|---|
Specific Code: 24421 | Could not find contact |
Specific Code: 24422 | contact id or identity must be there |
Specific Code: 24423 | An error has occurred |
Specific Code: 24424 | The request contains invalid data |
Specific Code: 24425 | The request contains invalid data |
Last modified 9mo ago