Category Object


A reusable, site-level classification for Online Programs.

Categories exist independently of Programs and remain available when they have no Program assignments.

Properties
assignedToArray <string>format GUIDmaxItems 200

IDs of Programs assigned to this Category. For routine assignment changes, use Bulk Assign Categories to Program, whose 10-Category-per-Program check is best-effort. Direct writes to assignedTo through Create Category, Bulk Create Categories, or Update Category bypass that check; callers using them must keep each Program at or below 10 Categories. Relationship updates are eventually consistent across the Program Categories and Programs APIs.


createdDatestringRead-onlyformat date-time

Date and time the Category was created.


extendedFieldsExtendedFields

Custom field data for the Category. Extended fields must be configured in the app dashboard for wix.achievements.categories.v3.category before they can be accessed with API calls.


idstringRead-onlyformat GUID

Category ID.


labelstringmaxLength 100

Category's display label. The primary-language label must be unique within the site. Localized reads return the Wix Multilingual translation when one exists, and otherwise fall back to the primary label.


revisionstringRead-onlyformat int64

Revision number, which increments by 1 each time the Category is updated. To prevent conflicting changes, the current revision must be passed when updating the Category.


updatedDatestringRead-onlyformat date-time

Date and time the Category was last updated.

Did this help?