updateAttendee

Change an attendee

updateAttendee takes gatheringId, the id of the attendee, and an AttendeeUpdateParams value in attendee.

Send lastName in each update. Touchpoint rejects an update that does not have it.

mutation UpdateAttendee($gatheringId: Int!, $id: Int!) {
  updateAttendee(
    gatheringId: $gatheringId
    id: $id
    attendee: {
      lastName: "Nguyen"
      jobTitle: "Director of product"
      assignedAgendaSessionIds: ["501", "502"]
    }
  ) {
    id
    lastName
    jobTitle
    assignedAgendaSessions {
      id
      name
    }
  }
}

{
  "data": {
    "updateAttendee": {
      "id": "103",
      "lastName": "Nguyen",
      "jobTitle": "Director of product",
      "assignedAgendaSessions": [
        { "id": "501", "name": "Opening keynote" },
        { "id": "502", "name": "Product roadmap" }
      ]
    }
  }
}

An update changes only the fields that you send. These rules apply to some fields.

This article is a copy of Attendees in the Touchpoint API documentation.

Source: https://touchpoint-support.certain.com/hc/en-us/articles/360033732133-updateAttendee

Published:

Keywords: updateAttendee, Touchpoint API, AttendeeUpdateParams