MaxOrders

Max order settings

Field Type Description
items [Dictionary] Limit the amount of orders on certain days

Examples

Example 1

{
    "items": [
        {
            "max_per": "hour",
            "max_amount": 14,
            "days": {
                "all": false,
                "custom": [
                    19,
                    17,
                    14
                ]
            },
            "intervals": [
                {
                    "max_amount": 10,
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "max_amount": 15,
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "max_amount": 16,
                    "start": "12:00",
                    "end": "12:00"
                }
            ]
        },
        {
            "max_per": "hour",
            "max_amount": 15,
            "days": {
                "all": false,
                "custom": [
                    17,
                    18,
                    19
                ]
            },
            "intervals": [
                {
                    "max_amount": 18,
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "max_amount": 19,
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "max_amount": 17,
                    "start": "12:00",
                    "end": "12:00"
                }
            ]
        },
        {
            "max_per": "hour",
            "max_amount": 15,
            "days": {
                "all": true,
                "custom": [
                    12,
                    15,
                    17
                ]
            },
            "intervals": [
                {
                    "max_amount": 14,
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "max_amount": 18,
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "max_amount": 12,
                    "start": "12:00",
                    "end": "12:00"
                }
            ]
        }
    ]
}
This is a development version Do not use this version in production
1.10.0 development