GuidesAPI ReferenceChangelog
Log In

Location Events

API Endpoint

GET /v1/locations/:location_id

Event types

  • location.created
  • location.updated

Metadata

Resource: "Company"
Entity: "Location"

Example payload

{
    "event_type": "location.updated",
    "resource_type": "Company",
    "resource_id": 7757616923994151,
    "resource_uuid": "9cf96c42-15f7-40db-ac7e-43ee6c7d8749",
    "entity_type": "Location",
    "entity_id": 7757869432795544,
    "entity_uuid": null,
    "timestamp": 1629909467,
    "entity_attributes": {
        "company_id": 7757616923994151,
        "version": "1165e7dbbc6734a2403dc2993ed03b8a",
        "id": 7757869432795544,
        "street_1": "425 2nd Street",
        "street_2": "Suite 1966",
        "city": "San Francisco",
        "state": "CA",
        "zip": "94107",
        "country": "USA",
        "active": true,
        "phone_number": "4160000000",
        "filing_address": true,
        "mailing_address": true
    }
}