PATCH

Bulk Update Rsvps


Updates multiple RSVPs.

You can update up to 100 RSVPs per request.

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/bulk/rsvps/update

Body Params
rsvpsArray <MaskedRsvp>RequiredminItems 1maxItems 100

RSVPs to update.


returnEntityboolean

Whether to return the whole rsvp object in the response. If false, only metadata is returned.


fieldsArray <string>maxItems 3

Predefined sets of fields to return.


optionsOptions

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

Response Object
resultsArray <BulkRsvpResult>minItems 1maxItems 100

Response of bulk update.


bulkActionMetadataBulkActionMetadata

Response metadata.

Bulk Update RSVPs
Request
cURL
curl -X POST 'https://www.wixapis.com/events/v2/bulk/rsvps/update' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH TOKEN>' \ -d '{ "rsvps": [ { "rsvp" : { "id": "27e40159-9cf4-40e2-b8d9-765dc70c350a", "revision": "1", "status": "NO" }, "rsvp" : { "id": "b8955360-5d3e-49d3-b72f-37114133e6f9", "revision": "1", "status": "NO" } } ], "returnEntity": true, "fields": [], "options": {} }'
Response
JSON
{ "results": [ { "itemMetadata": { "id": "b8955360-5d3e-49d3-b72f-37114133e6f9", "originalIndex": 0, "success": true }, "rsvp": { "id": "b8955360-5d3e-49d3-b72f-37114133e6f9", "revision": "3", "eventId": "32c0eab1-b7a0-4ec2-9fb6-db76f76ee488", "memberId": "8a8b9b73-4da8-47a5-8268-4396e68a0605", "contactId": "c64c558f-ed41-4395-b820-f8dd66c31702", "status": "NO", "anonymized": false, "marketingConsent": true } }, { "itemMetadata": { "id": "27e40159-9cf4-40e2-b8d9-765dc70c350a", "originalIndex": 0, "success": true }, "rsvp": { "id": "27e40159-9cf4-40e2-b8d9-765dc70c350a", "revision": "3", "eventId": "32c0eab1-b7a0-4ec2-9fb6-db76f76ee488", "memberId": "8a8b9b73-4da8-47a5-8268-4396e68a0605", "contactId": "c64c558f-ed41-4395-b820-f8dd66c31702", "status": "NO", "anonymized": false, "marketingConsent": true } } ], "bulkActionMetadata": { "totalSuccesses": 2, "totalFailures": 0, "undetailedFailures": 0 } }
Errors
400Invalid Argument

There are 2 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?