Update a category
Updates a category's name, slug, description, parent, or schema. Moving a category to a different parent re-organizes the tree.
PUT
/categories/{id}Base URL
https://api.lynkow.com/v1Path parameters
idstringrequiredUnique identifier
Request bodyrequired
namestringDisplay name. 1-255 characters
slugstringURL-friendly identifier, unique per site and locale. 1-255 characters
imageunionImage URL
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)