company.Category.simple

Request

Fields when send to the api inside a request.

Field Type Description
name [Language: String] Translated category name
description [Language: String] Description of this category
active Bool A boolean value
only_order_in_store Bool Whether this product can only get ordered in the store with a separate UI for the shop employees, and not in the public webshop
seo company.SeoData Optional. The category's webpage search engine metatags

Response

Fields when returned by the api in a response.

Field Type Description
name [Language: String] Translated category name
description [Language: String] Description of this category
active Bool A boolean value
only_order_in_store Bool Whether this product can only get ordered in the store with a separate UI for the shop employees, and not in the public webshop
id Int ID of the category
banner Image? Nullable.
seo company.SeoData Optional. The category's webpage search engine metatags

Examples

Request

When used inside a request.

Example 1

{
    "name": "Vicente Lynch",
    "description": {
        "nl": "...",
        "en": "...",
        "fr": "..."
    },
    "active": false,
    "only_order_in_store": true,
    "seo": {
        "title": {
            "en": "Magnam veniam ut et occaecati natus quo ducimus dolore."
        },
        "description": {
            "en": "Ut odio facilis magnam ab sequi illum. Ut quasi vero corporis quibusdam molestias nihil ab sed. Ut magni debitis excepturi sed et sed labore. Sit molestias itaque rerum."
        },
        "url": {
            "en": "http://www.jast.com/odio-voluptas-architecto-labore-quibusdam-reprehenderit"
        }
    }
}

Response

When returned in a response.

Example 1

{
    "name": "Miss Fay Upton PhD",
    "description": {
        "nl": "...",
        "en": "...",
        "fr": "..."
    },
    "active": true,
    "only_order_in_store": false,
    "id": 19,
    "banner": {
        "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
            }
        ],
        "white_background": true
    },
    "seo": {
        "title": {
            "en": "Sequi et quod id aspernatur neque veniam numquam earum voluptate."
        },
        "description": {
            "en": "Eius nemo corrupti laborum culpa. Eius autem ipsum officiis adipisci. Veritatis ab voluptas sunt. Quos nostrum explicabo quisquam et beatae sed."
        },
        "url": {
            "en": "http://www.funk.info/voluptatibus-est-repellat-possimus-est"
        }
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.5.0 stable