Update an existing event rsvp
Changed onUpdates an existing event RSVP. Note that first name, last name, and email are NOT propagated to the event RSVP's signup. You must update the signup via a sidepost payload, or update the signup directly via the signup resource.
Request
- Base URLhttps://yournation.nationbuilder.com
- AuthHTTP bearer
Request body
Example request
{
"data": {
"id": "1",
"type": "event_rsvps",
"attributes": {
"amount_in_cents": 350,
"email": "lucille.ball@example.com",
"event_id": "1",
"first_name": "Lucille",
"guests_count": 19,
"last_name": "Ball",
"page_id": "1",
"tickets_count": 45,
"billing_address_attributes": {
"address1": "20 W 34th St.",
"address2": "Suite 100",
"address3": null,
"city": "New York",
"state": "NY",
"zip": "10001",
"county": "New York County",
"country_code": "US",
"lat": "40.7484",
"lng": "73.9857",
"fips": "04",
"submitted_address": "20 W 34th St. Suite 100, New York, NY 10001",
"distance": 0,
"import_id": "2",
"work_phone": "5555555555",
"phone_number": "5555555555",
"phone_country_code": "1",
"work_phone_number": "5555555555"
},
"home_address_attributes": {
"address1": "20 W 34th St.",
"address2": "Suite 100",
"address3": null,
"city": "New York",
"state": "NY",
"zip": "10001",
"county": "New York County",
"country_code": "US",
"lat": "40.7484",
"lng": "73.9857",
"fips": "04",
"submitted_address": "20 W 34th St. Suite 100, New York, NY 10001",
"distance": 0,
"import_id": "2",
"work_phone": "5555555555",
"phone_number": "5555555555",
"phone_country_code": "1",
"work_phone_number": "5555555555"
},
"mailing_address_attributes": {
"address1": "20 W 34th St.",
"address2": "Suite 100",
"address3": null,
"city": "New York",
"state": "NY",
"zip": "10001",
"county": "New York County",
"country_code": "US",
"lat": "40.7484",
"lng": "73.9857",
"fips": "04",
"submitted_address": "20 W 34th St. Suite 100, New York, NY 10001",
"distance": 0,
"import_id": "2",
"work_phone": "5555555555",
"phone_number": "5555555555",
"phone_country_code": "1",
"work_phone_number": "5555555555"
},
"phone_number": "5555555555",
"registered_address_attributes": {
"address1": "20 W 34th St.",
"address2": "Suite 100",
"address3": null,
"city": "New York",
"state": "NY",
"zip": "10001",
"county": "New York County",
"country_code": "US",
"lat": "40.7484",
"lng": "73.9857",
"fips": "04",
"submitted_address": "20 W 34th St. Suite 100, New York, NY 10001",
"distance": 0,
"import_id": "2",
"work_phone": "5555555555",
"phone_number": "5555555555",
"phone_country_code": "1",
"work_phone_number": "5555555555"
},
"user_submitted_address_attributes": {
"address1": "20 W 34th St.",
"address2": "Suite 100",
"address3": null,
"city": "New York",
"state": "NY",
"zip": "10001",
"county": "New York County",
"country_code": "US",
"lat": "40.7484",
"lng": "73.9857",
"fips": "04",
"submitted_address": "20 W 34th St. Suite 100, New York, NY 10001",
"distance": 0,
"import_id": "2",
"work_phone": "5555555555",
"phone_number": "5555555555",
"phone_country_code": "1",
"work_phone_number": "5555555555"
},
"work_address_attributes": {
"address1": "20 W 34th St.",
"address2": "Suite 100",
"address3": null,
"city": "New York",
"state": "NY",
"zip": "10001",
"county": "New York County",
"country_code": "US",
"lat": "40.7484",
"lng": "73.9857",
"fips": "04",
"submitted_address": "20 W 34th St. Suite 100, New York, NY 10001",
"distance": 0,
"import_id": "2",
"work_phone": "5555555555",
"phone_number": "5555555555",
"phone_country_code": "1",
"work_phone_number": "5555555555"
}
}
}
}Response
The updated event rsvp.
Example response
{
"data": {
"id": "1",
"type": "event_rsvps",
"attributes": {
"amount_in_cents": 350,
"email": "lucille.ball@example.com",
"event_id": "1",
"first_name": "Lucille",
"guests_count": 19,
"last_name": "Ball",
"page_id": "1",
"tickets_count": 45,
"created_at": "2019-10-26T10:00:00-04:00",
"updated_at": "2019-10-26T10:00:00-04:00"
}
},
"included": [
{
"id": "1"
}
]
}Changes
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - warning
removed the request property
- info
added the media type
application/vnd.api+jsonto the request body - info
added
subschema #2to the response bodyallOflist for the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking