<- Locations API

Locations API

All versions ->

Retrieve location

GET

 /v2/locations/{location_id}

Retrieves details of a single location.

Specify "main" as the location ID to retrieve details of the main location.

Permissions:MERCHANT_PROFILE_READ
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

location_id

string

Required

The ID of the location to retrieve. Specify the string "main" to return the main location.

Link to section

Response fields

Link to section

errors

Information about errors encountered during the request.

Link to section

location

The requested location.