Discussions

Ask a Question
Back to all

start[lte] param not working as expected in shifts endpoint

When calling the endpoint v2/company/177693/shifts, I have noticed that there are shifts that do not fall within my specified date time range.

I am looking for shifts that start between 2025-07-26T11:00:00Z and 2025-07-27T10:59:59Z, but the endpoint returns a shift starting at 2025-07-27T16:00:00Z

My request has the following params:


'cursor': None, 
'limit': 200, 
'location_id': '225759', 
'start[gte]': '2025-07-26T11:00:00Z', 
'start[lte]': '2025-07-27T10:59:59Z'

The following shift is included in the response:

{
            "id": 1210729676,
            "user_id": 9079467,
            "department_id": 319800,
            "location_id": 225759,
            "company_id": 177693,
            "role_id": 1102127,
            "station": 2,
            "station_name": "Desserts",
            "station_id": 626538,
            "start": "2025-07-27T16:00:00Z",
            "end": "2025-07-28T00:00:00Z",
            "close": false,
            "business_decline": false,
            "hourly_wage": 1650,
            "notes": "",
            "draft": false,
            "notified": true,
            "open": false,
            "unassigned": false,
            "unassigned_skill_level": 0,
            "open_offer_type": "all_location_members",
            "publish_status": "published",
            "attendance_status": "none",
            "late_minutes": 0,
            "created": "2025-07-18T01:02:17Z",
            "modified": "2025-07-24T00:28:05Z",
            "soft_deleted": null,
            "deleted": false,
            "breaks": [],
            "bd": false,
            "status": "none"
        }