Get orders of a shop

GET /company/shops/@id/orders

Return all orders (sorted from old to new by default). You can filter the results. If you want to poll for new orders, you should use the future property:

The future object will only be available if it is possible that new orders will match your filtering criteria, when you use ascending sorting (default), and if there are no more results left (next property is null, results may stil contain some orders).

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 The id of the shop you are requesting to get the orders from

Query string (URL)

Append the querystring with following properties to the URL.

A dictionary with fields

Field Type Description
status String Optional. Only return orders with this status
created_after Timestamp Optional. Only return orders that were placed after (including) this timestamp. Do not use this for pagination as multiple orders might share the same created_at timestamp.
created_before Timestamp Optional. Only return orders that were placed before (including) this timestamp. You can use this together with created_after. Do not use this for pagination as multiple orders might share the same created_at timestamp.
before_id Int Optional. Only return orders created before (not including) the order with the given id. Before isn't the same as smaller, it might return IDs that are larger than the given id from orders that are validated before the given order id! Use for pagination.
after_id Int Optional. Only return orders created after (not including) the order with the given id. After isn't the same as larger, it might return IDs that are smaller than the given id from orders that are validated after the given order id! Use for pagination.
sort String Optional. Sort the results in ascending (default) or descending order by creation date (the date an order is paid or validated). Default is ascending.

Example request 1

GET /company/shops/10/orders?status=PENDING&created_after=1657085954&created_before=1657085954&before_id=17&after_id=14&sort=ascending HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.8.0
Accept-Language: en-US,en;q=0.5

Response

Field Type Description
results [company.Order.detailed] Array of company.Order.detailed
next Dictionary? Nullable. Set when we have more results at this moment. It contains the query parameters you need to request the following results. Is null when there are no results left
future Dictionary? Nullable. When all the results have been returned (no next set), but there might be more results in the future, future contains the query parameters you should use to request new results in the future (e.g. in 15 minutes) to know if you have extra results without returning the same results again.

Example response 1

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

