Search...
updateRsvp( )
Updates an RSVP.
Admin Method
This function requires elevated permissions to run. This function is not universal and runs only on the backend.
Syntax
function updateRsvp(rsvpId: string, eventId: string, options: UpdateRsvpOptions): Promise<UpdateRsvpResponse>
updateRsvp Parameters
NAME
TYPE
DESCRIPTION
rsvpId
string
RSVP ID.
eventId
string
Event ID to which RSVP belongs.
options
Optional
UpdateRsvpOptions
Optional fields.
Returns
Return Type:
Promise<
UpdateRsvpResponse
>NAME
TYPE
DESCRIPTION
rsvp
Rsvp
Updated RSVP.
Was this helpful?
updateRsvp example
Copy Code
1import { rsvp } from 'wix-events.v2';23 async function updateRsvp(rsvpId, eventId, options) {4 try {5 const result = await rsvp.updateRsvp(rsvpId, eventId, options);67 return result;8 } catch (error) {9 console.error(error);10 // Handle the error11 }12 }13