Pages API
Store Pages provide an static endpoint to retrieve information of locations.
Get all locations
/pages_api/v1/locations/
Return an array of location data
Get one location
/pages_api/v1/locations/id_of_location
Return a location data
Location data
{
"id": "e3252c9c-7609-4dbb-999e-195fbb20fa7f",
"lat": 42.85973529,
"lng": -8.651689229,
"open_status": "open",
"external_id": "NIC_0204",
"name": "Null Island Cafe",
"street_address": "Avenida De Maia, 61",
"locality": "Bertamiras Ames",
"region": "A Coruña",
"postcode": "15220",
"phone": "666 43 66 34",
"hours": {
"mon": [{"from": "09:00", "to": "19:00"}],
"tue": [{"from": "09:00", "to": "19:00"}],
"wed": [{"from": "09:00", "to": "19:00"}],
"thu": [{"from": "09:00", "to": "19:00"}],
"fri": [{"from": "09:00", "to": "19:00"}],
"sat": [{"from": "09:00", "to": "19:00"}],
"sun": []
},
"special_hours": [],
"pages": {
"store-page": "https://null-island-cafe.localisti.co/null-island-cafe-bertamiras-ames"
},
"custom_attributes": {
"custom_attribute_sp_location_services_list": "parking,outdoor_seating,wifi"
}
}
Custom attributes are exposed via settings.