# Brands

Manage brands, product assignments, translations, and metafields through the Store API.

Brands identify the name shoppers see; vendors identify a product's supplier or source. A product can have zero or one brand. Reads require `read_products`; writes require `write_products`. Translation reads also require `read_translations`, and translation writes require `write_translations`.

Create with `name`; omit `slug` to generate it. Updates change only supplied fields. Empty optional description and SEO values clear those fields after their translations are removed. Changing `slug` creates a redirect unless `create_redirect` is `false`. Setting a non-empty `image_id` requires `read_files` and an uploaded image in this store. `template_handle` defaults to `default_brand` on create; omit it on update to keep the current template.

## Product assignments

Use `POST /products/bulk-brand` with `product_ids` and a `brand_id` to assign one brand to each product. Send `brand_id: null` to clear those assignments.

Both brand field changes and product assignment changes emit `brands/update`. Inspect `change_type`: `source` includes `previous` and `changed_fields`; `assignments` reports the changed `product_count`. Translation changes use separate events.

## Metafield access

Metafield reads require `read_products`; writes require `write_products`. App tokens (`tpat_` and `tast_`) can read merchant-owned definitions, their own definitions, and other apps' shared definitions. They can write only definitions owned by their app. App Bridge sessions can have narrower effective access.

Store Admin tokens (`tsat_`) can read merchant-owned and non-hidden app definitions. They can write merchant-owned definitions and app definitions with `merchant_access: read_write`. Lists include only visible values, and `total` counts only those values. Address values by `namespace` and `key`.

## Endpoints

## Brand limits

`GET /api/2025-01/brands/limits`

Returns the per-field maximum lengths and request caps that apply to brand endpoints. Useful for clients to validate inputs before sending them and to size UIs. `max_per_store` is the store's brand cap: its plan's product allowance, never above 100,000; `count` is the current number of brands.

Scope: `read_products`

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

Response:

```json
{
  "data": {
    "count": 2,
    "fields": {
      "description": {
        "max_length": 5000
      },
      "name": {
        "max_length": 100
      },
      "seo_description": {
        "max_length": 160
      },
      "seo_title": {
        "max_length": 70
      },
      "slug": {
        "max_length": 100
      }
    },
    "max_per_store": 2000,
    "request_caps": {
      "bulk_create_max_count": 50,
      "bulk_delete_max_count": 500,
      "list_max_limit": 100,
      "max_per_store": 2000,
      "search_max_length": 200,
      "search_max_limit": 50
    },
    "resource_type": "brand",
    "usage": "Brands 2 of 2000"
  },
  "success": true
}
```

## List brands

`GET /api/2025-01/brands`

Returns brands and their product counts. Each page holds at most 100 brands, and every row carries the full brand fields, description included. Search matches names and slugs; matches are ordered by relevance (exact name, name prefix, exact slug, slug prefix, then other matches), then by the sort field. `total` counts the matches; with `search`, it is exact up to 10,000, and above that it is 10,000 and `total_capped` is `true` (sent only then). `store_total` counts all brands in the store. Use the returned cursors unchanged, and start without a cursor when search or sorting changes. `next_cursor` is present only when `has_next` is true, and `previous_cursor` only when `has_previous` is true. Fetch `/brands/limits` for page-size and search limits; supported sort fields are listed below. `storefront_url` uses the store's primary domain; `storefront_path` is the base path without a domain. Shopper-facing URLs may use translated slugs and locale/country prefixes.

Scope: `read_products`

```curl
curl 'https://api-store.tringify.com/api/2025-01/brands?cursor=eyJ2IjoxLCJyIjoiYnJhbmQifQ&limit=20&search=acme&sort_by=name&sort_direction=asc' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "brands": [
      {
        "created_at": "2026-06-09T12:00:00-04:00",
        "description": "Acme makes durable outdoor gear.",
        "id": 7,
        "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
        "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
        "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
        "name": "Acme",
        "product_count": 12,
        "seo_description": "Shop Acme outdoor gear.",
        "seo_title": "Acme Outdoor Gear",
        "slug": "acme",
        "store_id": "74e634ea-84ec-43b8-b66b-986214c2c5a3",
        "storefront_path": "/brand/acme",
        "storefront_url": "https://store.example.com/brand/acme",
        "template_handle": "default_brand",
        "translations_updated_at": "2026-06-09T12:00:00-04:00",
        "updated_at": "2026-06-09T12:00:00-04:00"
      }
    ],
    "has_next": true,
    "has_previous": false,
    "limit": 20,
    "next_cursor": "eyJ2IjoxLCJyIjoiYnJhbmQifQ",
    "sort_by": "name",
    "sort_direction": "asc",
    "store_total": 21,
    "total": 21
  },
  "success": true
}
```

