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 |
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 |
When used inside a request.
{
"id": 17,
"name": "Mrs. Bryana Zulauf",
"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": false
},
{
"favourite": true
}
],
"seo": {
"title": {
"en": "Consequatur qui commodi nihil aperiam nemo atque odit atque autem."
},
"description": {
"en": "Qui recusandae cumque vel non adipisci. Aspernatur quo ipsa voluptas illo. Cum ducimus perferendis ex facilis. Magnam magni officiis ratione facilis voluptatem labore."
},
"url": {
"en": "http://dubuque.com/"
}
}
}
When returned in a response.
{
"id": 16,
"name": "Nat McKenzie",
"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": 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": 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
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": 16,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 11,
"name": "Fish"
},
{
"id": 14,
"name": "Fish"
},
{
"id": 14,
"name": "Nuts"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": true,
"product_prices": [
{
"id": 14,
"name": "...",
"price": 13
},
{
"id": 10,
"name": "...",
"price": 17
},
{
"id": 10,
"name": "...",
"price": 19
}
],
"optionsets": [
{
"id": 12,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 11,
"name": "...",
"price_change": 12
},
{
"id": 13,
"name": "...",
"price_change": 10
},
{
"id": 13,
"name": "...",
"price_change": 15
}
]
},
{
"id": 13,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 14,
"name": "...",
"price_change": 10
},
{
"id": 13,
"name": "...",
"price_change": 11
},
{
"id": 10,
"name": "...",
"price_change": 12
}
]
},
{
"id": 12,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 12,
"name": "...",
"price_change": 13
},
{
"id": 19,
"name": "...",
"price_change": 11
},
{
"id": 14,
"name": "...",
"price_change": 14
}
]
}
],
"min_max": {
"amount": {
"minimum": 14,
"maximum": 18,
"suggested": 17
},
"weight": {
"minimum": 10,
"maximum": 16,
"suggested": 14
},
"persons": {
"minimum": 12,
"maximum": 16,
"suggested": 12
}
},
"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": 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": 15,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 16,
"name": "Milk"
},
{
"id": 10,
"name": "Celery"
},
{
"id": 16,
"name": "Mustard"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": true,
"product_prices": [
{
"id": 14,
"name": "...",
"price": 14
},
{
"id": 14,
"name": "...",
"price": 12
},
{
"id": 15,
"name": "...",
"price": 13
}
],
"optionsets": [
{
"id": 12,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 19,
"name": "...",
"price_change": 15
},
{
"id": 14,
"name": "...",
"price_change": 17
},
{
"id": 19,
"name": "...",
"price_change": 16
}
]
},
{
"id": 18,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 12,
"name": "...",
"price_change": 10
},
{
"id": 19,
"name": "...",
"price_change": 17
},
{
"id": 18,
"name": "...",
"price_change": 10
}
]
},
{
"id": 19,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 19,
"name": "...",
"price_change": 16
},
{
"id": 15,
"name": "...",
"price_change": 19
},
{
"id": 14,
"name": "...",
"price_change": 18
}
]
}
],
"min_max": {
"amount": {
"minimum": 19,
"maximum": 18,
"suggested": 12
},
"weight": {
"minimum": 14,
"maximum": 10,
"suggested": 11
},
"persons": {
"minimum": 11,
"maximum": 11,
"suggested": 15
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
},
{
"id": 15,
"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": 15,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 16,
"name": "Mustard"
},
{
"id": 17,
"name": "Crustaceans"
},
{
"id": 16,
"name": "Gluten"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": true,
"product_prices": [
{
"id": 10,
"name": "...",
"price": 17
},
{
"id": 19,
"name": "...",
"price": 15
},
{
"id": 14,
"name": "...",
"price": 13
}
],
"optionsets": [
{
"id": 17,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 19,
"name": "...",
"price_change": 10
},
{
"id": 12,
"name": "...",
"price_change": 16
},
{
"id": 18,
"name": "...",
"price_change": 18
}
]
},
{
"id": 16,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 11,
"name": "...",
"price_change": 19
},
{
"id": 10,
"name": "...",
"price_change": 17
},
{
"id": 12,
"name": "...",
"price_change": 10
}
]
},
{
"id": 19,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 16,
"name": "...",
"price_change": 19
},
{
"id": 12,
"name": "...",
"price_change": 17
},
{
"id": 18,
"name": "...",
"price_change": 13
}
]
}
],
"min_max": {
"amount": {
"minimum": 19,
"maximum": 15,
"suggested": 14
},
"weight": {
"minimum": 16,
"maximum": 17,
"suggested": 11
},
"persons": {
"minimum": 17,
"maximum": 15,
"suggested": 16
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
}
],
"seo": {
"title": {
"en": "Sint voluptate illum doloremque omnis saepe dicta iure porro neque eos."
},
"description": {
"en": "Tempore et ut qui magni. Reprehenderit omnis nihil quia possimus eaque quo. Facere suscipit tenetur neque et unde maiores. Perspiciatis quia ea odio impedit."
},
"url": {
"en": "http://schultz.com/perspiciatis-et-totam-ea-labore-laudantium-et"
}
}
}