v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Shifts

Partial Update

Update a subset of properties of a shift

patch/public/api/shifts/{id}

Path parameters

idstring required

The id of the shifts

Headers

Acceptstring

e.g. application/json

Response

OK

shift_idstring
titlestring
descriptionstring
start_datestring
end_datestring
user_idstring
store_idstring
created_datestring
updated_datestring
client_idstring
usernamestring

Example response

{
  "shift_id": "63dbe3f3fb2603001d1f958c",
  "title": "New shift4",
  "description": "updated description",
  "start_date": "2022-12-14T09:00:00.000Z",
  "end_date": "2022-12-14T16:00:00.000Z",
  "user_id": "62c2adf1e926980025f9986f",
  "store_id": "5f3e4cc1fe89be003bc29bd6",
  "created_date": "2023-02-02T16:25:23.119Z",
  "updated_date": "2023-02-02T16:25:23.119Z",
  "client_id": "VT008",
  "username": "newgeofilter1"
}