Body
Input for creating a shift.
The name of the shift.
"Shift 1"
The planned start timestamp of the shift.
"2021-01-01T00:00:00Z"
The planned end timestamp of the shift.
"2021-01-01T00:00:00Z"
The ID of the shift.
"sft_fKUFVWZQGbEfsyMwJYntE2"
The planned break duration of the shift.
30
The metadata of the shift.
{ "key": "value" }
The optimization parameters of the shift. Input for creating optimization params.
The status of the shift.
"active"
The store location ID of the shift.
"123"
The external store location ID of the shift.
"123"
The zone IDs of the shift.
["123"]
The external zone IDs of the shift.
["123"]
Response
OK
Response for shift.
The ID of the shift.
The name of the shift.
The planned start timestamp of the shift.
The planned end timestamp of the shift.
The status of the shift.
The creation timestamp of the shift.
The update timestamp of the shift.
The planned break duration of the shift.
The metadata of the shift.
The optimization parameters of the shift. Input for creating optimization params.
The store location ID of the shift.
The external store location ID of the shift.
The zone IDs of the shift.
The external zone IDs of the shift.
The courier ID of the shift.
The vehicle ID of the shift.