{"__v":0,"_id":"54f675f31ad1c41900a4815f","category":{"__v":0,"_id":"54ff948548c94d23004f1e17","pages":[],"project":"545a65231d018b1400227d8f","version":"54e431e6de9f5b2300fc6dbc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-03-11T01:04:05.480Z","from_sync":false,"order":6,"slug":"attendee-api","title":"ATTENDEE API"},"editedParams":true,"editedParams2":true,"project":"545a65231d018b1400227d8f","user":"545a64cfbf1d2b0e00aaa091","version":{"__v":10,"_id":"54e431e6de9f5b2300fc6dbc","forked_from":"545a65231d018b1400227d92","project":"545a65231d018b1400227d8f","createdAt":"2015-02-18T06:32:06.531Z","releaseDate":"2015-02-18T06:32:06.531Z","categories":["54e431e7de9f5b2300fc6dbd","54e431e7de9f5b2300fc6dbe","54e56a85c2f66835000133c3","54ff948548c94d23004f1e17","5527280be69c7d0d00047eaf","55273bb14a7ac121004c60f0","55274588975eef3700ca8077","552748df9d4bcd2300d0383d","55274dd79d4bcd2300d0384a","55fa03180e1f1f1700a1f6ce","55fa3172d6f4370d001d99fd"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-03-04T03:03:15.169Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"put","results":{"codes":[{"name":"","code":"","language":"json","status":204}]},"auth":"required","params":[{"_id":"54f646a1542ade0d00f1c68c","ref":"","in":"body","required":true,"desc":"The id of the event this attendee is registering for","default":"","type":"int","name":"EventId"},{"_id":"54f646a1542ade0d00f1c68b","ref":"","in":"body","required":true,"desc":"The attendees first name","default":"","type":"string","name":"Firstname"},{"_id":"54f646a1542ade0d00f1c68a","ref":"","in":"body","required":true,"desc":"The attendees surname","default":"","type":"string","name":"Surname"},{"_id":"54f646a1542ade0d00f1c689","ref":"","in":"body","required":true,"desc":"The attendees email address","default":"","type":"string","name":"Email"},{"_id":"54f646a1542ade0d00f1c688","ref":"","in":"body","required":false,"desc":"The tickets purchased","default":"","type":"array_mixed","name":"TicketsPurchased"},{"_id":"54f646a1542ade0d00f1c687","ref":"","in":"body","required":false,"desc":"The attendees entries for the fields for this event","default":"","type":"array_mixed","name":"Fields"}],"url":"/attendee"},"isReference":false,"order":0,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X PUT  -u \\\"testuser:moy1zZCscHpx7ei8CzNA\\\" -H \\\"Cache-Control: no-cache\\\"  -d '{\\n  \\\"Attendee\\\": {\\n    \\\"ID\\\": 123,\\n    \\\"EventID\\\": 3029,\\n    \\\"Rego\\\": \\\"GR1A1PPR\\\",\\n    \\\"UserID\\\": 1657,\\n    \\\"Firstname\\\": \\\"Johnson\\\",\\n    \\\"Surname\\\": \\\"Johnsons\\\",\\n    \\\"Email\\\": \\\"ha:::at:::attendly.com\\\",\\n    \\\"Registered\\\": \\\"2013-09-24T01:57:08Z\\\",\\n    \\\"Fields\\\": [\\n      {\\n      \\\"ID\\\": 1550,\\n      \\\"FieldID\\\": 65551,\\n      \\\"Label\\\": \\\"Some text field\\\",\\n      \\\"Type\\\": \\\"text\\\",\\n      \\\"Value\\\": \\\"Edited\\\"\\n      }\\n    ],\\n    \\\"Status\\\": \\\"active\\\"\\n  }\\n}' https://api.attendly.net/v2/attendee/123\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"Update an attendee","slug":"attendee-update","type":"endpoint","title":"Attendee update"}

putAttendee update

Update an attendee

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

EventId:
required
integer
The id of the event this attendee is registering for
Firstname:
required
string
The attendees first name
Surname:
required
string
The attendees surname
Email:
required
string
The attendees email address
TicketsPurchased:
array of mixed
The tickets purchased
Fields:
array of mixed
The attendees entries for the fields for this event

Documentation

[block:code] { "codes": [ { "code": "curl -X PUT -u \"testuser:moy1zZCscHpx7ei8CzNA\" -H \"Cache-Control: no-cache\" -d '{\n \"Attendee\": {\n \"ID\": 123,\n \"EventID\": 3029,\n \"Rego\": \"GR1A1PPR\",\n \"UserID\": 1657,\n \"Firstname\": \"Johnson\",\n \"Surname\": \"Johnsons\",\n \"Email\": \"ha@attendly.com\",\n \"Registered\": \"2013-09-24T01:57:08Z\",\n \"Fields\": [\n {\n \"ID\": 1550,\n \"FieldID\": 65551,\n \"Label\": \"Some text field\",\n \"Type\": \"text\",\n \"Value\": \"Edited\"\n }\n ],\n \"Status\": \"active\"\n }\n}' https://api.attendly.net/v2/attendee/123", "language": "curl" } ] } [/block]