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": 13,
    "name": "Mariam Franecki",
    "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": "Voluptas voluptatem voluptatem nihil autem est optio."
        },
        "description": {
            "en": "Et aliquam culpa delectus. Eveniet veniam sit ipsum doloremque eos magni. Quam nesciunt et ut fugit nihil sit. Nisi voluptatem veniam ut et consequatur voluptas."
        },
        "url": {
            "en": "http://www.bechtelar.org/magnam-qui-est-dolorem-odio"
        }
    }
}

Response

When returned in a response.

Example 1

{
    "id": 19,
    "name": "Donna Hoppe",
    "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": 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": false
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": false,
            "price": {
                "value": 10,
                "currency": "EUR"
            },
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 14,
                    "name": "Lupine"
                },
                {
                    "id": 14,
                    "name": "Sulphite"
                },
                {
                    "id": 11,
                    "name": "Gluten"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": true,
            "favourite": false,
            "product_prices": [
                {
                    "id": 11,
                    "name": "...",
                    "price": {
                        "value": 10,
                        "currency": "EUR"
                    }
                },
                {
                    "id": 13,
                    "name": "...",
                    "price": {
                        "value": 13,
                        "currency": "EUR"
                    }
                },
                {
                    "id": 16,
                    "name": "...",
                    "price": {
                        "value": 10,
                        "currency": "EUR"
                    }
                }
            ],
            "optionsets": [
                {
                    "id": 19,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 16,
                            "name": "...",
                            "price_change": {
                                "value": 15,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 10,
                            "name": "...",
                            "price_change": {
                                "value": 12,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": {
                                "value": 16,
                                "currency": "EUR"
                            }
                        }
                    ]
                },
                {
                    "id": 14,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 17,
                            "name": "...",
                            "price_change": {
                                "value": 18,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": {
                                "value": 19,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": {
                                "value": 17,
                                "currency": "EUR"
                            }
                        }
                    ]
                },
                {
                    "id": 11,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": {
                                "value": 10,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": {
                                "value": 14,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 16,
                            "name": "...",
                            "price_change": {
                                "value": 13,
                                "currency": "EUR"
                            }
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 13,
                    "maximum": 15,
                    "suggested": 13
                },
                "weight": {
                    "minimum": 19,
                    "maximum": 10,
                    "suggested": 12
                },
                "persons": {
                    "minimum": 10,
                    "maximum": 19,
                    "suggested": 16
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        },
        {
            "id": 18,
            "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": false,
            "price": {
                "value": 18,
                "currency": "EUR"
            },
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 12,
                    "name": "Mustard"
                },
                {
                    "id": 18,
                    "name": "Lupine"
                },
                {
                    "id": 14,
                    "name": "Celery"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": true,
            "favourite": false,
            "product_prices": [
                {
                    "id": 15,
                    "name": "...",
                    "price": {
                        "value": 15,
                        "currency": "EUR"
                    }
                },
                {
                    "id": 14,
                    "name": "...",
                    "price": {
                        "value": 15,
                        "currency": "EUR"
                    }
                },
                {
                    "id": 18,
                    "name": "...",
                    "price": {
                        "value": 18,
                        "currency": "EUR"
                    }
                }
            ],
            "optionsets": [
                {
                    "id": 15,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": {
                                "value": 19,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": {
                                "value": 14,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": {
                                "value": 18,
                                "currency": "EUR"
                            }
                        }
                    ]
                },
                {
                    "id": 16,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": {
                                "value": 16,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 15,
                            "name": "...",
                            "price_change": {
                                "value": 11,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 13,
                            "name": "...",
                            "price_change": {
                                "value": 16,
                                "currency": "EUR"
                            }
                        }
                    ]
                },
                {
                    "id": 19,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": {
                                "value": 18,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": {
                                "value": 15,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": {
                                "value": 10,
                                "currency": "EUR"
                            }
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 14,
                    "maximum": 12,
                    "suggested": 19
                },
                "weight": {
                    "minimum": 15,
                    "maximum": 12,
                    "suggested": 19
                },
                "persons": {
                    "minimum": 13,
                    "maximum": 18,
                    "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": 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": {
                "value": 11,
                "currency": "EUR"
            },
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 19,
                    "name": "Peanut"
                },
                {
                    "id": 12,
                    "name": "Sulphite"
                },
                {
                    "id": 14,
                    "name": "Peanut"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": true,
            "favourite": true,
            "product_prices": [
                {
                    "id": 14,
                    "name": "...",
                    "price": {
                        "value": 14,
                        "currency": "EUR"
                    }
                },
                {
                    "id": 18,
                    "name": "...",
                    "price": {
                        "value": 12,
                        "currency": "EUR"
                    }
                },
                {
                    "id": 11,
                    "name": "...",
                    "price": {
                        "value": 15,
                        "currency": "EUR"
                    }
                }
            ],
            "optionsets": [
                {
                    "id": 15,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 11,
                            "name": "...",
                            "price_change": {
                                "value": 15,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 10,
                            "name": "...",
                            "price_change": {
                                "value": 18,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 17,
                            "name": "...",
                            "price_change": {
                                "value": 10,
                                "currency": "EUR"
                            }
                        }
                    ]
                },
                {
                    "id": 13,
                    "name": "...",
                    "allow_attachment": true,
                    "options": [
                        {
                            "id": 11,
                            "name": "...",
                            "price_change": {
                                "value": 11,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": {
                                "value": 17,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": {
                                "value": 19,
                                "currency": "EUR"
                            }
                        }
                    ]
                },
                {
                    "id": 10,
                    "name": "...",
                    "allow_attachment": false,
                    "options": [
                        {
                            "id": 12,
                            "name": "...",
                            "price_change": {
                                "value": 17,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": {
                                "value": 14,
                                "currency": "EUR"
                            }
                        },
                        {
                            "id": 18,
                            "name": "...",
                            "price_change": {
                                "value": 19,
                                "currency": "EUR"
                            }
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 18,
                    "maximum": 17,
                    "suggested": 16
                },
                "weight": {
                    "minimum": 19,
                    "maximum": 16,
                    "suggested": 18
                },
                "persons": {
                    "minimum": 17,
                    "maximum": 18,
                    "suggested": 10
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ]
        }
    ],
    "seo": {
        "title": {
            "en": "Dignissimos at consectetur explicabo cupiditate vel assumenda."
        },
        "description": {
            "en": "Et est consequatur qui magnam rerum. Quia similique voluptatem enim consequatur dolores ratione repellendus."
        },
        "url": {
            "en": "http://ebert.com/exercitationem-consequatur-dolore-odit-quae-quia-modi-minus"
        }
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.3.0 stable