Body Required
-
notificationType string
The type of webhook notification.
Values are
shift.created
,shift.updated
, orshift.deleted
. -
data object
Shift details.
Additional properties are allowed.
Request examples
{
"notificationType": "shift.created",
"data": {
"uuid": "REcdfpCwQJKUR53gdzIk5Q==",
"businessId": 12345,
"businessLocationId": 1234567890,
"deviceId": 54321,
"staffId": 1234,
"declaredCashTips": "10.00",
"dateInUTC": "2020-01-01T00:00:00Z",
"events": [
{
"uuid": "REcdfpCwQJKUR53gdzIk5Q==",
"timestamp": "2020-01-01T00:00:00Z",
"createdOn": "2020-01-01T00:00:00Z",
"eventType": "CLOCK_IN"
}
]
}
}