Validate the cart and checkout information and get essential information for the checkout flow

POST /checkout

Request

Optional authentication

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

Body

Pass the following properties via application/json or form encoding in the body of the request.

A dictionary with fields

Field Type Description
cart [CartItem.cart] Array of CartItem.cart
add_items [CartItem.cart] Optional. Ask the API to add these items to your existing cart (in cart). This will merge items that can be merged and is also required to provide adding suggestions in the response. If you add menu's (Products with options that reference other products) to the Cart, you can set the value of the replace_products property to remove the linked options from the cart.
add_suggestions [CartItem.cart] Optional. Same as add_items, but use this if you want to add suggested products to the cart. This affects the merging mechanism. E.g. if you have Coca Cola in your current cart and add a suggested Big Mac menu with a Cola, you also want to remove that Cola from the cart. Needs to happen via the API because the frontend can't and shouldn't know which option is linked to a product. Used in combination with suggestions in the response.
checkout Checkout.Checkout Optional.
payment_method String Optional. String enumarion of 'point_of_sale', 'paid_in_shop', 'bank_transfer', 'ideal', 'bancontact', 'sofort', 'giropay', 'creditcard', 'cartes_bancaires', 'paypal', 'eps_uberweisung', 'apple_pay', 'google_pay', 'payconiq', 'monizze', 'edenred', 'webpay', 'credomatic', 'satispay', 'stripe_card_visa_mc', 'stripe_card_amex', 'stripe_apple_pay', 'stripe_google_pay', 'payu_romania_visa', 'payu_romania_mc', 'payu_romania_visa_electron', 'payu_romania_maestro', 'payu_brazil_amex', 'payu_brazil_boleto_bancario', 'payu_brazil_diners', 'payu_brazil_elo', 'payu_brazil_hipercard', 'payu_brazil_mc', 'payu_brazil_visa', 'payu_sp_maestro', 'payu_sp_mc', 'payu_sp_pbl', 'payu_sp_visa', 'payu_sp_blik', 'payu_iyzico_amex', 'payu_iyzico_mc', 'payu_iyzico_troy', 'payu_iyzico_visa', 'pesopay_gcash', 'pesopay_visa', 'pesopay_mc', 'redsys_bizum', 'sibs_id'

