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": "Ms. Daphney Kiehn IV",
"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": true
},
{
"favourite": true
}
],
"seo": {
"title": {
"en": "Saepe eligendi modi aut voluptatem ipsam quia perspiciatis."
},
"description": {
"en": "Asperiores ex nam est assumenda. Nihil voluptas ipsa nobis voluptatem. Beatae reiciendis quas maxime blanditiis."
},
"url": {
"en": "http://lakin.com/officiis-enim-voluptate-repellat-voluptatem-omnis"
}
}
}
When returned in a response.
{
"id": 15,
"name": "Murl Grant MD",
"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": true
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": 15,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 12,
"name": "Gluten"
},
{
"id": 10,
"name": "Nuts"
},
{
"id": 17,
"name": "Mustard"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": true,
"product_prices": [
{
"id": 12,
"name": "...",
"price": 12
},
{
"id": 12,
"name": "...",
"price": 12
},
{
"id": 13,
"name": "...",
"price": 16
}
],
"optionsets": [
{
"id": 14,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 10,
"name": "...",
"price_change": 13
},
{
"id": 13,
"name": "...",
"price_change": 16
},
{
"id": 11,
"name": "...",
"price_change": 14
}
]
},
{
"id": 10,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 13,
"name": "...",
"price_change": 11
},
{
"id": 16,
"name": "...",
"price_change": 16
},
{
"id": 12,
"name": "...",
"price_change": 16
}
]
},
{
"id": 14,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 15,
"name": "...",
"price_change": 16
},
{
"id": 15,
"name": "...",
"price_change": 19
},
{
"id": 14,
"name": "...",
"price_change": 19
}
]
}
],
"min_max": {
"amount": {
"minimum": 12,
"maximum": 15,
"suggested": 15
},
"weight": {
"minimum": 16,
"maximum": 10,
"suggested": 15
},
"persons": {
"minimum": 15,
"maximum": 15,
"suggested": 13
}
},
"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": false
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": 14,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 11,
"name": "Lupine"
},
{
"id": 17,
"name": "Mollusc"
},
{
"id": 11,
"name": "Sulphite"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": false,
"product_prices": [
{
"id": 10,
"name": "...",
"price": 15
},
{
"id": 14,
"name": "...",
"price": 13
},
{
"id": 19,
"name": "...",
"price": 13
}
],
"optionsets": [
{
"id": 10,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 17,
"name": "...",
"price_change": 16
},
{
"id": 13,
"name": "...",
"price_change": 13
},
{
"id": 18,
"name": "...",
"price_change": 12
}
]
},
{
"id": 10,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 10,
"name": "...",
"price_change": 10
},
{
"id": 10,
"name": "...",
"price_change": 13
},
{
"id": 16,
"name": "...",
"price_change": 18
}
]
},
{
"id": 10,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 17,
"name": "...",
"price_change": 15
},
{
"id": 12,
"name": "...",
"price_change": 11
},
{
"id": 18,
"name": "...",
"price_change": 15
}
]
}
],
"min_max": {
"amount": {
"minimum": 18,
"maximum": 11,
"suggested": 10
},
"weight": {
"minimum": 17,
"maximum": 13,
"suggested": 18
},
"persons": {
"minimum": 12,
"maximum": 14,
"suggested": 17
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
},
{
"id": 12,
"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": 16,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 19,
"name": "Mollusc"
},
{
"id": 10,
"name": "Mustard"
},
{
"id": 15,
"name": "Gluten"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": false,
"product_prices": [
{
"id": 13,
"name": "...",
"price": 10
},
{
"id": 16,
"name": "...",
"price": 10
},
{
"id": 11,
"name": "...",
"price": 12
}
],
"optionsets": [
{
"id": 11,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 14,
"name": "...",
"price_change": 18
},
{
"id": 12,
"name": "...",
"price_change": 16
},
{
"id": 18,
"name": "...",
"price_change": 16
}
]
},
{
"id": 12,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 19,
"name": "...",
"price_change": 10
},
{
"id": 15,
"name": "...",
"price_change": 10
},
{
"id": 17,
"name": "...",
"price_change": 17
}
]
},
{
"id": 12,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 14,
"name": "...",
"price_change": 15
},
{
"id": 13,
"name": "...",
"price_change": 15
},
{
"id": 19,
"name": "...",
"price_change": 12
}
]
}
],
"min_max": {
"amount": {
"minimum": 17,
"maximum": 13,
"suggested": 14
},
"weight": {
"minimum": 16,
"maximum": 11,
"suggested": 12
},
"persons": {
"minimum": 17,
"maximum": 10,
"suggested": 16
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
}
],
"seo": {
"title": {
"en": "Quibusdam pariatur qui in placeat reprehenderit minima possimus molestias."
},
"description": {
"en": "Quod eaque quam minima quia dolorum inventore non. Et et qui et commodi provident velit. Dolorem quidem similique fugiat modi."
},
"url": {
"en": "https://hills.info/ratione-nisi-omnis-nobis-non-voluptatem-et.html"
}
}
}