Get an order

GET /orders/@id

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int An integer value

Example request 1 Valid order id

GET /orders/1156 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer ebf9092a1c0637b5e1f08689eb640070e39de4ca917a73880df6d2bd1d499890a313fe2042f2609cb2d9b3735ca8e5d6eaee3d09fd2be714cdaf97767047604774ee33eefb9ef1f2fb3cc64afc6b975b3004f8f8a47fb683913f4c9e42bb8fdfdc8ef5c3
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 2 Delivery order

GET /orders/1157 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer ebf9092a1c0637b5e1f08689eb640070e39de4ca917a73880df6d2bd1d499890a313fe2042f2609cb2d9b3735ca8e5d6eaee3d09fd2be714cdaf97767047604774ee33eefb9ef1f2fb3cc64afc6b975b3004f8f8a47fb683913f4c9e42bb8fdfdc8ef5c3
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 3 Valid joyn order

GET /orders/1158 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer ebf9092a1c0637b5e1f08689eb640070e39de4ca917a73880df6d2bd1d499890a313fe2042f2609cb2d9b3735ca8e5d6eaee3d09fd2be714cdaf97767047604774ee33eefb9ef1f2fb3cc64afc6b975b3004f8f8a47fb683913f4c9e42bb8fdfdc8ef5c3
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 4 Latch order

GET /orders/1159 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer ebf9092a1c0637b5e1f08689eb640070e39de4ca917a73880df6d2bd1d499890a313fe2042f2609cb2d9b3735ca8e5d6eaee3d09fd2be714cdaf97767047604774ee33eefb9ef1f2fb3cc64afc6b975b3004f8f8a47fb683913f4c9e42bb8fdfdc8ef5c3
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 5 Order with free amount

GET /orders/1161 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer ebf9092a1c0637b5e1f08689eb640070e39de4ca917a73880df6d2bd1d499890a313fe2042f2609cb2d9b3735ca8e5d6eaee3d09fd2be714cdaf97767047604774ee33eefb9ef1f2fb3cc64afc6b975b3004f8f8a47fb683913f4c9e42bb8fdfdc8ef5c3
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Response

Field Type Description
id Int Id of the product
status String String enumarion of 'PENDING', 'HAS_READ', 'APPROVED', 'DECLINED', 'REMOVED', 'DELETED_BY_SHOP', 'COLLECTED'
valid Bool Is true when the order is completed or paid and visible for the shop.
order_nr Int Unique number on a yearly basis and per shop. Visible for the shop and users. Only available for valid orders.
prices CartPrices Prices
payment_method String 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', 'payu_sp_blik', 'payu_iyzico_amex', 'payu_iyzico_mc', 'payu_iyzico_troy', 'payu_iyzico_visa', 'pesopay_gcash', 'pesopay_visa', 'pesopay_mc'
checkout OrderCheckout
shop Shop.simple
created_at Timestamp Time when the order was created, measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
joyn Joyn? Nullable. Contains the amount of points that can get saved with Joyn + a link to collect the points.
payment_status String? Nullable. String enumarion of 'pending', 'canceled', 'timeout', 'declined', 'refunded', 'paid'
products [CartItem.order] Array of CartItem.order
currency Currency 3 letter ISO 4217 currency name (string)

Example response 1 Valid order id

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

