Search Documentation
Search for a documentation page...
Blog Categories API
REST API endpoints for managing blog post categories.
Categories organize blog posts into logical groups for navigation and filtering.
List Blog Categories
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | number | 50 | Categories per page (1-100) |
offset | number | 0 | Categories to skip |
query | string | — | Search by name or slug |
active | boolean | — | Filter by active status |
Response
Get Blog Category
Returns a single blog category by UUID or slug.
Response
Create Blog Category
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Blog category display name |
slug | string | No | URL slug — lowercase letters, numbers, and hyphens only. Auto-generated from name if omitted. |
description | string | null | No | Plain text description |
image | string | null | No | Image URL |
Unknown fields are rejected.
Update Blog Category
Accepts a UUID or a slug. All fields are optional — send only what you want to change.
Body Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | New display name |
slug | string | New URL slug |
description | string | null | Description, or null to clear |
image | string | null | Image URL, or null to clear |
active | boolean | Whether the category is visible on the storefront |
Delete Blog Category
Returns 404 if no category matches the identifier.