This automation notifies your application whenever the following guest events occur in Zenoti:

  • Created

  • Updated

  • Merged

  • Deleted

Check the API documentation for guest events.

Sample Response Object – Guest Created

{
"id": "622b63e6a961750e01db6558",
"event_id": "622b63e6a961750e01db6557",
"event_schema": "v1",
"event_resource": "Guest",
"event_type": "Guest.Created",
"event_timestamp": "2022-03-11T14:59:50.8745837Z",
"data": {
"id": "b9e61937-d5ce-46d5-be26-2659280d5eb9",
"_id": 683768,
"code": "1A347",
"center_id": "34aac717-e7df-4231-afc8-14420213957c",
"center_name": "Chicago",
"created_date": "2022-03-11T14:59:49",
"personal_info": {
"user_name": "",
"first_name": "Joseph",
"last_name": "Harrington",
"middle_name": "",
"email": "",
"mobile_phone": null,
"work_phone": null,
"home_phone": null,
"gender": 0,
"date_of_birth": null,
"is_minor": false,
"nationality_id": 95,
"anniversary_date": null,
"lock_guest_custom_data": false,
"pan": "",
"dob_incomplete_year": null
},
"address_info": {
"address_1": "",
"address_2": "",
"city": "",
"country_id": 225,
"state_id": -1,
"state_other": "",
"zip_code": "29214"
},
"preferences": {
"receive_transactional_email": true,
"receive_transactional_sms": true,
"receive_marketing_email": true,
"receive_marketing_sms": true,
"recieve_lp_stmt": true,
"opt_in_for_loyalty_program": true,
"transactional_sms_optin": 0,
"transactional_email_optin": 0,
"marketing_sms_optin": 0,
"marketing_email_optin": 0,
"transactional_whatsapp_optin": 0,
"receive_transactional_whatsapp": true
}
}
}

Sample Response Object – Guest Updated

{
"id": "622b652ca961750e01db6569",
"event_id": "622b652ca961750e01db6567",
"event_schema": "v1",
"event_resource": "Guest",
"event_type": "Guest.Updated",
"event_timestamp": "2022-03-11T15:05:16.3791453Z",
"data": {
"id": "b9e61937-d5ce-46d5-be26-2659280d5eb9",
"_id": 683768,
"code": "1A347ABH",
"center_id": "34aac717-e7df-4231-afc8-14420213957c",
"center_name": "Chicago",
"created_date": "2022-03-11T14:59:49",
"personal_info": {
"user_name": "",
"first_name": "Joseph",
"last_name": "Harrington",
"middle_name": "",
"email": "",
"mobile_phone": null,
"work_phone": null,
"home_phone": null,
"gender": 0,
"date_of_birth": null,
"is_minor": false,
"nationality_id": 95,
"anniversary_date": null,
"lock_guest_custom_data": false,
"pan": "",
"dob_incomplete_year": null
},
"address_info": {
"address_1": "",
"address_2": "",
"city": "",
"country_id": 225,
"state_id": -1,
"state_other": "",
"zip_code": "29214"
},
"preferences": {
"receive_transactional_email": true,
"receive_transactional_sms": true,
"receive_marketing_email": true,
"receive_marketing_sms": true,
"recieve_lp_stmt": true,
"opt_in_for_loyalty_program": true,
"transactional_sms_optin": 1,
"transactional_email_optin": 1,
"marketing_sms_optin": 1,
"marketing_email_optin": 1,
"transactional_whatsapp_optin": 6,
"receive_transactional_whatsapp": false
}
}
}

Sample Response Object – Guest Deleted

{
"id": "622b698ca961750e01db657e",
"event_id": "622b698ca961750e01db657c",
"event_schema": "v1",
"event_resource": "Guest",
"event_type": "Guest.Deleted",
"event_timestamp": "2022-03-11T15:23:56.9931265Z",
"data": {
"id": "b9e61937-d5ce-46d5-be26-2659280d5eb9",
"_id": 683768,
"code": "1A347ABH",
"center_id": "34aac717-e7df-4231-afc8-14420213957c",
"center_name": "Chicago",
"created_date": "2022-03-11T14:59:49",
"personal_info": {
"user_name": "",
"first_name": "Joseph",
"last_name": "Harrington",
"middle_name": "",
"email": "",
"mobile_phone": null,
"work_phone": null,
"home_phone": null,
"gender": 0,
"date_of_birth": null,
"is_minor": false,
"nationality_id": 95,
"anniversary_date": null,
"lock_guest_custom_data": false,
"pan": "",
"dob_incomplete_year": ""
},
"address_info": {
"address_1": "",
"address_2": "",
"city": "",
"country_id": 225,
"state_id": -1,
"state_other": "",
"zip_code": "29214"
},
"preferences": {
"receive_transactional_email": true,
"receive_transactional_sms": true,
"receive_marketing_email": true,
"receive_marketing_sms": true,
"recieve_lp_stmt": true,
"opt_in_for_loyalty_program": true,
"transactional_sms_optin": 1,
"transactional_email_optin": 1,
"marketing_sms_optin": 1,
"marketing_email_optin": 1,
"transactional_whatsapp_optin": 6,
"receive_transactional_whatsapp": false
}
}
}

Did this answer your question?