GuidesAPI ReferenceChangelogDiscussions
Back to 7shifts.comBecome a Partner
API Reference
These docs are for v2.2022.0501. Click to read the latest docs for v2.2023.0501.

List Locations

Sample Response

{
    "data": [
        {
            "id": 9876,
            "company_id": 1234,
            "name": "Pub",
            "country": "CA",
            "state": "SK",
            "city": "Saskatoon",
            "formatted_address": "1234 Street, Saskatoon, SK, Canada",
            "lat": 50,
            "lng": -104,
            "place_id": "ChIJXXXXXXXXXXXXXXXXXXZghg",
            "timezone": "America/Regina",
            "timezone_updated": false,
            "hash": "bc8bxxxxxxxxxxxxxxxxxxxxxxxxx1ca8",
            "mapping_id": "",
            "department_based_budget": false,
            "holiday_pay": true,
            "auto_send_log_book_time": null,
            "mon_hours_close": "00:00:00",
            "tue_hours_close": "00:00:00",
            "wed_hours_close": "00:00:00",
            "thu_hours_close": "00:00:00",
            "fri_hours_close": "00:00:00",
            "sat_hours_close": "00:00:00",
            "sun_hours_close": "00:00:00",
            "mon_hours_open": "07:00:00",
            "tue_hours_open": "08:00:00",
            "wed_hours_open": "08:00:00",
            "thu_hours_open": "08:00:00",
            "fri_hours_open": "08:00:00",
            "sat_hours_open": "08:00:00",
            "sun_hours_open": "07:00:00",
            "mon_is_closed": true,
            "tue_is_closed": false,
            "wed_is_closed": false,
            "thu_is_closed": false,
            "fri_is_closed": false,
            "sat_is_closed": false,
            "sun_is_closed": false,
            "shift_feedback": true,
            "message": "Click here to create a footnote... This is a message that is visible to all employees.",
            "created": "2021-10-19T22:56:48+00:00",
            "modified": "2022-06-05T22:59:19+00:00"
        },
        {
            "id": 9875,
            "company_id": 1234,
            "name": "Burger Bar",
            "country": "CA",
            "state": "SK",
            "city": "Saskatoon",
            "formatted_address": "2345 Ave, Saskatoon, SK, Canada",
            "lat": 50,
            "lng": -104,
            "place_id": "EiBWXXXXXXXXXXXXXXXXXXJKNQ",
            "timezone": "America/Regina",
            "timezone_updated": false,
            "hash": "b1f4xxxxxxxxxxxxxxxxxxxxxxxxx5c7f",
            "mapping_id": "",
            "department_based_budget": false,
            "holiday_pay": true,
            "auto_send_log_book_time": null,
            "mon_hours_close": "00:00:00",
            "tue_hours_close": "00:00:00",
            "wed_hours_close": "00:00:00",
            "thu_hours_close": "00:00:00",
            "fri_hours_close": "00:00:00",
            "sat_hours_close": "00:00:00",
            "sun_hours_close": "00:00:00",
            "mon_hours_open": "07:00:00",
            "tue_hours_open": "07:00:00",
            "wed_hours_open": "07:00:00",
            "thu_hours_open": "07:00:00",
            "fri_hours_open": "07:00:00",
            "sat_hours_open": "07:00:00",
            "sun_hours_open": "07:00:00",
            "mon_is_closed": true,
            "tue_is_closed": false,
            "wed_is_closed": false,
            "thu_is_closed": false,
            "fri_is_closed": false,
            "sat_is_closed": false,
            "sun_is_closed": false,
            "shift_feedback": true,
            "message": "Click here to create a footnote... This is a message that is visible to all employees.",
            "created": "2021-10-27T15:25:06+00:00",
            "modified": "2021-10-28T16:39:33+00:00"
        }
    ],
    "meta": {
        "cursor": {
            "current": "eyJsaX1pdCI6MTAwLCJvZmZzZXQiOjB9",
            "prev": null,
            "next": null,
            "count": 2
        }
    },
    "object": "locations"
}
Language
Credentials
Click Try It! to start a request and see the response here!