Category.detailed

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.
messages [String] Array of String
products [Product.detailed] Array of Product.detailed
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.
messages [String] Array of String
products [Product.detailed] Array of Product.detailed
seo company.SeoData Optional. Product page SEO metatags

Examples

Request

When used inside a request.

Example 1

{
    "id": 14,
    "name": "Carli Volkman V",
    "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
    },
    "messages": [
        "...",
        "...",
        "..."
    ],
    "products": [
        {
            "favourite": true
        },
        {
            "favourite": true
        },
        {
            "favourite": true
        }
    ],
    "seo": {
        "title": {
            "en": "Placeat praesentium tenetur rerum consequatur a aperiam et."
        },
        "description": {
            "en": "Rerum est cupiditate voluptatem natus sit ut atque a. Molestias perferendis et saepe maxime delectus dolores velit. Perspiciatis delectus dolor id et tenetur possimus et."
        },
        "url": {
            "en": "http://www.funk.com/voluptatem-necessitatibus-quis-neque-aperiam-non-eligendi.html"
        }
    }
}

Response

When returned in a response.

Example 1

{
    "id": 15,
    "name": "Libbie Collier",
    "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
    },
    "messages": [
        "...",
        "...",
        "..."
    ],
    "products": [
        {
            "id": 14,
            "name": "...",
            "images": [
                {
                    "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
                },
                {
                    "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
                },
                {
                    "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
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": false,
            "price": 19,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 14,
                    "name": "Nuts"
                },
                {
                    "id": 19,
                    "name": "Nuts"
                },
                {
                    "id": 10,
                    "name": "Milk"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": false,
            "favourite": false,
            "product_prices": [
                {
                    "id": 15,
                    "name": "...",
                    "price": 10
                },
                {
                    "id": 19,
                    "name": "...",
                    "price": 12
                },
                {
                    "id": 10,
                    "name": "...",
                    "price": 15
                }
            ],
            "optionsets": [
                {
                    "id": 19,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": 17
                        },
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": 11
                        }
                    ]
                },
                {
                    "id": 19,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 15
                        },
                        {
                            "id": 10,
                            "name": "...",
                            "price_change": 12
                        },
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": 13
                        }
                    ]
                },
                {
                    "id": 14,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": 12
                        },
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": 14
                        },
                        {
                            "id": 11,
                            "name": "...",
                            "price_change": 18
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 11,
                    "maximum": 11,
                    "suggested": 17
                },
                "weight": {
                    "minimum": 17,
                    "maximum": 12,
                    "suggested": 11
                },
                "persons": {
                    "minimum": 11,
                    "maximum": 11,
                    "suggested": 14
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        },
        {
            "id": 17,
            "name": "...",
            "images": [
                {
                    "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
                },
                {
                    "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
                },
                {
                    "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
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": true,
            "price": 15,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 19,
                    "name": "Sesame"
                },
                {
                    "id": 10,
                    "name": "Sesame"
                },
                {
                    "id": 14,
                    "name": "Gluten"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": false,
            "favourite": false,
            "product_prices": [
                {
                    "id": 19,
                    "name": "...",
                    "price": 11
                },
                {
                    "id": 16,
                    "name": "...",
                    "price": 13
                },
                {
                    "id": 10,
                    "name": "...",
                    "price": 11
                }
            ],
            "optionsets": [
                {
                    "id": 14,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": 10
                        },
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 13
                        }
                    ]
                },
                {
                    "id": 15,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 16,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": 15
                        },
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": 15
                        }
                    ]
                },
                {
                    "id": 14,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 10
                        },
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": 16
                        },
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 14
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 14,
                    "maximum": 17,
                    "suggested": 14
                },
                "weight": {
                    "minimum": 17,
                    "maximum": 13,
                    "suggested": 17
                },
                "persons": {
                    "minimum": 18,
                    "maximum": 10,
                    "suggested": 18
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        },
        {
            "id": 17,
            "name": "...",
            "images": [
                {
                    "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
                },
                {
                    "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
                },
                {
                    "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
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": true,
            "price": 15,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 18,
                    "name": "Gluten"
                },
                {
                    "id": 14,
                    "name": "Lactose"
                },
                {
                    "id": 15,
                    "name": "Crustaceans"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": false,
            "favourite": false,
            "product_prices": [
                {
                    "id": 10,
                    "name": "...",
                    "price": 15
                },
                {
                    "id": 10,
                    "name": "...",
                    "price": 16
                },
                {
                    "id": 10,
                    "name": "...",
                    "price": 11
                }
            ],
            "optionsets": [
                {
                    "id": 12,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 16,
                            "name": "...",
                            "price_change": 15
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": 10
                        },
                        {
                            "id": 11,
                            "name": "...",
                            "price_change": 12
                        }
                    ]
                },
                {
                    "id": 18,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 12
                        },
                        {
                            "id": 16,
                            "name": "...",
                            "price_change": 12
                        }
                    ]
                },
                {
                    "id": 12,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": 17
                        },
                        {
                            "id": 10,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": 13
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 17,
                    "maximum": 13,
                    "suggested": 19
                },
                "weight": {
                    "minimum": 13,
                    "maximum": 13,
                    "suggested": 13
                },
                "persons": {
                    "minimum": 12,
                    "maximum": 19,
                    "suggested": 15
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        }
    ],
    "seo": {
        "title": {
            "en": "Quam quas aut nisi dolorem odio recusandae aliquid et laudantium voluptas."
        },
        "description": {
            "en": "Blanditiis fugit eos harum corrupti. Minima rerum commodi ea nihil rerum rem. Qui omnis aut debitis aut id eligendi quibusdam impedit."
        },
        "url": {
            "en": "http://feest.net/"
        }
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.2.2 stable