Updates the business hours schedule
Updates the business hours schedule
Path Parameters
id string required
The ID of the number to update the schedule for
application/json
Request Body required
- Array [
- ]
days array required
Possible values: [sun
, mon
, tue
, wed
, thu
, fri
, sat
]
The days of the week to update the schedule for
openAllDay boolean required
Whether or not the business is open all day on this day
closedAllDay boolean required
Whether or not the business is closed all day on this day
times object[] required
open string
The time the business opens
closed string
The time the business closes
Responses
- 204
- 400
- 401
- 403
- 404
Successfully updated the business hours
Bad request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
errors object[]
code string
Human readable error code
message string
Human readable error message
detail string
Human readable error detail
{
"errors": [
{
"code": "ERROR_CODE",
"message": "An error occurred while calling the endpoint",
"detail": "View more info at developers.rinkel.com"
}
]
}
Unauthorized
Forbidden
The number was not found
Loading...