To get all categories.
https://access.way2order.com/api/v1/getcategories
Content-Type: application/json
Authorization: Bearer {access_token}
{
{
"name": "Bronze",
"code": "fe59447108ab0cc04eca4c1b6dda0565",
"parent": "By Material / ",
"visible": true,
"count": 48
},
{
"name": "Globe Valve",
"code": "551808323686cdd8d18697cdcf541ab9",
"parent": "By Type / ",
"visible": true,
"count": 9
},
...
}
Attribute | Type | Description |
---|---|---|
name | String | Category Name |
code | String | Category ID |
parent | String | Category Nesting Structure |
visible | Boolean | true if Category is visible, false otherwise |
count | Integer | Number of Products in the Category |