Update an attendee field
PATCH
/events/{event_id}/attendee_fields/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
writePath parameters
event_idintegerrequiredEvent id
idintegerrequiredAttendee field id
Request body
requiredapplication/jsonitemobjectrequiredShow propertiesHide properties
labelstringtypestringAllowed:
accessibility_requirementsaddressbiocheckboxcompany_nameconsentcontact_phonecountrydatedate_of_birthdietary_requirementsdropdownemailexternal_idfacebook_accountfirst_namefull_namegendergithub_accountguestheadlinehome_addressinstagram_accountjob_titlelast_namelinkedin_accountlong_textnationalitynumberspacerparagraphpassport_numberradiosection_dividershipping_addressshort_textsocial_accounttelterm_and_consenttexttext_areatimetwitter_accounturlwork_addressyoutube_accountcaptchafile_uploadimagerequiredbooleanoptionsstring[]Responses
200Success
itemAttendeeFieldrequiredShow propertiesHide properties
idobjectrequiredlabelobjectrequiredrequiredobjectrequiredpositionobjectrequirednameobjectrequiredtypeobjectrequiredAllowed:
accessibility_requirementsaddressbiocheckboxcompany_nameconsentcontact_phonecountrydatedate_of_birthdietary_requirementsdropdownemailexternal_idfacebook_accountfirst_namefull_namegendergithub_accountguestheadlinehome_addressinstagram_accountjob_titlelast_namelinkedin_accountlong_textnationalitynumberspacerparagraphpassport_numberradiosection_dividershipping_addressshort_textsocial_accounttelterm_and_consenttexttext_areatimetwitter_accounturlwork_addressyoutube_accountcaptchafile_uploadimageoptionsstring[]requiredmetadataMetadatarequired401Missing, invalid, expired, or revoked OAuth token
errorstring404Not found
errorstring422Validation failed
errorsstring[]429Rate limit exceeded
errorstringRequest
curl -X PATCH "http://localhost:3000/api/v2/events/0/attendee_fields/0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"item": {
"label": "string",
"type": "short_text",
"required": true,
"options": [
"string"
]
}
}'const response = await fetch("http://localhost:3000/api/v2/events/0/attendee_fields/0", {
method: "PATCH",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"item": {
"label": "string",
"type": "short_text",
"required": true,
"options": [
"string"
]
}
})
});import requests
response = requests.patch(
"http://localhost:3000/api/v2/events/0/attendee_fields/0",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
json={
"item": {
"label": "string",
"type": "short_text",
"required": True,
"options": [
"string"
]
}
},
)Response
{
"item": {
"id": {},
"label": {},
"required": {},
"position": {},
"name": {},
"type": "accessibility_requirements",
"options": [
"string"
]
},
"metadata": {}
}{
"error": "string"
}{
"error": "string"
}{
"errors": [
"string"
]
}{
"error": "string"
}