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": 11,
    "name": "Hope Ledner",
    "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": "Nam recusandae repudiandae totam excepturi fugit consequatur ipsum."
        },
        "description": {
            "en": "Recusandae ullam quia nihil at. Repudiandae voluptas ipsam voluptatibus maiores facere. Possimus velit consequatur voluptatibus eum. Sed architecto maiores quasi ipsum eos sed suscipit."
        },
        "url": {
            "en": "http://www.mclaughlin.com/eos-natus-et-sint-veritatis-possimus-autem-ducimus-sequi"
        }
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.2.0 stable