PATCH

Update Rsvp


Updates RSVP.

Each time the RSVP is updated, revision increments by 1. The existing revision must be included when updating the RSVP. This ensures you're working with the latest RSVP and prevents unintended overwrites.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Manage Guest List
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/events/v2/rsvps/{rsvp.id}

Path Params
rsvp.idstringRequired

RSVP ID.

Body Params
rsvpRsvpRequired

RSVP to update.


optionsOptions

RSVP options.
The WIX_EVENTS.MANAGE_RSVP permission is required to pass these fields.


fieldsArray <string>maxItems 3

Predefined sets of fields to return.

Response Object
rsvpRsvp

Updated RSVP.

Update RSVP
Request
cURL
curl -X PATCH 'https://www.wixapis.com/events/v2/rsvps/8c30fd39-c927-49c5-95d4-dc75c991681d' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH TOKEN>' \ -d '{ "rsvp": { "id": "8c30fd39-c927-49c5-95d4-dc75c991681d", "revision": "1", "eventId": "32c0eab1-b7a0-4ec2-9fb6-db76f76ee488", "form": { "inputValues": [ { "inputName": "firstName", "value": "John" }, { "inputName": "lastName", "value": "Doe" }, { "inputName": "email", "value": "johndoe@mail.com" } ] }, "status": "NO" } "fieldmask": { "status" } }'
Response
JSON
{ "rsvp": { "id": "8c30fd39-c927-49c5-95d4-dc75c991681d", "revision": "1", "eventId": "32c0eab1-b7a0-4ec2-9fb6-db76f76ee488", "createdDate": "2023-10-20T08:46:46.665Z", "updatedDate": "2023-10-20T08:46:46.665Z", "memberId": "8a8b9b73-4da8-47a5-8268-4396e68a0605", "contactId": null, "firstName": "John", "lastName": "Doe", "email": "johndoe@mail.com", "form": { "inputValues": [ { "inputName": "firstName", "value": "John", "values": [], "number": null, "dateTime": null, "address": null }, { "inputName": "lastName", "value": "Doe", "values": [], "number": null, "dateTime": null, "address": null }, { "inputName": "email", "value": "johndoe@mail.com", "values": [], "number": null, "dateTime": null, "address": null } ] }, "status": "NO", "totalGuests": 1, "guests": [ { "index": 0, "fullName": "John Doe", "checkInDetails": { "checkedIn": false, "checkInDate": null }, "guestId": 1 } ], "anonymized": false, "language": null, "locale": null, "fullyCheckedIn": false, "marketingConsent": true }, "calendarLinks": null }
Errors
400Invalid Argument

There are 4 errors with this status code.

428Failed Precondition

There are 4 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?