Create a category
Creates a new category. Set `parentId` to create it as a child of an existing category. The slug is auto-generated from the name if not provided.
POST
/categoriesBase URL
https://api.lynkow.com/v1Request bodyrequired
namestringrequiredRequired. Display name. 1-255 characters
slugstringrequiredRequired. URL-friendly identifier, unique per site and locale. 1-255 characters
imageunionImage URL
localestringBCP 47 locale code (e.g. "en", "fr")
schemaobjectField schema definition
fieldsarray<any>required
parentIdunionParent resource ID
contentModeenumOne of: standard, structured
One of:
standardstructureddescriptionunionDescription text
jsonLdGrapharray<object>Max 50 characters. Array of objects
idstringdataanyrequiredtypestringrequiredsourceenumOne of:
presetcustom
displayOrdernumberNumber
schemaSourceenumOne of: own, inherit
One of:
owninheritsitemapPriorityunionSitemap priority (0.0-1.0)
jsonLdExclusionsarray<string>Max 50 characters. Array of strings
sitemapChangefrequnionSitemap change frequency (daily, weekly, monthly)