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": 12,
    "month": 12,
    "year": 12,
    "messages": [
        "string",
        "string",
        "string"
    ],
    "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": "string",
            "date": "2019-01-31"
        },
        {
            "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": "string",
            "date": "2019-01-31"
        },
        {
            "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": "string",
            "date": "2019-01-31"
        }
    ]
}
1.5.0 stable