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": 19,
    "name": "Serena Schaden",
    "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": [
        {
            "favourite": true
        },
        {
            "favourite": false
        },
        {
            "favourite": true
        }
    ],
    "seo": {
        "title": {
            "en": "Omnis quisquam voluptatem aliquid quo ad."
        },
        "description": {
            "en": "Porro eius ea porro inventore. Deleniti esse ea animi officia nesciunt. Voluptates sed quae repellendus. Suscipit rerum nisi inventore velit velit temporibus cum. Accusantium ab voluptates nam vel."
        },
        "url": {
            "en": "http://www.osinski.com/esse-nihil-maiores-itaque-dolores-voluptate-enim"
        }
    }
}

Response

When returned in a response.

Example 1

{
    "id": 15,
    "name": "Alfonzo Bradtke",
    "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": [
        {
            "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": 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": 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": false
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": true,
            "price": 19,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 16,
                    "name": "Peanut"
                },
                {
                    "id": 11,
                    "name": "Egg"
                },
                {
                    "id": 10,
                    "name": "Milk"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": true,
            "favourite": true,
            "product_prices": [
                {
                    "id": 10,
                    "name": "...",
                    "price": 10
                },
                {
                    "id": 19,
                    "name": "...",
                    "price": 16
                },
                {
                    "id": 11,
                    "name": "...",
                    "price": 18
                }
            ],
            "optionsets": [
                {
                    "id": 12,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 10,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": 19
                        },
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": 16
                        }
                    ]
                },
                {
                    "id": 14,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": 15
                        },
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 17
                        },
                        {
                            "id": 17,
                            "name": "...",
                            "price_change": 16
                        }
                    ]
                },
                {
                    "id": 19,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": 16
                        },
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": 16
                        },
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": 16
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 19,
                    "maximum": 14,
                    "suggested": 17
                },
                "weight": {
                    "minimum": 10,
                    "maximum": 10,
                    "suggested": 14
                },
                "persons": {
                    "minimum": 19,
                    "maximum": 13,
                    "suggested": 15
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        },
        {
            "id": 13,
            "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": 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
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": false,
            "price": 17,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 15,
                    "name": "Sesame"
                },
                {
                    "id": 19,
                    "name": "Crustaceans"
                },
                {
                    "id": 13,
                    "name": "Sulphite"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": false,
            "favourite": true,
            "product_prices": [
                {
                    "id": 11,
                    "name": "...",
                    "price": 12
                },
                {
                    "id": 14,
                    "name": "...",
                    "price": 10
                },
                {
                    "id": 15,
                    "name": "...",
                    "price": 13
                }
            ],
            "optionsets": [
                {
                    "id": 10,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 17,
                            "name": "...",
                            "price_change": 14
                        },
                        {
                            "id": 11,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 16,
                            "name": "...",
                            "price_change": 18
                        }
                    ]
                },
                {
                    "id": 12,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 10
                        },
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": 18
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": 11
                        }
                    ]
                },
                {
                    "id": 17,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": 14
                        },
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": 13
                        },
                        {
                            "id": 16,
                            "name": "...",
                            "price_change": 10
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 18,
                    "maximum": 16,
                    "suggested": 16
                },
                "weight": {
                    "minimum": 14,
                    "maximum": 17,
                    "suggested": 15
                },
                "persons": {
                    "minimum": 19,
                    "maximum": 18,
                    "suggested": 18
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        },
        {
            "id": 10,
            "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": 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
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": true,
            "price": 14,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 13,
                    "name": "Nuts"
                },
                {
                    "id": 16,
                    "name": "Sesame"
                },
                {
                    "id": 14,
                    "name": "Nuts"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": false,
            "favourite": true,
            "product_prices": [
                {
                    "id": 14,
                    "name": "...",
                    "price": 18
                },
                {
                    "id": 17,
                    "name": "...",
                    "price": 18
                },
                {
                    "id": 19,
                    "name": "...",
                    "price": 11
                }
            ],
            "optionsets": [
                {
                    "id": 11,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 10
                        },
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": 15
                        },
                        {
                            "id": 10,
                            "name": "...",
                            "price_change": 17
                        }
                    ]
                },
                {
                    "id": 10,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 12
                        },
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": 11
                        },
                        {
                            "id": 17,
                            "name": "...",
                            "price_change": 12
                        }
                    ]
                },
                {
                    "id": 16,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": 15
                        },
                        {
                            "id": 11,
                            "name": "...",
                            "price_change": 19
                        },
                        {
                            "id": 17,
                            "name": "...",
                            "price_change": 16
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 19,
                    "maximum": 15,
                    "suggested": 13
                },
                "weight": {
                    "minimum": 13,
                    "maximum": 17,
                    "suggested": 17
                },
                "persons": {
                    "minimum": 19,
                    "maximum": 11,
                    "suggested": 10
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        }
    ],
    "seo": {
        "title": {
            "en": "Aut nostrum sed illo iusto."
        },
        "description": {
            "en": "Ad quia numquam incidunt nostrum. Asperiores error debitis deserunt quia quis. Sequi aut aut repellendus corporis. Blanditiis eos optio ut quae quia autem."
        },
        "url": {
            "en": "http://koepp.com/"
        }
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.0.0 stable