Business Hours

Update a business-hours profile

Administrators and the account owner only.

An inbox channel belongs to at most one profile. Binding one that another profile already covers returns 422 carrying conflicting_business_hour_id, inbox_id, and channel in place of the usual errors object, and the whole write is rolled back.

Under calendar_24_7 the server stores schedule and schedule_type as null whatever the payload carries.

Omitted keys keep their stored value and an explicit null is ignored rather than clearing the field. Sending inbox_channels replaces the whole set.

Personal access token only. The API supports a second, partner-issued token class that is not part of the public surface. This endpoint does not accept that class.

patch/business-hours/{business_hour}

Request

  • Base URL
    https://api.thrivedesk.com/v1
  • Auth
    HTTP bearer

Path parameters

business_hourstring required

Business-hours profile identifier.

Request body

namestring
descriptionstring
mode'calendar_24_7' | 'business_hours'
schedule_type'standard' | 'custom'

Example request

{
  "schedule": [
    {
      "start": "09:00",
      "end": "17:00"
    }
  ]
}

Response

Success.

Example response

{
  "data": {
    "schedule": [
      {
        "start": "09:00",
        "end": "17:00"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.