These docs are for v2.2022.0501. Click to read the latest docs for v2.2023.0501.

time_punch.edited

📘

NOTE

To get access and subscribe to our webhooks, email [email protected].

This webhook will be triggered when a time_punch entry is modified (not including deletion). For each time_punch modified, 7shifts will send the webhook with a time_punch payload to the registered subscription endpoint.

Below is an example time_punch.edited payload. For the time_punch.edited topic, notice the created and modified timestamp will be different.

{
  "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 16:00:0",
  "deleted": false,
  "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": []
}