Order.detailed

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)

Examples

Request

When used inside a request.

Example 1

{
    "id": 101,
    "status": "APPROVED",
    "valid": true,
    "order_nr": 52,
    "prices": {
        "price": {
            "value": 10544,
            "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": 10544,
            "currency": "EUR"
        }
    },
    "payment_method": "stripe_card_amex",
    "checkout": {
        "method": "takeout",
        "date": "2021-08-24",
        "time": "04:39"
    },
    "created_at": 1592307657,
    "shop": {
        "id": 249,
        "name": "Best Thing Since Sliced Bread",
        "address": {
            "street": "Jacobssingel",
            "nr": "64",
            "zipcode": "4671",
            "city": "Aalst",
            "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": 633,
                "name": "Pudding met suiker",
                "price": {
                    "value": 2866,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2303,
                        "name": "Yes please",
                        "price_change": {
                            "value": 993,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 653,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2306,
                        "name": "Yes",
                        "price_change": {
                            "value": 833,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 654,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2309,
                        "name": "No",
                        "price_change": {
                            "value": 619,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 655,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 413,
                "name": "2 persons",
                "price": {
                    "value": 38,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 2483,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2483,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 634,
                "name": "Boterkoek met rozijnen",
                "price": {
                    "value": 5232,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2312,
                        "name": "No thank you",
                        "price_change": {
                            "value": 932,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 656,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 6164,
                    "currency": "EUR"
                },
                "price": {
                    "value": 6164,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 100,
            "comment": "",
            "product": {
                "id": 635,
                "name": "Mini zwaantje",
                "price": {
                    "value": 7509,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2300,
                        "name": "Yes",
                        "price_change": {
                            "value": 184,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 653,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2314,
                        "name": "Yes",
                        "price_change": {
                            "value": 700,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 657,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2317,
                        "name": "No thank you",
                        "price_change": {
                            "value": 15,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 658,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2323,
                        "name": "Yes please",
                        "price_change": {
                            "value": 247,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 659,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 7509,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1897,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example 2

{
    "id": 102,
    "status": "PENDING",
    "valid": true,
    "order_nr": 53,
    "prices": {
        "price": {
            "value": 7018,
            "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": 7018,
            "currency": "EUR"
        }
    },
    "payment_method": "creditcard",
    "checkout": {
        "method": "delivery",
        "date": "2025-04-18",
        "time": "03:26",
        "end_time": "03:41",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Ghent",
            "country": "BE"
        },
        "notes": null
    },
    "created_at": 1592307657,
    "shop": {
        "id": 250,
        "name": "The Pastry Sheet",
        "address": {
            "street": "Verbruggenweg",
            "nr": "17",
            "zipcode": "1401",
            "city": "Borgloon",
            "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": 100,
            "comment": "",
            "product": {
                "id": 636,
                "name": "Sandwich",
                "price": {
                    "value": 9263,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [
                {
                    "option": {
                        "id": 2325,
                        "name": "No thank you",
                        "price_change": {
                            "value": 500,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 660,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2326,
                        "name": "No thank you",
                        "price_change": {
                            "value": 520,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 661,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 9263,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1946,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 637,
                "name": "Boerenbrood 800gr",
                "price": {
                    "value": 1707,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2330,
                        "name": "No thank you",
                        "price_change": {
                            "value": 150,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 662,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 1857,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1857,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 638,
                "name": "Mini-rozijn",
                "price": {
                    "value": 2883,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2333,
                        "name": "Yes",
                        "price_change": {
                            "value": 332,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 663,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 3215,
                    "currency": "EUR"
                },
                "price": {
                    "value": 3215,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example 3

{
    "id": 103,
    "status": "DECLINED",
    "valid": true,
    "order_nr": 54,
    "prices": {
        "price": {
            "value": 15074,
            "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": 15074,
            "currency": "EUR"
        }
    },
    "payment_method": "creditcard",
    "checkout": {
        "method": "latch",
        "date": "2023-06-26",
        "time": "22:45",
        "latch_id": 27,
        "name": "Mehdi Michel",
        "address": {
            "street": "Remyhof",
            "nr": "13",
            "zipcode": "5370",
            "city": "Diest",
            "country": "BE"
        }
    },
    "created_at": 1592307657,
    "shop": {
        "id": 251,
        "name": "Bottom of the Flour",
        "address": {
            "street": "Claesweg",
            "nr": "10",
            "zipcode": "6997",
            "city": "Hannuit",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": true,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 639,
                "name": "Abdij",
                "price": {
                    "value": 3508,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2336,
                        "name": "Yes please",
                        "price_change": {
                            "value": 169,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 664,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2341,
                        "name": "No thank you",
                        "price_change": {
                            "value": 662,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 665,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 4339,
                    "currency": "EUR"
                },
                "price": {
                    "value": 4339,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 100,
            "comment": "",
            "product": {
                "id": 640,
                "name": "Pistolet Wit Maanzaad",
                "price": {
                    "value": 4473,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": true
            },
            "options": [
                {
                    "option": {
                        "id": 2345,
                        "name": "Yes please",
                        "price_change": {
                            "value": 675,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 666,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2350,
                        "name": "No",
                        "price_change": {
                            "value": 486,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 667,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2352,
                        "name": "Yes",
                        "price_change": {
                            "value": 989,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 668,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 4473,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2597,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 641,
                "name": "Frikandon",
                "price": {
                    "value": 5220,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2338,
                        "name": "No thank you",
                        "price_change": {
                            "value": 266,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 664,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2340,
                        "name": "Yes",
                        "price_change": {
                            "value": 999,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 665,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2354,
                        "name": "No",
                        "price_change": {
                            "value": 844,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 669,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2358,
                        "name": "No thank you",
                        "price_change": {
                            "value": 809,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 670,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 8138,
                    "currency": "EUR"
                },
                "price": {
                    "value": 8138,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Response

When returned in a response.

Example 1

{
    "id": 104,
    "status": "HAS_READ",
    "valid": true,
    "order_nr": 55,
    "prices": {
        "price": {
            "value": 2940,
            "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": 2940,
            "currency": "EUR"
        }
    },
    "payment_method": "pesopay_mc",
    "checkout": {
        "method": "takeout",
        "date": "2023-05-20",
        "time": "09:51"
    },
    "created_at": 1592307658,
    "shop": {
        "id": 252,
        "name": "Makes Scents",
        "address": {
            "street": "Lefèvreboulevard",
            "nr": "58",
            "zipcode": "3200",
            "city": "Tielt",
            "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": 642,
                "name": "Pistolet wit",
                "price": {
                    "value": 1982,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2362,
                        "name": "No thank you",
                        "price_change": {
                            "value": 10,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 671,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 1992,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1992,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 643,
                "name": "Rijsttartelet",
                "price": {
                    "value": 403,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 403,
                    "currency": "EUR"
                },
                "price": {
                    "value": 403,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 644,
                "name": "Maan",
                "price": {
                    "value": 2077,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2366,
                        "name": "No thank you",
                        "price_change": {
                            "value": 524,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 672,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 414,
                "name": "3 persons",
                "price": {
                    "value": 21,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 545,
                    "currency": "EUR"
                },
                "price": {
                    "value": 545,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example 2

{
    "id": 105,
    "status": "DECLINED",
    "valid": true,
    "order_nr": 56,
    "prices": {
        "price": {
            "value": 14602,
            "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": 14602,
            "currency": "EUR"
        }
    },
    "payment_method": "payu_sp_visa",
    "checkout": {
        "method": "delivery",
        "date": "2023-10-06",
        "time": "09:52",
        "end_time": "10:07",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Ghent",
            "country": "BE"
        },
        "notes": null
    },
    "created_at": 1592307658,
    "shop": {
        "id": 253,
        "name": "Makes Scents",
        "address": {
            "street": "Noëldreef",
            "nr": "89",
            "zipcode": "5370",
            "city": "Ronse",
            "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": 100,
            "comment": "",
            "product": {
                "id": 645,
                "name": "Sandwich",
                "price": {
                    "value": 6750,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_KILOGRAM",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2369,
                        "name": "No",
                        "price_change": {
                            "value": 753,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 673,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2373,
                        "name": "Yes please",
                        "price_change": {
                            "value": 829,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 674,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 6750,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2257,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 646,
                "name": "Witte pistolet",
                "price": {
                    "value": 7025,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_UNIT",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2378,
                        "name": "Yes please",
                        "price_change": {
                            "value": 570,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 675,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2383,
                        "name": "No thank you",
                        "price_change": {
                            "value": 601,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 676,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2385,
                        "name": "Yes please",
                        "price_change": {
                            "value": 820,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 677,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 9016,
                    "currency": "EUR"
                },
                "price": {
                    "value": 9016,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 647,
                "name": "Bruinbrood carré",
                "price": {
                    "value": 3713,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2370,
                        "name": "No thank you",
                        "price_change": {
                            "value": 514,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 673,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2374,
                        "name": "Yes please",
                        "price_change": {
                            "value": 994,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 674,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2390,
                        "name": "No",
                        "price_change": {
                            "value": 982,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 678,
                            "name": "Do you want your bread sliced?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2393,
                        "name": "Yes",
                        "price_change": {
                            "value": 757,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 679,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 416,
                "name": "3 persons",
                "price": {
                    "value": 82,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 3329,
                    "currency": "EUR"
                },
                "price": {
                    "value": 3329,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}

Example 3

{
    "id": 106,
    "status": "DECLINED",
    "valid": true,
    "order_nr": 57,
    "prices": {
        "price": {
            "value": 10047,
            "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": 10047,
            "currency": "EUR"
        }
    },
    "payment_method": "paypal",
    "checkout": {
        "method": "latch",
        "date": "2025-02-09",
        "time": "14:27",
        "latch_id": 28,
        "name": "Jana Bogaert",
        "address": {
            "street": "Delfossehof",
            "nr": "12",
            "zipcode": "7534",
            "city": "Binche",
            "country": "BE"
        }
    },
    "created_at": 1592307658,
    "shop": {
        "id": 254,
        "name": "Mad Batters",
        "address": {
            "street": "Demirhof",
            "nr": "59",
            "zipcode": "9520",
            "city": "Durbuy",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": true,
        "currency": "EUR"
    },
    "payment_status": null,
    "joyn": null,
    "currency": "EUR",
    "products": [
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 648,
                "name": "Lunchworst",
                "price": {
                    "value": 5841,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 5841,
                    "currency": "EUR"
                },
                "price": {
                    "value": 5841,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 0,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 649,
                "name": "Mini-croute gemengd fruit",
                "price": {
                    "value": 1440,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "MULTIPLE_CHOICE",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2395,
                        "name": "No thank you",
                        "price_change": {
                            "value": 546,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 680,
                            "name": "Extra baked?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2399,
                        "name": "No thank you",
                        "price_change": {
                            "value": 877,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 681,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": {
                "id": 421,
                "name": "4 persons",
                "price": {
                    "value": 14,
                    "currency": "EUR"
                }
            },
            "calculated_prices": {
                "unit_price": {
                    "value": 1437,
                    "currency": "EUR"
                },
                "price": {
                    "value": 1437,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        },
        {
            "persons": 1,
            "amount": 1,
            "gram": 0,
            "comment": "",
            "product": {
                "id": 650,
                "name": "Rozijnen kk",
                "price": {
                    "value": 1964,
                    "currency": "EUR"
                },
                "images": [],
                "price_type": "PER_PERSON",
                "target_price": false
            },
            "options": [
                {
                    "option": {
                        "id": 2401,
                        "name": "Yes please",
                        "price_change": {
                            "value": 134,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 682,
                            "name": "Do you want a picture on your cake?",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2404,
                        "name": "No thank you",
                        "price_change": {
                            "value": 401,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 683,
                            "name": "Please select an option",
                            "code": null
                        }
                    },
                    "upload": null
                },
                {
                    "option": {
                        "id": 2407,
                        "name": "Yes",
                        "price_change": {
                            "value": 270,
                            "currency": "EUR"
                        },
                        "image": null,
                        "require_image": false,
                        "code": null,
                        "optionset": {
                            "id": 684,
                            "name": "Do you want a bag?",
                            "code": null
                        }
                    },
                    "upload": null
                }
            ],
            "product_price": null,
            "calculated_prices": {
                "unit_price": {
                    "value": 2769,
                    "currency": "EUR"
                },
                "price": {
                    "value": 2769,
                    "currency": "EUR"
                }
            },
            "discount_prices": null,
            "amount_free": 0
        }
    ]
}
1.5.0 stable