PATCH

Update Participation


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a participation object.

Authentication

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

Permissions
Manage Bookings - all permissions
Manage Bookings
Manage Calendars
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/calendar/v3/participations/{participation.id}

Path Params
participation.idstringRequired

Participation ID.

Body Params
participationParticipationRequired

participation object to update.

Response Object
participationParticipation

Updated participation object.

Update Participation

Updates a participation's party size.

Request
cURL
curl -X PATCH \ 'https://www.wixapis.com/calendar/v3/participations/b123e549-eb05-4c6e-8dab-0409c7ebc006' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ -d '{ "participation": { "partySize": 5, "revision": "1" } }'
Response
JSON
{ "participation": { "id": "b123e549-eb05-4c6e-8dab-0409c7ebc006", "externalId": "c7e4cd82-1d17-49b0-b1df-6e1eaed60a20", "participant": { "name": "Jane Doe", "phone": "55-555-5555", "email": "jane.doe@example.com", "contactId": "5f4a86c5-fadf-427e-96e7-d57c14a4f49d" }, "eventId": "130o4ncdcmm8csGKUihodsF8Lnx5vQuUmP9uqeurIYireDpysq5nOxSIMvXKf80QrOXzc09i1GXRepTUj2L01bzmifAqWHwp2pTmmtR3TmHJx7Tv6ODrmgS", "partySize": 5, "status": "CONFIRMED", "appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97", "revision": "2", "createdDate": "2024-10-07T09:14:54.796Z", "updatedDate": "2024-10-07T09:17:24.935Z" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

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