Skip to content

Update Schedule Item

PUT/schedule-items/:id

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

Attributes

AttributeTypeDescription
titlestring
eventIdnumber
startdate
locationstring
descriptionstring
durationnumber
settingsobject

All attributes are optional.

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 PUT "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"
    }
  }
}'