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', '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', 'pesopay_gcash', 'pesopay_visa', 'pesopay_mc'

Example request 1 Simple cart item

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3689,
            "options": [],
            "product_price_id": null,
            "shop_id": 1367,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 2 Not possible to validate an empty cart

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 18
{
    "cart": []
}

Example request 3 You can't order in multiple shops on some platforms

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 518
{
    "cart": [
        {
            "product_id": 3689,
            "options": [],
            "product_price_id": null,
            "shop_id": 1367,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 4 Simple takeout checkout

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 551
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "method": "takeout",
        "takeout": {
            "shops": {
                "shop_1368": {
                    "id": 1368,
                    "date": "2020-12-20",
                    "time": "12:30"
                }
            }
        }
    }
}

Example request 5 Simple delivery checkout without intervals

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 656
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "method": "delivery",
        "delivery": {
            "date": "2020-12-21",
            "time": "16:30",
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "notes": ""
        }
    }
}

Example request 6 Simple delivery checkout with intervals

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 688
{
    "cart": [
        {
            "product_id": 3693,
            "options": [],
            "product_price_id": null,
            "shop_id": 1369,
            "amount": 8,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "method": "delivery",
        "delivery": {
            "date": "2020-12-21",
            "time": "16:30",
            "end_time": "17:30",
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "notes": ""
        }
    }
}

Example request 7 Simple delivery checkout with invalid zipcode

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 689
{
    "cart": [
        {
            "product_id": 3694,
            "options": [],
            "product_price_id": null,
            "shop_id": 1370,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "method": "delivery",
        "delivery": {
            "date": "2020-12-21",
            "time": "16:30",
            "end_time": "17:30",
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "notes": ""
        }
    }
}

Example request 8 Simple delivery checkout with valid zipcode

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 689
{
    "cart": [
        {
            "product_id": 3694,
            "options": [],
            "product_price_id": null,
            "shop_id": 1370,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "method": "delivery",
        "delivery": {
            "date": "2020-12-21",
            "time": "16:30",
            "end_time": "17:30",
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9200",
                "city": "Gent",
                "country": "BE"
            },
            "notes": ""
        }
    }
}

Example request 9 Maximum amount

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 11,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 10 Maximum amount for product with optionsets

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 512
{
    "cart": [
        {
            "product_id": 3699,
            "options": [
                {
                    "option_id": 12703,
                    "upload_id": null
                },
                {
                    "option_id": 12708,
                    "upload_id": null
                }
            ],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 21,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 11 Maximum amount for product with choices

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3697,
            "options": [],
            "product_price_id": 2456,
            "shop_id": 1368,
            "amount": 21,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 12 Minimum amount

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 269
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 13 Maximum weight

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 273
{
    "cart": [
        {
            "product_id": 3696,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 11,
            "persons": 0,
            "gram": 5000,
            "comment": ""
        }
    ]
}

Example request 14 Minimum weight

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 271
{
    "cart": [
        {
            "product_id": 3696,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 1,
            "persons": 0,
            "gram": 150,
            "comment": ""
        }
    ]
}

Example request 15 Minimum persons

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 269
{
    "cart": [
        {
            "product_id": 3695,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 1,
            "persons": 2,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 16 Maximum persons

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3695,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 1,
            "persons": 11,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 17 Product with product price

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3697,
            "options": [],
            "product_price_id": 2456,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 18 Product with product price of other product

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3697,
            "options": [],
            "product_price_id": 2457,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 19 Product with invalid product price

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 278
{
    "cart": [
        {
            "product_id": 3697,
            "options": [],
            "product_price_id": 959591313556,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 20 Product with options

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 512
{
    "cart": [
        {
            "product_id": 3699,
            "options": [
                {
                    "option_id": 12703,
                    "upload_id": null
                },
                {
                    "option_id": 12708,
                    "upload_id": null
                }
            ],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 21 Cart with two invalid products, and one valid should keep valid one

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 1030
{
    "cart": [
        {
            "product_id": 3699,
            "options": [
                {
                    "option_id": 12703,
                    "upload_id": null
                },
                {
                    "option_id": 12708,
                    "upload_id": null
                }
            ],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 7956265686869419,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3699,
            "options": [],
            "product_price_id": null,
            "shop_id": 95956536299232,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 22 Missing options

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 269
{
    "cart": [
        {
            "product_id": 3699,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 23 Duplicate options

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 741
{
    "cart": [
        {
            "product_id": 3699,
            "options": [
                {
                    "option_id": 12703,
                    "upload_id": null
                },
                {
                    "option_id": 12708,
                    "upload_id": null
                },
                {
                    "option_id": 12703,
                    "upload_id": null
                },
                {
                    "option_id": 12708,
                    "upload_id": null
                }
            ],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 24 Inactive product

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3691,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 25 Deleted product

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 270
{
    "cart": [
        {
            "product_id": 3692,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 26 Product with wrong shop

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 269
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1371,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 27 Unit product with grams

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 271
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1371,
            "amount": 1,
            "persons": 0,
            "gram": 120,
            "comment": ""
        }
    ]
}

Example request 28 Equal cart items should get combined without an error

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 763
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 3,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 29 Valid coupons usage

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 391
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "coupons": [
            {
                "code": "sfvqBPrwVo"
            }
        ]
    }
}

Example request 30 Valid coupons usage (fixed discount)

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 391
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "coupons": [
            {
                "code": "hbUhxoTbj3"
            }
        ]
    }
}

Example request 31 Expired coupon usage

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 391
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "coupons": [
            {
                "code": "d1AJEqxJA7"
            }
        ]
    }
}

Example request 32 Used coupon

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 391
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "coupons": [
            {
                "code": "Ca5bHUz2vC"
            }
        ]
    }
}

Example request 33 Used coupon per user

POST /checkout HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 4578f049c2fe27a765c732035f2d1701016966cec49ee60e8b5393f9e39a05036d7b89d05548bb272d9ec0ac6521f7915e1249ee2e3bb06221d867e35d0577fc0dd62f61c8849a9170160c6b2e96cd9d753094c2923a20633f5ca2055aed4d88e4247798
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 391
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "coupons": [
            {
                "code": "Tp42cFZDnv"
            }
        ]
    }
}

Example request 34 Used coupon per user (anonymous)

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 391
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "coupons": [
            {
                "code": "Tp42cFZDnv"
            }
        ]
    }
}

Example request 35 Invoice

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 716
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "method": "takeout",
        "invoice": {
            "company": {
                "name": "Localtomorrow NV",
                "vat": "BE0543469620",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            }
        }
    }
}

Example request 36 Cartes bancaires

POST /checkout HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 4578f049c2fe27a765c732035f2d1701016966cec49ee60e8b5393f9e39a05036d7b89d05548bb272d9ec0ac6521f7915e1249ee2e3bb06221d867e35d0577fc0dd62f61c8849a9170160c6b2e96cd9d753094c2923a20633f5ca2055aed4d88e4247798
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 593
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "method": "takeout",
        "takeout": {
            "shops": {
                "shop_1368": {
                    "id": 1368,
                    "date": "2020-12-20",
                    "time": "12:30"
                }
            }
        }
    },
    "payment_method": "cartes_bancaires"
}

Example request 37 Equal cart items should get combined on addition

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 541
{
    "cart": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 4,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_items": [
        {
            "product_id": 3690,
            "options": [],
            "product_price_id": null,
            "shop_id": 1368,
            "amount": 3,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 38 Product with uploads

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 508
{
    "cart": [
        {
            "product_id": 3701,
            "options": [
                {
                    "option_id": 12711,
                    "upload_id": 54
                },
                {
                    "option_id": 12713,
                    "upload_id": 54
                }
            ],
            "product_price_id": null,
            "shop_id": 1372,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 39 Suggest a formed menu and also suggest forming other menu's by adding products

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 541
{
    "cart": [
        {
            "product_id": 3705,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_items": [
        {
            "product_id": 3709,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 40 Coupons and discounts are taken into account for suggestions

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 661
{
    "cart": [
        {
            "product_id": 3705,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "checkout": {
        "coupons": [
            {
                "code": "FREE-COLA"
            }
        ]
    },
    "add_items": [
        {
            "product_id": 3709,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 41 When you add something to the cart and form a menu, suggest the menu

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 788
{
    "cart": [
        {
            "product_id": 3705,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3712,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_items": [
        {
            "product_id": 3709,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 42 Do not suggest a menu if it is more expensive

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 788
{
    "cart": [
        {
            "product_id": 3707,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3712,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_items": [
        {
            "product_id": 3709,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 43 When you only add suggestions, never provide other suggestions

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 794
{
    "cart": [
        {
            "product_id": 3707,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3712,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_suggestions": [
        {
            "product_id": 3709,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 44 Added suggestions are used for calculating suggestions when adding items

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 819
{
    "cart": [
        {
            "product_id": 3707,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_suggestions": [
        {
            "product_id": 3712,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_items": [
        {
            "product_id": 3709,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 45 When you add a menu as a suggestion, replace the matching products in the cart

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 1398
{
    "cart": [
        {
            "product_id": 3705,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3712,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        },
        {
            "product_id": 3709,
            "options": [],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 3,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ],
    "add_suggestions": [
        {
            "product_id": 3713,
            "options": [
                {
                    "option_id": 12741,
                    "upload_id": null
                },
                {
                    "option_id": 12749,
                    "upload_id": null
                },
                {
                    "option_id": 12747,
                    "upload_id": null
                }
            ],
            "product_price_id": null,
            "shop_id": 1374,
            "amount": 2,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 46 Product with offer discount

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 512
{
    "cart": [
        {
            "product_id": 3703,
            "options": [
                {
                    "option_id": 12725,
                    "upload_id": null
                },
                {
                    "option_id": 12727,
                    "upload_id": null
                }
            ],
            "product_price_id": null,
            "shop_id": 1373,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 47 Category with offer discount is currently ignored

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 512
{
    "cart": [
        {
            "product_id": 3702,
            "options": [
                {
                    "option_id": 12715,
                    "upload_id": null
                },
                {
                    "option_id": 12720,
                    "upload_id": null
                }
            ],
            "product_price_id": null,
            "shop_id": 1373,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 48 Product price with offer discount

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 627
{
    "cart": [
        {
            "product_id": 3704,
            "options": [
                {
                    "option_id": 12730,
                    "upload_id": null
                },
                {
                    "option_id": 12734,
                    "upload_id": null
                },
                {
                    "option_id": 12738,
                    "upload_id": null
                }
            ],
            "product_price_id": 2460,
            "shop_id": 1373,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 49 Product price without offer discount

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 627
{
    "cart": [
        {
            "product_id": 3704,
            "options": [
                {
                    "option_id": 12730,
                    "upload_id": null
                },
                {
                    "option_id": 12734,
                    "upload_id": null
                },
                {
                    "option_id": 12738,
                    "upload_id": null
                }
            ],
            "product_price_id": 2461,
            "shop_id": 1373,
            "amount": 10,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

Example request 50 Latch items

POST /checkout HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 269
{
    "cart": [
        {
            "product_id": 3717,
            "options": [],
            "product_price_id": null,
            "shop_id": 1375,
            "amount": 1,
            "persons": 0,
            "gram": 0,
            "comment": ""
        }
    ]
}

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 [CartItemSuggestionGroup] A collection of suggested CartItems 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.

Example response 1 Simple cart item

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

{
    "cart": [
        {
            "product": {
                "id": 3689,
                "name": "Wit stokbrood",
                "price": {
                    "value": 9878,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1367,
                "name": "Best Thing Since Sliced Bread",
                "address": {
                    "street": "Antoineweg",
                    "nr": "84",
                    "zipcode": "9860",
                    "city": "Herve",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 9878,
                    "currency": "EUR"
                },
                "price": {
                    "value": 98780,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 98780,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 98780,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 98780,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": false,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [
            "3756"
        ],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 2 Not possible to validate an empty cart

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 177

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "empty_cart",
            "message": "7062",
            "field": "cart"
        }
    ]
}

Example response 3 You can't order in multiple shops on some platforms

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 6324

{
    "cart": [
        {
            "product": {
                "id": 3689,
                "name": "Wit stokbrood",
                "price": {
                    "value": 9878,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1367,
                "name": "Best Thing Since Sliced Bread",
                "address": {
                    "street": "Antoineweg",
                    "nr": "84",
                    "zipcode": "9860",
                    "city": "Herve",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 9878,
                    "currency": "EUR"
                },
                "price": {
                    "value": 98780,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 100790,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 100790,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 100790,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": false,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [
            "3756"
        ],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "combined_cart_not_allowed",
            "message": "This platform does not allow a combined cart. You can't add multiple shops to the same cart",
            "field": "cart"
        }
    ]
}

Example response 4 Simple takeout checkout

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2010,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 5 Simple delivery checkout without intervals

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2010,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 6 Simple delivery checkout with intervals

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

{
    "cart": [
        {
            "product": {
                "id": 3693,
                "name": "Gemarineerde kip filet",
                "price": {
                    "value": 2228,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-grijze-pistolet.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-grijze-pistolet.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 8,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1369,
                "name": "Cake Bakes",
                "address": {
                    "street": "Daemsring",
                    "nr": "28",
                    "zipcode": "2099",
                    "city": "Spa",
                    "country": "BE",
                    "position": {
                        "latitude": 51.260197,
                        "longitude": 4.402771
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2228,
                    "currency": "EUR"
                },
                "price": {
                    "value": 17824,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 17824,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 17824,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 17824,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": true,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 7 Simple delivery checkout with invalid zipcode

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4116

{
    "cart": [
        {
            "product": {
                "id": 3694,
                "name": "Hamburger",
                "price": {
                    "value": 717,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1370,
                "name": "Cake Bakes",
                "address": {
                    "street": "Verstraetenhof",
                    "nr": "10",
                    "zipcode": "4557",
                    "city": "Dendermonde",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 717,
                    "currency": "EUR"
                },
                "price": {
                    "value": 7170,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 7170,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 7170,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 7170,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": true,
            "messages": [
                "3623: 3624: 9200"
            ]
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": [],
    "errors": [
        {
            "code": "delivery_address_not_allowed",
            "message": "2081",
            "field": "checkout.delivery.address"
        }
    ]
}

Example response 8 Simple delivery checkout with valid zipcode

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

{
    "cart": [
        {
            "product": {
                "id": 3694,
                "name": "Hamburger",
                "price": {
                    "value": 717,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1370,
                "name": "Cake Bakes",
                "address": {
                    "street": "Verstraetenhof",
                    "nr": "10",
                    "zipcode": "4557",
                    "city": "Dendermonde",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 717,
                    "currency": "EUR"
                },
                "price": {
                    "value": 7170,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 7170,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 7170,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 7170,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": true,
            "messages": [
                "3623: 3624: 9200"
            ]
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 9 Maximum amount

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4254

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2010,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 10 Maximum amount for product with optionsets

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 5652

{
    "cart": [
        {
            "product": {
                "id": 3699,
                "name": "Rozijnenbol",
                "price": {
                    "value": 950,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12703,
                        "name": "No",
                        "price_change": {
                            "value": 159,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3620,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12708,
                        "name": "Yes please",
                        "price_change": {
                            "value": 934,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3621,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "persons": 0,
            "amount": 20,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2043,
                    "currency": "EUR"
                },
                "price": {
                    "value": 40860,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 40860,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 40860,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 40860,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 11 Maximum amount for product with choices

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4453

{
    "cart": [
        {
            "product": {
                "id": 3697,
                "name": "Lange rozijn",
                "price": {
                    "value": 4007,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    }
                ],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [],
            "product_price": {
                "id": 2456,
                "name": "3 persons",
                "price": {
                    "value": 51,
                    "currency": "EUR"
                }
            },
            "persons": 0,
            "amount": 20,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 51,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1020,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1020,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1020,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1020,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 12 Minimum amount

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4249

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 402,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 402,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 402,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 402,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 13 Maximum weight

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4259

{
    "cart": [
        {
            "product": {
                "id": 3696,
                "name": "Mals Wit",
                "price": {
                    "value": 2536,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 1,
            "gram": 2000,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2536,
                    "currency": "EUR"
                },
                "price": {
                    "value": 5072,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": true,
        "prices": {
            "price": {
                "value": 5072,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 5072,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 5072,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 14 Minimum weight

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4254

{
    "cart": [
        {
            "product": {
                "id": 3696,
                "name": "Mals Wit",
                "price": {
                    "value": 2536,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 1,
            "gram": 200,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2536,
                    "currency": "EUR"
                },
                "price": {
                    "value": 507,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": true,
        "prices": {
            "price": {
                "value": 507,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 507,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 507,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 15 Minimum persons

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4269

{
    "cart": [
        {
            "product": {
                "id": 3695,
                "name": "Hamburger (+- 115 g)",
                "price": {
                    "value": 1950,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 6,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 11700,
                    "currency": "EUR"
                },
                "price": {
                    "value": 11700,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 11700,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 11700,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 11700,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 16 Maximum persons

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4270

{
    "cart": [
        {
            "product": {
                "id": 3695,
                "name": "Hamburger (+- 115 g)",
                "price": {
                    "value": 1950,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 10,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 19500,
                    "currency": "EUR"
                },
                "price": {
                    "value": 19500,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 19500,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 19500,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 19500,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2069",
            "field": "cart.0"
        }
    ]
}

Example response 17 Product with product price

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

{
    "cart": [
        {
            "product": {
                "id": 3697,
                "name": "Lange rozijn",
                "price": {
                    "value": 4007,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    }
                ],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [],
            "product_price": {
                "id": 2456,
                "name": "3 persons",
                "price": {
                    "value": 51,
                    "currency": "EUR"
                }
            },
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 51,
                    "currency": "EUR"
                },
                "price": {
                    "value": 510,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 510,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 510,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 510,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 18 Product with product price of other product

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2068",
            "field": "cart.0"
        }
    ]
}

Example response 19 Product with invalid product price

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2068",
            "field": "cart.0"
        }
    ]
}

Example response 20 Product with options

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

{
    "cart": [
        {
            "product": {
                "id": 3699,
                "name": "Rozijnenbol",
                "price": {
                    "value": 950,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12703,
                        "name": "No",
                        "price_change": {
                            "value": 159,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3620,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12708,
                        "name": "Yes please",
                        "price_change": {
                            "value": 934,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3621,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2043,
                    "currency": "EUR"
                },
                "price": {
                    "value": 20430,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 20430,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 20430,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 20430,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 21 Cart with two invalid products, and one valid should keep valid one

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 5772

{
    "cart": [
        {
            "product": {
                "id": 3699,
                "name": "Rozijnenbol",
                "price": {
                    "value": 950,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12703,
                        "name": "No",
                        "price_change": {
                            "value": 159,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3620,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12708,
                        "name": "Yes please",
                        "price_change": {
                            "value": 934,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3621,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2043,
                    "currency": "EUR"
                },
                "price": {
                    "value": 20430,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 20430,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 20430,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 20430,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "4273",
            "field": "cart.1"
        },
        {
            "code": "corrected_cart",
            "message": "2068",
            "field": "cart.2"
        }
    ]
}

Example response 22 Missing options

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2068",
            "field": "cart.0"
        }
    ]
}

Example response 23 Duplicate options

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2068",
            "field": "cart.0"
        }
    ]
}

Example response 24 Inactive product

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "6811",
            "field": "cart.0"
        }
    ]
}

Example response 25 Deleted product

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "6812",
            "field": "cart.0"
        }
    ]
}

Example response 26 Product with wrong shop

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2068",
            "field": "cart.0"
        }
    ]
}

Example response 27 Unit product with grams

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 183

{
    "cart": [],
    "suggestions": [],
    "errors": [
        {
            "code": "corrected_cart",
            "message": "2068",
            "field": "cart.0"
        }
    ]
}

Example response 28 Equal cart items should get combined without an error

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 7,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1407,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1407,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1407,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1407,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 29 Valid coupons usage

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 134,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1342,
                    "currency": "EUR"
                }
            },
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": -668,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1342,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1342,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [
            {
                "name": "4156",
                "description": "6554",
                "percentage": 33.22,
                "fixed": 0,
                "type": "coupon",
                "code": "sfvqBPrwVo"
            }
        ],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 30 Valid coupons usage (fixed discount)

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": -123,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1887,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1887,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [
            {
                "name": "4156",
                "description": "6555",
                "percentage": 0,
                "fixed": 123,
                "type": "coupon",
                "code": "hbUhxoTbj3"
            }
        ],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 31 Expired coupon usage

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4270

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2010,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "invalid_field",
            "message": "4162",
            "field": "checkout.coupons.0.code"
        }
    ]
}

Example response 32 Used coupon

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4270

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2010,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "invalid_field",
            "message": "4162",
            "field": "checkout.coupons.0.code"
        }
    ]
}

Example response 33 Used coupon per user

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 4270

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2010,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [],
    "errors": [
        {
            "code": "invalid_field",
            "message": "4162",
            "field": "checkout.coupons.0.code"
        }
    ]
}

Example response 34 Used coupon per user (anonymous)

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 187,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1875,
                    "currency": "EUR"
                }
            },
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": -135,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1875,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1875,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [
            {
                "name": "4156",
                "description": "6554",
                "percentage": 6.73,
                "fixed": 0,
                "type": "coupon",
                "code": "Tp42cFZDnv"
            }
        ],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 35 Invoice

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 200,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2210,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": [
                "2349"
            ]
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 36 Cartes bancaires

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2010,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2010,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2010,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2010,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 37 Equal cart items should get combined on addition

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

{
    "cart": [
        {
            "product": {
                "id": 3690,
                "name": "Appelflap",
                "price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 7,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1368,
                "name": "Flours for Hours",
                "address": {
                    "street": "De Coninckboulevard",
                    "nr": "69",
                    "zipcode": "4280",
                    "city": "Dinant",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 201,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1407,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1407,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1407,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1407,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 38 Product with uploads

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

{
    "cart": [
        {
            "product": {
                "id": 3701,
                "name": "Mini boterkoek",
                "price": {
                    "value": 6575,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12711,
                        "name": "No",
                        "price_change": {
                            "value": 79,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3622,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12713,
                        "name": "Yes please",
                        "price_change": {
                            "value": 429,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3623,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1372,
                "name": "Rise of the Buns",
                "address": {
                    "street": "Ponceletpad",
                    "nr": "14",
                    "zipcode": "6250",
                    "city": "Leuze-en-Hainaut",
                    "country": "BE",
                    "position": {
                        "latitude": 51.05,
                        "longitude": 3.71667
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 7083,
                    "currency": "EUR"
                },
                "price": {
                    "value": 70830,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 70830,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 70830,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 70830,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 39 Suggest a formed menu and also suggest forming other menu's by adding products

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

{
    "cart": [
        {
            "product": {
                "id": 3705,
                "name": "Coca Cola",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3709,
                "name": "Big Mac",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1196,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1196,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1196,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [
        {
            "name": "7049",
            "suggestions": [
                {
                    "name": "Menu sugar",
                    "description": "Coca Cola + Big Mac",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": -48,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3715,
                            "name": "Menu sugar",
                            "price": {
                                "value": 550,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                            "width": 250,
                                            "height": 225
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                            "width": 1080,
                                            "height": 973
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12741,
                                    "name": "Coca Cola",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3631,
                                        "name": "Choose something to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 550,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1100,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        },
        {
            "name": "Vervolledig Menu light",
            "suggestions": [
                {
                    "name": "Water",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 151,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 199,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12745,
                                    "name": "Water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 900,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Sparkling water",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    },
                    "price_change": {
                        "value": 151,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 220,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12746,
                                    "name": "Sparkling water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                                "width": 300,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                                "width": 1080,
                                                "height": 720
                                            }
                                        ],
                                        "white_background": false
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 900,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        },
        {
            "name": "Vervolledig Menu",
            "suggestions": [
                {
                    "name": "Chocolate cake",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 202,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 299,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3713,
                            "name": "Menu",
                            "price": {
                                "value": 800,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                            "width": 250,
                                            "height": 225
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                            "width": 1080,
                                            "height": 973
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12741,
                                    "name": "Coca Cola",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3631,
                                        "name": "Choose something to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12749,
                                    "name": "Chocolate cake",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                                "width": 300,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                                "width": 1080,
                                                "height": 720
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 800,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1600,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Pudding",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 202,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 299,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3713,
                            "name": "Menu",
                            "price": {
                                "value": 800,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                            "width": 250,
                                            "height": 225
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                            "width": 1080,
                                            "height": 973
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12741,
                                    "name": "Coca Cola",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3631,
                                        "name": "Choose something to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12750,
                                    "name": "Pudding",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 800,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1600,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        },
        {
            "name": "Vervolledig Menu fat",
            "suggestions": [
                {
                    "name": "Chocolate cake",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 261,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 299,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3716,
                            "name": "Menu fat",
                            "price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": false
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12749,
                                    "name": "Chocolate cake",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                                "width": 300,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                                "width": 1080,
                                                "height": 720
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1120,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Pudding",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 261,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 299,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3716,
                            "name": "Menu fat",
                            "price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": false
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12750,
                                    "name": "Pudding",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1120,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        }
    ]
}

Example response 40 Coupons and discounts are taken into account for suggestions

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

{
    "cart": [
        {
            "product": {
                "id": 3705,
                "name": "Coca Cola",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 0,
                    "currency": "EUR"
                },
                "price": {
                    "value": 0,
                    "currency": "EUR"
                }
            },
            "amount_free": 0
        },
        {
            "product": {
                "id": 3709,
                "name": "Big Mac",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1196,
                "currency": "EUR"
            },
            "discount": {
                "value": -598,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 598,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 598,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [
            {
                "name": "4156",
                "description": "6553",
                "percentage": 100,
                "fixed": 0,
                "type": "coupon",
                "code": "FREE-COLA"
            }
        ],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [
        {
            "name": "Vervolledig Menu light",
            "suggestions": [
                {
                    "name": "Water",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 151,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 199,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12745,
                                    "name": "Water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 900,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Sparkling water",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    },
                    "price_change": {
                        "value": 151,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 220,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12746,
                                    "name": "Sparkling water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                                "width": 300,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                                "width": 1080,
                                                "height": 720
                                            }
                                        ],
                                        "white_background": false
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 900,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        },
        {
            "name": "Vervolledig Menu fat",
            "suggestions": [
                {
                    "name": "Chocolate cake",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 261,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 299,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3716,
                            "name": "Menu fat",
                            "price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": false
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12749,
                                    "name": "Chocolate cake",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                                "width": 300,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                                "width": 1080,
                                                "height": 720
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1120,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Pudding",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 261,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 299,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3716,
                            "name": "Menu fat",
                            "price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": false
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12750,
                                    "name": "Pudding",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1120,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        }
    ]
}

Example response 41 When you add something to the cart and form a menu, suggest the menu

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

{
    "cart": [
        {
            "product": {
                "id": 3705,
                "name": "Coca Cola",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3712,
                "name": "Pudding",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3709,
                "name": "Big Mac",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1794,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1794,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1794,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [
        {
            "name": "7049",
            "suggestions": [
                {
                    "name": "Menu",
                    "description": "Coca Cola + Big Mac + Pudding",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": -97,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3713,
                            "name": "Menu",
                            "price": {
                                "value": 800,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                            "width": 250,
                                            "height": 225
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                            "width": 1080,
                                            "height": 973
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12741,
                                    "name": "Coca Cola",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3631,
                                        "name": "Choose something to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12750,
                                    "name": "Pudding",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 800,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1600,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Menu sugar",
                    "description": "Coca Cola + Big Mac",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": -48,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3715,
                            "name": "Menu sugar",
                            "price": {
                                "value": 550,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                            "width": 250,
                                            "height": 225
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                            "width": 1080,
                                            "height": 973
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12741,
                                    "name": "Coca Cola",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3631,
                                        "name": "Choose something to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 550,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1100,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Menu fat",
                    "description": "Big Mac + Pudding",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    },
                    "price_change": {
                        "value": -38,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3716,
                            "name": "Menu fat",
                            "price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": false
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12750,
                                    "name": "Pudding",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1120,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        },
        {
            "name": "Vervolledig Menu light",
            "suggestions": [
                {
                    "name": "Water",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": 151,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 199,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12745,
                                    "name": "Water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 900,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Sparkling water",
                    "description": "7048",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    },
                    "price_change": {
                        "value": 151,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": {
                        "value": 220,
                        "currency": "EUR"
                    },
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12746,
                                    "name": "Sparkling water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                                "width": 300,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                                "width": 1080,
                                                "height": 720
                                            }
                                        ],
                                        "white_background": false
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 900,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        }
    ]
}

Example response 42 Do not suggest a menu if it is more expensive

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

{
    "cart": [
        {
            "product": {
                "id": 3707,
                "name": "Water",
                "price": {
                    "value": 199,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 199,
                    "currency": "EUR"
                },
                "price": {
                    "value": 199,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3712,
                "name": "Pudding",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3709,
                "name": "Big Mac",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1395,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1395,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1395,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [
        {
            "name": "7049",
            "suggestions": [
                {
                    "name": "Menu light",
                    "description": "Water + Big Mac",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": -48,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12745,
                                    "name": "Water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 1,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Menu fat",
                    "description": "Big Mac + Pudding",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    },
                    "price_change": {
                        "value": -38,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3716,
                            "name": "Menu fat",
                            "price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": false
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12750,
                                    "name": "Pudding",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1120,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        }
    ]
}

Example response 43 When you only add suggestions, never provide other suggestions

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

{
    "cart": [
        {
            "product": {
                "id": 3707,
                "name": "Water",
                "price": {
                    "value": 199,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 199,
                    "currency": "EUR"
                },
                "price": {
                    "value": 199,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3712,
                "name": "Pudding",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3709,
                "name": "Big Mac",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1395,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1395,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1395,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 44 Added suggestions are used for calculating suggestions when adding items

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

{
    "cart": [
        {
            "product": {
                "id": 3707,
                "name": "Water",
                "price": {
                    "value": 199,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 199,
                    "currency": "EUR"
                },
                "price": {
                    "value": 199,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3712,
                "name": "Pudding",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3709,
                "name": "Big Mac",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 1395,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 1395,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 1395,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": [
        {
            "name": "7049",
            "suggestions": [
                {
                    "name": "Menu light",
                    "description": "Water + Big Mac",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": true
                    },
                    "price_change": {
                        "value": -48,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3714,
                            "name": "Menu light",
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": true
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12745,
                                    "name": "Water",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3632,
                                        "name": "Choose something healthy to drink",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 1,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 450,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 450,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                },
                {
                    "name": "Menu fat",
                    "description": "Big Mac + Pudding",
                    "image": {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    },
                    "price_change": {
                        "value": -38,
                        "currency": "EUR"
                    },
                    "price_change_without_discount": null,
                    "item": {
                        "product": {
                            "id": 3716,
                            "name": "Menu fat",
                            "price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "images": [
                                {
                                    "resolutions": [
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                            "width": 300,
                                            "height": 200
                                        },
                                        {
                                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                            "width": 1080,
                                            "height": 720
                                        }
                                    ],
                                    "white_background": false
                                }
                            ],
                            "price_type": "PER_UNIT",
                            "target_price": false
                        },
                        "options": [
                            {
                                "option": {
                                    "id": 12747,
                                    "name": "Big Mac",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                                "width": 288,
                                                "height": 200
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                                "width": 1080,
                                                "height": 750
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3633,
                                        "name": "Choose a burger",
                                        "code": null
                                    }
                                },
                                "upload": null
                            },
                            {
                                "option": {
                                    "id": 12750,
                                    "name": "Pudding",
                                    "price_change": {
                                        "value": 0,
                                        "currency": "EUR"
                                    },
                                    "image": {
                                        "resolutions": [
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                                "width": 250,
                                                "height": 225
                                            },
                                            {
                                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                                "width": 1080,
                                                "height": 973
                                            }
                                        ],
                                        "white_background": true
                                    },
                                    "require_image": false,
                                    "code": null,
                                    "optionset": {
                                        "id": 3634,
                                        "name": "Choose a dessert",
                                        "code": null
                                    }
                                },
                                "upload": null
                            }
                        ],
                        "product_price": null,
                        "persons": 0,
                        "amount": 2,
                        "gram": 0,
                        "comment": "",
                        "shop": {
                            "id": 1374,
                            "name": "Breadline",
                            "address": {
                                "street": "Gr├ęgoirebaan",
                                "nr": "10",
                                "zipcode": "3665",
                                "city": "Torhout",
                                "country": "BE",
                                "position": {
                                    "latitude": 50.8503396,
                                    "longitude": 4.3517103
                                }
                            },
                            "allow_comments": true,
                            "currency": "EUR"
                        },
                        "calculated_prices": {
                            "unit_price": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "price": {
                                "value": 1120,
                                "currency": "EUR"
                            }
                        },
                        "discount_prices": null,
                        "amount_free": 0
                    }
                }
            ]
        }
    ]
}

Example response 45 When you add a menu as a suggestion, replace the matching products in the cart

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

{
    "cart": [
        {
            "product": {
                "id": 3712,
                "name": "Pudding",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 598,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3709,
                "name": "Big Mac",
                "price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 299,
                    "currency": "EUR"
                },
                "price": {
                    "value": 299,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "product": {
                "id": 3713,
                "name": "Menu",
                "price": {
                    "value": 800,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12741,
                        "name": "Coca Cola",
                        "price_change": {
                            "value": 0,
                            "currency": "EUR"
                        },
                        "image": {
                            "resolutions": [
                                {
                                    "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                    "width": 250,
                                    "height": 225
                                },
                                {
                                    "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                    "width": 1080,
                                    "height": 973
                                }
                            ],
                            "white_background": true
                        },
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3631,
                            "name": "Choose something to drink",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12749,
                        "name": "Chocolate cake",
                        "price_change": {
                            "value": 0,
                            "currency": "EUR"
                        },
                        "image": {
                            "resolutions": [
                                {
                                    "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-aardbeiengebakje.jpg",
                                    "width": 300,
                                    "height": 200
                                },
                                {
                                    "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-aardbeiengebakje.jpg",
                                    "width": 1080,
                                    "height": 720
                                }
                            ],
                            "white_background": true
                        },
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3634,
                            "name": "Choose a dessert",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12747,
                        "name": "Big Mac",
                        "price_change": {
                            "value": 0,
                            "currency": "EUR"
                        },
                        "image": {
                            "resolutions": [
                                {
                                    "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                    "width": 288,
                                    "height": 200
                                },
                                {
                                    "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                    "width": 1080,
                                    "height": 750
                                }
                            ],
                            "white_background": true
                        },
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3633,
                            "name": "Choose a burger",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "persons": 0,
            "amount": 2,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1374,
                "name": "Breadline",
                "address": {
                    "street": "Gr├ęgoirebaan",
                    "nr": "10",
                    "zipcode": "3665",
                    "city": "Torhout",
                    "country": "BE",
                    "position": {
                        "latitude": 50.8503396,
                        "longitude": 4.3517103
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 800,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1600,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 2497,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 2497,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 2497,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale",
                "bancontact",
                "creditcard",
                "ideal",
                "sofort",
                "giropay",
                "cartes_bancaires",
                "eps_uberweisung"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": true
    },
    "suggestions": []
}

Example response 46 Product with offer discount

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

{
    "cart": [
        {
            "product": {
                "id": 3703,
                "name": "Sandwich",
                "price": {
                    "value": 1234,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-krokant-wit.jpg",
                                "width": 288,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-krokant-wit.jpg",
                                "width": 1080,
                                "height": 750
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12725,
                        "name": "Yes please",
                        "price_change": {
                            "value": 161,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3626,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12727,
                        "name": "Yes please",
                        "price_change": {
                            "value": 43,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3627,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1373,
                "name": "Scents Time Immemorial",
                "address": {
                    "street": "Doganring",
                    "nr": "21",
                    "zipcode": "3384",
                    "city": "Stavelot",
                    "country": "BE",
                    "position": {
                        "latitude": 51.260197,
                        "longitude": 4.402771
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 1438,
                    "currency": "EUR"
                },
                "price": {
                    "value": 14380,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 1294,
                    "currency": "EUR"
                },
                "price": {
                    "value": 12942,
                    "currency": "EUR"
                }
            },
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 14380,
                "currency": "EUR"
            },
            "discount": {
                "value": -1438,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 12942,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 12942,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [
            {
                "name": "Black Friday",
                "description": "4158",
                "percentage": 0,
                "fixed": 0,
                "type": "offer"
            }
        ],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 47 Category with offer discount is currently ignored

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

{
    "cart": [
        {
            "product": {
                "id": 3702,
                "name": "Baguette blanche longue",
                "price": {
                    "value": 1234,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-negro-pistolet.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-negro-pistolet.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12715,
                        "name": "No thank you",
                        "price_change": {
                            "value": 977,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3624,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12720,
                        "name": "No",
                        "price_change": {
                            "value": 983,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3625,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1373,
                "name": "Scents Time Immemorial",
                "address": {
                    "street": "Doganring",
                    "nr": "21",
                    "zipcode": "3384",
                    "city": "Stavelot",
                    "country": "BE",
                    "position": {
                        "latitude": 51.260197,
                        "longitude": 4.402771
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 3194,
                    "currency": "EUR"
                },
                "price": {
                    "value": 31940,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 31940,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 31940,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 31940,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 48 Product price with offer discount

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

{
    "cart": [
        {
            "product": {
                "id": 3704,
                "name": "Passendalebrood gv",
                "price": {
                    "value": 1234,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    }
                ],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12730,
                        "name": "No thank you",
                        "price_change": {
                            "value": 476,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3628,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12734,
                        "name": "No thank you",
                        "price_change": {
                            "value": 429,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3629,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12738,
                        "name": "Yes",
                        "price_change": {
                            "value": 742,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3630,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 2460,
                "name": "5 persons",
                "price": {
                    "value": 1234,
                    "currency": "EUR"
                }
            },
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1373,
                "name": "Scents Time Immemorial",
                "address": {
                    "street": "Doganring",
                    "nr": "21",
                    "zipcode": "3384",
                    "city": "Stavelot",
                    "country": "BE",
                    "position": {
                        "latitude": 51.260197,
                        "longitude": 4.402771
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2881,
                    "currency": "EUR"
                },
                "price": {
                    "value": 28810,
                    "currency": "EUR"
                }
            },
            "discount_prices": {
                "unit_price": {
                    "value": 2593,
                    "currency": "EUR"
                },
                "price": {
                    "value": 25929,
                    "currency": "EUR"
                }
            },
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 28810,
                "currency": "EUR"
            },
            "discount": {
                "value": -2881,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 25929,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 25929,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [
            {
                "name": "Black Friday",
                "description": "4158",
                "percentage": 0,
                "fixed": 0,
                "type": "offer"
            }
        ],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 49 Product price without offer discount

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

{
    "cart": [
        {
            "product": {
                "id": 3704,
                "name": "Passendalebrood gv",
                "price": {
                    "value": 1234,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-bbq-worst.jpg",
                                "width": 300,
                                "height": 200
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-bbq-worst.jpg",
                                "width": 1080,
                                "height": 720
                            }
                        ],
                        "white_background": false
                    }
                ],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 12730,
                        "name": "No thank you",
                        "price_change": {
                            "value": 476,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3628,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12734,
                        "name": "No thank you",
                        "price_change": {
                            "value": 429,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3629,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 12738,
                        "name": "Yes",
                        "price_change": {
                            "value": 742,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 3630,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 2461,
                "name": "7 persons",
                "price": {
                    "value": 1234,
                    "currency": "EUR"
                }
            },
            "persons": 0,
            "amount": 10,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1373,
                "name": "Scents Time Immemorial",
                "address": {
                    "street": "Doganring",
                    "nr": "21",
                    "zipcode": "3384",
                    "city": "Stavelot",
                    "country": "BE",
                    "position": {
                        "latitude": 51.260197,
                        "longitude": 4.402771
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2881,
                    "currency": "EUR"
                },
                "price": {
                    "value": 28810,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 28810,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 28810,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 28810,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": false,
            "latches": []
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}

Example response 50 Latch items

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

{
    "cart": [
        {
            "product": {
                "id": 3717,
                "name": "Mini frangipane",
                "price": {
                    "value": 3428,
                    "currency": "EUR"
                },
                "images": [
                    {
                        "resolutions": [
                            {
                                "src": "https://bakeronline.be/uploads/tests/250x200/product-mini-cremekoek.jpg",
                                "width": 250,
                                "height": 225
                            },
                            {
                                "src": "https://bakeronline.be/uploads/tests/1080x720/product-mini-cremekoek.jpg",
                                "width": 1080,
                                "height": 973
                            }
                        ],
                        "white_background": true
                    }
                ],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "shop": {
                "id": 1375,
                "name": "The Dough Flow",
                "address": {
                    "street": "De Ridderstraat",
                    "nr": "70",
                    "zipcode": "7181",
                    "city": "Charleroi",
                    "country": "BE",
                    "position": {
                        "latitude": 51.260197,
                        "longitude": 4.402771
                    }
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 3428,
                    "currency": "EUR"
                },
                "price": {
                    "value": 3428,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ],
    "cart_config": {
        "target_price": false,
        "prices": {
            "price": {
                "value": 3428,
                "currency": "EUR"
            },
            "discount": {
                "value": 0,
                "currency": "EUR"
            },
            "price_with_discount": {
                "value": 3428,
                "currency": "EUR"
            },
            "warranty": {
                "value": 0,
                "currency": "EUR"
            },
            "delivery_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "invoice_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "sms_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "transaction_cost": {
                "value": 0,
                "currency": "EUR"
            },
            "price_to_pay": {
                "value": 3428,
                "currency": "EUR"
            }
        },
        "payment": {
            "methods": [
                "point_of_sale"
            ],
            "messages": []
        },
        "takeout": {
            "allowed": true
        },
        "delivery": {
            "allowed": true,
            "use_intervals": false,
            "messages": []
        },
        "latch": {
            "allowed": true,
            "latches": [
                {
                    "id": 160,
                    "address": {
                        "street": "Bernarddreef",
                        "nr": "80",
                        "zipcode": "5660",
                        "city": "Doornik",
                        "country": "BE",
                        "position": {
                            "latitude": 51.05,
                            "longitude": 3.71667
                        }
                    },
                    "name": "Gabriel Vandenberghe"
                }
            ]
        },
        "checkout_method_messages": [],
        "warranty": false,
        "discounts": [],
        "allow_combined_cart": false,
        "invoice": {
            "messages": []
        },
        "allow_discount_codes": false
    },
    "suggestions": []
}
1.5.0 stable