How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Square Locations API

The Locations API from Square — 2 operation(s) for locations.

Square Locations API is one of 45 APIs that Square publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Locations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.

This API exposes 4 operations across 2 paths, and defines 21 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://connect.squareup.com.

4 operations 2 paths 21 schemas 2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Server
https://connect.squareup.com
Authentication
OAuth 2.0, API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 2

Square Locations API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 57 scopes. An API key is passed in the header as Authorization (oauth2ClientSecret).

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Locations 4
GET
/v2/locations
Square List Locations
ListLocations → 200
POST
/v2/locations
Square Create Location
CreateLocation body → 200
GET
/v2/locations/{location_id}
Square Retrieve Location
RetrieveLocation 1 param → 200
PUT
/v2/locations/{location_id}
Square Update Location
UpdateLocation 1 param body → 200

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are Location (27 properties), Address (14 properties), TaxIds (5 properties), Error (4 properties). Each schema is shown below with its type and property counts.

Currency
string
Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://wikipedia.org/wiki/ISO4217).
Coordinates
object
Latitude and longitude coordinates.
2 properties
TaxIds
object
Identifiers for the location used by various governments for tax purposes.
5 properties
CreateLocationResponse
object
The response object returned by the [CreateLocation](api-endpoint:Locations-CreateLocation) endpoint.
2 properties
DayOfWeek
string
Indicates the specific day of the week.
Country
string
Indicates the country associated with another entity, such as a business. Values are in [ISO 3166-1-alpha-2 format](http://www.iso.org/iso/home/standards/count…
UpdateLocationRequest
object
The request object for the [UpdateLocation](api-endpoint:Locations-UpdateLocation) endpoint.
1 property
Location
object
Represents one of a business' [locations](https://developer.squareup.com/docs/locations-api).
27 properties
BusinessHoursPeriod
object
Represents a period of time during which a business location is open.
3 properties
LocationCapability
string
The capabilities a location might have.
RetrieveLocationResponse
object
Defines the fields that the [RetrieveLocation](api-endpoint:Locations-RetrieveLocation) endpoint returns in a response.
2 properties
LocationType
string
A location's type.
Address
object
Represents a postal address in a country. For more information, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addr…
14 properties
CreateLocationRequest
object
The request object for the [CreateLocation](api-endpoint:Locations-CreateLocation) endpoint.
1 property
Error
object
Represents an error encountered during a request to the Connect API. See [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) fo…
4 properties 2 required
ErrorCode
string
Indicates the specific error that occurred during a request to a Square API.
ListLocationsResponse
object
Defines the fields that are included in the response body of a request to the [ListLocations](api-endpoint:Locations-ListLocations) endpoint. Either errors or…
2 properties
BusinessHours
object
The hours of operation for a location.
1 property
UpdateLocationResponse
object
The response object returned by the [UpdateLocation](api-endpoint:Locations-UpdateLocation) endpoint.
2 properties
ErrorCategory
string
Indicates which high-level category of error has occurred during a request to the Connect API.
LocationStatus
string
A location's status.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

square-locations-api-openapi.yml Raw ↑

Other APIs Square publishes across the network.

Square Reporting API
Square Channels API
Square Transfer Orders API
Square ApplePay API
Square BankAccounts API
Square BookingCustomAttributes API
Square Bookings API
Square Cards API
Square CashDrawers API
Square Catalog API
Square Checkout API
Square CustomerCustomAttributes API
Where this information came from

This is an independent, third-party profile of Square Locations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.