# Blog Categories

Create, read, update, delete, bulk manage, translate, and subscribe to blog categories through the Store API.

Blog categories group posts and provide category listing pages. Reads require `read_blog`; writes require `write_blog`. Categories have names, slugs, a plain-text description, SEO fields, and a storefront template. Read field lengths, page sizes and the bulk delete cap from `/blog/categories/limits` instead of hard-coding them. An omitted or empty create slug is generated from the name; an update slug must be non-empty. Slugs are saved in lowercase. Send null or an empty string to clear `description`, `seo_title` or `seo_description`; an empty field is stored as null. A source field with translations cannot be cleared until those translations are removed. When you change a slug, `create_redirect` (default true) adds a redirect from the old address; with `false`, redirects Tringify made earlier toward the old address move to the new one. `post_count` counts posts in any status, drafts included. Unknown or wrongly typed request fields are rejected with `STORE_API_BODY_PROPERTY_UNKNOWN` or `STORE_API_BODY_PROPERTY_INVALID`.

Deleting a category that is assigned to posts must say what happens to them: `reassign_to_category_id` moves them to another category, `remove_from_posts: true` takes the category off them; a delete that says neither is refused with `BLOG_CATEGORY_HAS_POSTS`, and up to a threshold of posts change in the request while more change in a background job (see Delete a category). Bulk deletion has no such choice: it deletes only categories without posts. When menus link to it or storefront theme settings use it, deletion asks for confirmation first. Deleting a category also removes the redirects Tringify made toward it. Bulk deletion lists deleted ids in `deleted` and every id it did not delete in `failed`, each with a `code` (`NOT_FOUND`, `BLOG_CATEGORY_HAS_POSTS` or `CONFLICT`) and a `reason`. Translate names, slugs, descriptions, and SEO fields through [Blog Category translations](/store-api/translations/blog/categories).

## Endpoints

## Blog Category limits

`GET /api/2025-01/blog/categories/limits`

Returns the per-field maximum lengths and request caps that apply to Blog Category endpoints. Useful for clients to validate inputs before sending them and to size UIs. `max_per_store` is this store's plan cap, `count` is how many exist now, and `usage` is the label as Tringify shows it, in English.

Scope: `read_blog`

```curl
curl 'https://api-store.tringify.com/api/2025-01/blog/categories/limits' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "bulk_delete_max_items": 100,
    "count": 1,
    "description_max_length": 5000,
    "list_max_limit": 100,
    "list_page_size": 20,
    "max_per_store": 5,
    "name_max_length": 255,
    "page_size_options": [
      20,
      50,
      100
    ],
    "search_max_length": 200,
    "seo_description_max_length": 160,
    "seo_title_max_length": 70,
    "slug_max_length": 255,
    "sort_columns": [
      "name",
      "post_count",
      "created_at",
      "updated_at"
    ],
    "usage": "Blog categories 1 of 5"
  },
  "success": true
}
```

## List blog categories

`GET /api/2025-01/blog/categories`

Returns paginated Blog Categories. `total` counts matches for the current filters; `store_total` counts all records in the store and can be compared with the store capacity returned by the limits endpoint. `post_count` counts the blog posts assigned to the category, in any status (drafts and scheduled posts count). Use `search` to filter by name or slug. `has_next` says whether another page follows; send its `next_cursor` as `cursor` to read it. A cursor page has no `page` number, so `page` is left out of its response. Invalid pagination and unsupported sort values are rejected. `storefront_url` is the canonical absolute URL on the store's primary domain. `storefront_path` is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.

Scope: `read_blog`

```curl
curl 'https://api-store.tringify.com/api/2025-01/blog/categories?limit=20&page=1&search=company-news&sort_by=name&sort_direction=asc' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "categories": [
      {
        "created_at": "2026-06-09T12:00:00-04:00",
        "description": "Updates and announcements from the company.",
        "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
        "name": "Company News",
        "post_count": 8,
        "robots": "index",
        "seo_description": "Read company updates, product notes, and announcements.",
        "seo_title": "Company News",
        "slug": "company-news",
        "social_image_id": null,
        "storefront_path": "/blog-category/company-news",
        "storefront_url": "https://store.example.com/blog-category/company-news",
        "template_handle": "default_blog_category",
        "updated_at": "2026-06-09T12:00:00-04:00"
      }
    ],
    "has_next": false,
    "limit": 20,
    "next_cursor": "",
    "page": 1,
    "sort_by": "name",
    "sort_direction": "asc",
    "store_total": 1,
    "total": 1
  },
  "success": true
}
```

