Skip to main content

Update booking open hours

PATCH 

https://api.staging.powerapi.com/api/v1/businesses/:id/booking_open_hours/:booking_open_hour_id

Update booking open hours

Request

Responses

Update booking open hours

Authorization: http

name: bearertype: httpscheme: bearerbearerFormat: JWT
curl -L -X PATCH 'https://api.staging.powerapi.com/api/v1/businesses/:id/booking_open_hours/:booking_open_hour_id' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"data": {
"type": "booking_open_hours",
"attributes": {
"monday": [
null
],
"tuesday": [
null
],
"wednesday": [
null
],
"thursday": [
null
],
"friday": [
null
],
"saturday": [
null
],
"sunday": [
null
]
}
}
}'
Request Collapse all
Base URL
https://api.staging.powerapi.com
Auth
Parameters
— pathrequired
— pathrequired
Body required
{
  "data": {
    "type": "booking_open_hours",
    "attributes": {
      "monday": [
        null
      ],
      "tuesday": [
        null
      ],
      "wednesday": [
        null
      ],
      "thursday": [
        null
      ],
      "friday": [
        null
      ],
      "saturday": [
        null
      ],
      "sunday": [
        null
      ]
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!