Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Modify an existing schedule by updating its rules, timezone, and name All fields are optional - only provided fields will be updated.
PUT https://services.leadconnectorhq.com/calendars/schedules/{id}

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Path parameters

id
string
default:"sch123def456ghi789"
required
Unique identifier of the schedule to update

Body

name
string
default:"Updated Business Hours"
Human-readable name for the schedule
rules
object[]
Updated schedule rules defining when the schedule is active
timezone
string
default:"America/Los_Angeles"
Updated timezone for the schedule (IANA timezone identifier)

Respuestas

schedule
object
required
Schedule
{}
{}
{}
{}

Ejemplo

curl -X PUT 'https://services.leadconnectorhq.com/calendars/schedules/YOUR_id' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Updated Business Hours",
  "rules": [
    {
      "type": "wday",
      "day": "monday",
      "intervals": [
        {
          "from": "08:00",
          "to": "18:00"
        }
      ]
    }
  ],
  "timezone": "America/Los_Angeles"
}'