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": 13,
    "month": 17,
    "year": 18,
    "messages": [
        "...",
        "...",
        "..."
    ],
    "days": [
        {
            "disabled": true,
            "day_of_week": 15,
            "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": 15,
            "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": 16,
            "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)
1.5.0 stable