Skip to main content
square.onLocationCreated subscribes to location.created for the selected seller. It requires MERCHANT_PROFILE_READ.

Example

automations/square-on-location-created.automation.ts

Event

A Location was created. The signal resolves to the official Square.LocationCreatedEvent payload with type narrowed to location.created.