Category.simple

Request

Fields when send to the api inside a request.

Field Type Description
id Int Id of the category
name String Translated category name
banner Image? Nullable.
seo company.SeoData Optional. Product page SEO metatags

Response

Fields when returned by the api in a response.

Field Type Description
id Int Id of the category
name String Translated category name
banner Image? Nullable.
seo company.SeoData Optional. Product page SEO metatags

Examples

Example 1

{
    "id": 14,
    "name": "Miss Emily Batz MD",
    "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": false
    },
    "seo": {
        "title": {
            "en": "Voluptatem fugit totam enim commodi voluptatibus eos amet deserunt tempora."
        },
        "description": {
            "en": "Quia quia quam aut hic aliquid. Eos esse consequuntur dignissimos reprehenderit sapiente modi. Voluptas id fugiat voluptas velit. Ad hic illo sed ut velit sequi."
        },
        "url": {
            "en": "http://stehr.com/molestias-dolores-sunt-eos-et-repudiandae-fuga-ea.html"
        }
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.2.2 stable