{
    "results": [
        {
            "id": 18,
            "shop_id": 12,
            "company_id": 11,
            "status": "PENDING",
            "order_nr": 16,
            "prices": {
                "price": {
                    "value": 19,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 18,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 16,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 12,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 14,
                    "currency": "EUR"
                }
            },
            "payment_method": "point_of_sale",
            "checkout": {
                "method": "delivery",
                "date": "2019-01-31",
                "time": "12:00",
                "end_time": "12:00",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "notes": "...",
                "name": "...",
                "latch_id": 13,
                "comment": "...",
                "notification_method": "email"
            },
            "products": [
                {
                    "amount": 18,
                    "persons": 14,
                    "gram": 11,
                    "comment": "...",
                    "product": {
                        "id": 17,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": false,
                        "price": {
                            "value": 18,
                            "currency": "EUR"
                        },
                        "only_order_in_store": false,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 11,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 13,
                        "name": "...",
                        "price": {
                            "value": 10,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 10,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 15,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 13,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 14,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 16,
                    "options": [
                        {
                            "option": {
                                "id": 17,
                                "name": "...",
                                "price_change": {
                                    "value": 18,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 12,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 13,
                                    "max_different_options": 13,
                                    "min_amount_options": 17,
                                    "max_amount_options": 14
                                }
                            },
                            "upload": {
                                "id": 14,
                                "url": "https://example.com"
                            },
                            "amount": 12
                        },
                        {
                            "option": {
                                "id": 16,
                                "name": "...",
                                "price_change": {
                                    "value": 17,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 14,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 19,
                                    "max_different_options": 16,
                                    "min_amount_options": 15,
                                    "max_amount_options": 16
                                }
                            },
                            "upload": {
                                "id": 13,
                                "url": "https://example.com"
                            },
                            "amount": 13
                        },
                        {
                            "option": {
                                "id": 17,
                                "name": "...",
                                "price_change": {
                                    "value": 18,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 16,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 16,
                                    "max_different_options": 19,
                                    "min_amount_options": 11,
                                    "max_amount_options": 17
                                }
                            },
                            "upload": {
                                "id": 16,
                                "url": "https://example.com"
                            },
                            "amount": 18
                        }
                    ]
                },
                {
                    "amount": 11,
                    "persons": 17,
                    "gram": 15,
                    "comment": "...",
                    "product": {
                        "id": 12,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": true,
                        "price": {
                            "value": 18,
                            "currency": "EUR"
                        },
                        "only_order_in_store": true,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 10,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 13,
                        "name": "...",
                        "price": {
                            "value": 18,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 12,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 15,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 15,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 12,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 16,
                    "options": [
                        {
                            "option": {
                                "id": 19,
                                "name": "...",
                                "price_change": {
                                    "value": 15,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 19,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 14,
                                    "max_different_options": 18,
                                    "min_amount_options": 10,
                                    "max_amount_options": 14
                                }
                            },
                            "upload": {
                                "id": 15,
                                "url": "https://example.com"
                            },
                            "amount": 12
                        },
                        {
                            "option": {
                                "id": 16,
                                "name": "...",
                                "price_change": {
                                    "value": 18,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 13,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 17,
                                    "max_different_options": 16,
                                    "min_amount_options": 19,
                                    "max_amount_options": 18
                                }
                            },
                            "upload": {
                                "id": 17,
                                "url": "https://example.com"
                            },
                            "amount": 19
                        },
                        {
                            "option": {
                                "id": 10,
                                "name": "...",
                                "price_change": {
                                    "value": 19,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 11,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 12,
                                    "max_different_options": 15,
                                    "min_amount_options": 10,
                                    "max_amount_options": 18
                                }
                            },
                            "upload": {
                                "id": 11,
                                "url": "https://example.com"
                            },
                            "amount": 13
                        }
                    ]
                },
                {
                    "amount": 18,
                    "persons": 12,
                    "gram": 18,
                    "comment": "...",
                    "product": {
                        "id": 15,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": true,
                        "price": {
                            "value": 16,
                            "currency": "EUR"
                        },
                        "only_order_in_store": true,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 16,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 18,
                        "name": "...",
                        "price": {
                            "value": 19,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 13,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 15,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 15,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 17,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 12,
                    "options": [
                        {
                            "option": {
                                "id": 17,
                                "name": "...",
                                "price_change": {
                                    "value": 10,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 17,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": false,
                                    "min_different_options": 14,
                                    "max_different_options": 19,
                                    "min_amount_options": 17,
                                    "max_amount_options": 16
                                }
                            },
                            "upload": {
                                "id": 19,
                                "url": "https://example.com"
                            },
                            "amount": 19
                        },
                        {
                            "option": {
                                "id": 17,
                                "name": "...",
                                "price_change": {
                                    "value": 13,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 15,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": false,
                                    "min_different_options": 12,
                                    "max_different_options": 15,
                                    "min_amount_options": 13,
                                    "max_amount_options": 18
                                }
                            },
                            "upload": {
                                "id": 11,
                                "url": "https://example.com"
                            },
                            "amount": 15
                        },
                        {
                            "option": {
                                "id": 14,
                                "name": "...",
                                "price_change": {
                                    "value": 18,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 19,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 10,
                                    "max_different_options": 13,
                                    "min_amount_options": 10,
                                    "max_amount_options": 15
                                }
                            },
                            "upload": {
                                "id": 10,
                                "url": "https://example.com"
                            },
                            "amount": 14
                        }
                    ]
                }
            ],
            "invoice": {
                "id": 17,
                "name": "...",
                "vat": "...",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "generated": true
            },
            "isop": {
                "origin": "in-store",
                "customer_id": 16,
                "employee_id": 15
            },
            "consumer": {
                "email": "example@domain.com",
                "firstname": "...",
                "lastname": "...",
                "phone": "+32 475 00 00 00",
                "user_id": 14
            },
            "created_at": 1657085954,
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": false,
            "note_to_self": "...",
            "warranty": {
                "cost": 9.67,
                "bankAccountNr": "...",
                "returned": true,
                "refunded": true
            },
            "source": "...",
            "tin_nr": "...",
            "preparation_status": "PREPARING"
        },
        {
            "id": 10,
            "shop_id": 16,
            "company_id": 14,
            "status": "PENDING",
            "order_nr": 19,
            "prices": {
                "price": {
                    "value": 12,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 10,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 19,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 15,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 15,
                    "currency": "EUR"
                }
            },
            "payment_method": "point_of_sale",
            "checkout": {
                "method": "delivery",
                "date": "2019-01-31",
                "time": "12:00",
                "end_time": "12:00",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "notes": "...",
                "name": "...",
                "latch_id": 18,
                "comment": "...",
                "notification_method": "email"
            },
            "products": [
                {
                    "amount": 11,
                    "persons": 17,
                    "gram": 12,
                    "comment": "...",
                    "product": {
                        "id": 10,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": true,
                        "price": {
                            "value": 19,
                            "currency": "EUR"
                        },
                        "only_order_in_store": true,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 10,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 17,
                        "name": "...",
                        "price": {
                            "value": 11,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 18,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 13,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 10,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 18,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 18,
                    "options": [
                        {
                            "option": {
                                "id": 16,
                                "name": "...",
                                "price_change": {
                                    "value": 12,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 16,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 10,
                                    "max_different_options": 17,
                                    "min_amount_options": 18,
                                    "max_amount_options": 12
                                }
                            },
                            "upload": {
                                "id": 16,
                                "url": "https://example.com"
                            },
                            "amount": 17
                        },
                        {
                            "option": {
                                "id": 16,
                                "name": "...",
                                "price_change": {
                                    "value": 15,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 16,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 10,
                                    "max_different_options": 19,
                                    "min_amount_options": 14,
                                    "max_amount_options": 16
                                }
                            },
                            "upload": {
                                "id": 12,
                                "url": "https://example.com"
                            },
                            "amount": 13
                        },
                        {
                            "option": {
                                "id": 13,
                                "name": "...",
                                "price_change": {
                                    "value": 10,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 18,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 13,
                                    "max_different_options": 16,
                                    "min_amount_options": 13,
                                    "max_amount_options": 16
                                }
                            },
                            "upload": {
                                "id": 12,
                                "url": "https://example.com"
                            },
                            "amount": 10
                        }
                    ]
                },
                {
                    "amount": 11,
                    "persons": 13,
                    "gram": 12,
                    "comment": "...",
                    "product": {
                        "id": 15,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": true,
                        "price": {
                            "value": 14,
                            "currency": "EUR"
                        },
                        "only_order_in_store": false,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 15,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 16,
                        "name": "...",
                        "price": {
                            "value": 14,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 18,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 18,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 16,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 12,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 18,
                    "options": [
                        {
                            "option": {
                                "id": 11,
                                "name": "...",
                                "price_change": {
                                    "value": 19,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 19,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 19,
                                    "max_different_options": 16,
                                    "min_amount_options": 15,
                                    "max_amount_options": 14
                                }
                            },
                            "upload": {
                                "id": 19,
                                "url": "https://example.com"
                            },
                            "amount": 17
                        },
                        {
                            "option": {
                                "id": 15,
                                "name": "...",
                                "price_change": {
                                    "value": 14,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 16,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": false,
                                    "min_different_options": 19,
                                    "max_different_options": 12,
                                    "min_amount_options": 16,
                                    "max_amount_options": 19
                                }
                            },
                            "upload": {
                                "id": 19,
                                "url": "https://example.com"
                            },
                            "amount": 14
                        },
                        {
                            "option": {
                                "id": 16,
                                "name": "...",
                                "price_change": {
                                    "value": 14,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 11,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 12,
                                    "max_different_options": 15,
                                    "min_amount_options": 19,
                                    "max_amount_options": 12
                                }
                            },
                            "upload": {
                                "id": 18,
                                "url": "https://example.com"
                            },
                            "amount": 11
                        }
                    ]
                },
                {
                    "amount": 11,
                    "persons": 17,
                    "gram": 11,
                    "comment": "...",
                    "product": {
                        "id": 11,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": false,
                        "price": {
                            "value": 14,
                            "currency": "EUR"
                        },
                        "only_order_in_store": true,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 14,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 18,
                        "name": "...",
                        "price": {
                            "value": 18,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 10,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 19,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 11,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 13,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 14,
                    "options": [
                        {
                            "option": {
                                "id": 15,
                                "name": "...",
                                "price_change": {
                                    "value": 11,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 16,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": false,
                                    "min_different_options": 17,
                                    "max_different_options": 10,
                                    "min_amount_options": 16,
                                    "max_amount_options": 13
                                }
                            },
                            "upload": {
                                "id": 15,
                                "url": "https://example.com"
                            },
                            "amount": 15
                        },
                        {
                            "option": {
                                "id": 12,
                                "name": "...",
                                "price_change": {
                                    "value": 16,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 19,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 14,
                                    "max_different_options": 12,
                                    "min_amount_options": 12,
                                    "max_amount_options": 17
                                }
                            },
                            "upload": {
                                "id": 16,
                                "url": "https://example.com"
                            },
                            "amount": 15
                        },
                        {
                            "option": {
                                "id": 14,
                                "name": "...",
                                "price_change": {
                                    "value": 15,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 11,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": false,
                                    "min_different_options": 19,
                                    "max_different_options": 10,
                                    "min_amount_options": 16,
                                    "max_amount_options": 14
                                }
                            },
                            "upload": {
                                "id": 13,
                                "url": "https://example.com"
                            },
                            "amount": 12
                        }
                    ]
                }
            ],
            "invoice": {
                "id": 19,
                "name": "...",
                "vat": "...",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "generated": false
            },
            "isop": {
                "origin": "in-store",
                "customer_id": 17,
                "employee_id": 16
            },
            "consumer": {
                "email": "example@domain.com",
                "firstname": "...",
                "lastname": "...",
                "phone": "+32 475 00 00 00",
                "user_id": 15
            },
            "created_at": 1657085954,
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": true,
            "note_to_self": "...",
            "warranty": {
                "cost": 9.67,
                "bankAccountNr": "...",
                "returned": true,
                "refunded": true
            },
            "source": "...",
            "tin_nr": "...",
            "preparation_status": "PREPARING"
        },
        {
            "id": 19,
            "shop_id": 14,
            "company_id": 15,
            "status": "PENDING",
            "order_nr": 14,
            "prices": {
                "price": {
                    "value": 16,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 10,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 15,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 19,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 10,
                    "currency": "EUR"
                }
            },
            "payment_method": "point_of_sale",
            "checkout": {
                "method": "delivery",
                "date": "2019-01-31",
                "time": "12:00",
                "end_time": "12:00",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "notes": "...",
                "name": "...",
                "latch_id": 18,
                "comment": "...",
                "notification_method": "email"
            },
            "products": [
                {
                    "amount": 16,
                    "persons": 13,
                    "gram": 13,
                    "comment": "...",
                    "product": {
                        "id": 12,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": true,
                        "price": {
                            "value": 13,
                            "currency": "EUR"
                        },
                        "only_order_in_store": true,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 19,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 12,
                        "name": "...",
                        "price": {
                            "value": 10,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 14,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 10,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 12,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 12,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 16,
                    "options": [
                        {
                            "option": {
                                "id": 19,
                                "name": "...",
                                "price_change": {
                                    "value": 11,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 17,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 11,
                                    "max_different_options": 12,
                                    "min_amount_options": 10,
                                    "max_amount_options": 10
                                }
                            },
                            "upload": {
                                "id": 12,
                                "url": "https://example.com"
                            },
                            "amount": 18
                        },
                        {
                            "option": {
                                "id": 16,
                                "name": "...",
                                "price_change": {
                                    "value": 15,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 13,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": false,
                                    "min_different_options": 19,
                                    "max_different_options": 12,
                                    "min_amount_options": 12,
                                    "max_amount_options": 12
                                }
                            },
                            "upload": {
                                "id": 18,
                                "url": "https://example.com"
                            },
                            "amount": 10
                        },
                        {
                            "option": {
                                "id": 15,
                                "name": "...",
                                "price_change": {
                                    "value": 17,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 11,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": true,
                                    "min_different_options": 17,
                                    "max_different_options": 16,
                                    "min_amount_options": 17,
                                    "max_amount_options": 13
                                }
                            },
                            "upload": {
                                "id": 12,
                                "url": "https://example.com"
                            },
                            "amount": 17
                        }
                    ]
                },
                {
                    "amount": 10,
                    "persons": 13,
                    "gram": 16,
                    "comment": "...",
                    "product": {
                        "id": 10,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": true,
                        "price": {
                            "value": 19,
                            "currency": "EUR"
                        },
                        "only_order_in_store": true,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 17,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 10,
                        "name": "...",
                        "price": {
                            "value": 16,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 11,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 17,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 11,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 19,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 16,
                    "options": [
                        {
                            "option": {
                                "id": 10,
                                "name": "...",
                                "price_change": {
                                    "value": 15,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 10,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 13,
                                    "max_different_options": 13,
                                    "min_amount_options": 13,
                                    "max_amount_options": 14
                                }
                            },
                            "upload": {
                                "id": 11,
                                "url": "https://example.com"
                            },
                            "amount": 13
                        },
                        {
                            "option": {
                                "id": 16,
                                "name": "...",
                                "price_change": {
                                    "value": 11,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 16,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 12,
                                    "max_different_options": 12,
                                    "min_amount_options": 11,
                                    "max_amount_options": 19
                                }
                            },
                            "upload": {
                                "id": 18,
                                "url": "https://example.com"
                            },
                            "amount": 16
                        },
                        {
                            "option": {
                                "id": 18,
                                "name": "...",
                                "price_change": {
                                    "value": 19,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 17,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": false,
                                    "min_different_options": 14,
                                    "max_different_options": 14,
                                    "min_amount_options": 15,
                                    "max_amount_options": 10
                                }
                            },
                            "upload": {
                                "id": 16,
                                "url": "https://example.com"
                            },
                            "amount": 15
                        }
                    ]
                },
                {
                    "amount": 15,
                    "persons": 12,
                    "gram": 18,
                    "comment": "...",
                    "product": {
                        "id": 11,
                        "name": "...",
                        "images": [
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": false
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            },
                            {
                                "resolutions": [
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    },
                                    {
                                        "src": "https://example.com",
                                        "width": 600,
                                        "height": 350
                                    }
                                ],
                                "white_background": true
                            }
                        ],
                        "price_type": "PER_UNIT",
                        "target_price": false,
                        "price": {
                            "value": 16,
                            "currency": "EUR"
                        },
                        "only_order_in_store": false,
                        "price_look_up_code": "...",
                        "code": "...",
                        "category": {
                            "id": 11,
                            "name": "..."
                        },
                        "origin": "..."
                    },
                    "product_price": {
                        "id": 14,
                        "name": "...",
                        "price": {
                            "value": 16,
                            "currency": "EUR"
                        },
                        "price_look_up_code": "...",
                        "code": "..."
                    },
                    "calculated_prices": {
                        "unit_price": {
                            "value": 17,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 10,
                            "currency": "EUR"
                        }
                    },
                    "discount_prices": {
                        "unit_price": {
                            "value": 18,
                            "currency": "EUR"
                        },
                        "price": {
                            "value": 17,
                            "currency": "EUR"
                        }
                    },
                    "amount_free": 16,
                    "options": [
                        {
                            "option": {
                                "id": 10,
                                "name": "...",
                                "price_change": {
                                    "value": 12,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": true
                                },
                                "require_image": true,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 14,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": false,
                                    "min_different_options": 16,
                                    "max_different_options": 18,
                                    "min_amount_options": 11,
                                    "max_amount_options": 17
                                }
                            },
                            "upload": {
                                "id": 11,
                                "url": "https://example.com"
                            },
                            "amount": 12
                        },
                        {
                            "option": {
                                "id": 10,
                                "name": "...",
                                "price_change": {
                                    "value": 10,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 17,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": true,
                                    "choose_amount": true,
                                    "min_different_options": 14,
                                    "max_different_options": 11,
                                    "min_amount_options": 15,
                                    "max_amount_options": 10
                                }
                            },
                            "upload": {
                                "id": 14,
                                "url": "https://example.com"
                            },
                            "amount": 12
                        },
                        {
                            "option": {
                                "id": 11,
                                "name": "...",
                                "price_change": {
                                    "value": 18,
                                    "currency": "EUR"
                                },
                                "image": {
                                    "resolutions": [
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        },
                                        {
                                            "src": "https://example.com",
                                            "width": 600,
                                            "height": 350
                                        }
                                    ],
                                    "white_background": false
                                },
                                "require_image": false,
                                "code": "...",
                                "price_calculation": "PER_PIECE",
                                "optionset": {
                                    "id": 15,
                                    "name": "...",
                                    "code": "...",
                                    "multiple_choice": false,
                                    "choose_amount": false,
                                    "min_different_options": 19,
                                    "max_different_options": 18,
                                    "min_amount_options": 12,
                                    "max_amount_options": 10
                                }
                            },
                            "upload": {
                                "id": 17,
                                "url": "https://example.com"
                            },
                            "amount": 15
                        }
                    ]
                }
            ],
            "invoice": {
                "id": 11,
                "name": "...",
                "vat": "...",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "generated": false
            },
            "isop": {
                "origin": "in-store",
                "customer_id": 14,
                "employee_id": 15
            },
            "consumer": {
                "email": "example@domain.com",
                "firstname": "...",
                "lastname": "...",
                "phone": "+32 475 00 00 00",
                "user_id": 18
            },
            "created_at": 1657085954,
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": true,
            "note_to_self": "...",
            "warranty": {
                "cost": 9.67,
                "bankAccountNr": "...",
                "returned": false,
                "refunded": false
            },
            "source": "...",
            "tin_nr": "...",
            "preparation_status": "PREPARING"
        }
    ],
    "next": {
        "status": "PENDING",
        "created_after": 1657085954,
        "created_before": 1657085954,
        "before_id": 18,
        "after_id": 12,
        "sort": "ascending"
    },
    "future": {
        "status": "PENDING",
        "created_after": 1657085954,
        "created_before": 1657085954,
        "before_id": 14,
        "after_id": 17,
        "sort": "ascending"
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.8.0 stable