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 read_products

Fetch brand limits and per-field constraints.

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.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List brands

GET read_products

List brands for the store.

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.

Query parameters

Name Type Description
limit integer

Page size, 1-100 (default 50). Larger values return VALIDATION_LIST_INVALID_LIMIT.

Default: 50
Example: 20
cursor string

Opaque cursor from a previous brands.list response. Omit for the first page; reset when search or sorting changes.

Example: eyJ2IjoxLCJyIjoiYnJhbmQifQ
search string

Search query.

Example: acme
sort_by string

Sort field. Supported values are listed below.

Allowed values
nameproduct_countcreated_atupdated_at
Default: name
Example: name
sort_direction string

Sort direction: asc or desc.

Allowed values
ascdesc
Default: asc
Example: asc

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 INVALID_INPUT

    Cursor is malformed or does not match the current search and sort.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    limit is outside 1 to request_caps.list_max_limit.

  • 400 VALIDATION_LIST_INVALID_SORT_BY

    sort_by is not a supported sort field.

  • 400 VALIDATION_LIST_INVALID_SORT_DIRECTION

    sort_direction is not asc or desc.

  • 400 VALIDATION_SEARCH_TOO_LONG

    search is longer than request_caps.search_max_length.

  • 400 LIST_RESPONSE_TOO_LARGE

    The page is too large; request a lower limit (error.params.fit estimates how many rows fit).

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Search brands

GET read_products

Search brands for picker-style suggestions.

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.

Query parameters

Name Type Description
q string

Search query.

Example: acme
page integer

Page number, from 1.

Default: 1
Example: 1
limit integer

Suggestion count, 1-50 (default 10).

Example: 10

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 VALIDATION_LIST_INVALID_PAGE

    page is not a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    limit is outside 1 to request_caps.search_max_limit.

  • 400 VALIDATION_SEARCH_TOO_LONG

    q is longer than request_caps.search_max_length.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Get a brand

GET read_products

Fetch one brand by 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.

Path parameters

Name Type Description
id required integer

Brand id.

Example: 7

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_BRAND_ID

    Brand id is not a positive integer.

  • 404 BRAND_NOT_FOUND

    Brand does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

List brand metafields

GET read_products

List brand metafield values visible to the token.

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

Path parameters

Name Type Description
id required integer

Brand id.

Example: 7

Query parameters

Name Type Description
page integer

Page number (default 1).

limit integer

Values per page, 1 to 50 (default 20), the page size of every custom data value list. A limit from 51 to 100 returns 50 values per page (data.limit shows the size used); above 100 it is rejected with VALIDATION_LIST_INVALID_LIMIT.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_BRAND_ID

    Brand id is not a positive integer.

  • 400 VALIDATION_LIST_INVALID_PAGE

    Page must be at least 1.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit is outside the supported range.

  • 404 NOT_FOUND

    Brand does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The query string has a parameter this request does not accept. The message and error.details.allowed_parameters list the ones it does.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Set brand metafields

PUT write_products

Create, update, or delete brand metafield values.

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.

Path parameters

Name Type Description
id required integer

Brand id.

Example: 7

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
metafields required array<object>

Entries shaped as {namespace, key, value}. value is required in every entry; send null or an empty string to delete the stored value.

