Dictionary

A dictionary with fields

Field Type Description
use_intervals Bool A boolean value
hours Week Delivery hours
upfront Week Settings per week

Examples

Example 1

{
    "use_intervals": false,
    "hours": {
        "d1": [
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            }
        ],
        "d2": [
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            }
        ],
        "d3": [
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            }
        ],
        "d4": [
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            }
        ],
        "d5": [
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            }
        ],
        "d6": [
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            }
        ],
        "d7": [
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            },
            {
                "start": "12:00",
                "end": "12:00"
            }
        ]
    },
    "upfront": {
        "d1": {
            "method": "x_days",
            "x_days": {
                "days": 18,
                "close_at": "12:00"
            },
            "x_time": {
                "hours": 17,
                "minutes": 15
            }
        },
        "d2": {
            "method": "x_days",
            "x_days": {
                "days": 15,
                "close_at": "12:00"
            },
            "x_time": {
                "hours": 12,
                "minutes": 11
            }
        },
        "d3": {
            "method": "x_days",
            "x_days": {
                "days": 10,
                "close_at": "12:00"
            },
            "x_time": {
                "hours": 17,
                "minutes": 16
            }
        },
        "d4": {
            "method": "x_days",
            "x_days": {
                "days": 12,
                "close_at": "12:00"
            },
            "x_time": {
                "hours": 15,
                "minutes": 12
            }
        },
        "d5": {
            "method": "x_days",
            "x_days": {
                "days": 11,
                "close_at": "12:00"
            },
            "x_time": {
                "hours": 14,
                "minutes": 13
            }
        },
        "d6": {
            "method": "x_days",
            "x_days": {
                "days": 17,
                "close_at": "12:00"
            },
            "x_time": {
                "hours": 13,
                "minutes": 12
            }
        },
        "d7": {
            "method": "x_days",
            "x_days": {
                "days": 19,
                "close_at": "12:00"
            },
            "x_time": {
                "hours": 12,
                "minutes": 11
            }
        }
    }
}
1.9.0 stable