Copies a Wix event.
The copyEvent()
function returns a Promise that resolves to the newly-copied Wix event after it has successfully been copied.
This function copies a Wix event, including its registration form, notifications, and ticket settings. The newly-copied event is scheduled two weeks from the date of the original event.
When copying Wix events:
The onEventCreated( )
event handler runs when a Wix event is copied.
The received CreatedEvent
object contains information about the new Wix event that was copied.
Only those with "Manage Events" permissions can copy Wix events.
Note: This function requires elevated permissions to run.
This function is not universal and runs only on the backend.
Event ID.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.