TimesheetsEdit a shift row

Edit a shift row

Needs: Roster, Read-write

Edit a timesheet shift row: times, client/site, AM/PM hours (recalculated from new times unless given), pay item override, include in pay run (approve) and row lock (locked rows keep their values through syncs). Send only what changes. Finalised timesheets and locked staff need unlocking first.

Note: Changes apply in order: unlock, edit, pay item, include, then lock.

curl -X PATCH "https://app.imploy.com.au/api/integrations/v1/timesheet-shifts/123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "end": "2026-11-18 13:00",
  "pay_item": "saturday",
  "included": true,
  "locked": true
}'
{
  "updated": [
    "end",
    "pay_item",
    "included",
    "locked"
  ],
  "shift": {
    "id": 10339,
    "staff_id": 42,
    "client_id": 2,
    "start": "2026-11-18 09:00:00",
    "end": "2026-11-18 13:00:00",
    "am_hours": 3,
    "pm_hours": 1,
    "pay_item": "saturday",
    "included": true,
    "locked": true
  }
}
PATCH
/timesheet-shifts/{id}
PATCH
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
path
idinteger
Required

Timesheet shift row id (GET /timesheets/{id}).

Content-Typestring
Required

The media type of the request body

Options: application/json
startstring

"YYYY-MM-DD HH:MM"

endstring

"YYYY-MM-DD HH:MM"

pay_itemstring

Override the Xero pay item for the whole row; null goes back to automatic.

Options: ordinary_hours, weekday_12a_6a, weekday_6a_8p, weekday_8p_10p, weekday_10p_12a, overtime, saturday, sunday, public_holiday, broken_shift_allowance, broken_shift_allowance_rest, sleepover
includedboolean

Include in (or exclude from) the pay run. Including approves the row at its rostered times.

lockedboolean

Lock the row (approves it and keeps it through syncs) or unlock it.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

Path Parameters

idinteger
Required

Timesheet shift row id (GET /timesheets/{id}).

Body

application/json
startstring

"YYYY-MM-DD HH:MM"

endstring

"YYYY-MM-DD HH:MM"

pay_itemstring

Override the Xero pay item for the whole row; null goes back to automatic.

Allowed values:ordinary_hoursweekday_12a_6aweekday_6a_8pweekday_8p_10pweekday_10p_12aovertimesaturdaysundaypublic_holidaybroken_shift_allowancebroken_shift_allowance_restsleepover
includedboolean

Include in (or exclude from) the pay run. Including approves the row at its rostered times.

lockedboolean

Lock the row (approves it and keeps it through syncs) or unlock it.

Responses

OK