The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.
Get list of shifts
GET
https://api.pack.cloud/v1/warehouses/{warehouseId}/analytics/shifts
Request
Path parameters
warehouseIdstring
Query parameters
filter[type]string
Response
OK
Body
idstring
ID of the analytics shift
start_atstring
Time that the shift starts
end_atstring
Time that the shift ends
Days of week that the shift is done
typestring
Type of the shift
Allowed values:pickingpacking
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the analytics shift
start_atstring
Time that the shift starts
end_atstring
Time that the shift ends
Days of week that the shift is done
typestring
Type of the shift
Allowed values:pickingpacking
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the analytics shift
start_atstring
Time that the shift starts
end_atstring
Time that the shift ends
Days of week that the shift is done
typestring
Type of the shift
Allowed values:pickingpacking
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the analytics shift
start_atstring
Time that the shift starts
end_atstring
Time that the shift ends
Days of week that the shift is done
typestring
Type of the shift
Allowed values:pickingpacking
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the analytics shift
start_atstring
Time that the shift starts
end_atstring
Time that the shift ends
Days of week that the shift is done
typestring
Type of the shift
Allowed values:pickingpacking
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25