v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBLocation
Get Locations
Get a list of Locations.
get/customers/locations
Query parameters
pageinteger
Specifies the page of records to be returned. Defaults to 1.
page_sizeinteger
Number of records to return per page. Maximum and default are 100 records.
Headers
x-api-keystring required
A valid api key. If you don't have one, please request one through the Web Integration screen.
Response
Locations for the given customer
Example response
{
"locations": [
{
"id": 1234567891234567,
"state_id": 1234567891234567,
"country_id": 1234567891234567,
"business_type_id": 1234567891234567,
"customer_id": 1234567891234567,
"time_zone_id": 1234567891234567,
"location_latitude": 0.1,
"location_longitude": 0.1,
"lead_owner_id": 1234567891234567,
"client_owner_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
}
}
]
}