## Get a blog category

`GET /api/2025-01/blog/categories/{id}`

Returns the Blog Category if it belongs to the token's store. `storefront_url` is the canonical absolute URL on the store's primary domain. `storefront_path` is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.

Scope: `read_blog`

```curl
curl 'https://api-store.tringify.com/api/2025-01/blog/categories/5ff7d4ea-3250-4a4d-9d26-07f64d917d31' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Updates and announcements from the company.",
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "post_count": 8,
    "robots": "index",
    "seo_description": "Read company updates, product notes, and announcements.",
    "seo_title": "Company News",
    "slug": "company-news",
    "social_image_id": null,
    "storefront_path": "/blog-category/company-news",
    "storefront_url": "https://store.example.com/blog-category/company-news",
    "template_handle": "default_blog_category",
    "updated_at": "2026-06-09T12:00:00-04:00"
  },
  "success": true
}
```

## List blog category metafields

`GET /api/2025-01/blog/categories/{id}/metafields`

Definitions are filtered through the token's access rules.

Scope: `read_blog`

```curl
curl 'https://api-store.tringify.com/api/2025-01/blog/categories/5ff7d4ea-3250-4a4d-9d26-07f64d917d31/metafields' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "limit": 50,
    "metafields": [
      {
        "created_at": "2026-09-01T08:00:00-04:00",
        "definition": {
          "app_access": "private",
          "buyer_access": "hidden",
          "created_at": "2026-09-01T08:00:00-04:00",
          "id": "642a703a-9639-4d25-8d02-426f6f9f7d12",
          "is_filterable": false,
          "is_searchable": false,
          "is_storefront_visible": true,
          "is_translatable": true,
          "key": "subtitle",
          "merchant_access": "read_write",
          "name": "Subtitle",
          "namespace": "details",
          "owner_type": "blog_category",
          "sort_order": 0,
          "type": "string",
          "updated_at": "2026-09-01T08:00:00-04:00",
          "usage_count": 0
        },
        "updated_at": "2026-09-01T08:00:00-04:00",
        "value": "Company news"
      }
    ],
    "page": 1,
    "total": 1,
    "total_pages": 1
  },
  "success": true
}
```

## Set blog category metafields

`PUT /api/2025-01/blog/categories/{id}/metafields`

Send namespace-and-key entries. A string value creates or replaces a value; `null` or an empty string deletes it. App tokens (`tpat_`, `tast_`) write values only for definitions their app owns; a definition another app shares is readable but not writable. Store admin tokens (`tsat_`) and connected AI tools write as the merchant: merchant-owned definitions, and app-owned definitions whose `merchant_access` is `read_write`. The complete value change succeeds or fails together. Omitted entries are preserved. Unknown or wrongly typed body properties are refused.

Scope: `write_blog`

```curl
curl -X PUT 'https://api-store.tringify.com/api/2025-01/blog/categories/5ff7d4ea-3250-4a4d-9d26-07f64d917d31/metafields' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "metafields": [
    {
      "key": "subtitle",
      "namespace": "details",
      "value": "Company"
    }
  ]
}'
```

Response:

```json
{
  "data": {
    "limit": 50,
    "metafields": [
      {
        "created_at": "2026-09-01T08:00:00-04:00",
        "definition": {
          "app_access": "private",
          "buyer_access": "hidden",
          "created_at": "2026-09-01T08:00:00-04:00",
          "id": "642a703a-9639-4d25-8d02-426f6f9f7d12",
          "is_filterable": false,
          "is_searchable": false,
          "is_storefront_visible": true,
          "is_translatable": true,
          "key": "subtitle",
          "merchant_access": "read_write",
          "name": "Subtitle",
          "namespace": "details",
          "owner_type": "blog_category",
          "sort_order": 0,
          "type": "string",
          "updated_at": "2026-09-01T08:00:00-04:00",
          "usage_count": 0
        },
        "updated_at": "2026-09-01T08:00:00-04:00",
        "value": "Company news"
      }
    ],
    "page": 1,
    "total": 1,
    "total_pages": 1
  },
  "success": true
}
```

