{
    "hydra:member": [
        {
            "id": 1,
            "date": "2025-03-07T10:10:00+01:00",
            "number": "1",
            "notes": "Burger sans cornichons svp.",
            "state": "in_progress",
            "paymentState": "paid",
            "itemsTotal": 2399,
            "discountsTotal": 0,
            "total": 2399,
            "source": "foxorders-front",
            "createdByGuest": false,
            "checkoutState": "accepted",
            "orderItems": [
                {
                    "optionList": [],
                    "quantity": 1,
                    "unitPrice": 1999,
                    "total": 0,
                    "promotion": null,
                    "unitsTotal": 1999,
                    "discountsTotal": 0,
                    "taxesTotal": 399,
                    "product": {
                        "id": 2
                    },
                    "productName": "Classic Burger",
                    "productDescription": "Juicy beef burger with lettuce, tomato, and cheese",
                    "productImage": null,
                    "serveLater": false,
                    "note": null,
                    "stepList": []
                }
            ],
            "customer": "/api/v2/customers/2",
            "promotion": null,
            "shop": "/api/v2/shops/1",
            "buillingAddress": null,
            "taxesTotal": 0,
            "shopMode": {
                "mode": {
                    "code": "on-site"
                },
                "position": 0
            },
            "deliveryAddress": null,
            "tableNumber": null,
            "asapDate": null,
            "customerEmail": "test.offline.cash.onsite@foxorders.fr",
            "customerName": "Offline Cash Onsite",
            "customerPhone": "0690102031",
            "managementFees": 0,
            "shippingCost": 0,
            "fees": 0,
            "preparationNumber": null,
            "setting": {
                "customerIdentifier": "beeper",
                "value": "5412",
                "cutlery": true
            },
            "loyalty": {
                "customer": [],
                "rewards": []
            }
        }
    ],
    "hydra:totalItems": 1,
    "hydra:search": {
        "hydra:template": "/api/v2/orders{?franchise,franchise[],order[date]}",
        "hydra:variableRepresentation": "BasicRepresentation",
        "hydra:mapping": [
            {
                "variable": "franchise",
                "property": "franchise",
                "required": false
            },
            {
                "variable": "franchise[]",
                "property": "franchise",
                "required": false
            },
            {
                "variable": "order[date]",
                "property": "date",
                "required": false
            }
        ]
    }
}