Skip to content

Update Schedule Item

PATCH/schedule-items/:id

Update an existing schedule item. Only the attributes you include are changed.

Attributes

AttributeTypeDescription
titlestring
eventIdnumber
startstring
locationstring
descriptionstring
durationstring
settingsstring

Fields marked with * are required.

Request

js
import Confetti from 'confetti'

const confetti = new Confetti({ apiKey: 'your-key' })

const scheduleItem = await confetti.scheduleItems.update(173, {
  title: 'example',
})
sh
curl -X PATCH "https://api.confetti.events/schedule-items/173" \
  -H "Content-Type: application/json" \
  -H "Authorization: apikey your-key" \
  -d '{
  "data": {
    "type": "scheduleItem",
    "id": "173",
    "attributes": {
      "title": "example"
    }
  }
}'