{
    "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": []
            }
        },
        {
            "id": 2,
            "date": "2025-03-06T13:10:00+01:00",
            "number": "2",
            "notes": null,
            "state": "in_progress",
            "paymentState": "paid",
            "itemsTotal": 2998,
            "discountsTotal": 0,
            "total": 2998,
            "source": "foxorders-front",
            "createdByGuest": false,
            "checkoutState": "accepted",
            "orderItems": [
                {
                    "optionList": [],
                    "quantity": 2,
                    "unitPrice": 1099,
                    "total": 2998,
                    "promotion": null,
                    "unitsTotal": 2198,
                    "discountsTotal": 0,
                    "taxesTotal": 439,
                    "product": {
                        "id": 1
                    },
                    "productName": "Garlic Bread",
                    "productDescription": "Toasted bread with garlic and herbs",
                    "productImage": null,
                    "serveLater": false,
                    "note": null,
                    "stepList": []
                }
            ],
            "customer": "/api/v2/customers/3",
            "promotion": null,
            "shop": "/api/v2/shops/1",
            "buillingAddress": null,
            "taxesTotal": 0,
            "shopMode": {
                "mode": {
                    "code": "take-out"
                },
                "position": 0
            },
            "deliveryAddress": null,
            "tableNumber": null,
            "asapDate": null,
            "customerEmail": "test.offline.cash.pickup@foxorders.fr",
            "customerName": "Offline Cash Pickup",
            "customerPhone": "0690102032",
            "managementFees": 0,
            "shippingCost": 0,
            "fees": 0,
            "preparationNumber": null,
            "setting": {
                "customerIdentifier": null,
                "value": null,
                "cutlery": null
            },
            "loyalty": {
                "customer": [],
                "rewards": []
            }
        },
        {
            "id": 3,
            "date": "2025-03-02T12:10:00+01:00",
            "number": "3",
            "notes": null,
            "state": "fulfilled",
            "paymentState": "paid",
            "itemsTotal": 3116,
            "discountsTotal": 0,
            "total": 3116,
            "source": "foxorders-front",
            "createdByGuest": false,
            "checkoutState": "delivered",
            "orderItems": [
                {
                    "optionList": [],
                    "quantity": 1,
                    "unitPrice": 1499,
                    "total": 1678,
                    "promotion": null,
                    "unitsTotal": 1499,
                    "discountsTotal": 0,
                    "taxesTotal": 299,
                    "product": {
                        "id": 6
                    },
                    "productName": "Spaghetti Carbonara",
                    "productDescription": "Classic spaghetti with a creamy carbonara sauce and pancetta",
                    "productImage": null,
                    "serveLater": false,
                    "note": null,
                    "stepList": []
                },
                {
                    "optionList": [],
                    "quantity": 1,
                    "unitPrice": 1199,
                    "total": 1438,
                    "promotion": null,
                    "unitsTotal": 1199,
                    "discountsTotal": 0,
                    "taxesTotal": 239,
                    "product": {
                        "id": 5
                    },
                    "productName": "Caesar Salad",
                    "productDescription": "Crisp romaine lettuce with Caesar dressing and Parmesan cheese",
                    "productImage": null,
                    "serveLater": false,
                    "note": null,
                    "stepList": []
                }
            ],
            "customer": "/api/v2/customers/5",
            "promotion": null,
            "shop": "/api/v2/shops/1",
            "buillingAddress": null,
            "taxesTotal": 0,
            "shopMode": {
                "mode": {
                    "code": "delivery"
                },
                "position": 0
            },
            "deliveryAddress": {
                "isDefault": false,
                "floor": null,
                "buildingType": null,
                "building": null,
                "elevator": false,
                "digicode": null,
                "digicode2": null,
                "intercom": null,
                "street": "56 Boulevard Saint-Germain, Apt 36",
                "street2": null,
                "mobileNumber": null,
                "landlineNumber": null,
                "fax": null,
                "description": null,
                "longitude": null,
                "latitude": null,
                "postalCode": "75000",
                "city": "Paris",
                "country": "France",
                "label": null,
                "customerName": null,
                "email": null
            },
            "tableNumber": null,
            "asapDate": null,
            "customerEmail": "test.online.stripe.delivery@foxorders.fr",
            "customerName": "Online Stripe Delivery",
            "customerPhone": "0690102034",
            "managementFees": 0,
            "shippingCost": 0,
            "fees": 0,
            "preparationNumber": null,
            "setting": {
                "customerIdentifier": "easel",
                "value": "10",
                "cutlery": false
            },
            "loyalty": {
                "customer": [],
                "rewards": []
            }
        }
    ],
    "hydra:totalItems": 3,
    "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
            }
        ]
    }
}