Shifts
Get a shift
Changed onRetrieve a single courier shift by ID, including its times, assigned courier, and store location.
get/v1/shift/{id}
Request
- Base URLhttps://api.sandbox.usenash.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Shift ID
Response
OK
Example response
{
"optimizationParams": {
"serviceTimeRelativeEfficiency": 1,
"plannedBreaks": [
{
"end": 30,
"start": 0
}
],
"departureDelay": 15,
"shiftEndServiceTimeMinutes": 10
}
}Changes
- info
api operation id
get_shift_v1_shift__string_id__getremoved and replaced withshifts_v1_get_shift_route_shift__string_id__get - info
added the optional property
//to the response with the status
- info