On this page
article
Step 15 – Receive Webhook Notifications
When a booking is created or its status changes, SCOM will send a callback with the relevant booking data.
-
Purpose & Use Cases: Get notified of order updates automatically.
-
Example for an order under the
Booklisting plan:
{
"id": "eyJ0eXBlIjoiRXZlbnQiLCJpZCI6MjU1NDg1N30=",
"object": "event",
"data": {
"object": {
"object": "booking",
"stage": "waiting_for_confirmation",
"currency": "GBP",
"moveInDate": "2025-06-13",
"moveOutDate": "2025-06-30",
"referenceId": "HB992850227",
"totalPrice": "379.72",
"totalRental": "379.72",
"totalFee": "0",
"totalDeposit": "0",
"roomId": "eyJ0eXBlIjoiUm9vbSIsImlkIjoxMDA4NTY1M30=",
"roomExternalId": null,
"rateAvailabilityId": "eyJ0eXBlIjoiTGlzdGluZyIsImlkIjoxMDAwNDM4NTYzfQ==",
"rateAvailabilityExternalId": null,
"propertyId": "eyJ0eXBlIjoiUHJvcGVydHkiLCJpZCI6MTA0MTA3NH0=",
"propertyExternalId": null,
"propertyName": "Towers at Costa Verde",
"guarantor": {
"firstName": "tyra",
"dateOfBirth": "1983-06-02",
"addressLines": "3333",
"phone": "+8618210838342",
"emailAddress": "tyra.huang@student.com",
"gender": null,
"state": "shanghai",
"city": "shanghai",
"country": "CHN",
"relationship": "mother"
},
"student": {
"referenceId": "S63620-24210",
"firstName": "A",
"lastName": "A",
"emailAddress": "tyra.huang+0610@student.com",
"addressLines": "ddddd",
"city": "shanghai",
"state": "ddd",
"postalCode": "dddd",
"country": "CHN",
"dateOfBirth": "1999-06-02",
"gender": "male",
"language": "zh-cn",
"nationality": "ALB",
"passportFirstName": "A",
"passportMiddleName": null,
"passportLastName": "A",
"passportNumber": null,
"destinationUniversity": null
},
"cancelledReason": null,
"createdAt": "2025-06-10T05:50:17+00:00",
"updatedAt": "2025-06-10T05:50:17+00:00",
"confirmedAt": null,
"cancelledAt": null,
"paidAt": null,
"lostAt": null
}
},
"type": "booking.waiting_for_confirmation"
}