Parameters
JSON body
Request body
application/jsoncodestringRequiredUnique event type code (e.g., "workshop", "meeting").
labelstringRequiredDisplay label (e.g., "Workshop", "Meeting").
colorstringRequiredHex color (e.g., "#FF5733" or "FF5733").
productIdnumber | nullOptionalOne of 2:
Variant 1
number
Product ID to link for pricing / inventory. Null if none.
Variant 2
null