Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Update Participant

Developer Preview

Updates participant details.
The field values you specify replace the existing values. Fields that you don’t specify in the request remain unchanged.
Array fields, if specified, overwrite the existing arrays; this discards any previous array elements.

Permissions
This endpoint requires the Manage Bookings permissions scope

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

PATCH

https://www.wixapis.com/bookings/v1/calendar/participants/{participant.id}

Path Params

NAME
TYPE
DESCRIPTION
participant.id
Required

string

Reservation ID. Required.

Body Params

NAME
TYPE
DESCRIPTION
participant
Required

object

Participant to update, identified by the ID field.

fieldMask

object

Field mask of fields to update.

Response Object

NAME
TYPE
DESCRIPTION
participant

object

Participant.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Update Participant

Updates a participant's phone number.

Request

curl

Copy Code
1curl -X PATCH \
2 'https://www.wixapis.com/bookings/v1/calendar/participants/8be22fc4-036a-4998-97ce-91a5dae2bd17' \
3 -H "Content-Type: application/json" \
4 -H 'Authorization: <AUTH>' \
5 --data '{
6 "fieldMask": {
7 "paths": [
8 "phone"
9 ]
10 },
11 "participant": {
12 "phone": "212-658-1492"
13 }
14 }'

Response

json

1
2{"participant": {
3 "id": "8be22fc4-036a-4998-97ce-91a5dae2bd17",
4 "name": "John Charles",
5 "phone": "212-658-1492",
6 "email": "john.charles@wix.com",
7 "partySize": 1,
8 "approvalStatus": "UNDEFINED"
9}}