Search.../

Introduction

With the Categories API, you can create and assign various categories to their events. You can use this API to display similar events on different site pages and sorting events in your dashboard. For example, you can create separate pages for jazz, blues, and folk events, but also pages for different venues. The same jazz event can be displayed on your jazz page and also on your downtown location page.

The Categories API allows you to:

Before you begin

It’s important to note the following points before starting to code:

  • Install the Wix Events & Tickets app from Wix App Market.
  • To use the Categories API, import { categories } from the wix-events.v2 module:
import { categories } from 'wix-events.v2';
javascript | Copy Code

Terminology

  • Category: A way to organize or classify events based on their characteristics or themes.
  • Event: A gathering organized by an individual or business for a group of people.

Was this helpful?