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": 19,
    "month": 11,
    "year": 16,
    "messages": [
        "...",
        "...",
        "..."
    ],
    "days": [
        {
            "disabled": true,
            "day_of_week": 18,
            "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": true,
            "day_of_week": 10,
            "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": 10,
            "times": [
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                },
                {
                    "start": "12:00",
                    "end": "12:00"
                }
            ],
            "human": "...",
            "date": "2019-01-31"
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.3.0 stable