{
    "id": 1156,
    "status": "APPROVED",
    "valid": true,
    "order_nr": 1,
    "prices": {
        "price": {
            "value": 1436,
            "currency": "EUR"
        },
        "discount": {
            "value": 0,
            "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": 1436,
            "currency": "EUR"
        }
    },
    "payment_method": "monizze",
    "checkout": {
        "method": "takeout",
        "date": "2019-03-23",
        "time": "15:57"
    },
    "created_at": 1618995639,
    "shop": {
        "id": 2830,
        "name": "Cake-A-Licious",
        "address": {
            "street": "Simonpad",
            "nr": "54",
            "zipcode": "5537",
            "city": "Izegem",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": false,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6596,
                "name": "Croissant",
                "price": {
                    "value": 1028,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27231,
                        "name": "Yes please",
                        "price_change": {
                            "value": 505,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7749,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27232,
                        "name": "Yes",
                        "price_change": {
                            "value": 702,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7750,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 4586,
                "name": "5 persons",
                "price": {
                    "value": 19,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 1226,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1226,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6597,
                "name": "Deens wit groot",
                "price": {
                    "value": 172,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 172,
                    "currency": "EUR"
                },
                "price": {
                    "value": 172,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6595,
                "name": "Rozijnenbol",
                "price": {
                    "value": 3766,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [],
            "product_price": {
                "id": 4583,
                "name": "6 persons",
                "price": {
                    "value": 38,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 38,
                    "currency": "EUR"
                },
                "price": {
                    "value": 38,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example response 2 Delivery order

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

{
    "id": 1157,
    "status": "APPROVED",
    "valid": true,
    "order_nr": 2,
    "prices": {
        "price": {
            "value": 21717,
            "currency": "EUR"
        },
        "discount": {
            "value": 0,
            "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": 21717,
            "currency": "EUR"
        }
    },
    "payment_method": "payu_iyzico_amex",
    "checkout": {
        "method": "delivery",
        "date": "2021-12-10",
        "time": "08:42",
        "end_time": "08:57",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Ghent",
            "country": "BE"
        },
        "notes": null
    },
    "created_at": 1618995641,
    "shop": {
        "id": 2831,
        "name": "Best Thing Since Sliced Bread",
        "address": {
            "street": "Van Hooflaan",
            "nr": "49",
            "zipcode": "4280",
            "city": "La Louvière",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": false,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6600,
                "name": "Chocoladekoek",
                "price": {
                    "value": 5338,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27239,
                        "name": "Yes please",
                        "price_change": {
                            "value": 113,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7751,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27244,
                        "name": "Yes",
                        "price_change": {
                            "value": 614,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7752,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27258,
                        "name": "No",
                        "price_change": {
                            "value": 936,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7756,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27262,
                        "name": "Yes",
                        "price_change": {
                            "value": 719,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7757,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 7720,
                    "currency": "EUR"
                },
                "price": {
                    "value": 7720,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6599,
                "name": "Kippenwit",
                "price": {
                    "value": 9915,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27256,
                        "name": "Yes",
                        "price_change": {
                            "value": 124,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7755,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 10039,
                    "currency": "EUR"
                },
                "price": {
                    "value": 10039,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 100,
            "comment": "",
            "product": {
                "id": 6598,
                "name": "Spelt sandwich",
                "price": {
                    "value": 7793,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27236,
                        "name": "Yes",
                        "price_change": {
                            "value": 876,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7751,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27244,
                        "name": "Yes",
                        "price_change": {
                            "value": 614,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7752,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27249,
                        "name": "No",
                        "price_change": {
                            "value": 781,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7753,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27252,
                        "name": "No",
                        "price_change": {
                            "value": 908,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7754,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 7793,
                    "currency": "EUR"
                },
                "price": {
                    "value": 3958,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example response 3 Valid joyn order

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

{
    "id": 1158,
    "status": "DELETED_BY_SHOP",
    "valid": true,
    "order_nr": 3,
    "prices": {
        "price": {
            "value": 5217,
            "currency": "EUR"
        },
        "discount": {
            "value": 0,
            "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": 5217,
            "currency": "EUR"
        }
    },
    "payment_method": "payu_brazil_mc",
    "checkout": {
        "method": "latch",
        "date": "2022-08-17",
        "time": "05:41",
        "latch_id": 341,
        "name": "Febe Van den Broeck",
        "address": {
            "street": "Wautersstraat",
            "nr": "78",
            "zipcode": "9520",
            "city": "Hannuit",
            "country": "BE"
        }
    },
    "created_at": 1618995643,
    "shop": {
        "id": 2832,
        "name": "Best Thing Since Sliced Bread",
        "address": {
            "street": "Carlierpad",
            "nr": "45",
            "zipcode": "4432",
            "city": "Mortsel",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": false,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": {
        "points": 12,
        "collect_url": "https://my.joyn.be/nl/collect-points/12345",
        "qr_code_url": "https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=Example"
    },
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6601,
                "name": "Chocolade-pudding",
                "price": {
                    "value": 2760,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27266,
                        "name": "No thank you",
                        "price_change": {
                            "value": 367,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7758,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27269,
                        "name": "Yes please",
                        "price_change": {
                            "value": 857,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7759,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 3984,
                    "currency": "EUR"
                },
                "price": {
                    "value": 3984,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6602,
                "name": "Tijgerpistolet",
                "price": {
                    "value": 847,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27270,
                        "name": "Yes",
                        "price_change": {
                            "value": 89,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7760,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27272,
                        "name": "No",
                        "price_change": {
                            "value": 146,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7761,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 4587,
                "name": "3 persons",
                "price": {
                    "value": 8,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 243,
                    "currency": "EUR"
                },
                "price": {
                    "value": 243,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6603,
                "name": "Zachte bruine pistolet",
                "price": {
                    "value": 2116,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27277,
                        "name": "Yes please",
                        "price_change": {
                            "value": 184,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7762,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27278,
                        "name": "No thank you",
                        "price_change": {
                            "value": 720,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7763,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 4589,
                "name": "3 persons",
                "price": {
                    "value": 86,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 990,
                    "currency": "EUR"
                },
                "price": {
                    "value": 990,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example response 4 Latch order

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

{
    "id": 1159,
    "status": "COLLECTED",
    "valid": true,
    "order_nr": 4,
    "prices": {
        "price": {
            "value": 4175,
            "currency": "EUR"
        },
        "discount": {
            "value": 0,
            "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": 4175,
            "currency": "EUR"
        }
    },
    "payment_method": "pesopay_visa",
    "checkout": {
        "method": "latch",
        "date": "2017-12-01",
        "time": "16:21",
        "latch_id": 342,
        "name": "Margot Collin",
        "address": {
            "street": "Baerthof",
            "nr": "51",
            "zipcode": "6951",
            "city": "Marche-en-Famenne",
            "country": "BE"
        }
    },
    "created_at": 1618995644,
    "shop": {
        "id": 2835,
        "name": "Smell the Flours",
        "address": {
            "street": "Maessteeg",
            "nr": "39",
            "zipcode": "7380",
            "city": "Mechelen",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 1,
            "gram": 100,
            "comment": "",
            "product": {
                "id": 6606,
                "name": "Appelflap",
                "price": {
                    "value": 5665,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27290,
                        "name": "Yes",
                        "price_change": {
                            "value": 219,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7766,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27293,
                        "name": "Yes please",
                        "price_change": {
                            "value": 989,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7767,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 27299,
                        "name": "No",
                        "price_change": {
                            "value": 973,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7768,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 5665,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2748,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6605,
                "name": "Dubbelvezelenpistolet mini",
                "price": {
                    "value": 4509,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27289,
                        "name": "Yes",
                        "price_change": {
                            "value": 507,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7765,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 4592,
                "name": "6 persons",
                "price": {
                    "value": 45,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 552,
                    "currency": "EUR"
                },
                "price": {
                    "value": 552,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 100,
            "comment": "",
            "product": {
                "id": 6604,
                "name": "Kalkoen salami",
                "price": {
                    "value": 5868,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 27282,
                        "name": "No",
                        "price_change": {
                            "value": 288,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 7764,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 5868,
                    "currency": "EUR"
                },
                "price": {
                    "value": 875,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example response 5 Order with free amount

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

{
    "id": 1161,
    "status": "APPROVED",
    "valid": true,
    "order_nr": 5,
    "prices": {
        "price": {
            "value": 15410,
            "currency": "EUR"
        },
        "discount": {
            "value": 0,
            "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": 15410,
            "currency": "EUR"
        }
    },
    "payment_method": "paid_in_shop",
    "checkout": {
        "method": "takeout",
        "date": "2025-07-02",
        "time": "06:00"
    },
    "created_at": 1618995645,
    "shop": {
        "id": 2837,
        "name": "Break Bread",
        "address": {
            "street": "Geertslaan",
            "nr": "29",
            "zipcode": "8580",
            "city": "Seraing",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 2,
            "gram": 250,
            "comment": "",
            "product": {
                "id": 6609,
                "name": "Croissant",
                "price": {
                    "value": 6314,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 6314,
                    "currency": "EUR"
                },
                "price": {
                    "value": 3158,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 200
        },
        {
            "persons": 0,
            "amount": 4,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 6608,
                "name": "Volkoren groot",
                "price": {
                    "value": 3063,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 3063,
                    "currency": "EUR"
                },
                "price": {
                    "value": 12252,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 2
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable