API Documentation
CategoriesList Categories
Method: /categories.[format]
Syntax:
https://[subdomain].salesbinder.com/api/2.0/categories.json?page=[number]
HTTP Request Type: GETSample Returned JSON Data
1{
2 "count": "2",
3 "page": "1",
4 "pages": "1",
5 "categories": [
6 [
7 {
8 "name": "T-Shirts",
9 "description": "Sample description here.",
10 "multiple": false,
11 "default_markup": 20,
12 "weight": 17,
13 "item_count": 0,
14 "id": "4d7d32ff-17b8-4555-b489-759eb86a92d9",
15 "account_id": "4d616938-5555-439b-8bba-29bcb86a92d9",
16 "modified": "2016-08-25T20:37:30+00:00",
17 "created": "2011-03-13T21:11:27+00:00"
18 },
19 {
20 "name": "Bikes",
21 "description": "",
22 "multiple": false,
23 "default_markup": null,
24 "weight": 18,
25 "item_count": 1,
26 "id": "50edb1de-05ec-4855-879b-1c88b86aa76a",
27 "account_id": "4d616938-5555-439b-8bba-29bcb86a92d9",
28 "modified": "2016-08-25T20:37:30+00:00",
29 "created": "2013-01-09T18:07:26+00:00"
30 }
31 ]
32 ]
33}
Sample Returned XML Data
1<?xml version="1.0" encoding="UTF-8" ?>
2<response>
3 <category>
4 <name>T-Shirts</name>
5 <description/>
6 <multiple>1</multiple>
7 <default_markup/>
8 <weight>0</weight>
9 <item_count>1</item_count>
10 <id>4e6ada75-4d00-481e-9eb4-31acb86a92d9</id>
11 <account_id>4d616938-5555-439b-8bba-29bcb86a92d9</account_id>
12 <modified>8/25/16, 8:37 PM</modified>
13 <created>9/10/11, 3:33 AM</created>
14 </category>
15 <category>
16 <name>Bikes</name>
17 <description/>
18 <multiple>0</multiple>
19 <default_markup/>
20 <weight>18</weight>
21 <item_count>1</item_count>
22 <id>50edb1de-05ec-4878-879b-1c88b86aa76a</id>
23 <account_id>4d616938-5555-439b-8bba-29bcb86a92d9</account_id>
24 <modified>8/25/16, 8:37 PM</modified>
25 <created>1/9/13, 6:07 PM</created>
26 </category>
27</response>
Updated on February 7th, 2022