GET /shops/@shop/offers/products
You can use authentication for this request, but it is not required. Always provide the access_token when you have one. It may affect the response.
Header | Value |
---|---|
Authorization | Optional. Set the value to Bearer + + access_token |
Replace the @ keywords in the URL with their corresponding value.
A dictionary with fields
Field | Type | Description |
---|---|---|
shop | Int | An integer value |
GET /shops/11/offers/products HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.10.0
Accept-Language: en-US,en;q=0.5
Array of Product.detailed: [Product.detailed]
Field | Type | Description |
---|---|---|
id | Int | Id of the product |
name | String | Name of the product (translated) |
images | [Image] | Array of Image |
price_type | PriceType | A product has a price type that defines the price calculations and the way consumers can order the product. |
target_price | Bool | Is true when the price of the product can change on takeout (e.g. not exact weight) |
price | Price | Price of the product (cents). It only makes sense to use this property when price_type is not multiple choice. Please also check if the shop where you want to order has an offer with a discount for this product available. |
only_order_in_store | Bool | Whether this product can only get ordered in the store with a separate UI for the shop employees, and not in the public webshop. Note that you will never receive products with this property set to true if you are not authorized. |
subtitle | String? | Nullable. Important text you need to display under the product name |
description | String | Description of the product (translated) |
allergens | [Allergen]? | Nullable. The allergens of this product. An empty array means no allergens. Null means no allergens specified (= can have allergens, ask in shop) |
url | URL? | Nullable. An URL field starting with http:// or https:// |
url_type | String | String enumarion of 'none', 'recipe', 'website' |
specialty | Bool | A boolean value |
favourite | Bool? | Nullable. A boolean value |
product_prices | [ProductPrice.detailed] | Array of ProductPrice.detailed |
optionsets | [OptionSet.detailed] | Array of OptionSet.detailed |
min_max | MinMaxSummary | An overview of the minimum and maximum values for all amount types. |
info | [Message] | A list of messages with information you need to display on the product page. |
offer | OfferItem.detailed? | Nullable. Specificies where a discount should get appllied. A shop can give a complete category a discount, or only a certain product, or only a fixed product price. When calculating the discount, always round the price to 1 cent before multiplying it with an amount, persons or kilograms. |
soldout | Bool | Check if product is soldout or not |
stock | Dictionary | Amount in stock |
soldout_until | DateTime? | Nullable. Product is temporarily soldout until |
plu_code | String? | Nullable. A String value |
subtitle_short | String? | Nullable. Important text you need to display under the product name (with short availability message) |
subtitle_upfront | String? | Nullable. The upfront message for a product to be used as subtitle |
category | Dictionary | Optional. A dictionary with fields |
origin | String | Optional. Translated origin of the product |
ingredients | String | Optional. Translated ingredients of the product |
nutrients | [Nutrient] | Optional. Nutrient values |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 66918
[
{
"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
}
],
"file_id": 14,
"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
}
],
"file_id": 15,
"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
}
],
"file_id": 11,
"white_background": true
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 15,
"currency": "EUR"
},
"only_order_in_store": true,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 12,
"name": "Mustard"
},
{
"id": 15,
"name": "Crustaceans"
},
{
"id": 15,
"name": "Gluten"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 13,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 16,
"y": 14,
"percentage": 16,
"minimum": 10,
"offer": {
"id": 19,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 10,
"recurring_on": {
"day_1": 13,
"day_2": 14,
"day_3": 13,
"day_4": 19,
"day_5": 11,
"day_6": 14,
"day_7": 16
}
},
"applies_to": "category",
"item_id": 12
}
},
{
"id": 10,
"name": "...",
"price": {
"value": 13,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 10,
"y": 10,
"percentage": 19,
"minimum": 12,
"offer": {
"id": 10,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 10,
"recurring_on": {
"day_1": 15,
"day_2": 15,
"day_3": 13,
"day_4": 11,
"day_5": 12,
"day_6": 17,
"day_7": 18
}
},
"applies_to": "category",
"item_id": 10
}
},
{
"id": 17,
"name": "...",
"price": {
"value": 14,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 12,
"y": 15,
"percentage": 13,
"minimum": 14,
"offer": {
"id": 19,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 13,
"recurring_on": {
"day_1": 11,
"day_2": 19,
"day_3": 13,
"day_4": 13,
"day_5": 15,
"day_6": 12,
"day_7": 13
}
},
"applies_to": "category",
"item_id": 15
}
}
],
"optionsets": [
{
"id": 14,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": true,
"min_different_options": 10,
"max_different_options": 19,
"min_amount_options": 15,
"max_amount_options": 16,
"options": [
{
"id": 11,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 16,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 19,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 14,
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 11,
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
},
{
"id": 11,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 12,
"max_different_options": 13,
"min_amount_options": 19,
"max_amount_options": 13,
"options": [
{
"id": 17,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 14,
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 14,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 19,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 18,
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
},
{
"id": 17,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 16,
"max_different_options": 12,
"min_amount_options": 19,
"max_amount_options": 10,
"options": [
{
"id": 14,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 18,
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 17,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 12,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 16,
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
}
],
"min_max": {
"amount": {
"minimum": 14,
"maximum": 18,
"suggested": 14
},
"weight": {
"minimum": 19,
"maximum": 19,
"suggested": 13
},
"persons": {
"minimum": 17,
"maximum": 13,
"suggested": 11
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 12,
"y": 16,
"percentage": 17,
"minimum": 10,
"offer": {
"id": 19,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 18,
"recurring_on": {
"day_1": 12,
"day_2": 13,
"day_3": 11,
"day_4": 11,
"day_5": 19,
"day_6": 10,
"day_7": 11
}
},
"applies_to": "category",
"item_id": 19
},
"soldout": false,
"stock": {
"amount": 12
},
"soldout_until": "2019-01-31 12:00:00",
"plu_code": "...",
"subtitle_short": "...",
"subtitle_upfront": "...",
"category": {
"id": 16,
"name": "..."
},
"origin": "...",
"ingredients": "...",
"nutrients": [
{
"type": "FAT",
"amount": 9.67,
"label": "..."
},
{
"type": "FAT",
"amount": 9.67,
"label": "..."
},
{
"type": "FAT",
"amount": 9.67,
"label": "..."
}
]
},
{
"id": 19,
"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
}
],
"file_id": 12,
"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
}
],
"file_id": 17,
"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
}
],
"file_id": 16,
"white_background": true
}
],
"price_type": "PER_UNIT",
"target_price": false,
"price": {
"value": 10,
"currency": "EUR"
},
"only_order_in_store": false,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 15,
"name": "Nuts"
},
{
"id": 19,
"name": "Nuts"
},
{
"id": 18,
"name": "Soy"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 14,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 15,
"y": 18,
"percentage": 16,
"minimum": 18,
"offer": {
"id": 17,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 12,
"recurring_on": {
"day_1": 15,
"day_2": 15,
"day_3": 19,
"day_4": 15,
"day_5": 19,
"day_6": 10,
"day_7": 19
}
},
"applies_to": "category",
"item_id": 11
}
},
{
"id": 14,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 10,
"y": 13,
"percentage": 11,
"minimum": 18,
"offer": {
"id": 13,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 15,
"recurring_on": {
"day_1": 16,
"day_2": 17,
"day_3": 15,
"day_4": 17,
"day_5": 17,
"day_6": 16,
"day_7": 18
}
},
"applies_to": "category",
"item_id": 11
}
},
{
"id": 13,
"name": "...",
"price": {
"value": 16,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 14,
"y": 19,
"percentage": 10,
"minimum": 12,
"offer": {
"id": 14,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 11,
"recurring_on": {
"day_1": 15,
"day_2": 17,
"day_3": 17,
"day_4": 12,
"day_5": 14,
"day_6": 16,
"day_7": 14
}
},
"applies_to": "category",
"item_id": 16
}
}
],
"optionsets": [
{
"id": 12,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": true,
"min_different_options": 14,
"max_different_options": 11,
"min_amount_options": 15,
"max_amount_options": 13,
"options": [
{
"id": 13,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 18,
"white_background": true
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 14,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
},
{
"id": 12,
"name": "...",
"code": "...",
"multiple_choice": true,
"choose_amount": false,
"min_different_options": 14,
"max_different_options": 15,
"min_amount_options": 15,
"max_amount_options": 15,
"options": [
{
"id": 10,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 17,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 19,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 19,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
},
{
"id": 11,
"name": "...",
"code": "...",
"multiple_choice": true,
"choose_amount": true,
"min_different_options": 14,
"max_different_options": 19,
"min_amount_options": 17,
"max_amount_options": 12,
"options": [
{
"id": 16,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 10,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
}
],
"min_max": {
"amount": {
"minimum": 18,
"maximum": 13,
"suggested": 14
},
"weight": {
"minimum": 13,
"maximum": 19,
"suggested": 14
},
"persons": {
"minimum": 10,
"maximum": 16,
"suggested": 16
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 12,
"y": 19,
"percentage": 14,
"minimum": 12,
"offer": {
"id": 13,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 12,
"recurring_on": {
"day_1": 13,
"day_2": 19,
"day_3": 11,
"day_4": 10,
"day_5": 19,
"day_6": 16,
"day_7": 11
}
},
"applies_to": "category",
"item_id": 10
},
"soldout": false,
"stock": {
"amount": 13
},
"soldout_until": "2019-01-31 12:00:00",
"plu_code": "...",
"subtitle_short": "...",
"subtitle_upfront": "...",
"category": {
"id": 16,
"name": "..."
},
"origin": "...",
"ingredients": "...",
"nutrients": [
{
"type": "FAT",
"amount": 9.67,
"label": "..."
},
{
"type": "FAT",
"amount": 9.67,
"label": "..."
},
{
"type": "FAT",
"amount": 9.67,
"label": "..."
}
]
},
{
"id": 19,
"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
}
],
"file_id": 17,
"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
}
],
"file_id": 12,
"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
}
],
"file_id": 13,
"white_background": true
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 18,
"currency": "EUR"
},
"only_order_in_store": true,
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 11,
"name": "Egg"
},
{
"id": 11,
"name": "Mustard"
},
{
"id": 18,
"name": "Sulphite"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 12,
"name": "...",
"price": {
"value": 13,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 18,
"y": 13,
"percentage": 17,
"minimum": 17,
"offer": {
"id": 15,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 18,
"recurring_on": {
"day_1": 14,
"day_2": 19,
"day_3": 14,
"day_4": 13,
"day_5": 15,
"day_6": 14,
"day_7": 16
}
},
"applies_to": "category",
"item_id": 15
}
},
{
"id": 18,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 14,
"y": 19,
"percentage": 10,
"minimum": 19,
"offer": {
"id": 11,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 12,
"recurring_on": {
"day_1": 17,
"day_2": 10,
"day_3": 17,
"day_4": 19,
"day_5": 18,
"day_6": 10,
"day_7": 14
}
},
"applies_to": "category",
"item_id": 18
}
},
{
"id": 10,
"name": "...",
"price": {
"value": 14,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 14,
"y": 11,
"percentage": 17,
"minimum": 14,
"offer": {
"id": 18,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 10,
"recurring_on": {
"day_1": 12,
"day_2": 17,
"day_3": 10,
"day_4": 12,
"day_5": 11,
"day_6": 10,
"day_7": 17
}
},
"applies_to": "category",
"item_id": 14
}
}
],
"optionsets": [
{
"id": 16,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": true,
"min_different_options": 13,
"max_different_options": 12,
"min_amount_options": 16,
"max_amount_options": 13,
"options": [
{
"id": 14,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 18,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 12,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 12,
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
},
{
"id": 15,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 11,
"max_different_options": 11,
"min_amount_options": 16,
"max_amount_options": 16,
"options": [
{
"id": 11,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 14,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 13,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
},
{
"id": 18,
"name": "...",
"code": "...",
"multiple_choice": false,
"choose_amount": false,
"min_different_options": 16,
"max_different_options": 15,
"min_amount_options": 12,
"max_amount_options": 18,
"options": [
{
"id": 17,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 15,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 18,
"white_background": true
},
"require_image": true,
"code": "...",
"price_calculation": "PER_PIECE"
},
{
"id": 15,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
},
"image": {
"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
}
],
"file_id": 16,
"white_background": false
},
"require_image": false,
"code": "...",
"price_calculation": "PER_PIECE"
}
]
}
],
"min_max": {
"amount": {
"minimum": 19,
"maximum": 18,
"suggested": 10
},
"weight": {
"minimum": 12,
"maximum": 17,
"suggested": 14
},
"persons": {
"minimum": 16,
"maximum": 12,
"suggested": 14
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 18,
"y": 19,
"percentage": 19,
"minimum": 13,
"offer": {
"id": 10,
"name": "Black Friday",
"from_date": "2019-01-31",
"until_date": "2019-01-31",
"valid_for": "order",
"recurring": 16,
"recurring_on": {
"day_1": 19,
"day_2": 15,
"day_3": 11,
"day_4": 17,
"day_5": 11,
"day_6": 10,
"day_7": 16
}
},
"applies_to": "category",
"item_id": 16
},
"soldout": false,
"stock": {
"amount": 15
},
"soldout_until": "2019-01-31 12:00:00",
"plu_code": "...",
"subtitle_short": "...",
"subtitle_upfront": "...",
"category": {
"id": 15,
"name": "..."
},
"origin": "...",
"ingredients": "...",
"nutrients": [
{
"type": "FAT",
"amount": 9.67,
"label": "..."
},
{
"type": "FAT",
"amount": 9.67,
"label": "..."
},
{
"type": "FAT",
"amount": 9.67,
"label": "..."
}
]
}
]