Category Object


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.

Category
JSON
{ "category": { "id": "e9779de3-a085-4255-b3a6-9559990d4436", "name": "leather", "states": ["MANUAL"], "counts": { "assignedEventsCount": 2, "assignedDraftEventsCount": 8 }, "createdDate": "2021-04-01T09:49:37.068Z" } }
Did this help?