Locations

  • List locations

  • Create location

  • Retrieve location

  • Update location

  • Webhooks

  • location.created

  • location.updated

Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

<- Locations webhooks

Locations webhooks

All versions ->

location createdBeta

EVENT

 location.created

Published when a Location is created.

Permissions:MERCHANT_PROFILE_READ
Link to section

Event payload

Example code

Link to section

merchant_id

string

The ID of the target merchant associated with the event.

Link to section

location_id

string

The ID of the Location associated with the event.

Link to section

type

string

The type of event this represents, "location.created".

Link to section

event_id

string

A unique ID for the event.

Link to section

created_at

string

Read only Timestamp of when the event was created, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

data

Data associated with the event.

Link to section

Examples

All versions ->

Response JSON

{ "merchant_id": "6SSW7HV8K2ST5", "location_id": "S8GWD5DBJ3HF3", "type": "location.created", "event_id": "de45d351-8ad2-400a-97af-e9f89da3d19d", "created_at": "2020-02-06T21:27:34.308Z", "data": { "type": "Location", "id": "S8GWD5DBJ3HF3" } }