WebhooksDevices
Time Offset
Webhook payload sent when the worker changes the device time by more than 10 minutes.
This webhook payload is sent whenever the worker performs a manual change on the device in a possible attempt to mis-represent timing for the order in progress. Once the offset is detected to be longer than 10 minutes, the webhook event is sent with the payload as described below.
3.0.0 Payload
[
{
"device_id": "D6A48382-3B4E-47FF-A533-3FF71A52E05E",
"recorded_at": "2024-01-20T18:09:29.583145215Z",
"created_at": "2024-01-20T18:09:32.017Z",
"data": {
"user_time": "2024-01-20T19:09:13.818Z",
"value": 3584.235
},
"type": "time_offset_changed",
"version": "3.0.0"
}
]| Name | Type | Description |
|---|---|---|
| data.value | string | Time offset from the current time versus time set by the app user. |
| data.user_time | object | Time set by the user, in UTC |
time_offset_changed require a minimal a SDK version of 5.3.0 for iOS and 7.3.0 for Android.