## Create a blog category

`POST /api/2025-01/blog/categories`

Creates a Blog Category. `name` is required. `slug` is optional on create; when omitted or empty, the backend generates it from the name; slugs are saved in lowercase. `description` is plain text. An omitted, null or empty `description`, `seo_title` or `seo_description` is stored as null; `name`, `slug` and `template_handle` cannot be null. Unknown or wrongly typed body properties are refused. `storefront_url` is the canonical absolute URL on the store's primary domain. `storefront_path` is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.

Scope: `write_blog`

```curl
curl -X POST 'https://api-store.tringify.com/api/2025-01/blog/categories' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "Updates and announcements from the company.",
  "name": "Company News",
  "robots": "index",
  "seo_description": "Read company updates, product notes, and announcements.",
  "seo_title": "Company News",
  "slug": "company-news",
  "social_image_id": "6c1d2e3f-4a5b-4c6d-8e7f-90a1b2c3d4e5",
  "template_handle": "default_blog_category"
}'
```

Response:

```json
{
  "code": "BLOG_CATEGORY_CREATED",
  "data": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Updates and announcements from the company.",
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "post_count": 0,
    "robots": "index",
    "seo_description": "Read company updates, product notes, and announcements.",
    "seo_title": "Company News",
    "slug": "company-news",
    "social_image_id": null,
    "storefront_path": "/blog-category/company-news",
    "storefront_url": "https://store.example.com/blog-category/company-news",
    "template_handle": "default_blog_category",
    "updated_at": "2026-06-09T12:00:00-04:00"
  },
  "message": "Blog Category 'Company News' created.",
  "success": true
}
```

## Update a blog category

`PUT /api/2025-01/blog/categories/{id}`

Updates provided Blog Category fields. Omitted fields are left unchanged. Send null or an empty string to clear `description`, `seo_title` or `seo_description` (stored as null); a source field that has translations cannot be cleared (`TRANSLATION_SOURCE_FIELD_HAS_TRANSLATIONS`). `name`, `slug`, `template_handle` and `create_redirect` cannot be null. When `slug` is provided it must be non-empty and valid, and it is saved in lowercase; create is the only path that generates a blank slug from the name. When the slug changes, `create_redirect` (default true) adds a redirect from the old URL; with false the old URL is left to 404 and redirects that pointed at it move to the new URL. Re-sending the current `template_handle` is accepted even after that template left the theme. Description and SEO changes, like name and slug changes, mark existing translations of that field as outdated. Unknown or wrongly typed body properties are refused. `storefront_url` is the canonical absolute URL on the store's primary domain. `storefront_path` is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.

Scope: `write_blog`

```curl
curl -X PUT 'https://api-store.tringify.com/api/2025-01/blog/categories/5ff7d4ea-3250-4a4d-9d26-07f64d917d31' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "create_redirect": true,
  "description": "Updates and announcements from the company.",
  "name": "Company News",
  "robots": "index",
  "seo_description": "Read company updates, product notes, and announcements.",
  "seo_title": "Company News",
  "slug": "company-news",
  "social_image_id": "6c1d2e3f-4a5b-4c6d-8e7f-90a1b2c3d4e5",
  "template_handle": "default_blog_category"
}'
```

Response:

```json
{
  "code": "BLOG_CATEGORY_UPDATED",
  "data": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Updates and announcements from the company.",
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "post_count": 8,
    "robots": "index",
    "seo_description": "Read company updates, product notes, and announcements.",
    "seo_title": "Company News",
    "slug": "company-news",
    "social_image_id": null,
    "storefront_path": "/blog-category/company-news",
    "storefront_url": "https://store.example.com/blog-category/company-news",
    "template_handle": "default_blog_category",
    "updated_at": "2026-06-09T12:05:00-04:00"
  },
  "message": "Blog Category 'Company News' updated.",
  "success": true
}
```

## Delete a blog category

`DELETE /api/2025-01/blog/categories/{id}`

