Skip to main content

Create booking open hours

POST 

/api/v1/businesses/:id/booking_open_hours

Create booking open hours

Request

Path Parameters

    id stringrequired

Body

required

    data

    object

    type stringrequired

    Possible values: [booking_open_hours]

    attributes

    object

    monday array

    Hours in 24h format, earliest booking hour and latest booking hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"], booking hours past midnight should be added to the next day.

    tuesday array

    Hours in 24h format, earliest booking hour and latest booking hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"], booking hours past midnight should be added to the next day.

    wednesday array

    Hours in 24h format, earliest booking hour and latest booking hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"], booking hours past midnight should be added to the next day.

    thursday array

    Hours in 24h format, earliest booking hour and latest booking hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"], booking hours past midnight should be added to the next day.

    friday array

    Hours in 24h format, earliest booking hour and latest booking hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"], booking hours past midnight should be added to the next day.

    saturday array

    Hours in 24h format, earliest booking hour and latest booking hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"], booking hours past midnight should be added to the next day.

    sunday array

    Hours in 24h format, earliest booking hour and latest booking hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"], booking hours past midnight should be added to the next day.

Responses

Schema

    data

    object

    required

    id string
    type string

    attributes

    object

    monday string[]
    tuesday string[]
    wednesday string[]
    thursday string[]
    friday string[]
    saturday string[]
    sunday string[]
Loading...