Update Business hours

Description

update the range of time available by days, if want to modify a day is necessary send all the slots of the same day.

update days

{
    "schedule": [
        {
            "weekDay": 2,
            "from": 1500,
            "to": 2000
        },
        {
            "weekDay": 2,
            "from": 2000,
            "to": 2500
        },
        {
            "weekDay": 6,
            "from": 1500,
            "to": 2000
        }
    ]
}

Disabled day and update others

{
    "schedule": [
        {
            "weekDay": 2,
            "disabled" : true
        },
        {
            "weekDay": 6,
            "from": 1500,
            "to": 2000
        }
    ]
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!