Lists the categories products are organised under, each with its subcategories.
One level of nesting: a category holds subcategories, and a subcategory holds none.
Subcategories is always present and is an empty array for a category that has none.
TaxId is the tax rate assigned to the category, resolvable against
GET /v1/taxes, and null when none is assigned. A subcategory does not report one.
Only categories are listed at the top level, and deleted rows are not listed at all. Category ids and subcategory ids are issued independently, so the same number can name one of each - so a subcategory id is only meaningful alongside the category it is nested under.
The category surface is read-only: this list is the whole of it, and categories and subcategories are created, changed and removed in the Gorelo app.
Authorizations
Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.
Response
OK
100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511