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": 17,
    "month": 13,
    "year": 19,
    "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": true,
            "day_of_week": 17,
            "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": 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"
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.0.0 stable