Retrieve all locations for a company
/locations
limit of records per page
10
page number
2
This field is used to filter by city model. (LIKE)
Athens
This field is used to filter by state model. (LIKE)
Georgia
This field is used to filter by country model. (LIKE)
United States
This field is used to filter by category model. (LIKE)
office
This field is used to filter by type model. (LIKE)
Warehouse
This parameter is used to sort the records by a specific field (city,state,country,place_id,category,has_commute,ownership,type,has_solar,created_at)
type
Order type(asc or desc)
asc
Store a location for a company
/locations
Quantity for the Location
100
SKU for the Location
35015
Source for the Location
factory
Line 1 for the Location
175 Atlantic St
Line 2 for the Location
175 Atlantic St
City for the Location
Georgia
State for the Location
Georgia
Postal Code for the Location
77024-1503
Country for the Location
United States
Category for the Location
Office
Nickname for the Location
Office A/C
The square foot for the Location
20
Has commute for the Location
true
Ownership for the Location
Owned
Type for the Location
Warehouse
Population for the Location
10
Has solar for the Location
true
Update a location for a company
/locations/{id}
Id of the location
996501df-0bfc-4f95-954d-3a5d5dc48469
Quantity for the Location
100
SKU for the Location
35015
Source for the Location
factory
Line 1 for the Location
175 Atlantic St
Line 2 for the Location
175 Atlantic St
City for the Location
Georgia
State for the Location
Georgia
Postal Code for the Location
77024-1503
Country for the Location
United States
Category for the Location
Office
Nickname for the Location
Office A/C
The square foot for the Location
20
Has commute for the Location
true
Ownership for the Location
Owned
Type for the Location
Warehouse
Population for the Location
10
Has solar for the Location
true