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/53 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 8b55a3e48bb264a4833f68e70415f5dc2a37d305a72b0ae1175b24d9f8bdd1cf1a911e170cf2672b65f0788a704d04794a8388ca03b7b762caaae0e739d05dc1e89cb31346ed10cdfaa1eb15fc121798596726db975497daf6dbbd2d4a9c7fcec7f9bfea
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 2 Delivery order

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

Example request 3 Valid joyn order

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

Example request 4 Latch order

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

Example request 5 Order with free amount

GET /orders/57 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 8b55a3e48bb264a4833f68e70415f5dc2a37d305a72b0ae1175b24d9f8bdd1cf1a911e170cf2672b65f0788a704d04794a8388ca03b7b762caaae0e739d05dc1e89cb31346ed10cdfaa1eb15fc121798596726db975497daf6dbbd2d4a9c7fcec7f9bfea
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_payment_wall', 'payu_sp_pbl', 'payu_sp_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: 5857

{
    "id": 53,
    "status": "APPROVED",
    "valid": true,
    "order_nr": 7,
    "prices": {
        "price": {
            "value": 15439,
            "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": 15439,
            "currency": "EUR"
        }
    },
    "payment_method": "payu_brazil_mc",
    "checkout": {
        "method": "takeout",
        "date": "2024-01-26",
        "time": "13:28"
    },
    "created_at": 1592307621,
    "shop": {
        "id": 132,
        "name": "Tough Cookies",
        "address": {
            "street": "Remyweg",
            "nr": "22",
            "zipcode": "7387",
            "city": "Eupen",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": true,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 353,
                "name": "Profiterol advokaatslagroom",
                "price": {
                    "value": 3586,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [],
            "product_price": {
                "id": 191,
                "name": "6 persons",
                "price": {
                    "value": 64,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 64,
                    "currency": "EUR"
                },
                "price": {
                    "value": 64,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 354,
                "name": "Koolhydraatarmbrood(tarwe,lijnzaad,sesamzaad,soja,zonnebloempitten)",
                "price": {
                    "value": 7845,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1223,
                        "name": "Yes",
                        "price_change": {
                            "value": 104,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 352,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 7949,
                    "currency": "EUR"
                },
                "price": {
                    "value": 7949,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 355,
                "name": "Boerenbrood 800gr",
                "price": {
                    "value": 6554,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1227,
                        "name": "Yes please",
                        "price_change": {
                            "value": 872,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 353,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 7426,
                    "currency": "EUR"
                },
                "price": {
                    "value": 7426,
                    "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: 12080

{
    "id": 54,
    "status": "DECLINED",
    "valid": true,
    "order_nr": 8,
    "prices": {
        "price": {
            "value": 18774,
            "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": 18774,
            "currency": "EUR"
        }
    },
    "payment_method": "pesopay_gcash",
    "checkout": {
        "method": "delivery",
        "date": "2020-07-10",
        "time": "02:04",
        "end_time": "02:19",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Ghent",
            "country": "BE"
        },
        "notes": null
    },
    "created_at": 1592307622,
    "shop": {
        "id": 133,
        "name": "Cut the Cake",
        "address": {
            "street": "De Meyerring",
            "nr": "28",
            "zipcode": "7640",
            "city": "Gistel",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": true,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 356,
                "name": "Appelkoek",
                "price": {
                    "value": 9121,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1232,
                        "name": "Yes please",
                        "price_change": {
                            "value": 363,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 354,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1237,
                        "name": "No thank you",
                        "price_change": {
                            "value": 753,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 355,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1238,
                        "name": "Yes",
                        "price_change": {
                            "value": 506,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 356,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1244,
                        "name": "Yes",
                        "price_change": {
                            "value": 34,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 357,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 10777,
                    "currency": "EUR"
                },
                "price": {
                    "value": 10777,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 100,
            "comment": "",
            "product": {
                "id": 357,
                "name": "Chocoladekoek",
                "price": {
                    "value": 9744,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1249,
                        "name": "No",
                        "price_change": {
                            "value": 683,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 358,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1252,
                        "name": "No thank you",
                        "price_change": {
                            "value": 85,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 359,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1256,
                        "name": "Yes please",
                        "price_change": {
                            "value": 161,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 360,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 9744,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1903,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 358,
                "name": "Mini-broodjes",
                "price": {
                    "value": 3640,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1232,
                        "name": "Yes please",
                        "price_change": {
                            "value": 363,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 354,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1237,
                        "name": "No thank you",
                        "price_change": {
                            "value": 753,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 355,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1241,
                        "name": "No",
                        "price_change": {
                            "value": 574,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 356,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1243,
                        "name": "No thank you",
                        "price_change": {
                            "value": 764,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 357,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 6094,
                    "currency": "EUR"
                },
                "price": {
                    "value": 6094,
                    "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: 10223

{
    "id": 55,
    "status": "DECLINED",
    "valid": true,
    "order_nr": 9,
    "prices": {
        "price": {
            "value": 9476,
            "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": 9476,
            "currency": "EUR"
        }
    },
    "payment_method": "payu_sp_payment_wall",
    "checkout": {
        "method": "takeout",
        "date": "2017-08-24",
        "time": "11:48"
    },
    "created_at": 1592307622,
    "shop": {
        "id": 134,
        "name": "Bakers Delight",
        "address": {
            "street": "Segershof",
            "nr": "35",
            "zipcode": "8580",
            "city": "Poperinge",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "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": 100,
            "comment": "",
            "product": {
                "id": 359,
                "name": "Zwarte woud",
                "price": {
                    "value": 8279,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [
                {
                    "option": {
                        "id": 1258,
                        "name": "Yes please",
                        "price_change": {
                            "value": 410,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 361,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1260,
                        "name": "No",
                        "price_change": {
                            "value": 965,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 362,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1263,
                        "name": "Yes please",
                        "price_change": {
                            "value": 106,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 363,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 8279,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2309,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 360,
                "name": "Mini-zacht wit",
                "price": {
                    "value": 5570,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1270,
                        "name": "No thank you",
                        "price_change": {
                            "value": 600,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 364,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1275,
                        "name": "No",
                        "price_change": {
                            "value": 159,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 365,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1276,
                        "name": "Yes",
                        "price_change": {
                            "value": 85,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 366,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1282,
                        "name": "Yes",
                        "price_change": {
                            "value": 492,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 367,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 6906,
                    "currency": "EUR"
                },
                "price": {
                    "value": 6906,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 361,
                "name": "MINI-ZACHT gemengd",
                "price": {
                    "value": 1947,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1257,
                        "name": "Yes please",
                        "price_change": {
                            "value": 211,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 361,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 193,
                "name": "7 persons",
                "price": {
                    "value": 50,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 261,
                    "currency": "EUR"
                },
                "price": {
                    "value": 261,
                    "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: 8328

{
    "id": 56,
    "status": "APPROVED",
    "valid": true,
    "order_nr": 10,
    "prices": {
        "price": {
            "value": 3088,
            "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": 3088,
            "currency": "EUR"
        }
    },
    "payment_method": "payu_brazil_hipercard",
    "checkout": {
        "method": "latch",
        "date": "2024-07-07",
        "time": "08:33",
        "latch_id": 16,
        "name": "Chiara Meert",
        "address": {
            "street": "Claessensbaan",
            "nr": "63",
            "zipcode": "9991",
            "city": "Borgworm",
            "country": "BE"
        }
    },
    "created_at": 1592307622,
    "shop": {
        "id": 135,
        "name": "Makes Scents",
        "address": {
            "street": "Desmetring",
            "nr": "18",
            "zipcode": "7830",
            "city": "Landen",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 362,
                "name": "Belegde mini sandwich DELUXE",
                "price": {
                    "value": 624,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1283,
                        "name": "No thank you",
                        "price_change": {
                            "value": 408,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 368,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1286,
                        "name": "No",
                        "price_change": {
                            "value": 883,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 369,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 198,
                "name": "5 persons",
                "price": {
                    "value": 23,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 1314,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1314,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 363,
                "name": "Waldkorn",
                "price": {
                    "value": 1167,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 1293,
                        "name": "No",
                        "price_change": {
                            "value": 616,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 370,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1295,
                        "name": "Yes please",
                        "price_change": {
                            "value": 445,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 371,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 1299,
                        "name": "Yes please",
                        "price_change": {
                            "value": 649,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 372,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 204,
                "name": "3 persons",
                "price": {
                    "value": 44,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 1754,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1754,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 100,
            "comment": "",
            "product": {
                "id": 364,
                "name": "Chocoladekoek",
                "price": {
                    "value": 204,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 204,
                    "currency": "EUR"
                },
                "price": {
                    "value": 20,
                    "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: 3305

{
    "id": 57,
    "status": "DECLINED",
    "valid": true,
    "order_nr": 11,
    "prices": {
        "price": {
            "value": 38138,
            "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": 38138,
            "currency": "EUR"
        }
    },
    "payment_method": "stripe_google_pay",
    "checkout": {
        "method": "takeout",
        "date": "2022-06-04",
        "time": "05:50"
    },
    "created_at": 1592307623,
    "shop": {
        "id": 136,
        "name": "The Grateful Bread",
        "address": {
            "street": "Marchalpad",
            "nr": "56",
            "zipcode": "8660",
            "city": "Leuven",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 0,
            "amount": 4,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 365,
                "name": "Mini Pistolet Gemengd",
                "price": {
                    "value": 9151,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 9151,
                    "currency": "EUR"
                },
                "price": {
                    "value": 36604,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 2
        },
        {
            "persons": 0,
            "amount": 2,
            "gram": 250,
            "comment": "",
            "product": {
                "id": 366,
                "name": "Scampibrochette",
                "price": {
                    "value": 3069,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 3069,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1534,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 200
        }
    ]
}
1.5.0 stable