Deletes a Blog Category with its translations, custom-data values and the redirects Tringify created when its URL changed (in every language); each removed redirect sends `redirects/delete`. Redirects you created yourself are kept. When blog posts (in any status) are assigned to it, say what happens to them: `reassign_to_category_id` moves them to another category (a post already in that category just loses this one), or `remove_from_posts: true` takes this category off them; without either the delete returns `BLOG_CATEGORY_HAS_POSTS`. Every changed post sends `blog_posts/update` with `changed_fields: ["categories"]`. Up to 100 posts change in this request and the category is deleted: the response is `{deleted: true, lifecycle: null}` with code `BLOG_CATEGORY_DELETED`. With more, the posts change in a background lifecycle job, 100 at a time, and the category is deleted when every post is done: the response is `{deleted: false, lifecycle: {id, kind, status, processed, total, message}}` with code `BLOG_CATEGORY_DELETION_QUEUED`; poll `GET /blog/categories/lifecycle-jobs/{job_id}`. While such a job runs, deleting the category or its replacement returns `BLOG_CATEGORY_MOVE_IN_PROGRESS`. If menus link to the blog category or storefront theme settings use it, the first request returns `CONFIRMATION_REQUIRED` listing the menu links that will be removed and the storefront places that go empty; repeat it with `confirmed: true` and the returned token to delete. Unknown or wrongly typed body properties are refused.

Scope: `write_blog`

```curl
curl -X DELETE 'https://api-store.tringify.com/api/2025-01/blog/categories/5ff7d4ea-3250-4a4d-9d26-07f64d917d31' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "confirmation_token": "confirm_...",
  "confirmed": true,
  "reassign_to_category_id": "3a588f80-fd8c-4d46-af1b-00a1c4a7f85a",
  "remove_from_posts": false
}'
```

Response:

```json
{
  "code": "BLOG_CATEGORY_DELETED",
  "data": {
    "deleted": true,
    "lifecycle": null
  },
  "message": "Blog Category 'Company News' deleted.",
  "success": true
}
```

## Get a blog category deletion job

`GET /api/2025-01/blog/categories/lifecycle-jobs/{job_id}`

Returns the lifecycle job a blog category delete started: `kind` is `category_reassign`, `status` is `running`, `completed` (every post changed and the category deleted) or `failed`, `processed` and `total` count posts, and `message` is the localized progress or result. A failed job names its cause in `failure_code` (otherwise null): the posts it changed keep their new categories and the category is kept; delete it again to retry. A job that hits a temporary error retries with a growing delay and stays `running`.

Scope: `read_blog`

```curl
curl 'https://api-store.tringify.com/api/2025-01/blog/categories/lifecycle-jobs/0b6f5d1e-8c9a-4e2b-9f3d-7a1c2e4b6d80' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "failure_code": null,
    "id": "0b6f5d1e-8c9a-4e2b-9f3d-7a1c2e4b6d80",
    "kind": "category_reassign",
    "message": "Updated 240 posts and deleted category 'Press'.",
    "processed": 240,
    "status": "completed",
    "total": 240
  },
  "success": true
}
```

## Bulk delete blog categories

`POST /api/2025-01/blog/categories/bulk-delete`

Deletes unassigned Blog Categories together, with their translations, custom-data values and the redirects Tringify created when their URLs changed, up to `bulk_delete_max_items` from the limits; a repeated id counts once. Deleted ids are listed in `deleted`. Each id that was not deleted is listed in `failed` as `{id, name, code, reason}` (`name` only when the category was found): `code` is `NOT_FOUND` (no such category in this store), `BLOG_CATEGORY_HAS_POSTS` (posts are assigned to it) or `CONFLICT` (its posts changed while it was being deleted; send it again), and `reason` is the message. If menus link to the rest or storefront theme settings use them, the first request returns `CONFIRMATION_REQUIRED` listing the menu links and the storefront places that go empty, and makes no changes; repeat the same ids with `confirmed: true` and the returned token. Unknown or wrongly typed body properties are refused.

Scope: `write_blog`

```curl
curl -X POST 'https://api-store.tringify.com/api/2025-01/blog/categories/bulk-delete' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "category_ids": [
    "5ff7d4ea-3250-4a4d-9d26-07f64d917d31"
  ],
  "confirmation_token": "confirm_...",
  "confirmed": true
}'
```

Response:

