Categories

Get information about our category structure

Attributes

Name Type Description
head array Information about the head category
‐ id_category integer Unique identifier of the category
‐ name string Name of the head category
‐ path string Path of the category
‐ link string URI to the category
‐ subcategories array Array of the subcategories
‐ id_category integer Unique identifier of the subcategory
‐ name string Name of the subcategory
‐ path string Path of the category
‐ link string URI to the subcategory

Get all category information

With this call, you will only get stock of the active and discontinued products.

Request
GET https://www.rimba.eu/api/v1/categories
HTTP/1.1 200 OK
[
    {
        "head": {
            "id_category": 4,
            "name": "Electroplay",
            "path": "Electroplay",
            "link": "https://rimba.eu/en/category/4-electroplay",
            "subcategories": [
                {
                    "id_category": 35,
                    "name": "Accessories",
                    "path": "Electroplay > Accessories",
                    "link": "https://rimba.eu/en/category/35-accessories"
                },
                {
                    "id_category": 36,
                    "name": "Lead Wires",
                    "path": "Electroplay > Lead Wires",
                    "link": "https://rimba.eu/en/category/36-lead-wires"
                },
                {
                    "id_category": 34,
                    "name": "Powerboxes",
                    "path": "Electroplay > Powerboxes",
                    "link": "https://rimba.eu/en/category/34-powerboxes"
                }
            ]
        }
    }
]