Example: [{"namespace":"details","key":"origin","value":"Seoul"}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_BRAND_ID

    Brand id is not a positive integer.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 METAFIELD_NO_WRITES

    At least one metafield entry is required.

  • 400 METAFIELD_DUPLICATE_WRITE

    The request contains the same namespace and key more than once.

  • 400 METAFIELD_KEY_NOT_FOUND

    The namespace and key do not identify a definition visible to the token. An app token sees its own definitions, merchant-owned definitions of an owner type it can read, and other apps' definitions shared with apps; any other definition returns this code.

  • 403 METAFIELD_WRITE_MERCHANT_READ_ONLY

    This app-owned definition is not writable by the token.

  • 404 NOT_FOUND

    Brand does not exist in this store. A file reference names a file that does not exist in this store.

  • 400 METAFIELD_VALUE_TOO_LONG

    The value exceeds its size limit: the definition's max_value_length, or the platform value size limit for the type.

  • 400 METAFIELD_VALUE_STRING_TOO_LONG

    A string or multi_line_text value, or the readable text of a rich_text value, exceeds the definition's max_value_length or its platform limit.

  • 400 METAFIELD_VALUE_TEXT_CONTROL_CHARS

    A multi_line_text value contains a control character other than a line break or tab.

  • 400 METAFIELD_VALUE_COLOR_INVALID

    A color value is not # followed by six hex digits.

  • 400 METAFIELD_LIST_COLOR_INVALID

    An item of a list.color value is not # followed by six hex digits; the message names the item.

  • 400 METAFIELD_VALUE_CONTENT_REFERENCE_INVALID

    A page_reference, blog_post_reference or collection_reference value, or an item of one of their lists, is not a UUID.

  • 400 METAFIELD_LIST_CONTENT_REFERENCES_INVALID

    A list.page_reference, list.blog_post_reference or list.collection_reference value is not a JSON array of strings.

  • 400 METAFIELD_VALUE_TOO_SHORT

    A string value is shorter than the definition's min_length rule.

  • 400 METAFIELD_VALUE_PATTERN_MISMATCH

    A string value does not match the definition's pattern rule.

  • 400 METAFIELD_LIST_ITEM_TOO_SHORT

    An item of a list.string value is shorter than the definition's min_length rule; the message names the item.

  • 400 METAFIELD_LIST_ITEM_PATTERN_MISMATCH

    An item of a list.string value does not match the definition's pattern rule; the message names the item.

  • 400 METAFIELD_VALUE_INTEGER_INVALID

    An integer value is not a whole number in the 64-bit range.

  • 400 METAFIELD_VALUE_INTEGER_TOO_LONG

    An integer value has more digits than the definition or the platform integer limit allows.

  • 400 METAFIELD_VALUE_DECIMAL_INVALID

    A decimal value is not a finite decimal number.

  • 400 METAFIELD_VALUE_DECIMAL_TOO_LONG

    A decimal value, written out in full, is longer than the definition or the platform decimal limit allows.

  • 400 METAFIELD_VALUE_BELOW_MIN

    An integer or decimal value is below the definition's min rule.

  • 400 METAFIELD_VALUE_ABOVE_MAX

    An integer or decimal value is above the definition's max rule.

  • 400 METAFIELD_VALUE_BOOLEAN_INVALID

    A boolean value is not true or false.

  • 400 METAFIELD_VALUE_DATE_INVALID

    A date value is not a calendar date in YYYY-MM-DD form.

  • 400 METAFIELD_VALUE_DATETIME_INVALID

    A datetime value is not YYYY-MM-DDTHH:mm, YYYY-MM-DDTHH:mm:ss or an RFC 3339 timestamp.

  • 400 METAFIELD_VALUE_JSON_INVALID

    A json value is not valid JSON.

  • 400 METAFIELD_VALUE_JSON_UNSAFE_LINK

    A json value contains a link whose scheme is not http, https, mailto or tel.

  • 400 METAFIELD_VALUE_URL_INVALID

    A url value, or an item of a list.url value, is not an absolute URL with a host.

  • 400 METAFIELD_VALUE_URL_SCHEME

    A url value, or an item of a list.url value, does not use http or https.

  • 400 METAFIELD_VALUE_URL_TOO_LONG

    A url value, or an item of a list.url value, exceeds the definition's max_value_length or the platform URL limit.

  • 400 METAFIELD_VALUE_NOT_IN_CHOICES

    A single_select value is not one of the definition's choice keys.

  • 400 METAFIELD_LIST_CHOICE_INVALID

    An item of a list.single_select value is not one of the definition's choice keys; the message names the item.

  • 400 METAFIELD_LIST_STRINGS_INVALID

    A list.string, list.single_select or list.color value is not a JSON array of strings.

  • 400 METAFIELD_LIST_URLS_INVALID

    A list.url value is not a JSON array of strings.

  • 400 METAFIELD_LIST_FILES_INVALID

    A list.file_reference value is not a JSON array of strings.

  • 400 METAFIELD_LIST_IDS_INVALID

    A list.product_reference or list.variant_reference value is not a JSON array of integers.

  • 400 METAFIELD_LIST_EMPTY

    A list value other than list.string is an empty array. Send null or an empty string to remove the value instead.

  • 400 METAFIELD_LIST_TOO_MANY

    A list value has more items than the definition's max_list_items or the platform list limit for the type.

  • 400 METAFIELD_LIST_ITEM_EMPTY

    An item of a list.string value is empty or only whitespace; the message names the item.

  • 400 METAFIELD_LIST_ITEM_TOO_LONG

    An item of a list.string value exceeds the definition's max_value_length or the platform string limit; the message names the item.

  • 400 METAFIELD_VALUE_FILE_UUID_INVALID

    A file_reference value, or an item of a list.file_reference value, is not a file UUID.

  • 400 METAFIELD_VALUE_ID_INVALID

    A product_reference or variant_reference value is not an integer ID.

  • 400 METAFIELD_VALUE_ID_POSITIVE

    A product_reference or variant_reference value is not a positive integer.

  • 400 METAFIELD_VALUE_ID_TOO_LONG

    A product_reference or variant_reference value exceeds the platform reference ID limit.

  • 400 METAFIELD_LIST_ITEMS_POSITIVE

    An item of a list.product_reference or list.variant_reference value is not a positive integer.

  • 400 METAFIELD_REFERENCE_PRODUCT_MISSING

    A product reference names a product that does not exist in this store.

  • 400 METAFIELD_REFERENCE_VARIANT_MISSING

    A variant reference names a variant that does not exist in this store.

  • 400 METAFIELD_REFERENCE_PRODUCTS_MISSING

    A list.product_reference value names a product that does not exist in this store.

  • 400 METAFIELD_REFERENCE_VARIANTS_MISSING

    A list.variant_reference value names a variant that does not exist in this store.

  • 400 METAFIELD_REFERENCE_PAGE_MISSING

    A page reference names a page that does not exist in this store.

  • 400 METAFIELD_REFERENCE_PAGES_MISSING

    A list.page_reference value names a page that does not exist in this store.

  • 400 METAFIELD_REFERENCE_BLOG_POST_MISSING

    A blog post reference names a blog post that does not exist in this store.

  • 400 METAFIELD_REFERENCE_BLOG_POSTS_MISSING

    A list.blog_post_reference value names a blog post that does not exist in this store.

  • 400 METAFIELD_REFERENCE_COLLECTION_MISSING

    A collection reference names a collection that does not exist in this store.

  • 400 METAFIELD_REFERENCE_COLLECTIONS_MISSING

    A list.collection_reference value names a collection that does not exist in this store.

  • 400 METAFIELD_VALUE_METAOBJECT_REFERENCE_INVALID

    A metaobject_reference value, or an item of its list, is not a UUID; details.item_index names the item.

  • 400 METAFIELD_LIST_METAOBJECT_REFERENCES_INVALID

    A list.metaobject_reference value is not a JSON array of strings.

  • 400 METAFIELD_REFERENCE_METAOBJECT_MISSING

    A metaobject reference names a custom content entry that does not exist in this store.

  • 400 METAFIELD_REFERENCE_METAOBJECTS_MISSING

    A list.metaobject_reference value names an entry that does not exist in this store.

  • 400 METAFIELD_REFERENCE_METAOBJECT_WRONG_TYPE

    A metaobject reference names an entry of another custom content type than the definition is pinned to.

  • 400 INVALID_INPUT

    A file reference names a file that is not an uploaded file.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Create a brand

POST write_products

Create a brand.

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.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key, up to 255 characters, that makes this create safe to retry. Repeating the request with the same key and body within 24 hours returns the original response instead of creating again; the same key with a different body returns CATALOG_REQUEST_KEY_CONFLICT.

Body parameters

Name Type Description
name required string

Brand name.

Example: Acme
slug string

Optional slug. Omit to generate from name.

Example: acme
description string

Optional plain-text description. Omit or send an empty string for no description.

Example: Acme makes durable outdoor gear.
seo_title string

Optional SEO title. Omit or send an empty string to let the storefront fall back to the brand name.

Example: Acme Outdoor Gear
seo_description string

Optional SEO description. Omit or send an empty string to let the storefront fall back to the brand description.

Example: Shop Acme outdoor gear.
image_id string

Optional Media-library upload image UUID. Video, document, 3D-model, and site-asset ids are invalid. Non-empty values require read_files access to the referenced file.

Example: 8f2a1c2b-9d4e-4a56-b789-0123456789ab
template_handle string

Brand template. Omit this field, send an empty string, or send default_brand to use the default brand template. Otherwise, send a brand template handle available in the store's active theme. The handles are each template's handle in List theme templates (resource_type brand).

Example: default_brand

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 STORE_API_CREATE_REDIRECT_UNSUPPORTED

    create_redirect is only accepted when updating a brand.

  • 400 BRAND_NAME_REQUIRED

    name is missing or empty.

  • 400 BRAND_NAME_INVALID_CHARS

    Name contains unsupported control characters.

  • 400 BRAND_NAME_TOO_LONG

    name is longer than fields.name.max_length in /brands/limits.

  • 400 BRAND_DESCRIPTION_INVALID_CHARS

    Description contains unsupported control characters.

  • 400 BRAND_DESCRIPTION_TOO_LONG

    description is longer than fields.description.max_length in /brands/limits.

  • 400 BRAND_SEO_TITLE_INVALID_CHARS

    SEO title contains unsupported control characters.

  • 400 BRAND_SEO_TITLE_TOO_LONG

    seo_title is longer than fields.seo_title.max_length in /brands/limits.

  • 400 BRAND_SEO_DESCRIPTION_INVALID_CHARS

    SEO description contains unsupported control characters.

  • 400 BRAND_SEO_DESCRIPTION_TOO_LONG

    seo_description is longer than fields.seo_description.max_length in /brands/limits.

  • 400 BRAND_SLUG_INVALID_FORMAT

    slug must be lowercase letters, numbers, or word characters joined by hyphens.

  • 400 BRAND_SLUG_TOO_LONG

    slug is longer than fields.slug.max_length in /brands/limits.

  • 400 TEMPLATE_HANDLE_INVALID

    Template handle is not a valid brand template handle.

  • 400 TEMPLATE_HANDLE_NOT_FOUND

    No brand template with this handle exists in the store's active theme.

  • 400 INVALID_INPUT

    image_id is invalid or does not refer to an uploaded image in this store.

  • 403 STORE_API_SCOPE_REQUIRED

    A non-empty image_id requires read_files in addition to write_products.

  • 404 NOT_FOUND

    The supplied image does not exist in this store.

  • 409 BRAND_DUPLICATE

    Name or slug already belongs to another brand in this store, in any language. error.details.existing_id is that brand's id, so a retried create can fetch it instead of creating it again.

  • 400 BRAND_SLUG_GENERATION_FAILED

    A slug could not be generated from the supplied name.

  • 400 BRAND_UNIQUE_SLUG_GENERATION_FAILED

    A unique generated slug could not be found; supply a slug explicitly.

  • 400 BRAND_PLAN_LIMIT_REACHED

    The store has as many brands as its plan allows; the message states the maximum. Fetch /brands/limits for the store's current cap and usage.

  • 503 CATALOG_NAMESPACE_BUSY

    Another write is claiming the same names or slugs (for example a large CSV import or a translation save). Nothing was changed; retry after a short delay.

  • 400 CATALOG_REQUEST_KEY_TOO_LONG

    Idempotency-Key is longer than 255 characters.

  • 403 PLAN_UNKNOWN

    The store has no active plan, so nothing can be created until one is chosen.

  • 409 CATALOG_REQUEST_KEY_CONFLICT

    Idempotency-Key was already used with a different request body.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Bulk create brands

POST write_products

Create multiple brands by name.

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.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key, up to 255 characters, that makes this create safe to retry. Repeating the request with the same key and body within 24 hours returns the original response instead of creating again; the same key with a different body returns CATALOG_REQUEST_KEY_CONFLICT.

Body parameters

Name Type Description
names required array<string>

Brand names to create.

Example: ["Acme", "Existing Brand"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 BRAND_BULK_NO_NAMES

    No names were provided.

  • 400 BRAND_BULK_CREATE_TOO_MANY

    More names than request_caps.bulk_create_max_count.

  • 503 CATALOG_NAMESPACE_BUSY

    Another write is claiming the same names or slugs (for example a large CSV import or a translation save). Nothing was changed; retry after a short delay.

  • 400 CATALOG_REQUEST_KEY_TOO_LONG

    Idempotency-Key is longer than 255 characters.

  • 403 PLAN_UNKNOWN

    The store has no active plan, so nothing can be created until one is chosen.

  • 409 CATALOG_REQUEST_KEY_CONFLICT

    Idempotency-Key was already used with a different request body.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Update a brand

PUT write_products

Update a brand.

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.

Path parameters

Name Type Description
id required integer

Brand id.

Example: 7

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
name string

New brand name. Omit to leave it unchanged; an empty value is invalid.

Example: Acme
slug string

New slug. Omit to leave the current slug unchanged; send an empty string to regenerate it from the brand name (the new name when name is sent too), with -2, -3, ... added when it is taken.

Example: acme
description string

New plain-text description. Omit to leave it unchanged; send an empty string to clear it.

Example: Acme makes durable outdoor gear.
seo_title string

New SEO title. Omit to leave it unchanged; send an empty string to clear it and restore the storefront brand-name fallback.

Example: Acme Outdoor Gear
seo_description string

New SEO description. Omit to leave it unchanged; send an empty string to clear it and restore the storefront brand-description fallback.

Example: Shop Acme outdoor gear.
image_id string

New Media-library upload image UUID. Omit to leave the image unchanged; send an empty string to clear it. A non-empty value requires read_files access and must reference an image upload in this store.

Example: 8f2a1c2b-9d4e-4a56-b789-0123456789ab
template_handle string

New brand template. Omit to leave it unchanged, send default_brand to use the default brand template, or send another brand template handle available in the store's active theme. An empty string is invalid. The handles are each template's handle in List theme templates (resource_type brand).

Example: default_brand
create_redirect boolean

When slug changes, create a redirect from the previous slug. Defaults to true; send false to change the slug without one.

Example: true

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_BRAND_ID

    Brand id is not a positive integer.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 BRAND_NAME_REQUIRED

    name was sent empty. Omit it to keep the current name.

  • 400 BRAND_NAME_INVALID_CHARS

    Name contains unsupported control characters.

  • 400 BRAND_NAME_TOO_LONG

    name is longer than fields.name.max_length in /brands/limits.

  • 400 BRAND_DESCRIPTION_INVALID_CHARS

    Description contains unsupported control characters.

  • 400 BRAND_DESCRIPTION_TOO_LONG

    description is longer than fields.description.max_length in /brands/limits.

  • 400 BRAND_SEO_TITLE_INVALID_CHARS

    SEO title contains unsupported control characters.

  • 400 BRAND_SEO_TITLE_TOO_LONG

    seo_title is longer than fields.seo_title.max_length in /brands/limits.

  • 400 BRAND_SEO_DESCRIPTION_INVALID_CHARS

    SEO description contains unsupported control characters.

  • 400 BRAND_SEO_DESCRIPTION_TOO_LONG

    seo_description is longer than fields.seo_description.max_length in /brands/limits.

  • 400 BRAND_SLUG_INVALID_FORMAT

    slug must be lowercase letters, numbers, or word characters joined by hyphens.

  • 400 BRAND_SLUG_TOO_LONG

    slug is longer than fields.slug.max_length in /brands/limits.

  • 400 TEMPLATE_HANDLE_INVALID

    Template handle is not a valid brand template handle.

  • 400 TEMPLATE_HANDLE_NOT_FOUND

    No brand template with this handle exists in the store's active theme.

  • 400 INVALID_INPUT

    image_id is invalid or does not refer to an uploaded image in this store.

  • 403 STORE_API_SCOPE_REQUIRED

    A non-empty image_id requires read_files in addition to write_products.

  • 404 NOT_FOUND

    The supplied image does not exist in this store.

  • 409 BRAND_DUPLICATE

    The new name or slug already belongs to another brand in this store, in any language. error.details.existing_id is that brand's id.

  • 503 CATALOG_NAMESPACE_BUSY

    Another write is claiming the same names or slugs (for example a large CSV import or a translation save). Nothing was changed; retry after a short delay.

  • 404 BRAND_NOT_FOUND

    Brand does not exist in this store.

  • 409 TRANSLATION_SOURCE_FIELD_HAS_TRANSLATIONS

    Clear a field's translations before clearing its source value.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Delete a brand

DELETE write_products

Delete a brand.

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.

Path parameters

Name Type Description
id required integer

Brand id.

Example: 7

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
confirmed boolean

On a confirmation retry, set this to true and send the returned confirmation_token. Omit it on the first request.

confirmation_token string

Token from the CONFIRMATION_REQUIRED response. Omit it on the first request; when using it, repeat the same request (the same id, or for a bulk delete the same id selection).

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_BRAND_ID

    Brand id is not a positive integer.

  • 400 STORE_API_INVALID_REQUEST_BODY

    A non-empty request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 BRAND_CONFIRMATION_INVALID

    Confirmation token is missing, expired, or mismatched.

  • 404 BRAND_NOT_FOUND

    Brand does not exist in this store.

  • 409 CONFIRMATION_REQUIRED

    Delete requires confirmation because dependent records will be changed. Also returned for a confirmed request when the impact changed after the confirmation: review the new impact and confirm with the new token.

  • 503 CATALOG_DELETE_UNAVAILABLE

    Deleting is temporarily unavailable; nothing was deleted. Retry later.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Bulk delete brands

POST write_products

Delete multiple brands.

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.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
brand_ids required array<integer>

Brand ids to delete.

Example: [7, 11]
confirmed boolean

On a confirmation retry, set this to true and send the returned confirmation_token. Omit it on the first request.

confirmation_token string

Token from the CONFIRMATION_REQUIRED response. Omit it on the first request; when using it, repeat the same request (the same id, or for a bulk delete the same id selection).

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body must be a JSON object containing only documented fields; error.details.field identifies an unknown field.

  • 400 BRAND_BULK_NO_IDS

    brand_ids is missing or empty.

  • 400 BRAND_BULK_DELETE_TOO_MANY

    More IDs than request_caps.bulk_delete_max_count.

  • 400 BRAND_CONFIRMATION_INVALID

    Confirmation token is missing, expired, or mismatched.

  • 409 CONFIRMATION_REQUIRED

    Delete requires confirmation because dependent records will be changed. Also returned for a confirmed request when the impact changed after the confirmation: review the new impact and confirm with the new token.

  • 503 CATALOG_DELETE_UNAVAILABLE

    Deleting is temporarily unavailable; nothing was deleted. Retry later.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The body has a property this request does not accept. The message and error.details.properties list the allowed and required properties (nested for each object or list of objects).

  • 400 STORE_API_BODY_PROPERTY_INVALID

    A body property has the wrong type (error.details.expected_type). The message and error.details.properties list the allowed and required properties.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

Delete brand metafield

DELETE write_products

Clear one metafield value and its translations, preserving its definition.

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.

Path parameters

Name Type Description
id required integer

Brand id.

Example: 7
namespace required string

Definition namespace; URL-encode reserved characters.

Example: details
key required string

Definition key.

Example: subtitle

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

    The Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.

  • 401 TOKEN_NOT_ACCEPTED

    The token is unknown, expired, revoked or replaced, or its app was uninstalled.

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

    The credential is pinned to an API version that cannot be served.

  • 403 STORE_SUSPENDED

    Tringify has suspended the store. Every request is refused until it is reinstated.

  • 403 STORE_TERMINATED

    Tringify has terminated the store permanently. Every request is refused.

  • 400 INVALID_INPUT

    The owner ID or namespace/key address is invalid.

  • 400 METAFIELD_KEY_NOT_FOUND

    The definition does not exist or is not readable by this caller.

  • 403 METAFIELD_WRITE_APP_OWN_ONLY

    Apps may clear only their own definitions' values, even when other definitions are readable.

  • 403 METAFIELD_WRITE_MERCHANT_READ_ONLY

    The app-owned definition does not grant merchants value write access.

  • 403 STORE_API_SCOPE_REQUIRED

    The token lacks the owner's write scope. Clearing a value needs no additional read_files or write_translations scope.

  • 404 NOT_FOUND

    The owner does not exist in the authenticated store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

    The request has a query parameter; this endpoint takes none.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

    The request body has a property; this endpoint takes no body. Send no body or an empty object {}.

  • 429 RATE_LIMITED

    The request allowance is exhausted. Wait for Retry-After before retrying.

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

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.

Payload fields

Field Type Description
brand object Always present
brand.id integer Always present

The stable Brand id.

brand.name string Always present

The merchant-facing Brand name.

brand.slug string Always present

The Brand's URL-safe identifier.

brand.description string Always present

The Brand description in the store's default locale.

brand.seo_title string Always present

The Brand page's SEO title in the store's default locale.

brand.seo_description string Always present

The Brand page's SEO description in the store's default locale.

brand.image_id string | null Always present

The assigned Media-library image id, or null when no image is assigned.

brand.image_url string | null Always present

The storefront URL of the assigned image on the store's primary domain, or null without an image.

brand.image_cdn_url string | null Always present

The delivery URL for the assigned image, or null without an image.

brand.product_count integer Always present

The number of products currently assigned to the Brand.

brand.template_handle string | null Always present

The storefront template handle assigned to the Brand.

brand.created_at string Always present

When the Brand was created.

brand.updated_at string Always present

When the Brand last changed.

brand.translations_updated_at string | null Always present

When any Brand translation last changed, or null when none exist.

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.

Possible changed_fields values

The changed_fields array names exactly which of these changed in this event — use it to skip processing updates your integration doesn't care about.

description image_id name product_count seo_description seo_title slug template_handle

Payload fields

Field Type Description
brand object Always present
brand.id integer Always present

The stable Brand id.

brand.name string Always present

The merchant-facing Brand name.

brand.slug string Always present

The Brand's URL-safe identifier.

brand.description string Always present

The Brand description in the store's default locale.

brand.seo_title string Always present

The Brand page's SEO title in the store's default locale.

brand.seo_description string Always present

The Brand page's SEO description in the store's default locale.

brand.image_id string | null Always present

The assigned Media-library image id, or null when no image is assigned.

brand.image_url string | null Always present

The storefront URL of the assigned image on the store's primary domain, or null without an image.

brand.image_cdn_url string | null Always present

The delivery URL for the assigned image, or null without an image.

brand.product_count integer Always present

The number of products currently assigned to the Brand.

brand.template_handle string | null Always present

The storefront template handle assigned to the Brand.

brand.created_at string Always present

When the Brand was created.

brand.updated_at string Always present

When the Brand last changed.

brand.translations_updated_at string | null Always present

When any Brand translation last changed, or null when none exist.

previous object | null Selectable in the Payload builder

The Brand snapshot before a source-field update; omitted for assignment-count changes.

previous.id integer Always present

The stable Brand id. This value is from before the update.

previous.name string Always present

The merchant-facing Brand name. This value is from before the update.

previous.slug string Always present

The Brand's URL-safe identifier. This value is from before the update.

previous.description string Always present

The Brand description in the store's default locale. This value is from before the update.

previous.seo_title string Always present

The Brand page's SEO title in the store's default locale. This value is from before the update.

previous.seo_description string Always present

The Brand page's SEO description in the store's default locale. This value is from before the update.

previous.image_id string | null Always present

The assigned Media-library image id, or null when no image is assigned. This value is from before the update.

previous.image_url string | null Always present

The storefront URL of the assigned image on the store's primary domain, or null without an image. This value is from before the update.

previous.image_cdn_url string | null Always present

The delivery URL for the assigned image, or null without an image. This value is from before the update.

previous.product_count integer Always present

The number of products currently assigned to the Brand. This value is from before the update.

previous.template_handle string | null Always present

The storefront template handle assigned to the Brand. This value is from before the update.

previous.created_at string Always present

When the Brand was created. This value is from before the update.

previous.updated_at string Always present

When the Brand last changed. This value is from before the update.

previous.translations_updated_at string | null Always present

When any Brand translation last changed, or null when none exist. This value is from before the update.

changed_fields array Always present

The Brand fields changed by this event: the edited fields for source changes, product_count for assignment changes.

change_type string Always present

Why brands/update fired: source for Brand field edits or assignments for product assignment-count changes.

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.

Payload fields

Field Type Description
brand object Always present
brand.id integer Always present

The stable id of the deleted Brand.

brand.name string Always present

The Brand name at the time it was deleted.

brand.slug string Always present

The Brand slug at the time it was deleted.

brand.description string Always present
brand.seo_title string Always present
brand.seo_description string Always present
brand.image_id string | null Always present
brand.image_url string | null Always present
brand.image_cdn_url string | null Always present
brand.product_count integer Always present
brand.template_handle string | null Always present
brand.created_at string Always present
brand.updated_at string Always present
brand.translations_updated_at string | null Always present

Brand metafield value created

EVENT brand_metafields/create App scope: read_products Staff permission: products:write

Fired when a brand metafield value is created.

Payload fields

Field Type Description
brand object Always present
brand.id integer Always present
brand.name string Selectable in the Payload builder
brand.slug string Selectable in the Payload builder
metafield object Always present
metafield.definition object | null Selectable in the Payload builder
metafield.definition.id string Selectable in the Payload builder
metafield.definition.owner_type string Selectable in the Payload builder
metafield.definition.namespace string Selectable in the Payload builder
metafield.definition.key string Selectable in the Payload builder
metafield.definition.name string Selectable in the Payload builder
metafield.definition.description string | null Selectable in the Payload builder
metafield.definition.type string Selectable in the Payload builder
metafield.definition.is_translatable boolean Selectable in the Payload builder
metafield.definition.max_value_length integer | null Selectable in the Payload builder
metafield.definition.max_list_items integer | null Selectable in the Payload builder
metafield.definition.sort_order integer Selectable in the Payload builder
metafield.definition.app_id string | null Selectable in the Payload builder
metafield.definition.app_access string Selectable in the Payload builder
metafield.definition.merchant_access string Selectable in the Payload builder
metafield.definition.created_at string Selectable in the Payload builder
metafield.definition.updated_at string Selectable in the Payload builder
metafield.value string Selectable in the Payload builder
metafield.created_at string Selectable in the Payload builder
metafield.updated_at string Selectable in the Payload builder

Brand metafield value updated

EVENT brand_metafields/update App scope: read_products Staff permission: products:write

Fired when a brand metafield value changes.

Possible changed_fields values

The changed_fields array names exactly which of these changed in this event — use it to skip processing updates your integration doesn't care about.

value

Payload fields

Field Type Description
brand object Always present
brand.id integer Always present
brand.name string Selectable in the Payload builder
brand.slug string Selectable in the Payload builder
previous object Always present
previous.definition object | null Selectable in the Payload builder
previous.definition.id string Selectable in the Payload builder
previous.definition.owner_type string Selectable in the Payload builder
previous.definition.namespace string Selectable in the Payload builder
previous.definition.key string Selectable in the Payload builder
previous.definition.name string Selectable in the Payload builder
previous.definition.description string | null Selectable in the Payload builder
previous.definition.type string Selectable in the Payload builder
previous.definition.is_translatable boolean Selectable in the Payload builder
previous.definition.max_value_length integer | null Selectable in the Payload builder
previous.definition.max_list_items integer | null Selectable in the Payload builder
previous.definition.sort_order integer Selectable in the Payload builder
previous.definition.app_id string | null Selectable in the Payload builder
previous.definition.app_access string Selectable in the Payload builder
previous.definition.merchant_access string Selectable in the Payload builder
previous.definition.created_at string Selectable in the Payload builder
previous.definition.updated_at string Selectable in the Payload builder
previous.value string Selectable in the Payload builder
previous.created_at string Selectable in the Payload builder
previous.updated_at string Selectable in the Payload builder
current object Always present
current.definition object | null Selectable in the Payload builder
current.definition.id string Selectable in the Payload builder
current.definition.owner_type string Selectable in the Payload builder
current.definition.namespace string Selectable in the Payload builder
current.definition.key string Selectable in the Payload builder
current.definition.name string Selectable in the Payload builder
current.definition.description string | null Selectable in the Payload builder
current.definition.type string Selectable in the Payload builder
current.definition.is_translatable boolean Selectable in the Payload builder
current.definition.max_value_length integer | null Selectable in the Payload builder
current.definition.max_list_items integer | null Selectable in the Payload builder
current.definition.sort_order integer Selectable in the Payload builder
current.definition.app_id string | null Selectable in the Payload builder
current.definition.app_access string Selectable in the Payload builder
current.definition.merchant_access string Selectable in the Payload builder
current.definition.created_at string Selectable in the Payload builder
current.definition.updated_at string Selectable in the Payload builder
current.value string Selectable in the Payload builder
current.created_at string Selectable in the Payload builder
current.updated_at string Selectable in the Payload builder
changed_fields array Selectable in the Payload builder

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.

Payload fields

Field Type Description
brand object Always present
brand.id integer Always present
brand.name string Selectable in the Payload builder
brand.slug string Selectable in the Payload builder
metafield object Always present
metafield.definition object | null Selectable in the Payload builder
metafield.definition.id string Selectable in the Payload builder
metafield.definition.owner_type string Selectable in the Payload builder
metafield.definition.namespace string Selectable in the Payload builder
metafield.definition.key string Selectable in the Payload builder
metafield.definition.name string Selectable in the Payload builder
metafield.definition.description string | null Selectable in the Payload builder
metafield.definition.type string Selectable in the Payload builder
metafield.definition.is_translatable boolean Selectable in the Payload builder
metafield.definition.max_value_length integer | null Selectable in the Payload builder
metafield.definition.max_list_items integer | null Selectable in the Payload builder
metafield.definition.sort_order integer Selectable in the Payload builder
metafield.definition.app_id string | null Selectable in the Payload builder
metafield.definition.app_access string Selectable in the Payload builder
metafield.definition.merchant_access string Selectable in the Payload builder
metafield.definition.created_at string Selectable in the Payload builder
metafield.definition.updated_at string Selectable in the Payload builder
metafield.value string Selectable in the Payload builder
metafield.created_at string Selectable in the Payload builder
metafield.updated_at string Selectable in the Payload builder