updateEvent( )


Updates an event.

When updating an event with {"recurrenceType": "INSTANCE"}, the recurrenceType automatically changes to EXCEPTION.

When updating an event with {"recurrenceType": "MASTER"}:

  • Past INSTANCE and EXCEPTION events remain unchanged.
  • For future INSTANCE events, all relevant fields are updated.
  • For future EXCEPTION events, only changes to the inheritedFields are applied, while other fields remain unchanged.
Method Declaration
Copy
Method Parameters
_idstringRequired

Event ID.


eventUpdateEventRequired

optionsUpdateEventOptions
Returns
Return Type:Promise<Event>
Errors

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

Did this help?