```json
{
  "code": "BLOG_CATEGORIES_DELETED",
  "data": {
    "deleted": [
      "5ff7d4ea-3250-4a4d-9d26-07f64d917d31"
    ],
    "failed": [
      {
        "code": "BLOG_CATEGORY_HAS_POSTS",
        "id": "3a588f80-fd8c-4d46-af1b-00a1c4a7f85a",
        "name": "Press",
        "reason": "Cannot delete blog category with 2 blog posts assigned. Move its posts to another blog category or take this one off them when you delete it."
      }
    ]
  },
  "message": "1 blog category deleted.",
  "success": true
}
```

## Delete blog category metafield

`DELETE /api/2025-01/blog/categories/{id}/metafields/{namespace}/{key}`

Address the existing definition by namespace and key. Requires the same write scope and ownership as setting the value. Apps can clear only their own values; merchant callers need write access to the definition's values. The value row is removed, not set to null. The deletion is recorded in the store's activity log and sends the same metafield webhooks as a delete in Store Admin. Repeating the request for an absent value succeeds with the same success envelope (no data or deleted-count field). An unknown or unreadable definition fails. No request body or confirmation token is required.

Scope: `write_blog`

```curl
curl -X DELETE 'https://api-store.tringify.com/api/2025-01/blog/categories/5ff7d4ea-3250-4a4d-9d26-07f64d917d31/metafields/details/subtitle' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{"success":true,"code":"METAFIELD_DELETED","message":"Metafield deleted."}
```

## Fields

| Field | Type | Create | Update | Required | Translatable |
| --- | --- | --- | --- | --- | --- |
| `name` | string | Yes | Yes | create | Yes |
| `slug` | string | Yes | Yes | - | Yes |
| `description` | string | Yes | Yes | - | Yes |
| `seo_title` | string | Yes | Yes | - | Yes |
| `seo_description` | string | Yes | Yes | - | Yes |
| `robots` | string | Yes | Yes | - | No |
| `social_image_id` | string (UUID) | Yes | Yes | - | No |
| `template_handle` | string | Yes | Yes | - | No |
| `create_redirect` | boolean | No | Yes | - | No |
| `post_count` | integer | No | No | - | No |
| `created_at` | string (RFC 3339) | No | No | - | No |
| `updated_at` | string (RFC 3339) | No | No | - | No |
| `storefront_url` | url | No | No | No | No |
| `storefront_path` | string | No | No | No | No |

> `storefront_url` is the read-only canonical HTTPS URL on the store's primary domain. `storefront_path` is the read-only, domain-independent baseline route for clients targeting another configured storefront domain. Resources with storefront visibility conditions return both fields as `null` when those conditions are not met. Hosted storefront responses return request-addressed paths with translated slugs and locale/country prefixes.

## Webhook events

Subscribe to these events to keep your integration in sync with blog categories. Each event shows the required Store API scope and store permission, the available payload fields, and an example payload. Subscription setup is validated against those permissions; delivery is always restricted to the subscription's store.

Metafield events are filtered for every subscriber. An app receives events for definitions it owns. With the event's required scope, it also receives merchant-owned definitions and definitions shared by another app through `app_access: shared`; another app's private definitions are not delivered. A store-level webhook endpoint receives merchant-owned definitions and app-owned definitions unless `merchant_access` is `hidden`. If an event cannot identify the definition owner or its access settings, Tringify does not deliver it.

## Blog category created

Event: `blog_categories/create` · App scope: `read_blog` · Staff permission: `blog:write`

Fired when a blog category is created.

```json
{
  "blog_category": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Updates and announcements from the company.",
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "post_count": 8,
    "robots": "index",
    "seo_description": "Read company updates, product notes, and announcements.",
    "seo_title": "Company News",
    "slug": "company-news",
    "social_image_id": null,
    "template_handle": "default_blog_category",
    "updated_at": "2026-06-09T12:00:00-04:00"
  }
}
```

## Blog category updated

Event: `blog_categories/update` · App scope: `read_blog` · Staff permission: `blog:write`

Fired when a blog category's name, slug, description, SEO fields, search visibility, share image or template change; `changed_fields` names them. Also sent when a deleted Media file was its share image: `changed_fields` is `social_image_id` and the image is now empty. Assigning posts to it or removing them changes post_count without this event.

