Updates multiple RSVPs.
You can update up to 100 RSVPs per request.
You can only call this method when authenticated as a Wix app or Wix user identity.
RSVPs to update.
Whether to return the whole rsvp
object in the response. If false
, only metadata is returned.
Predefined sets of fields to return.
RSVP options.
The WIX_EVENTS.MANAGE_RSVP permission is required to pass these fields.
Response of bulk update.
Response metadata.
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": {}
}'
{
"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
}
}
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.