Example request 1

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.10.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 8273
{
    "cart": [
        {
            "amount": 12,
            "persons": 12,
            "gram": 12,
            "comment": "...",
            "product_id": 18,
            "product_price_id": 13,
            "shop_id": 16,
            "options": [
                {
                    "option_id": 14,
                    "upload_id": 15,
                    "amount": 10
                },
                {
                    "option_id": 18,
                    "upload_id": 12,
                    "amount": 11
                },
                {
                    "option_id": 13,
                    "upload_id": 19,
                    "amount": 16
                }
            ]
        },
        {
            "amount": 19,
            "persons": 15,
            "gram": 16,
            "comment": "...",
            "product_id": 19,
            "product_price_id": 12,
            "shop_id": 14,
            "options": [
                {
                    "option_id": 10,
                    "upload_id": 16,
                    "amount": 18
                },
                {
                    "option_id": 10,
                    "upload_id": 19,
                    "amount": 12
                },
                {
                    "option_id": 19,
                    "upload_id": 19,
                    "amount": 15
                }
            ]
        },
        {
            "amount": 18,
            "persons": 17,
            "gram": 17,
            "comment": "...",
            "product_id": 10,
            "product_price_id": 19,
            "shop_id": 15,
            "options": [
                {
                    "option_id": 17,
                    "upload_id": 15,
                    "amount": 16
                },
                {
                    "option_id": 10,
                    "upload_id": 11,
                    "amount": 17
                },
                {
                    "option_id": 13,
                    "upload_id": 19,
                    "amount": 10
                }
            ]
        }
    ],
    "add_items": [
        {
            "amount": 15,
            "persons": 11,
            "gram": 18,
            "comment": "...",
            "product_id": 19,
            "product_price_id": 18,
            "shop_id": 16,
            "options": [
                {
                    "option_id": 18,
                    "upload_id": 11,
                    "amount": 17
                },
                {
                    "option_id": 15,
                    "upload_id": 19,
                    "amount": 10
                },
                {
                    "option_id": 19,
                    "upload_id": 10,
                    "amount": 16
                }
            ]
        },
        {
            "amount": 14,
            "persons": 12,
            "gram": 11,
            "comment": "...",
            "product_id": 11,
            "product_price_id": 16,
            "shop_id": 13,
            "options": [
                {
                    "option_id": 13,
                    "upload_id": 14,
                    "amount": 12
                },
                {
                    "option_id": 12,
                    "upload_id": 13,
                    "amount": 16
                },
                {
                    "option_id": 13,
                    "upload_id": 11,
                    "amount": 18
                }
            ]
        },
        {
            "amount": 12,
            "persons": 16,
            "gram": 19,
            "comment": "...",
            "product_id": 13,
            "product_price_id": 17,
            "shop_id": 19,
            "options": [
                {
                    "option_id": 10,
                    "upload_id": 19,
                    "amount": 15
                },
                {
                    "option_id": 14,
                    "upload_id": 19,
                    "amount": 13
                },
                {
                    "option_id": 15,
                    "upload_id": 17,
                    "amount": 12
                }
            ]
        }
    ],
    "add_suggestions": [
        {
            "amount": 12,
            "persons": 10,
            "gram": 12,
            "comment": "...",
            "product_id": 14,
            "product_price_id": 18,
            "shop_id": 15,
            "options": [
                {
                    "option_id": 15,
                    "upload_id": 15,
                    "amount": 17
                },
                {
                    "option_id": 12,
                    "upload_id": 15,
                    "amount": 19
                },
                {
                    "option_id": 15,
                    "upload_id": 13,
                    "amount": 11
                }
            ]
        },
        {
            "amount": 15,
            "persons": 12,
            "gram": 10,
            "comment": "...",
            "product_id": 12,
            "product_price_id": 18,
            "shop_id": 13,
            "options": [
                {
                    "option_id": 10,
                    "upload_id": 13,
                    "amount": 16
                },
                {
                    "option_id": 11,
                    "upload_id": 15,
                    "amount": 19
                },
                {
                    "option_id": 13,
                    "upload_id": 14,
                    "amount": 19
                }
            ]
        },
        {
            "amount": 15,
            "persons": 16,
            "gram": 14,
            "comment": "...",
            "product_id": 10,
            "product_price_id": 15,
            "shop_id": 19,
            "options": [
                {
                    "option_id": 16,
                    "upload_id": 10,
                    "amount": 17
                },
                {
                    "option_id": 18,
                    "upload_id": 12,
                    "amount": 11
                },
                {
                    "option_id": 19,
                    "upload_id": 10,
                    "amount": 10
                }
            ]
        }
    ],
    "checkout": {
        "method": "delivery",
        "delivery": {
            "date": "2019-01-31",
            "time": "12:00",
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "notes": "...",
            "end_time": "12:00"
        },
        "takeout": {
            "shops": {
                "...": {
                    "id": 19,
                    "date": "2019-01-31",
                    "time": "12:00",
                    "end_time": "12:00"
                }
            }
        },
        "latch": {
            "latch_id": 14,
            "telephone": "+32 475 00 00 00",
            "date": "2019-01-31",
            "time": "12:00",
            "notification_method": "email"
        },
        "isop": {
            "origin": "in-store",
            "customer_id": 11,
            "employee_id": 13
        },
        "warranty": {
            "bank": "ING. Bank"
        },
        "invoice": {
            "company": {
                "name": "...",
                "vat": "BE0123456789",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            },
            "referenceCode": "..."
        },
        "config": {
            "askInvoice": false,
            "askIsop": false,
            "usePiggy": false,
            "piggyCardNumber": "...",
            "piggyRewardId": 18
        },
        "coupons": [
            {
                "code": "..."
            },
            {
                "code": "..."
            },
            {
                "code": "..."
            }
        ],
        "note_from_customer": "..."
    },
    "payment_method": "point_of_sale"
}

Response

A dictionary with fields

Field Type Description
cart [CartItem.cart] When a cart is returned, you are required to overwrite the cart in your app with the changed cart in the response. You should display a message to the user that you did change the cart. The errors field will contain human readable errors with the changes that have been made. If no errors are set, you should default to a generic message.
suggestions [Product.detailed] A collection of Products that the user could be interested in. If you present these to the user and the user adds one to the cart, make sure to add the CartItem via the add_suggestions property in the validate request.
cart_config CartConfig Optional. When available, this will return all essential information about the cart. When the cart is also set in the response, the cart_config contains information about the cart in the response, not in the request.
errors [ValidationError] Optional. Allows to return error messages while still providing a corrected cart in the cart field. Can also contain errors about the checkout. Warning: It is still possible to return the default error structure (single error, or array of errors in response, see documentation) if errors occur before a corrected cart could get generated.
info [Dictionary] Optional. Informational messages for the customer.

Example response 1

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 116753

