Category Object


A Category is a classification object that groups related events on a site so you can organize and display them by themes, venues, or other facets.

You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.

Read more about Categories.

Properties
idstringRead-onlyformat GUID

Category ID.


namestringminLength 1maxLength 30

Category name.


createdDatestringRead-onlyformat date-time

Date and time when category was created.


countsCountsRead-only

The total number of draft and published events assigned to the category.


statesArray <string>maxItems 3

Category state. Possible values:

MANUAL: Category is created manually by the user. AUTO: Category is created automatically. RECURRING_EVENT: Category is created automatically when publishing recurring events. HIDDEN: Category can't be seen.

Default: MANUAL.

Note: The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than MANUAL.

Did this help?