Get location details
GET/v1/partner/locations/:location_id
Retrieves comprehensive information for a specific location using its unique ID. Returns details such as address, contact information, hours of operation, and associated visit types.
Token scope:{'scope': 'read:locations'}
Request​
Path Parameters
Required. The unique identifier of the location
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
- MOD1
- MOD2
Array [
]
The street address of the location.
The city where the location is situated.
hours
object
required
Friday
object[]
required
Monday
object[]
required
Saturday
object[]
required
Sunday
object[]
required
Thursday
object[]
required
Tuesday
object[]
required
Wednesday
object[]
required
hours_default
object
required
Friday
object[]
required
Monday
object[]
required
Saturday
object[]
required
Sunday
object[]
required
Thursday
object[]
required
Tuesday
object[]
required
Wednesday
object[]
required
The unique identifier of the location.
image_links
object
Categorized image links for the location (cover, gallery, etc.).
property name*
string[]
string
The name of the location.
The contact phone number for the location.
The state where the location is situated.
The time zone of the location.
visit_types
object
required
anyOf
string
string
{
"address": "string",
"city": "string",
"display_address": "string",
"group_name": "string",
"hours": {
"Friday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Monday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Saturday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Sunday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Thursday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Tuesday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Wednesday": [
{
"from_time": "string",
"to_time": "string"
}
]
},
"hours_default": {
"Friday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Monday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Saturday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Sunday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Thursday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Tuesday": [
{
"from_time": "string",
"to_time": "string"
}
],
"Wednesday": [
{
"from_time": "string",
"to_time": "string"
}
]
},
"id": 0,
"image_links": {},
"lat_long": "string",
"name": "string",
"phone": "string",
"platform_type": "string",
"state": "string",
"subpremise": "string",
"time_zone": "string",
"visit_types": [
null
],
"website": "string",
"zip_code": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}