company.CategoryGroup

Request

Fields when send to the api inside a request.

Field Type Description
name [Language: String] Name of the category group
active Bool Set active status of category group
category_ids [Int] Category IDs that are children to this category group
uuid String Optional. A unique ID for this category group. You can choose your own ID's as long as they are unique within a shop. If you don't set an ID, we will generate a UUID.
order Int Optional. The order for this category group

Response

Fields when returned by the api in a response.

Field Type Description
name [Language: String] Name of the category group
active Bool Set active status of category group
category_ids [Int] Category IDs that are children to this category group
id Int ID of the category group
overview_image Image? Nullable.
uuid String Optional. A unique ID for this category group. You can choose your own ID's as long as they are unique within a shop. If you don't set an ID, we will generate a UUID.
order Int Optional. The order for this category group

Examples

Request

When used inside a request.

Example 1

{
    "name": {
        "nl": "...",
        "en": "...",
        "fr": "..."
    },
    "active": false,
    "category_ids": [
        17,
        18,
        17
    ],
    "uuid": "...",
    "order": 17
}

Response

When returned in a response.

Example 1

{
    "name": {
        "nl": "...",
        "en": "...",
        "fr": "..."
    },
    "active": true,
    "category_ids": [
        16,
        14,
        16
    ],
    "id": 10,
    "overview_image": {
        "resolutions": [
            {
                "src": "https://example.com",
                "width": 600,
                "height": 350
            },
            {
                "src": "https://example.com",
                "width": 600,
                "height": 350
            },
            {
                "src": "https://example.com",
                "width": 600,
                "height": 350
            }
        ],
        "file_id": 14,
        "white_background": false
    },
    "uuid": "...",
    "order": 13
}
This is a development version Do not use this version in production
1.10.0 development