Update a category
Updates the category identified by the specified slug.
Authorizations
API key used to authenticate and authorise every request.
Include it in the x-api-key header.
Headers
Defines the response type.
application/vnd.Creative Force.v2.3+json, application/vnd.Creative Force.v2.3+xml Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
all, ar_AR, bg_BG, bn_IN, ca_ES, cs_CZ, cy_GB, da_DK, de_DE, en_GB, en_US, el_GR, es_NN, es_LA, et_EE, fa_NN, fi_FI, fr_FR, fr_CA, he_IL, hi_IN, hr_HR, hu_HU, hy_AM, it_IT, ja_JP, ko_KR, lt_LT, ms_MY, nl_NL, nb_NO, pl_PL, pt_BR, ro_RO, ru_RU, sk_SK, sl_SI, sq_AL, sr_RS, sv_SE, sw_NN, th_TH, tr_TR, uk_UA, vi_VN, zh_CN, zh_HK Path Parameters
Slug of the category.
^[A-Za-z]{8}$Body
Category update payload.
Active or inactive state of the category.
active, inactive Translated category field values keyed by field name.
Array of chapter slugs.
Each chapter must belong to the season for the category.
Number of divisions.
x >= 1Maximum number of entries per entrant.
x >= 1Specifies whether to prefill the entry name when the category is selected.
Specifies whether the category is locked.
Maximum image width.
Slug of the parent category.
The parent category must belong to the season for the category, and cannot be the category itself or one of its descendants.
Specifies whether to generate a PDF packing slip.
Required when translated.packing_slip_instructions is provided.
Response
Category updated.
Competition category that entries are submitted to.
Includes the entry form used for submissions, its translated name and description, the season it belongs to, and the rules that govern entries within it. Categories can be nested under a parent category and made available across one or more chapters.
Date and time when the category was created.
Description shown to entrants on the category, as an HTML fragment.
Map keyed by locale code (for example, en_GB or fr_FR). Keys are drawn from the languages enabled on the account. Values are the translated string.
Number of divisions configured for the category. Always at least 1.
x >= 1Entry form attached to the category.
Display name of the category.
Map keyed by locale code (for example, en_GB or fr_FR). Keys are drawn from the languages enabled on the account. Values are the translated string.
Parent category this category sits under.
null for a top-level category.
Promotion state of the category.
1 when promoted, 0 when not, and null when no preference has been set.
0, 1, null Season the category belongs to.
Short code used to reference the category.
Map keyed by locale code (for example, en_GB or fr_FR). Keys are drawn from the languages enabled on the account. Values are the translated string.
Short URL-safe identifier for the category.
Current state of the category.
active, inactive Date and time when the category was last updated.
Chapters the category is available in.
Maximum number of entries a single entrant may submit to this category.
null when the number of entries is not capped.
Custom label for the entry-name field shown to entrants.
Map keyed by locale code (for example, en_GB or fr_FR). Keys are drawn from the languages enabled on the account. Values are the translated string.
Specifies whether entrants are asked to name their entry when submitting to this category.
Heading shown above the category images.
Map keyed by locale code (for example, en_GB or fr_FR). Keys are drawn from the languages enabled on the account. Values are the translated string.
Images attached to the category.
Maximum display width for the category images, in pixels.
Instructions shown on the packing slip for the category.
Map keyed by locale code (for example, en_GB or fr_FR). Keys are drawn from the languages enabled on the account. Values are the translated string.
Specifies whether a PDF packing slip is enabled for the category.