Skip to main content
WEBHOOK
onLocationCreated
{
  "location": {
    "address": {
      "country": "<string>",
      "postalCode": "<string>",
      "city": "<string>",
      "state": "<string>",
      "addressTwo": "<string>",
      "addressOne": "<string>"
    },
    "externalIds": [
      {
        "type": "CUSTOM",
        "value": "<string>"
      }
    ],
    "id": "<string>",
    "name": "<string>",
    "contacts": [
      {
        "name": "<string>",
        "email": "<string>",
        "phone": "<string>",
        "role": "<string>"
      }
    ],
    "hours": {
      "sunday": {
        "type": "FACILITY_HOURS",
        "timezone": "<string>",
        "endTime": "<string>",
        "startTime": "<string>"
      },
      "saturday": {
        "type": "FACILITY_HOURS",
        "timezone": "<string>",
        "endTime": "<string>",
        "startTime": "<string>"
      },
      "friday": {
        "type": "FACILITY_HOURS",
        "timezone": "<string>",
        "endTime": "<string>",
        "startTime": "<string>"
      },
      "thursday": {
        "type": "FACILITY_HOURS",
        "timezone": "<string>",
        "endTime": "<string>",
        "startTime": "<string>"
      },
      "wednesday": {
        "type": "FACILITY_HOURS",
        "timezone": "<string>",
        "endTime": "<string>",
        "startTime": "<string>"
      },
      "tuesday": {
        "type": "FACILITY_HOURS",
        "timezone": "<string>",
        "endTime": "<string>",
        "startTime": "<string>"
      },
      "monday": {
        "type": "FACILITY_HOURS",
        "timezone": "<string>",
        "endTime": "<string>",
        "startTime": "<string>"
      }
    },
    "scheduling": {
      "method": "EMAIL",
      "portal": "AMAZON_CARRIER_CENTRAL"
    },
    "geoCoordinates": {
      "longitude": 123,
      "latitude": 123
    }
  },
  "event": "location.created"
}
Beta Feature: This functionality is currently in beta. You may experience changes or limited support as we continue to improve it.

Body

application/json
location
object
required
event
enum<string>
required
Available options:
location.created

Response

OK