Search...
createRsvp( )
Creates an RSVP, associated with a contact of the site.
Syntax
function createRsvp(options: CreateRsvpOptions): Promise<CreateRsvpResponse>
createRsvp Parameters
NAME
TYPE
DESCRIPTION
options
Optional
CreateRsvpOptions
Optional fields.
Returns
Return Type:
Promise<
CreateRsvpResponse
>NAME
TYPE
DESCRIPTION
calendarLinks
CalendarLinks
"Add to calendar" links.
rsvp
Rsvp
Created RSVP.
Was this helpful?
createRsvp example
Copy Code
1import { rsvp } from 'wix-events.v2';23 async function createRsvp(options) {4 try {5 const result = await rsvp.createRsvp(options);67 return result;8 } catch (error) {9 console.error(error);10 // Handle the error11 }12 }13