{
    "cart": [
        {
            "amount": 14,
            "persons": 13,
            "gram": 16,
            "comment": "...",
            "product": {
                "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
                            }
                        ],
                        "file_id": 19,
                        "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": 15,
                        "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": 10,
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false,
                "price": {
                    "value": 16,
                    "currency": "EUR"
                },
                "only_order_in_store": false,
                "category": {
                    "id": 18,
                    "name": "..."
                },
                "origin": "...",
                "ingredients": "...",
                "nutrients": [
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    },
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    },
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    }
                ]
            },
            "product_price": {
                "id": 15,
                "name": "...",
                "price": {
                    "value": 19,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 12,
                    "currency": "EUR"
                },
                "price": {
                    "value": 10,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 13,
                    "currency": "EUR"
                },
                "price": {
                    "value": 17,
                    "currency": "EUR"
                }
            },
            "amount_free": 15,
            "shop": {
                "id": 11,
                "name": "Janelle Wiegand",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": false,
                "url": "...",
                "allow_order_comments": true,
                "allow_product_comments": false,
                "allow_order_messages": true,
                "global_discount_percentage": 16,
                "allow_orders": false,
                "currency": "EUR"
            },
            "options": [
                {
                    "option": {
                        "id": 13,
                        "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": false
                        },
                        "require_image": true,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 19,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": false,
                            "choose_amount": true,
                            "min_different_options": 12,
                            "max_different_options": 14,
                            "min_amount_options": 14,
                            "max_amount_options": 19
                        }
                    },
                    "upload": {
                        "id": 19,
                        "url": "https://example.com"
                    },
                    "amount": 18
                },
                {
                    "option": {
                        "id": 16,
                        "name": "...",
                        "price_change": {
                            "value": 14,
                            "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",
                        "optionset": {
                            "id": 11,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": true,
                            "choose_amount": true,
                            "min_different_options": 15,
                            "max_different_options": 17,
                            "min_amount_options": 18,
                            "max_amount_options": 13
                        }
                    },
                    "upload": {
                        "id": 13,
                        "url": "https://example.com"
                    },
                    "amount": 10
                },
                {
                    "option": {
                        "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": 16,
                            "white_background": false
                        },
                        "require_image": true,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 11,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": false,
                            "choose_amount": false,
                            "min_different_options": 18,
                            "max_different_options": 17,
                            "min_amount_options": 17,
                            "max_amount_options": 10
                        }
                    },
                    "upload": {
                        "id": 14,
                        "url": "https://example.com"
                    },
                    "amount": 12
                }
            ]
        },
        {
            "amount": 15,
            "persons": 14,
            "gram": 17,
            "comment": "...",
            "product": {
                "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
                            }
                        ],
                        "file_id": 19,
                        "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": 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": 12,
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false,
                "price": {
                    "value": 19,
                    "currency": "EUR"
                },
                "only_order_in_store": false,
                "category": {
                    "id": 10,
                    "name": "..."
                },
                "origin": "...",
                "ingredients": "...",
                "nutrients": [
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    },
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    },
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    }
                ]
            },
            "product_price": {
                "id": 10,
                "name": "...",
                "price": {
                    "value": 12,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 10,
                    "currency": "EUR"
                },
                "price": {
                    "value": 17,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 19,
                    "currency": "EUR"
                },
                "price": {
                    "value": 10,
                    "currency": "EUR"
                }
            },
            "amount_free": 15,
            "shop": {
                "id": 18,
                "name": "Dagmar Hahn",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": true,
                "url": "...",
                "allow_order_comments": true,
                "allow_product_comments": false,
                "allow_order_messages": true,
                "global_discount_percentage": 19,
                "allow_orders": false,
                "currency": "EUR"
            },
            "options": [
                {
                    "option": {
                        "id": 16,
                        "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": 17,
                            "white_background": false
                        },
                        "require_image": false,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 19,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": true,
                            "choose_amount": false,
                            "min_different_options": 18,
                            "max_different_options": 19,
                            "min_amount_options": 18,
                            "max_amount_options": 18
                        }
                    },
                    "upload": {
                        "id": 16,
                        "url": "https://example.com"
                    },
                    "amount": 12
                },
                {
                    "option": {
                        "id": 15,
                        "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": 11,
                            "white_background": true
                        },
                        "require_image": false,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 15,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": true,
                            "choose_amount": false,
                            "min_different_options": 14,
                            "max_different_options": 12,
                            "min_amount_options": 18,
                            "max_amount_options": 15
                        }
                    },
                    "upload": {
                        "id": 17,
                        "url": "https://example.com"
                    },
                    "amount": 11
                },
                {
                    "option": {
                        "id": 12,
                        "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": true
                        },
                        "require_image": false,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 13,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": true,
                            "choose_amount": false,
                            "min_different_options": 18,
                            "max_different_options": 11,
                            "min_amount_options": 10,
                            "max_amount_options": 11
                        }
                    },
                    "upload": {
                        "id": 12,
                        "url": "https://example.com"
                    },
                    "amount": 12
                }
            ]
        },
        {
            "amount": 17,
            "persons": 12,
            "gram": 19,
            "comment": "...",
            "product": {
                "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": 12,
                        "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": 13,
                        "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": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false,
                "price": {
                    "value": 16,
                    "currency": "EUR"
                },
                "only_order_in_store": true,
                "category": {
                    "id": 18,
                    "name": "..."
                },
                "origin": "...",
                "ingredients": "...",
                "nutrients": [
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    },
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    },
                    {
                        "type": "FAT",
                        "amount": 9.67,
                        "label": "..."
                    }
                ]
            },
            "product_price": {
                "id": 14,
                "name": "...",
                "price": {
                    "value": 17,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 19,
                    "currency": "EUR"
                },
                "price": {
                    "value": 18,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 18,
                    "currency": "EUR"
                },
                "price": {
                    "value": 16,
                    "currency": "EUR"
                }
            },
            "amount_free": 10,
            "shop": {
                "id": 15,
                "name": "Carmen Kozey",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": true,
                "url": "...",
                "allow_order_comments": false,
                "allow_product_comments": true,
                "allow_order_messages": false,
                "global_discount_percentage": 17,
                "allow_orders": true,
                "currency": "EUR"
            },
            "options": [
                {
                    "option": {
                        "id": 10,
                        "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": 10,
                            "white_background": false
                        },
                        "require_image": true,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 15,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": false,
                            "choose_amount": true,
                            "min_different_options": 11,
                            "max_different_options": 12,
                            "min_amount_options": 17,
                            "max_amount_options": 10
                        }
                    },
                    "upload": {
                        "id": 18,
                        "url": "https://example.com"
                    },
                    "amount": 16
                },
                {
                    "option": {
                        "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": 17,
                            "white_background": false
                        },
                        "require_image": true,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 12,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": true,
                            "choose_amount": false,
                            "min_different_options": 19,
                            "max_different_options": 12,
                            "min_amount_options": 10,
                            "max_amount_options": 16
                        }
                    },
                    "upload": {
                        "id": 10,
                        "url": "https://example.com"
                    },
                    "amount": 14
                },
                {
                    "option": {
                        "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": 16,
                            "white_background": true
                        },
                        "require_image": false,
                        "code": "...",
                        "price_calculation": "PER_PIECE",
                        "optionset": {
                            "id": 13,
                            "name": "...",
                            "code": "...",
                            "multiple_choice": true,
                            "choose_amount": true,
                            "min_different_options": 15,
                            "max_different_options": 18,
                            "min_amount_options": 18,
                            "max_amount_options": 18
                        }
                    },
                    "upload": {
                        "id": 19,
                        "url": "https://example.com"
                    },
                    "amount": 16
                }
            ]
        }
    ],
    "suggestions": [
        {
            "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
                        }
                    ],
                    "file_id": 18,
                    "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": 13,
                    "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": 19,
                    "white_background": false
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": true,
            "price": {
                "value": 10,
                "currency": "EUR"
            },
            "only_order_in_store": false,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 15,
                    "name": "Mollusc"
                },
                {
                    "id": 14,
                    "name": "Milk"
                },
                {
                    "id": 11,
                    "name": "Sesame"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": true,
            "favourite": true,
            "product_prices": [
                {
                    "id": 15,
                    "name": "...",
                    "price": {
                        "value": 18,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 19,
                        "y": 13,
                        "percentage": 10,
                        "minimum": 11,
                        "offer": {
                            "id": 12,
                            "name": "Black Friday",
                            "from_date": "2019-01-31",
                            "until_date": "2019-01-31",
                            "valid_for": "order",
                            "recurring": 19,
                            "recurring_on": {
                                "day_1": 13,
                                "day_2": 15,
                                "day_3": 18,
                                "day_4": 11,
                                "day_5": 15,
                                "day_6": 11,
                                "day_7": 17
                            }
                        },
                        "applies_to": "category",
                        "item_id": 12
                    }
                },
                {
                    "id": 18,
                    "name": "...",
                    "price": {
                        "value": 19,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 17,
                        "y": 15,
                        "percentage": 15,
                        "minimum": 10,
                        "offer": {
                            "id": 14,
                            "name": "Black Friday",
                            "from_date": "2019-01-31",
                            "until_date": "2019-01-31",
                            "valid_for": "order",
                            "recurring": 16,
                            "recurring_on": {
                                "day_1": 11,
                                "day_2": 13,
                                "day_3": 14,
                                "day_4": 19,
                                "day_5": 16,
                                "day_6": 15,
                                "day_7": 11
                            }
                        },
                        "applies_to": "category",
                        "item_id": 18
                    }
                },
                {
                    "id": 19,
                    "name": "...",
                    "price": {
                        "value": 15,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 16,
                        "y": 11,
                        "percentage": 12,
                        "minimum": 17,
                        "offer": {
                            "id": 11,
                            "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": 17,
                                "day_3": 12,
                                "day_4": 18,
                                "day_5": 19,
                                "day_6": 11,
                                "day_7": 10
                            }
                        },
                        "applies_to": "category",
                        "item_id": 16
                    }
                }
            ],
            "optionsets": [
                {
                    "id": 13,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": true,
                    "choose_amount": false,
                    "min_different_options": 14,
                    "max_different_options": 15,
                    "min_amount_options": 13,
                    "max_amount_options": 16,
                    "options": [
                        {
                            "id": 11,
                            "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": 12,
                                "white_background": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 17,
                            "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": 15,
                                "white_background": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 15,
                            "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": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                },
                {
                    "id": 19,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": false,
                    "choose_amount": false,
                    "min_different_options": 13,
                    "max_different_options": 12,
                    "min_amount_options": 13,
                    "max_amount_options": 12,
                    "options": [
                        {
                            "id": 19,
                            "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": 12,
                                "white_background": false
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 16,
                            "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": true
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 17,
                            "name": "...",
                            "price_change": {
                                "value": 14,
                                "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": 10,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": true,
                    "choose_amount": false,
                    "min_different_options": 10,
                    "max_different_options": 13,
                    "min_amount_options": 15,
                    "max_amount_options": 11,
                    "options": [
                        {
                            "id": 13,
                            "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": 16,
                                "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": 14,
                                "white_background": true
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 13,
                            "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": 12,
                                "white_background": false
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 17,
                    "maximum": 14,
                    "suggested": 12
                },
                "weight": {
                    "minimum": 14,
                    "maximum": 10,
                    "suggested": 16
                },
                "persons": {
                    "minimum": 10,
                    "maximum": 12,
                    "suggested": 16
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ],
            "offer": {
                "type": "percentage",
                "x": 16,
                "y": 10,
                "percentage": 13,
                "minimum": 15,
                "offer": {
                    "id": 13,
                    "name": "Black Friday",
                    "from_date": "2019-01-31",
                    "until_date": "2019-01-31",
                    "valid_for": "order",
                    "recurring": 16,
                    "recurring_on": {
                        "day_1": 17,
                        "day_2": 18,
                        "day_3": 12,
                        "day_4": 12,
                        "day_5": 18,
                        "day_6": 11,
                        "day_7": 18
                    }
                },
                "applies_to": "category",
                "item_id": 10
            },
            "soldout": false,
            "stock": {
                "amount": 16
            },
            "soldout_until": "2019-01-31 12:00:00",
            "plu_code": "...",
            "subtitle_short": "...",
            "subtitle_upfront": "...",
            "category": {
                "id": 19,
                "name": "..."
            },
            "origin": "...",
            "ingredients": "...",
            "nutrients": [
                {
                    "type": "FAT",
                    "amount": 9.67,
                    "label": "..."
                },
                {
                    "type": "FAT",
                    "amount": 9.67,
                    "label": "..."
                },
                {
                    "type": "FAT",
                    "amount": 9.67,
                    "label": "..."
                }
            ]
        },
        {
            "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
                        }
                    ],
                    "file_id": 16,
                    "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": 13,
                    "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": 17,
                    "white_background": true
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": true,
            "price": {
                "value": 11,
                "currency": "EUR"
            },
            "only_order_in_store": false,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 14,
                    "name": "Fish"
                },
                {
                    "id": 12,
                    "name": "Lupine"
                },
                {
                    "id": 14,
                    "name": "Egg"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": false,
            "favourite": false,
            "product_prices": [
                {
                    "id": 14,
                    "name": "...",
                    "price": {
                        "value": 17,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 13,
                        "y": 13,
                        "percentage": 12,
                        "minimum": 18,
                        "offer": {
                            "id": 12,
                            "name": "Black Friday",
                            "from_date": "2019-01-31",
                            "until_date": "2019-01-31",
                            "valid_for": "order",
                            "recurring": 18,
                            "recurring_on": {
                                "day_1": 19,
                                "day_2": 12,
                                "day_3": 12,
                                "day_4": 15,
                                "day_5": 16,
                                "day_6": 14,
                                "day_7": 14
                            }
                        },
                        "applies_to": "category",
                        "item_id": 18
                    }
                },
                {
                    "id": 11,
                    "name": "...",
                    "price": {
                        "value": 19,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 12,
                        "y": 12,
                        "percentage": 11,
                        "minimum": 15,
                        "offer": {
                            "id": 18,
                            "name": "Black Friday",
                            "from_date": "2019-01-31",
                            "until_date": "2019-01-31",
                            "valid_for": "order",
                            "recurring": 16,
                            "recurring_on": {
                                "day_1": 13,
                                "day_2": 17,
                                "day_3": 14,
                                "day_4": 12,
                                "day_5": 13,
                                "day_6": 10,
                                "day_7": 15
                            }
                        },
                        "applies_to": "category",
                        "item_id": 12
                    }
                },
                {
                    "id": 19,
                    "name": "...",
                    "price": {
                        "value": 12,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 13,
                        "y": 17,
                        "percentage": 15,
                        "minimum": 12,
                        "offer": {
                            "id": 16,
                            "name": "Black Friday",
                            "from_date": "2019-01-31",
                            "until_date": "2019-01-31",
                            "valid_for": "order",
                            "recurring": 11,
                            "recurring_on": {
                                "day_1": 11,
                                "day_2": 14,
                                "day_3": 15,
                                "day_4": 11,
                                "day_5": 13,
                                "day_6": 10,
                                "day_7": 15
                            }
                        },
                        "applies_to": "category",
                        "item_id": 12
                    }
                }
            ],
            "optionsets": [
                {
                    "id": 13,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": false,
                    "choose_amount": true,
                    "min_different_options": 15,
                    "max_different_options": 18,
                    "min_amount_options": 16,
                    "max_amount_options": 19,
                    "options": [
                        {
                            "id": 14,
                            "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": 19,
                                "white_background": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 12,
                            "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": 12,
                                "white_background": true
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 18,
                            "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": 12,
                                "white_background": false
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                },
                {
                    "id": 17,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": false,
                    "choose_amount": false,
                    "min_different_options": 11,
                    "max_different_options": 10,
                    "min_amount_options": 16,
                    "max_amount_options": 17,
                    "options": [
                        {
                            "id": 14,
                            "name": "...",
                            "price_change": {
                                "value": 14,
                                "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": 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": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "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": 19,
                                "white_background": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                },
                {
                    "id": 12,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": true,
                    "choose_amount": true,
                    "min_different_options": 12,
                    "max_different_options": 11,
                    "min_amount_options": 10,
                    "max_amount_options": 16,
                    "options": [
                        {
                            "id": 16,
                            "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": 12,
                                "white_background": true
                            },
                            "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": 16,
                                "white_background": false
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 16,
                            "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": 19,
                                "white_background": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 18,
                    "maximum": 19,
                    "suggested": 19
                },
                "weight": {
                    "minimum": 18,
                    "maximum": 16,
                    "suggested": 13
                },
                "persons": {
                    "minimum": 17,
                    "maximum": 17,
                    "suggested": 15
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ],
            "offer": {
                "type": "percentage",
                "x": 12,
                "y": 17,
                "percentage": 13,
                "minimum": 15,
                "offer": {
                    "id": 16,
                    "name": "Black Friday",
                    "from_date": "2019-01-31",
                    "until_date": "2019-01-31",
                    "valid_for": "order",
                    "recurring": 14,
                    "recurring_on": {
                        "day_1": 16,
                        "day_2": 10,
                        "day_3": 13,
                        "day_4": 12,
                        "day_5": 16,
                        "day_6": 12,
                        "day_7": 11
                    }
                },
                "applies_to": "category",
                "item_id": 16
            },
            "soldout": true,
            "stock": {
                "amount": 11
            },
            "soldout_until": "2019-01-31 12:00:00",
            "plu_code": "...",
            "subtitle_short": "...",
            "subtitle_upfront": "...",
            "category": {
                "id": 18,
                "name": "..."
            },
            "origin": "...",
            "ingredients": "...",
            "nutrients": [
                {
                    "type": "FAT",
                    "amount": 9.67,
                    "label": "..."
                },
                {
                    "type": "FAT",
                    "amount": 9.67,
                    "label": "..."
                },
                {
                    "type": "FAT",
                    "amount": 9.67,
                    "label": "..."
                }
            ]
        },
        {
            "id": 16,
            "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": 11,
                    "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
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": true,
            "price": {
                "value": 17,
                "currency": "EUR"
            },
            "only_order_in_store": true,
            "subtitle": "...",
            "description": "...",
            "allergens": [
                {
                    "id": 10,
                    "name": "Sesame"
                },
                {
                    "id": 15,
                    "name": "Gluten"
                },
                {
                    "id": 13,
                    "name": "Egg"
                }
            ],
            "url": "https://example.com",
            "url_type": "none",
            "specialty": true,
            "favourite": false,
            "product_prices": [
                {
                    "id": 17,
                    "name": "...",
                    "price": {
                        "value": 18,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 12,
                        "y": 15,
                        "percentage": 12,
                        "minimum": 15,
                        "offer": {
                            "id": 11,
                            "name": "Black Friday",
                            "from_date": "2019-01-31",
                            "until_date": "2019-01-31",
                            "valid_for": "order",
                            "recurring": 17,
                            "recurring_on": {
                                "day_1": 15,
                                "day_2": 11,
                                "day_3": 17,
                                "day_4": 11,
                                "day_5": 11,
                                "day_6": 10,
                                "day_7": 12
                            }
                        },
                        "applies_to": "category",
                        "item_id": 13
                    }
                },
                {
                    "id": 16,
                    "name": "...",
                    "price": {
                        "value": 18,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 15,
                        "y": 18,
                        "percentage": 11,
                        "minimum": 19,
                        "offer": {
                            "id": 15,
                            "name": "Black Friday",
                            "from_date": "2019-01-31",
                            "until_date": "2019-01-31",
                            "valid_for": "order",
                            "recurring": 11,
                            "recurring_on": {
                                "day_1": 13,
                                "day_2": 17,
                                "day_3": 17,
                                "day_4": 16,
                                "day_5": 11,
                                "day_6": 19,
                                "day_7": 12
                            }
                        },
                        "applies_to": "category",
                        "item_id": 16
                    }
                },
                {
                    "id": 19,
                    "name": "...",
                    "price": {
                        "value": 10,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": 15,
                        "y": 13,
                        "percentage": 10,
                        "minimum": 17,
                        "offer": {
                            "id": 15,
                            "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": 18,
                                "day_4": 11,
                                "day_5": 10,
                                "day_6": 16,
                                "day_7": 17
                            }
                        },
                        "applies_to": "category",
                        "item_id": 19
                    }
                }
            ],
            "optionsets": [
                {
                    "id": 11,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": true,
                    "choose_amount": false,
                    "min_different_options": 18,
                    "max_different_options": 12,
                    "min_amount_options": 14,
                    "max_amount_options": 12,
                    "options": [
                        {
                            "id": 19,
                            "name": "...",
                            "price_change": {
                                "value": 14,
                                "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": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "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": 19,
                                "white_background": true
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 12,
                            "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": 12,
                                "white_background": true
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                },
                {
                    "id": 15,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": false,
                    "choose_amount": true,
                    "min_different_options": 19,
                    "max_different_options": 10,
                    "min_amount_options": 18,
                    "max_amount_options": 11,
                    "options": [
                        {
                            "id": 16,
                            "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": 19,
                                "white_background": false
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 12,
                            "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": 16,
                                "white_background": true
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 18,
                            "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": 16,
                                "white_background": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                },
                {
                    "id": 14,
                    "name": "...",
                    "code": "...",
                    "multiple_choice": true,
                    "choose_amount": false,
                    "min_different_options": 10,
                    "max_different_options": 13,
                    "min_amount_options": 14,
                    "max_amount_options": 13,
                    "options": [
                        {
                            "id": 18,
                            "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": 11,
                                "white_background": false
                            },
                            "require_image": true,
                            "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": 10,
                                "white_background": true
                            },
                            "require_image": false,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        },
                        {
                            "id": 10,
                            "name": "...",
                            "price_change": {
                                "value": 14,
                                "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": true
                            },
                            "require_image": true,
                            "code": "...",
                            "price_calculation": "PER_PIECE"
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "minimum": 15,
                    "maximum": 16,
                    "suggested": 14
                },
                "weight": {
                    "minimum": 19,
                    "maximum": 15,
                    "suggested": 17
                },
                "persons": {
                    "minimum": 15,
                    "maximum": 18,
                    "suggested": 19
                }
            },
            "info": [
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                },
                {
                    "name": "...",
                    "title": "...",
                    "text": "...",
                    "type": "HTML"
                }
            ],
            "offer": {
                "type": "percentage",
                "x": 16,
                "y": 11,
                "percentage": 14,
                "minimum": 15,
                "offer": {
                    "id": 14,
                    "name": "Black Friday",
                    "from_date": "2019-01-31",
                    "until_date": "2019-01-31",
                    "valid_for": "order",
                    "recurring": 18,
                    "recurring_on": {
                        "day_1": 16,
                        "day_2": 15,
                        "day_3": 17,
                        "day_4": 15,
                        "day_5": 13,
                        "day_6": 11,
                        "day_7": 10
                    }
                },
                "applies_to": "category",
                "item_id": 11
            },
            "soldout": true,
            "stock": {
                "amount": 13
            },
            "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": "..."
                }
            ]
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 14,
                "currency": "EUR"
            },
            "discount": {
                "value": 15,
                "currency": "EUR"
            },
            "warranty": {
                "value": 18,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 14,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 10,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 10,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 17,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 11,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 15,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "paid_in_shop",
                "bank_transfer",
                "ideal",
                "bancontact",
                "sofort",
                "giropay",
                "creditcard",
                "cartes_bancaires",
                "paypal",
                "eps_uberweisung",
                "apple_pay",
                "google_pay",
                "payconiq",
                "monizze",
                "edenred",
                "webpay",
                "credomatic",
                "satispay",
                "stripe_card_visa_mc",
                "stripe_card_amex",
                "stripe_apple_pay",
                "stripe_google_pay",
                "payu_romania_visa",
                "payu_romania_mc",
                "payu_romania_visa_electron",
                "payu_romania_maestro",
                "payu_brazil_amex",
                "payu_brazil_boleto_bancario",
                "payu_brazil_diners",
                "payu_brazil_elo",
                "payu_brazil_hipercard",
                "payu_brazil_mc",
                "payu_brazil_visa",
                "payu_sp_maestro",
                "payu_sp_mc",
                "payu_sp_pbl",
                "payu_sp_visa",
                "payu_sp_blik",
                "payu_iyzico_amex",
                "payu_iyzico_mc",
                "payu_iyzico_troy",
                "payu_iyzico_visa",
                "pesopay_gcash",
                "pesopay_visa",
                "pesopay_mc",
                "redsys_bizum",
                "sibs_id"
            ],
            "messages": [
                "...",
                "...",
                "..."
            ]
        },
        "takeout": {
            "allowed": true,
            "use_intervals": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": true,
            "messages": [
                "...",
                "...",
                "..."
            ]
        },
        "latch": {
            "allowed": false,
            "latches": [
                {
                    "id": 11,
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE",
                        "position": {
                            "latitude": 1.54361,
                            "longitude": 0.45645
                        }
                    },
                    "name": "..."
                },
                {
                    "id": 10,
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE",
                        "position": {
                            "latitude": 1.54361,
                            "longitude": 0.45645
                        }
                    },
                    "name": "..."
                },
                {
                    "id": 12,
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE",
                        "position": {
                            "latitude": 1.54361,
                            "longitude": 0.45645
                        }
                    },
                    "name": "..."
                }
            ]
        },
        "checkout_method_messages": [
            "...",
            "...",
            "..."
        ],
        "warranty": false,
        "discounts": [
            {
                "name": "...",
                "description": "...",
                "percentage": 9.67,
                "fixed": 18,
                "type": "first-order",
                "code": "...",
                "minimum_order_price": 9.67,
                "maximum_discount_price": 9.67
            },
            {
                "name": "...",
                "description": "...",
                "percentage": 9.67,
                "fixed": 17,
                "type": "first-order",
                "code": "...",
                "minimum_order_price": 9.67,
                "maximum_discount_price": 9.67
            },
            {
                "name": "...",
                "description": "...",
                "percentage": 9.67,
                "fixed": 16,
                "type": "first-order",
                "code": "...",
                "minimum_order_price": 9.67,
                "maximum_discount_price": 9.67
            }
        ],
        "allow_combined_cart": false,
        "invoice": {
            "messages": [
                "...",
                "...",
                "..."
            ]
        },
        "allow_discount_codes": false,
        "allow_comments": false,
        "allow_order_comments": false,
        "allow_product_comments": false,
        "note_from_customer": "...",
        "invoice_cost_obsolete_price": {
            "value": 14,
            "currency": "EUR"
        },
        "invoice_cost_obsolete_price_enable": true,
        "allow_delivery_comment": false
    },
    "errors": [
        {
            "code": "...",
            "message": "...",
            "field": "..."
        },
        {
            "code": "...",
            "message": "...",
            "field": "..."
        },
        {
            "code": "...",
            "message": "...",
            "field": "..."
        }
    ],
    "info": [
        {
            "code": "...",
            "message": "..."
        },
        {
            "code": "...",
            "message": "..."
        },
        {
            "code": "...",
            "message": "..."
        }
    ]
}
This is a development version Do not use this version in production
1.10.0 development