Change the order of events that are assigned to the same category on the Events Widget.
For more information on how events are displayed in the widget, read this article.
You can only call this method when authenticated as a Wix app or Wix user identity.
Category ID.
Event ID.
Move the event before defined eventId
.
Move the event after defined eventId
.
curl -X POST 'https://www.wixapis.com/events/v1/categories/6c313b96-1961-4f0f-b6d7-61788e1a25df/reorder' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH TOKEN>' \
{
"eventId": "4e5e4adb-9778-4171-a9bb-44e27834ac89",
"afterEventId": "32c0eab1-b7a0-4ec2-9fb6-db76f76ee488"
}
{}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.