category¶
-
GET/api/3.0/category¶ Retrieve a list of the available categories in the system.
Response JSON Array of Objects: - category_id (integer) – The unique ID of the category.
- name (string) – The display name of the category.
- pos (integer) – The order in which the category will display.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | {
"version": "3.0",
"account_id": 1,
"host_id": "your-company.checkfront.com",
"name": "Your Company",
"locale": {
"id": "en_US",
"lang": "_en",
"currency": "CAD"
},
"request": {
"status": ""
},
"query": false,
"category": {
"2": {
"category_id": 2,
"name": "Accommodation",
"pos": 2,
"qty": 0,
"unit": "N"
},
"3": {
"category_id": 3,
"name": "Tours",
"pos": 5,
"qty": 0,
"unit": "N"
},
"4": {
"category_id": 4,
"name": "Rentals",
"pos": 0,
"qty": 0,
"unit": "N"
}
}
}
|