GuidesAPI ReferenceChangelogDiscussions
Back to 7shifts.comBecome a Partner
API Reference

location.deleted

📘

NOTE

To configure webhooks:

This webhook will be triggered when a location is deleted.

Below is an example location.deleted payload.

{
    "location_id": 408,
    "company_id": 101,
    "name": "Burnaby - Patio (DAY)",
    "formatted_address": "199 Bathurst Street, Toronto, ON, Canada",
    "lat": 43.64792654,
    "lng": -79.40473318,
    "country": "CA",
    "state": "ON",
    "city": "Toronto",
    "place_id": "ChIJUyrhFOc0K4gRyuFq6AUlfmE",
    "timezone": "America/Montreal",
    "hash": "38e8ce32e3d12a5a3cb2d9915eb9391f",
    "department_based_budget": false,
    "acting_user_id": 1149595,
    "is_deleted": true
}