Update participant
Will update participant data (name, email, mobile phone, invoice information) and custom fields. All current custom fields will be deleted and replaced with new values.
Request
1 | PUT /host/events/{number}/participants/{number}
|
Request
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | { "name": "Edsger Dijkstra", "email": "edsger@algorithm.com", "mobile": "11223344", "invoice": { "yourReference": "ABC123", "organisation": { "number": "123456789" } }, "discountCode": { "code": "PĂ„ske 2017" }, "customFields": [{ "number": 1, "name": "favorite food", "type": "TEXT", "options": null, "value": "pizza" }, { "number": 2, "name": "tshirt?", "type": "BOOLEAN", "options": null, "value": true }] } |
Response
HTTP/1.1 200 OK