Skip to main content
Scopes: read_content to read, write_content to change (it includes read_content).

The article category

A category has no content and goes through no AI content check.

Articles and their categories

An article names its categories in its category_ids; a category does not list its articles. To find them, list articles with filter=category_id||$eq||<id>. To put an article in a category, send the article’s whole category_ids with Update an article.

Slugs

The slug is the category’s name in its blog URL: letters a-z and A-Z, digits and dashes, up to 255 characters.
  • Create a category without slug and one is made from the name: its English letters and digits, in lower case, with dashes between words (Buying guides → buying-guides). A name with none of them, an Arabic one for example, gets category. When the slug is taken, a random suffix is added (buying-guides-3fa9c1).
  • A slug you send must not be another article category’s: 409 slug_taken.
  • Changing the name later does not change the slug. Send slug to change it.

Deleting

Delete an article category deletes it for good, as the merchant’s dashboard does. Its articles stay: the category only leaves their category_ids. There is no undo.

Changes show at once

The blog shows a change right away, the category’s name on its articles included.