Skip to main content

Update special open hours

PATCH 

/api/v1/businesses/:id/special_open_hours/:special_open_hour_id

Update special open hours

Request

Path Parameters

    id stringrequired
    special_open_hour_id stringrequired

Body

required

    data

    object

    type string

    Possible values: [special_open_hours]

    attributes

    object

    start_date date
    end_date date
    schedule array

    Hours in 24h format, earliest opening hour and latest closing hour is 00:00, e.g. ["00:00-08:00", "14:00-00:00"].

Responses

Create special open hours

Schema

    data

    object

    required

    id string
    type string

    attributes

    object

    start_date string
    end_date string
    schedule string[]
Loading...