API Documentation
LocationsList Locations
Method: /locations.[format]
Permissions Required:
- Inventory Management
Syntax:
https://[subdomain].salesbinder.com/api/2.0/locations.json?page=[number]
HTTP Request Type: GETSample Returned JSON Data
1{
2 "count":"4",
3 "page":"1",
4 "pages":"1",
5 "locations":[
6 {
7 "location":{
8 "id":"4f3eedc9-9520-431e-a84a-3975b86a92d9",
9 "name":"New Jersey Warehouse 1",
10 "short_name":"NJ-1",
11 "address_1":"100 Centerton Road",
12 "address_2":"",
13 "city":"Mount Laurel",
14 "region":"New Jersey",
15 "postal_code":"08054",
16 "country":"USA",
17 "phone":null,
18 "fax":null,
19 "email":null,
20 "manager":null,
21 "item_count":"1"
22 }
23 },
24 {
25 "location":{
26 "id":"4efb9bc0-d578-44d9-a95e-7a07b86a92d9",
27 "name":"New York Warehouse 1",
28 "short_name":"NY-1",
29 "address_1":"302A West 12th Street",
30 "address_2":"",
31 "city":"New York",
32 "region":"NY",
33 "postal_code":"10014",
34 "country":"USA",
35 "phone":null,
36 "fax":null,
37 "email":null,
38 "manager":null,
39 "item_count":"6"
40 }
41 }
42 ]
43}
Sample Returned XML Data
1<?xml version="1.0" encoding="UTF-8" ?>
2 <count>4</count>
3 <page>1</page>
4 <pages>1</pages>
5 <locations>
6 <location>
7 <id>4f3eedc9-9520-431e-a84a-3975b86a92d9</id>
8 <name>New Jersey Warehouse 1</name>
9 <short_name>NJ-1</short_name>
10 <address_1>100 Centerton Road</address_1>
11 <address_2></address_2>
12 <city>Mount Laurel</city>
13 <region>New Jersey</region>
14 <postal_code>08054</postal_code>
15 <country>USA</country>
16 <phone />
17 <fax />
18 <email />
19 <manager />
20 <item_count>1</item_count>
21 </location>
22 </locations>
23 <locations>
24 <location>
25 <id>4efb9bc0-d578-44d9-a95e-7a07b86a92d9</id>
26 <name>New York Warehouse 1</name>
27 <short_name>NY-1</short_name>
28 <address_1>302A West 12th Street</address_1>
29 <address_2></address_2>
30 <city>New York</city>
31 <region>NY</region>
32 <postal_code>10014</postal_code>
33 <country>USA</country>
34 <phone />
35 <fax />
36 <email />
37 <manager />
38 <item_count>6</item_count>
39 </location>
40 </locations>
Updated on February 4th, 2022