CalendarMonth

Gives an overview of all the available dates and times in a month with the current checkout settings

Field Type Description
shop_id Int? Nullable. An integer value
month Int An integer value
year Int An integer value
messages [String] Array of String
days [CalendarDay] Array of CalendarDay

Examples

Example 1

{
    "shop_id": 16,
    "month": 13,
    "year": 15,
    "messages": [
        "...",
        "...",
        "..."
    ],
    "days": [
        {
            "disabled": true,
            "day_of_week": 12,
            "times": [
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                }
            ],
            "human": "...",
            "date": "2019-01-31"
        },
        {
            "disabled": false,
            "day_of_week": 11,
            "times": [
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                }
            ],
            "human": "...",
            "date": "2019-01-31"
        },
        {
            "disabled": false,
            "day_of_week": 19,
            "times": [
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                }
            ],
            "human": "...",
            "date": "2019-01-31"
        }
    ]
}
1.9.0 stable