```json
{
  "blog_category": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Updates and announcements from the company.",
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "post_count": 8,
    "robots": "index",
    "seo_description": "Read company updates, product notes, and announcements.",
    "seo_title": "Company News",
    "slug": "company-news",
    "social_image_id": null,
    "template_handle": "default_blog_category",
    "updated_at": "2026-06-09T12:00:00-04:00"
  },
  "changed_fields": [
    "description",
    "seo_title"
  ]
}
```

## Blog category deleted

Event: `blog_categories/delete` · App scope: `read_blog` · Staff permission: `blog:write`

Fired when a blog category is deleted. The same delete sends blog_categories/translations/delete for each translated language, blog_category_metafields/delete for its values and redirects/delete for the redirects Tringify had created to its URLs; events of different topics can arrive in any order.

```json
{
  "blog_category": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Updates and announcements from the company.",
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "post_count": 8,
    "robots": "index",
    "seo_description": "Read company updates, product notes, and announcements.",
    "seo_title": "Company News",
    "slug": "company-news",
    "social_image_id": null,
    "template_handle": "default_blog_category",
    "updated_at": "2026-06-09T12:00:00-04:00"
  }
}
```

## Blog category metafield value created

Event: `blog_category_metafields/create` · App scope: `read_blog` · Staff permission: `blog:write`

Fired when a blog category metafield value is created.

```json
{
  "blog_category": {
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "slug": "company-news"
  },
  "metafield": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "private",
      "app_id": null,
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "A short category subtitle.",
      "id": "91ac33ac-1e56-43f9-9280-a541ff762f74",
      "is_translatable": true,
      "key": "subtitle",
      "max_list_items": null,
      "max_value_length": 120,
      "merchant_access": "read_write",
      "name": "Subtitle",
      "namespace": "details",
      "owner_type": "blog_category",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "display_value": "Latest company news",
    "display_value_map": {
      "en": "Latest company news"
    },
    "updated_at": "2026-06-09T12:00:00-04:00",
    "value": "Latest company news"
  }
}
```

## Blog category metafield value updated

Event: `blog_category_metafields/update` · App scope: `read_blog` · Staff permission: `blog:write`

Fired when a blog category metafield value changes.

```json
{
  "blog_category": {
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "slug": "company-news"
  },
  "changed_fields": [
    "value"
  ],
  "current": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "private",
      "app_id": null,
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "A short category subtitle.",
      "id": "91ac33ac-1e56-43f9-9280-a541ff762f74",
      "is_translatable": true,
      "key": "subtitle",
      "max_list_items": null,
      "max_value_length": 120,
      "merchant_access": "read_write",
      "name": "Subtitle",
      "namespace": "details",
      "owner_type": "blog_category",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "display_value": "Latest company news",
    "display_value_map": {
      "en": "Latest company news"
    },
    "updated_at": "2026-06-09T12:00:00-04:00",
    "value": "Latest company news"
  },
  "previous": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "private",
      "app_id": null,
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "A short category subtitle.",
      "id": "91ac33ac-1e56-43f9-9280-a541ff762f74",
      "is_translatable": true,
      "key": "subtitle",
      "max_list_items": null,
      "max_value_length": 120,
      "merchant_access": "read_write",
      "name": "Subtitle",
      "namespace": "details",
      "owner_type": "blog_category",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "display_value": "Company updates",
    "display_value_map": {
      "en": "Company updates"
    },
    "updated_at": "2026-06-09T12:00:00-04:00",
    "value": "Company updates"
  }
}
```

## Blog category metafield value deleted

Event: `blog_category_metafields/delete` · App scope: `read_blog` · Staff permission: `blog:write`

Fired when a blog category metafield value is deleted, including when its blog category is deleted.

```json
{
  "blog_category": {
    "id": "5ff7d4ea-3250-4a4d-9d26-07f64d917d31",
    "name": "Company News",
    "slug": "company-news"
  },
  "metafield": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "private",
      "app_id": null,
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "A short category subtitle.",
      "id": "91ac33ac-1e56-43f9-9280-a541ff762f74",
      "is_translatable": true,
      "key": "subtitle",
      "max_list_items": null,
      "max_value_length": 120,
      "merchant_access": "read_write",
      "name": "Subtitle",
      "namespace": "details",
      "owner_type": "blog_category",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "display_value": "Latest company news",
    "display_value_map": {
      "en": "Latest company news"
    },
    "updated_at": "2026-06-09T12:00:00-04:00",
    "value": "Latest company news"
  }
}
```