## Search brands

`GET /api/2025-01/brands/search`

Returns lightweight brand suggestions by query, one `page` of `limit` at a time, for pickers and simple selection UIs, ranked exact name, name prefix, exact slug, slug prefix, then other matches. `brands` holds the page. `total` and `match_count` count the matches exactly up to 10,000; above that both are 10,000 and `match_count_is_capped` is true (without `q`, `total` is the store's exact brand count). Pages reach the first 10,000 matches; a later page is empty, so narrow `q` instead. Use the list endpoint with `search` for full rows, sorting and cursors.

Scope: `read_products`

```curl
curl 'https://api-store.tringify.com/api/2025-01/brands/search?limit=10&page=1&q=acme' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "brands": [
      {
        "id": 7,
        "name": "Acme",
        "slug": "acme"
      }
    ],
    "match_count": 1,
    "match_count_is_capped": false,
    "total": 1
  },
  "success": true
}
```

## Get a brand

`GET /api/2025-01/brands/{id}`

Returns the brand if it belongs to the token's store. `storefront_url` uses the store's primary domain; `storefront_path` is the base path without a domain. Shopper-facing URLs may use translated slugs and locale/country prefixes.

Scope: `read_products`

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

Response:

```json
{
  "data": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Acme makes durable outdoor gear.",
    "id": 7,
    "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
    "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "name": "Acme",
    "product_count": 12,
    "seo_description": "Shop Acme outdoor gear.",
    "seo_title": "Acme Outdoor Gear",
    "slug": "acme",
    "store_id": "74e634ea-84ec-43b8-b66b-986214c2c5a3",
    "storefront_path": "/brand/acme",
    "storefront_url": "https://store.example.com/brand/acme",
    "template_handle": "default_brand",
    "translations_updated_at": "2026-06-09T12:00:00-04:00",
    "updated_at": "2026-06-09T12:00:00-04:00"
  },
  "success": true
}
```

## List brand metafields

`GET /api/2025-01/brands/{id}/metafields`

Returns paginated metafield values the token can read. `total` counts only visible values. Identify each value by `namespace` and `key`.

Scope: `read_products`

```curl
curl 'https://api-store.tringify.com/api/2025-01/brands/7/metafields' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "data": {
    "limit": 20,
    "metafields": [
      {
        "created_at": "2026-11-22T23:01:45+05:30",
        "definition": {
          "app_access": "private",
          "created_at": "2026-11-22T15:18:37+05:30",
          "id": "623a7f6c-fd13-4ac8-9333-ef7110c63c71",
          "is_translatable": true,
          "key": "material",
          "merchant_access": "read_write",
          "name": "Material",
          "namespace": "specs",
          "owner_type": "brand",
          "sort_order": 0,
          "type": "string",
          "updated_at": "2026-11-22T15:18:37+05:30"
        },
        "updated_at": "2026-11-22T23:01:45+05:30",
        "value": "Organic cotton"
      }
    ],
    "page": 1,
    "total": 1,
    "total_pages": 1
  },
  "success": true
}
```

## Set brand metafields

`PUT /api/2025-01/brands/{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`.

Scope: `write_products`

```curl
curl -X PUT 'https://api-store.tringify.com/api/2025-01/brands/7/metafields' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "metafields": [
    {
      "key": "origin",
      "namespace": "details",
      "value": "Seoul"
    }
  ]
}'
```

Response:

```json
{
  "data": {
    "limit": 20,
    "metafields": [
      {
        "created_at": "2026-11-22T23:01:45+05:30",
        "definition": {
          "app_access": "private",
          "created_at": "2026-11-22T15:18:37+05:30",
          "id": "623a7f6c-fd13-4ac8-9333-ef7110c63c71",
          "is_translatable": true,
          "key": "material",
          "merchant_access": "read_write",
          "name": "Material",
          "namespace": "specs",
          "owner_type": "brand",
          "sort_order": 0,
          "type": "string",
          "updated_at": "2026-11-22T15:18:37+05:30"
        },
        "updated_at": "2026-11-22T23:01:45+05:30",
        "value": "Organic cotton"
      }
    ],
    "page": 1,
    "total": 1,
    "total_pages": 1
  },
  "success": true
}
```

## Create a brand

`POST /api/2025-01/brands`

Create with `name`; omit `slug` to generate it. Omitted or empty `template_handle` uses `default_brand`. A non-empty `image_id` must reference an uploaded image in this store and also requires `read_files`; video, documents, 3D models, and site assets are rejected. `storefront_url` uses the store's primary domain; `storefront_path` is the base path without a domain. Shopper-facing URLs may use translated slugs and locale/country prefixes.

Scope: `write_products`

```curl
curl -X POST 'https://api-store.tringify.com/api/2025-01/brands' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "Acme makes durable outdoor gear.",
  "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
  "name": "Acme",
  "seo_description": "Shop Acme outdoor gear.",
  "seo_title": "Acme Outdoor Gear",
  "slug": "acme",
  "template_handle": "default_brand"
}'
```

Response:

```json
{
  "code": "BRAND_CREATED",
  "data": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Acme makes durable outdoor gear.",
    "id": 7,
    "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
    "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "name": "Acme",
    "product_count": 0,
    "seo_description": "Shop Acme outdoor gear.",
    "seo_title": "Acme Outdoor Gear",
    "slug": "acme",
    "store_id": "74e634ea-84ec-43b8-b66b-986214c2c5a3",
    "storefront_path": "/brand/acme",
    "storefront_url": "https://store.example.com/brand/acme",
    "template_handle": "default_brand",
    "translations_updated_at": null,
    "updated_at": "2026-06-09T12:00:00-04:00"
  },
  "message": "Brand 'Acme' created.",
  "success": true
}
```

## Bulk create brands

`POST /api/2025-01/brands/bulk-create`

Creates brands from names and generates their slugs. Existing names appear in `skipped`; invalid rows are reported without blocking valid ones. The top-level `code` is `BRAND_BULK_CREATED` when every name was created, `BRAND_BULK_PARTIAL` when some were skipped or failed, and `BRAND_BULK_NOOP` when none was created. The response is compact: `totals` counts `created`, `skipped` and `failed` names; `created` lists each new item's `id` and the `name` you sent; `skipped` and `row_errors` are unchanged. Get an item for its other fields.

Scope: `write_products`

```curl
curl -X POST 'https://api-store.tringify.com/api/2025-01/brands/bulk-create' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "names": [
    "Acme",
    "Existing Brand"
  ]
}'
```

Response:

```json
{
  "code": "BRAND_BULK_PARTIAL",
  "data": {
    "created": [
      {
        "id": 7,
        "name": "Acme"
      }
    ],
    "row_errors": [],
    "skipped": [
      "Existing Brand"
    ],
    "totals": {
      "created": 1,
      "failed": 0,
      "skipped": 1
    }
  },
  "message": "1 brand created; skipped: 1, failed: 0.",
  "success": true
}
```

## Update a brand

`PUT /api/2025-01/brands/{id}`

Changes only supplied fields. Empty optional text or `image_id` clears that field; clear a text field's translations first. A non-empty `image_id` must reference an uploaded image in this store and also requires `read_files`; video, documents, 3D models, and site assets are rejected. Omit `template_handle` to keep it, or send `default_brand` to reset it; an empty value is invalid. A slug change creates a redirect unless `create_redirect` is `false`. `storefront_url` uses the store's primary domain; `storefront_path` is the base path without a domain. Shopper-facing URLs may use translated slugs and locale/country prefixes.

Scope: `write_products`

```curl
curl -X PUT 'https://api-store.tringify.com/api/2025-01/brands/7' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "create_redirect": true,
  "description": "Acme makes durable outdoor gear.",
  "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
  "name": "Acme",
  "seo_description": "Shop Acme outdoor gear.",
  "seo_title": "Acme Outdoor Gear",
  "slug": "acme",
  "template_handle": "default_brand"
}'
```

Response:

```json
{
  "code": "BRAND_UPDATED",
  "data": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Acme makes durable outdoor gear.",
    "id": 7,
    "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
    "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "name": "Acme",
    "product_count": 12,
    "seo_description": "Shop Acme outdoor gear.",
    "seo_title": "Acme Outdoor Gear",
    "slug": "acme",
    "store_id": "74e634ea-84ec-43b8-b66b-986214c2c5a3",
    "storefront_path": "/brand/acme",
    "storefront_url": "https://store.example.com/brand/acme",
    "template_handle": "default_brand",
    "translations_updated_at": "2026-06-09T12:00:00-04:00",
    "updated_at": "2026-06-09T12:00:00-04:00"
  },
  "message": "Brand 'Acme' updated.",
  "success": true
}
```

## Delete a brand

`DELETE /api/2025-01/brands/{id}`

Deletes the brand, its translations, and its metafield values. It also takes the brand off its products and removes the collection rules, cash on delivery product rules and menu links that use it. Each collection that loses a rule sends `collections/update` with `changed_fields` `rules` and its remaining rules, shortly after the delete. When anything uses the brand, the first request returns `CONFIRMATION_REQUIRED` with `error.details.warnings` (a summary to show) and `error.details.impact`: `products.count` (each changed product once), the first 50 changed collections with `collections_total`, the first 50 discounts aimed at those collections with `discounts_total`, and the first 50 cash on delivery rules removed with `cod_rules_total`. Confirmation covers the full impact, including entries past the first 50. Repeat with `confirmed: true` and the returned `confirmation_token`; if the impact changed in between, a new confirmation is returned. A delete that changes 250 products or fewer completes in the request and sends `products/update` for each changed product. A larger one hides the brand at once (it can no longer be assigned or used in rules), removes its rules at once, and takes it off its products in background batches, each sending `products/update` for the products it changes; the brand is deleted after the last batch. Either way the brand's name and slug are free as soon as the delete returns, so a brand with the same name can be created at once. Menu links may update shortly after the response. The redirects Tringify created when the brand's slug changed (`auto_slug`, in every language) end on its URLs and are removed shortly after the response, each sending `redirects/delete`; redirects you created are kept. When the published theme uses the brand, the confirmation's warnings also list those storefront places, since they go empty. Deleting a brand sends `brands/delete` and, together with it, `brands/translations/delete` for each language it was translated into and `brand_metafields/delete` for each metafield value; deliveries can arrive in any order.

Scope: `write_products`

```curl
curl -X DELETE 'https://api-store.tringify.com/api/2025-01/brands/7' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

```json
{
  "code": "BRAND_DELETED",
  "data": {
    "deleted": true,
    "id": 7,
    "name": "Acme"
  },
  "message": "Brand 'Acme' deleted.",
  "success": true
}
```

## Bulk delete brands

`POST /api/2025-01/brands/bulk-delete`

Send brand IDs in `brand_ids`. The response lists removed IDs in `deleted` and missing or changed IDs in `failed`; IDs listed in `deleted` are removed atomically; IDs that do not exist are reported in `failed`, not as an error. Each deleted brand's translations and metafield values are deleted too, the brands are taken off their products, and the collection rules, cash on delivery product rules and menu links that use them are removed. The redirects Tringify created when their slugs changed (`auto_slug`, in every language) are removed shortly after the response, each sending `redirects/delete`; redirects you created are kept. Each collection that loses a rule sends `collections/update` with `changed_fields` `rules` and its remaining rules, shortly after the delete. When anything uses the selected brands, the first request returns `CONFIRMATION_REQUIRED` with `error.details.warnings` (a summary to show) and `error.details.impact`: `products.count` (each changed product once), the first 50 changed collections with `collections_total`, the first 50 discounts aimed at those collections with `discounts_total`, and the first 50 cash on delivery rules removed with `cod_rules_total`. Confirmation covers the full impact, including entries past the first 50. Repeat the same `brand_ids` with `confirmed: true` and the returned `confirmation_token`; if the impact changed in between, a new confirmation is returned. A delete that changes 250 products or fewer completes in the request and sends `products/update` for each changed product. A larger one hides the brands at once (they can no longer be assigned or used in rules), removes their rules at once, and takes them off their products in background batches, each sending `products/update` for the products it changes; the brands are deleted after the last batch. Either way the brands' names and slugs are free as soon as the delete returns, so brands with the same names can be created at once. Menu links may update shortly after the response. When the published theme uses them, the confirmation's warnings also list those storefront places, since they go empty. The deletion events are sent together with the delete; deliveries can arrive in any order.

Scope: `write_products`

```curl
curl -X POST 'https://api-store.tringify.com/api/2025-01/brands/bulk-delete' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "brand_ids": [
    7,
    11
  ]
}'
```

Response:

```json
{
  "code": "BRAND_BULK_DELETED",
  "data": {
    "deleted": [
      7
    ],
    "failed": [
      {
        "id": 11,
        "reason": "Brand not found."
      }
    ]
  },
  "message": "1 brand deleted.",
  "success": true
}
```

## Delete brand metafield

`DELETE /api/2025-01/brands/{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_products`

```curl
curl -X DELETE 'https://api-store.tringify.com/api/2025-01/brands/7/metafields/details/subtitle' \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Response:

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

## Fields

| Field | Create | Update | Required | Translatable |
| --- | --- | --- | --- | --- |
| `id` | No | No | - | No |
| `store_id` | No | No | - | No |
| `name` | Yes | Yes | create | Yes |
| `slug` | Yes | Yes | - | Yes |
| `description` | Yes | Yes | - | Yes |
| `seo_title` | Yes | Yes | - | Yes |
| `seo_description` | Yes | Yes | - | Yes |
| `image_id` | Yes | Yes | - | No |
| `image_url` | No | No | - | No |
| `image_cdn_url` | No | No | - | No |
| `template_handle` | Yes | Yes | - | No |
| `create_redirect` | No | Yes | - | No |
| `product_count` | No | No | - | No |
| `created_at` | No | No | - | No |
| `updated_at` | No | No | - | No |
| `translations_updated_at` | No | No | - | No |
| `storefront_url` | No | No | No | No |
| `storefront_path` | No | No | No | No |

> `storefront_url` uses the store's primary domain. `storefront_path` is the base path without a domain; shopper-facing URLs may use translated slugs and locale/country prefixes.

## Webhook events

Subscribe to these events to keep your integration in sync with brands. Event cards show the required scope, permission, and payload.

Metafield events follow definition access: apps receive their own, merchant-owned, and other apps' shared definitions; store-level endpoints receive merchant-owned and non-hidden app definitions.

## Brand created

Event: `brands/create` · App scope: `read_products` · Staff permission: `products:write`

Fired when a brand is created.

```json
{
  "brand": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Acme makes durable outdoor gear.",
    "id": 7,
    "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
    "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "name": "Acme",
    "product_count": 0,
    "seo_description": "Shop Acme outdoor gear.",
    "seo_title": "Acme Outdoor Gear",
    "slug": "acme",
    "template_handle": "default_brand",
    "translations_updated_at": null,
    "updated_at": "2026-06-09T12:00:00-04:00"
  }
}
```

## Brand updated

Event: `brands/update` · App scope: `read_products` · Staff permission: `products:write`

Fired when a brand changes. `change_type` is `source` for Brand field edits and `assignments` when product assignments change its product count. Source changes include `previous` and `changed_fields`; assignment changes report `product_count` in `changed_fields`. During a CSV product import, `assignments` changes are sent once per import chunk for each brand whose products changed, carrying the counts after the chunk. A rename is announced by this event alone (`changed_fields` includes `name`): the brand's products do not each get products/update (channel apps still get product_publications/update for products on their channel), so refresh any brand name you cache on products from it. When a deleted Media file was its image, a `source` change is sent with `changed_fields` `image_id`, no image and no `previous`.

```json
{
  "brand": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Acme makes durable outdoor gear.",
    "id": 7,
    "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
    "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "name": "Acme",
    "product_count": 12,
    "seo_description": "Shop Acme outdoor gear.",
    "seo_title": "Acme Outdoor Gear",
    "slug": "acme",
    "template_handle": "default_brand",
    "translations_updated_at": "2026-06-09T12:00:00-04:00",
    "updated_at": "2026-06-09T12:00:00-04:00"
  },
  "change_type": "source",
  "changed_fields": [
    "name"
  ],
  "previous": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Acme makes durable outdoor gear.",
    "id": 7,
    "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
    "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "name": "Acme Co.",
    "product_count": 12,
    "seo_description": "Shop Acme outdoor gear.",
    "seo_title": "Acme Outdoor Gear",
    "slug": "acme",
    "template_handle": "default_brand",
    "translations_updated_at": "2026-06-09T12:00:00-04:00",
    "updated_at": "2026-06-01T08:00:00-04:00"
  }
}
```

## Brand deleted

Event: `brands/delete` · App scope: `read_products` · Staff permission: `products:write`

Fired after a brand is deleted. Its `brands/translations/delete` events (one for each translated locale) and `brand_metafields/delete` events (one for each metafield value) are created together with the delete, in one atomic step; deliveries can arrive in any order.

```json
{
  "brand": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "description": "Acme makes durable outdoor gear.",
    "id": 7,
    "image_cdn_url": "https://assets.tringify.com/74e634ea-84ec-43b8-b66b-986214c2c5a3/upload/8f2a1c2b-9d4e-4a56-b789-0123456789ab.jpg",
    "image_id": "8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "image_url": "https://store.example.com/uploads/8f2a1c2b-9d4e-4a56-b789-0123456789ab",
    "name": "Acme",
    "product_count": 12,
    "seo_description": "Shop Acme outdoor gear.",
    "seo_title": "Acme Outdoor Gear",
    "slug": "acme",
    "template_handle": "default_brand",
    "translations_updated_at": "2026-06-09T12:00:00-04:00",
    "updated_at": "2026-06-09T12:00:00-04:00"
  }
}
```

## Brand metafield value created

Event: `brand_metafields/create` · App scope: `read_products` · Staff permission: `products:write`

Fired when a brand metafield value is created.

```json
{
  "brand": {
    "id": 7,
    "name": "Acme",
    "slug": "acme"
  },
  "metafield": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "shared",
      "app_id": "d6a26466-7903-4e2f-8fd7-7c59f3c8cd9a",
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "The primary material used by this brand.",
      "id": "6b56de32-3f8c-4a25-a4cb-2d217ad7a8aa",
      "is_translatable": true,
      "key": "material",
      "max_list_items": null,
      "max_value_length": 100,
      "merchant_access": "read_write",
      "name": "Material",
      "namespace": "app:catalog-sync.details",
      "owner_type": "brand",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "updated_at": "2026-06-09T12:00:00-04:00",
    "value": "Organic cotton"
  }
}
```

## Brand metafield value updated

Event: `brand_metafields/update` · App scope: `read_products` · Staff permission: `products:write`

Fired when a brand metafield value changes.

```json
{
  "brand": {
    "id": 7,
    "name": "Acme",
    "slug": "acme"
  },
  "changed_fields": [
    "value"
  ],
  "current": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "shared",
      "app_id": "d6a26466-7903-4e2f-8fd7-7c59f3c8cd9a",
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "The primary material used by this brand.",
      "id": "6b56de32-3f8c-4a25-a4cb-2d217ad7a8aa",
      "is_translatable": true,
      "key": "material",
      "max_list_items": null,
      "max_value_length": 100,
      "merchant_access": "read_write",
      "name": "Material",
      "namespace": "app:catalog-sync.details",
      "owner_type": "brand",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "updated_at": "2026-06-10T09:30:00-04:00",
    "value": "Recycled cotton"
  },
  "previous": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "shared",
      "app_id": "d6a26466-7903-4e2f-8fd7-7c59f3c8cd9a",
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "The primary material used by this brand.",
      "id": "6b56de32-3f8c-4a25-a4cb-2d217ad7a8aa",
      "is_translatable": true,
      "key": "material",
      "max_list_items": null,
      "max_value_length": 100,
      "merchant_access": "read_write",
      "name": "Material",
      "namespace": "app:catalog-sync.details",
      "owner_type": "brand",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "updated_at": "2026-06-09T12:00:00-04:00",
    "value": "Organic cotton"
  }
}
```

## Brand metafield value deleted

Event: `brand_metafields/delete` · App scope: `read_products` · Staff permission: `products:write`

Fired when a brand metafield value is deleted, including as part of brand deletion. Removed translations have separate delete events.

```json
{
  "brand": {
    "id": 7,
    "name": "Acme",
    "slug": "acme"
  },
  "metafield": {
    "created_at": "2026-06-09T12:00:00-04:00",
    "definition": {
      "app_access": "shared",
      "app_id": "d6a26466-7903-4e2f-8fd7-7c59f3c8cd9a",
      "created_at": "2026-06-09T12:00:00-04:00",
      "description": "The primary material used by this brand.",
      "id": "6b56de32-3f8c-4a25-a4cb-2d217ad7a8aa",
      "is_translatable": true,
      "key": "material",
      "max_list_items": null,
      "max_value_length": 100,
      "merchant_access": "read_write",
      "name": "Material",
      "namespace": "app:catalog-sync.details",
      "owner_type": "brand",
      "sort_order": 0,
      "type": "string",
      "updated_at": "2026-06-09T12:00:00-04:00"
    },
    "updated_at": "2026-06-09T12:00:00-04:00",
    "value": "Organic cotton"
  }
}
```

