time_punch.deleted

❗️

NOTE

This webhook requires premium API access. Inquire by emailing [email protected].

This webhook will be triggered when a time_punch entry is deleted. For each time_punch deleted, 7shifts will send the webhook with a time_punch payload to the registered subscription endpoint.

Below is an example time_punch.deleted payload. For the time_punch.deleted topic, the deleted flag will be set to true.

{
  "id": 1,
  "company_id": 123,
  "shift_id": 1,
  "user_id": 12345,
  "editable_punch": true,
  "role_id": 1,
  "location_id": 1,
  "department_id": 1,
  "hourly_wage": 10.00,
  "approved": true,
  "clocked_in": "2022-01-01 12:00:00",
  "clocked_out": "2022-01-01 15:00:00",
  "notes": "",
  "auto_clocked_out": false,
  "clocked_in_offline": false,
  "clocked_out_offline": false,
  "tips": 0,
  "created": "2022-01-01 15:15:00",
  "modified": "2022-01-01 15:30:00",
  "deleted": true,
  "pos_type": "web",
  "clocked_in_iso": "2022-01-05T06:00:00-06:00",
  "clocked_out_iso": "2022-01-05T09:00:00-06:00",
  "time_punch_breaks": []
}