Blog categories group posts and provide category listing pages. Reads require read_blog; writes require write_blog. Categories have names, slugs, a plain-text description, SEO fields, and a storefront template. Read field lengths, page sizes and the bulk delete cap from /blog/categories/limits instead of hard-coding them. An omitted or empty create slug is generated from the name; an update slug must be non-empty. Slugs are saved in lowercase. Send null or an empty string to clear description, seo_title or seo_description; an empty field is stored as null. A source field with translations cannot be cleared until those translations are removed. When you change a slug, create_redirect (default true) adds a redirect from the old address; with false, redirects Tringify made earlier toward the old address move to the new one. post_count counts posts in any status, drafts included. Unknown or wrongly typed request fields are rejected with STORE_API_BODY_PROPERTY_UNKNOWN or STORE_API_BODY_PROPERTY_INVALID.
Deleting a category that is assigned to posts must say what happens to them: reassign_to_category_id moves them to another category, remove_from_posts: true takes the category off them; a delete that says neither is refused with BLOG_CATEGORY_HAS_POSTS, and up to a threshold of posts change in the request while more change in a background job (see Delete a category). Bulk deletion has no such choice: it deletes only categories without posts. When menus link to it or storefront theme settings use it, deletion asks for confirmation first. Deleting a category also removes the redirects Tringify made toward it. Bulk deletion lists deleted ids in deleted and every id it did not delete in failed, each with a code (NOT_FOUND, BLOG_CATEGORY_HAS_POSTS or CONFLICT) and a reason. Translate names, slugs, descriptions, and SEO fields through Blog Category translations.
Endpoints#
Blog Category limits
Fetch Blog Category limits and per-field constraints.
Returns the per-field maximum lengths and request caps that apply to Blog Category endpoints. Useful for clients to validate inputs before sending them and to size UIs. max_per_store is this store's plan cap, count is how many exist now, and usage is the label as Tringify shows it, in English.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List blog categories
List blog categories for the store.
Returns paginated Blog Categories. total counts matches for the current filters; store_total counts all records in the store and can be compared with the store capacity returned by the limits endpoint. post_count counts the blog posts assigned to the category, in any status (drafts and scheduled posts count). Use search to filter by name or slug. has_next says whether another page follows; send its next_cursor as cursor to read it. A cursor page has no page number, so page is left out of its response. Invalid pagination and unsupported sort values are rejected. storefront_url is the canonical absolute URL on the store's primary domain. storefront_path is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.
Query parameters
| Name | Type | Description |
|---|---|---|
cursor
|
string |
Use next_cursor from the previous page with unchanged filters and sorting. Cursor pages reuse the first page totals, avoid deep offsets and leave |
page
|
integer |
Page number of an offset page. Ignored when |
limit
|
integer |
Page size, up to |
search
|
string |
Search Blog Categories by name or slug. |
sort_by
|
string |
Sort field from the Blog Category list contract.
Allowed values
namepost_countcreated_atupdated_at |
sort_direction
|
string |
Sort direction from the Blog Category list contract.
Allowed values
ascdesc |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400VALIDATION_LIST_INVALID_PAGEPage must be a positive integer.
-
400VALIDATION_LIST_INVALID_LIMITLimit must be a positive integer within the contract cap.
-
400VALIDATION_LIST_INVALID_SORT_BYSort field is not supported for this endpoint. The message lists the supported fields.
-
400VALIDATION_LIST_INVALID_SORT_DIRECTIONSort direction must be asc or desc.
-
400BLOG_CATEGORY_SEARCH_TOO_LONGSearch exceeds
search_max_lengthfrom the Blog Category limits. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get a blog category
Fetch one blog category by id.
Returns the Blog Category if it belongs to the token's store. storefront_url is the canonical absolute URL on the store's primary domain. storefront_path is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Category id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_CATEGORY_IDThe blog category id is not a valid UUID.
-
404NOT_FOUNDBlog Category does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List blog category metafields
List custom-data values visible to the token.
Definitions are filtered through the token's access rules.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Category id. |
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 |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_CATEGORY_IDThe blog category id is not a valid UUID.
-
400VALIDATION_LIST_INVALID_PAGEPage must be a positive integer.
-
400VALIDATION_LIST_INVALID_LIMITLimit must be a positive integer.
-
404NOT_FOUNDThe resource does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Set blog category metafields
Create, update, or delete custom-data 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. The complete value change succeeds or fails together. Omitted entries are preserved. Unknown or wrongly typed body properties are refused.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Category id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
metafields
required
|
array<object> |
Entries shaped as |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_CATEGORY_IDThe blog category id is not a valid UUID.
-
400STORE_API_INVALID_REQUEST_BODYThe body or entry shape is invalid. Each entry requires an explicit value, including null for deletion.
-
400METAFIELD_NO_WRITESProvide at least one metafield entry.
-
400METAFIELD_DUPLICATE_WRITEA namespace and key occur more than once.
-
400METAFIELD_KEY_NOT_FOUNDThe namespace and key do not identify a definition visible to this 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.
-
403METAFIELD_WRITE_MERCHANT_READ_ONLYThe definition does not grant value write access.
-
403STORE_API_SCOPE_REQUIREDBinding a nonempty file_reference or list.file_reference also requires read_files. Clearing a reference does not.
-
404NOT_FOUNDThe resource does not exist in this store. A file reference names a file that does not exist in this store.
-
400METAFIELD_VALUE_TOO_LONGThe value exceeds its size limit: the definition's max_value_length, or the platform value size limit for the type.
-
400METAFIELD_VALUE_STRING_TOO_LONGA 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.
-
400METAFIELD_VALUE_TEXT_CONTROL_CHARSA multi_line_text value contains a control character other than a line break or tab.
-
400METAFIELD_VALUE_COLOR_INVALIDA color value is not # followed by six hex digits.
-
400METAFIELD_LIST_COLOR_INVALIDAn item of a list.color value is not # followed by six hex digits; the message names the item.
-
400METAFIELD_VALUE_CONTENT_REFERENCE_INVALIDA page_reference, blog_post_reference or collection_reference value, or an item of one of their lists, is not a UUID.
-
400METAFIELD_LIST_CONTENT_REFERENCES_INVALIDA list.page_reference, list.blog_post_reference or list.collection_reference value is not a JSON array of strings.
-
400METAFIELD_VALUE_TOO_SHORTA string value is shorter than the definition's min_length rule.
-
400METAFIELD_VALUE_PATTERN_MISMATCHA string value does not match the definition's pattern rule.
-
400METAFIELD_LIST_ITEM_TOO_SHORTAn item of a list.string value is shorter than the definition's min_length rule; the message names the item.
-
400METAFIELD_LIST_ITEM_PATTERN_MISMATCHAn item of a list.string value does not match the definition's pattern rule; the message names the item.
-
400METAFIELD_VALUE_INTEGER_INVALIDAn integer value is not a whole number in the 64-bit range.
-
400METAFIELD_VALUE_INTEGER_TOO_LONGAn integer value has more digits than the definition or the platform integer limit allows.
-
400METAFIELD_VALUE_DECIMAL_INVALIDA decimal value is not a finite decimal number.
-
400METAFIELD_VALUE_DECIMAL_TOO_LONGA decimal value, written out in full, is longer than the definition or the platform decimal limit allows.
-
400METAFIELD_VALUE_BELOW_MINAn integer or decimal value is below the definition's min rule.
-
400METAFIELD_VALUE_ABOVE_MAXAn integer or decimal value is above the definition's max rule.
-
400METAFIELD_VALUE_BOOLEAN_INVALIDA boolean value is not true or false.
-
400METAFIELD_VALUE_DATE_INVALIDA date value is not a calendar date in YYYY-MM-DD form.
-
400METAFIELD_VALUE_DATETIME_INVALIDA datetime value is not YYYY-MM-DDTHH:mm, YYYY-MM-DDTHH:mm:ss or an RFC 3339 timestamp.
-
400METAFIELD_VALUE_JSON_INVALIDA json value is not valid JSON.
-
400METAFIELD_VALUE_JSON_UNSAFE_LINKA json value contains a link whose scheme is not http, https, mailto or tel.
-
400METAFIELD_VALUE_URL_INVALIDA url value, or an item of a list.url value, is not an absolute URL with a host.
-
400METAFIELD_VALUE_URL_SCHEMEA url value, or an item of a list.url value, does not use http or https.
-
400METAFIELD_VALUE_URL_TOO_LONGA url value, or an item of a list.url value, exceeds the definition's max_value_length or the platform URL limit.
-
400METAFIELD_VALUE_NOT_IN_CHOICESA single_select value is not one of the definition's choice keys.
-
400METAFIELD_LIST_CHOICE_INVALIDAn item of a list.single_select value is not one of the definition's choice keys; the message names the item.
-
400METAFIELD_LIST_STRINGS_INVALIDA list.string, list.single_select or list.color value is not a JSON array of strings.
-
400METAFIELD_LIST_URLS_INVALIDA list.url value is not a JSON array of strings.
-
400METAFIELD_LIST_FILES_INVALIDA list.file_reference value is not a JSON array of strings.
-
400METAFIELD_LIST_IDS_INVALIDA list.product_reference or list.variant_reference value is not a JSON array of integers.
-
400METAFIELD_LIST_EMPTYA list value other than list.string is an empty array. Send null or an empty string to remove the value instead.
-
400METAFIELD_LIST_TOO_MANYA list value has more items than the definition's max_list_items or the platform list limit for the type.
-
400METAFIELD_LIST_ITEM_EMPTYAn item of a list.string value is empty or only whitespace; the message names the item.
-
400METAFIELD_LIST_ITEM_TOO_LONGAn item of a list.string value exceeds the definition's max_value_length or the platform string limit; the message names the item.
-
400METAFIELD_VALUE_FILE_UUID_INVALIDA file_reference value, or an item of a list.file_reference value, is not a file UUID.
-
400METAFIELD_VALUE_ID_INVALIDA product_reference or variant_reference value is not an integer ID.
-
400METAFIELD_VALUE_ID_POSITIVEA product_reference or variant_reference value is not a positive integer.
-
400METAFIELD_VALUE_ID_TOO_LONGA product_reference or variant_reference value exceeds the platform reference ID limit.
-
400METAFIELD_LIST_ITEMS_POSITIVEAn item of a list.product_reference or list.variant_reference value is not a positive integer.
-
400METAFIELD_REFERENCE_PRODUCT_MISSINGA product reference names a product that does not exist in this store.
-
400METAFIELD_REFERENCE_VARIANT_MISSINGA variant reference names a variant that does not exist in this store.
-
400METAFIELD_REFERENCE_PRODUCTS_MISSINGA list.product_reference value names a product that does not exist in this store.
-
400METAFIELD_REFERENCE_VARIANTS_MISSINGA list.variant_reference value names a variant that does not exist in this store.
-
400METAFIELD_REFERENCE_PAGE_MISSINGA page reference names a page that does not exist in this store.
-
400METAFIELD_REFERENCE_PAGES_MISSINGA list.page_reference value names a page that does not exist in this store.
-
400METAFIELD_REFERENCE_BLOG_POST_MISSINGA blog post reference names a blog post that does not exist in this store.
-
400METAFIELD_REFERENCE_BLOG_POSTS_MISSINGA list.blog_post_reference value names a blog post that does not exist in this store.
-
400METAFIELD_REFERENCE_COLLECTION_MISSINGA collection reference names a collection that does not exist in this store.
-
400METAFIELD_REFERENCE_COLLECTIONS_MISSINGA list.collection_reference value names a collection that does not exist in this store.
-
400METAFIELD_VALUE_METAOBJECT_REFERENCE_INVALIDA metaobject_reference value, or an item of its list, is not a UUID; details.item_index names the item.
-
400METAFIELD_LIST_METAOBJECT_REFERENCES_INVALIDA list.metaobject_reference value is not a JSON array of strings.
-
400METAFIELD_REFERENCE_METAOBJECT_MISSINGA metaobject reference names a custom content entry that does not exist in this store.
-
400METAFIELD_REFERENCE_METAOBJECTS_MISSINGA list.metaobject_reference value names an entry that does not exist in this store.
-
400METAFIELD_REFERENCE_METAOBJECT_WRONG_TYPEA metaobject reference names an entry of another custom content type than the definition is pinned to.
-
400INVALID_INPUTA file reference names a file that is not an uploaded file.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Create a blog category
Create a blog category.
Creates a Blog Category. name is required. slug is optional on create; when omitted or empty, the backend generates it from the name; slugs are saved in lowercase. description is plain text. An omitted, null or empty description, seo_title or seo_description is stored as null; name, slug and template_handle cannot be null. Unknown or wrongly typed body properties are refused. storefront_url is the canonical absolute URL on the store's primary domain. storefront_path is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
required
|
string |
Blog Category name. |
slug
|
string |
Optional slug, saved in lowercase. Omit it or send an empty string to generate it from the name. |
description
|
string |
Optional plain-text description. Omitted, null or empty means none. |
seo_title
|
string |
Optional SEO title. Omitted, null or empty means none. |
seo_description
|
string |
Optional SEO description. Omitted, null or empty means none. |
template_handle
|
string |
Template assignment. On create, omitting this field or sending an empty string assigns |
robots
|
string |
Search visibility: |
social_image_id
|
uuid |
Optional image shown when the blog category is shared: the id of an uploaded image in this store's Media library. A non-empty value requires |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON or not a JSON object.
-
400BLOG_CATEGORY_NAME_REQUIREDName is empty after normalization.
error.details.fieldisname. -
400BLOG_CATEGORY_NAME_TOO_LONGName exceeds
name_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_SLUG_FORMATSlug is not valid for Blog Category URLs.
-
400BLOG_CATEGORY_SLUG_TOO_LONGSlug exceeds
slug_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_DESCRIPTION_TOO_LONGDescription exceeds
description_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_SEO_TITLE_TOO_LONGSEO title exceeds
seo_title_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_SEO_DESCRIPTION_TOO_LONGSEO description exceeds
seo_description_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_NAME_INVALID_CHARSThe name contains a line break or another control character.
-
400BLOG_CATEGORY_DESCRIPTION_INVALID_CHARSThe description contains a control character other than a line break or tab.
-
400BLOG_CATEGORY_SEO_TITLE_INVALID_CHARSThe SEO title contains a line break or another control character.
-
400BLOG_CATEGORY_SEO_DESCRIPTION_INVALID_CHARSThe SEO description contains a line break or another control character.
-
400TEMPLATE_HANDLE_INVALIDTemplate handle is empty or not valid for Blog Category templates.
-
400TEMPLATE_HANDLE_NOT_FOUNDTemplate handle does not exist on the store's primary active theme for Blog Category.
-
409BLOG_CATEGORY_DUPLICATEName or slug is already used by another blog category in this store, in any language.
-
400ROBOTS_INVALIDrobotsis not index or noindex. -
400FILE_REF_INVALID_IDsocial_image_idis not a valid file id. -
404FILE_REF_NOT_FOUNDsocial_image_iddoes not reference a file in this store. -
400FILE_REF_NOT_IMAGEsocial_image_idis not an image. -
400FILE_REF_MEDIA_LIBRARY_ONLYsocial_image_idis a site asset; choose an image from the Media library. -
403STORE_API_SCOPE_REQUIREDA non-empty
social_image_idrequiresread_filesin addition towrite_blog. -
400BLOG_CATEGORY_SLUG_GENERATION_FAILEDNo slug could be generated from the name; send a slug.
-
400BLOG_CATEGORY_UNIQUE_SLUG_GENERATION_FAILEDNo free slug could be generated from the name; send a slug.
-
400BLOG_CATEGORY_PLAN_LIMIT_REACHEDThis store is at its plan blog category cap (
max_per_storein the limits). -
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update a blog category
Update a blog category.
Updates provided Blog Category fields. Omitted fields are left unchanged. Send null or an empty string to clear description, seo_title or seo_description (stored as null); a source field that has translations cannot be cleared (TRANSLATION_SOURCE_FIELD_HAS_TRANSLATIONS). name, slug, template_handle and create_redirect cannot be null. When slug is provided it must be non-empty and valid, and it is saved in lowercase; create is the only path that generates a blank slug from the name. When the slug changes, create_redirect (default true) adds a redirect from the old URL; with false the old URL is left to 404 and redirects that pointed at it move to the new URL. Re-sending the current template_handle is accepted even after that template left the theme. Description and SEO changes, like name and slug changes, mark existing translations of that field as outdated. Unknown or wrongly typed body properties are refused. storefront_url is the canonical absolute URL on the store's primary domain. storefront_path is the domain-independent baseline route; join it to the storefront address you are targeting. Hosted storefront responses apply translated slugs and locale/country prefixes.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Category id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
|
string |
Blog Category name. Omit to leave it unchanged. |
slug
|
string |
New slug, saved in lowercase. Omit to leave the current slug unchanged; an empty value is invalid. |
description
|
string |
Plain-text description. Omit to leave it unchanged; send null or an empty string to clear it. |
seo_title
|
string |
SEO title. Omit to leave it unchanged; send null or an empty string to clear it. |
seo_description
|
string |
SEO description. Omit to leave it unchanged; send null or an empty string to clear it. |
template_handle
|
string |
Template assignment. On create, omitting this field or sending an empty string assigns |
robots
|
string |
Search visibility: |
social_image_id
|
uuid |
Optional image shown when the blog category is shared: the id of an uploaded image in this store's Media library. A non-empty value requires |
create_redirect
|
boolean |
When the slug changes, create a redirect from the old URL to the new one. Defaults to true. With false the old URL is left to 404, and redirects that pointed at it move to the new URL. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_CATEGORY_IDThe blog category id is not a valid UUID.
-
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON or not a JSON object.
-
400BLOG_CATEGORY_NAME_REQUIREDName is empty after normalization.
error.details.fieldisname. -
400BLOG_CATEGORY_NAME_TOO_LONGName exceeds
name_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_SLUG_FORMATSlug is not valid for Blog Category URLs.
-
400BLOG_CATEGORY_SLUG_TOO_LONGSlug exceeds
slug_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_DESCRIPTION_TOO_LONGDescription exceeds
description_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_SEO_TITLE_TOO_LONGSEO title exceeds
seo_title_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_SEO_DESCRIPTION_TOO_LONGSEO description exceeds
seo_description_max_lengthfrom the Blog Category limits. -
400BLOG_CATEGORY_NAME_INVALID_CHARSThe name contains a line break or another control character.
-
400BLOG_CATEGORY_DESCRIPTION_INVALID_CHARSThe description contains a control character other than a line break or tab.
-
400BLOG_CATEGORY_SEO_TITLE_INVALID_CHARSThe SEO title contains a line break or another control character.
-
400BLOG_CATEGORY_SEO_DESCRIPTION_INVALID_CHARSThe SEO description contains a line break or another control character.
-
400TEMPLATE_HANDLE_INVALIDTemplate handle is empty or not valid for Blog Category templates.
-
400TEMPLATE_HANDLE_NOT_FOUNDTemplate handle does not exist on the store's primary active theme for Blog Category.
-
409BLOG_CATEGORY_DUPLICATEName or slug is already used by another blog category in this store, in any language.
-
400ROBOTS_INVALIDrobotsis not index or noindex. -
400FILE_REF_INVALID_IDsocial_image_idis not a valid file id. -
404FILE_REF_NOT_FOUNDsocial_image_iddoes not reference a file in this store. -
400FILE_REF_NOT_IMAGEsocial_image_idis not an image. -
400FILE_REF_MEDIA_LIBRARY_ONLYsocial_image_idis a site asset; choose an image from the Media library. -
403STORE_API_SCOPE_REQUIREDA non-empty
social_image_idrequiresread_filesin addition towrite_blog. -
400BLOG_CATEGORY_SLUG_REQUIREDSlug is empty. Only create generates a slug from the name.
-
409TRANSLATION_SOURCE_FIELD_HAS_TRANSLATIONSA source field cannot be cleared while it has translations in any locale.
-
404NOT_FOUNDBlog Category does not exist in this store.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Delete a blog category
Delete a blog category.
Deletes a Blog Category with its translations, custom-data values and the redirects Tringify created when its URL changed (in every language); each removed redirect sends redirects/delete. Redirects you created yourself are kept. When blog posts (in any status) are assigned to it, say what happens to them: reassign_to_category_id moves them to another category (a post already in that category just loses this one), or remove_from_posts: true takes this category off them; without either the delete returns BLOG_CATEGORY_HAS_POSTS. Every changed post sends blog_posts/update with changed_fields: ["categories"]. Up to 100 posts change in this request and the category is deleted: the response is {deleted: true, lifecycle: null} with code BLOG_CATEGORY_DELETED. With more, the posts change in a background lifecycle job, 100 at a time, and the category is deleted when every post is done: the response is {deleted: false, lifecycle: {id, kind, status, processed, total, message}} with code BLOG_CATEGORY_DELETION_QUEUED; poll GET /blog/categories/lifecycle-jobs/{job_id}. While such a job runs, deleting the category or its replacement returns BLOG_CATEGORY_MOVE_IN_PROGRESS. If menus link to the blog category or storefront theme settings use it, the first request returns CONFIRMATION_REQUIRED listing the menu links that will be removed and the storefront places that go empty; repeat it with confirmed: true and the returned token to delete. Unknown or wrongly typed body properties are refused.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Category id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
reassign_to_category_id
|
uuid |
Move the assigned blog posts to this category. It must be another existing category. |
remove_from_posts
|
boolean |
Take this category off the assigned blog posts instead of moving them. Do not combine with |
confirmed
|
boolean |
Set true only when retrying after CONFIRMATION_REQUIRED. |
confirmation_token
|
string |
Token returned by CONFIRMATION_REQUIRED. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_CATEGORY_IDThe blog category id is not a valid UUID.
-
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON or not a JSON object.
-
400BLOG_CATEGORY_CONFIRMATION_INVALIDThe confirmation token is missing, expired, or does not match this delete.
-
409CONFIRMATION_REQUIREDMenus link to a requested blog category or storefront theme settings use one. The details list the menu links that will be removed and the storefront places that go empty; repeat the request with
confirmed: trueand the returned token. -
404NOT_FOUNDBlog Category does not exist in this store.
-
409BLOG_CATEGORY_HAS_POSTSThe blog category has blog posts assigned (in any status) and the request says neither
reassign_to_category_idnorremove_from_posts. The message counts them. -
400BLOG_CATEGORY_REASSIGN_TARGET_INVALIDreassign_to_category_idis not another category of this store, or it is being deleted. -
400BLOG_CATEGORY_REASSIGN_CHOICE_INVALIDBoth
reassign_to_category_idandremove_from_postswere sent. -
409BLOG_CATEGORY_MOVE_IN_PROGRESSA running deletion job still moves posts out of this blog category or into it.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get a blog category deletion job
Fetch the progress of a blog category deletion job.
Returns the lifecycle job a blog category delete started: kind is category_reassign, status is running, completed (every post changed and the category deleted) or failed, processed and total count posts, and message is the localized progress or result. A failed job names its cause in failure_code (otherwise null): the posts it changed keep their new categories and the category is kept; delete it again to retry. A job that hits a temporary error retries with a growing delay and stays running.
Path parameters
| Name | Type | Description |
|---|---|---|
job_id
required
|
uuid |
|
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400INVALID_INPUTjob_idis not a valid UUID. -
404NOT_FOUNDNo blog category deletion job with this id exists in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Bulk delete blog categories
Delete multiple blog categories.
Deletes unassigned Blog Categories together, with their translations, custom-data values and the redirects Tringify created when their URLs changed, up to bulk_delete_max_items from the limits; a repeated id counts once. Deleted ids are listed in deleted. Each id that was not deleted is listed in failed as {id, name, code, reason} (name only when the category was found): code is NOT_FOUND (no such category in this store), BLOG_CATEGORY_HAS_POSTS (posts are assigned to it) or CONFLICT (its posts changed while it was being deleted; send it again), and reason is the message. If menus link to the rest or storefront theme settings use them, the first request returns CONFIRMATION_REQUIRED listing the menu links and the storefront places that go empty, and makes no changes; repeat the same ids with confirmed: true and the returned token. Unknown or wrongly typed body properties are refused.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
category_ids
required
|
array<uuid> |
Blog Category ids to delete. |
confirmed
|
boolean |
Set true only when retrying after CONFIRMATION_REQUIRED. |
confirmation_token
|
string |
Token returned by CONFIRMATION_REQUIRED. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_CATEGORY_IDA requested blog category id is not a valid UUID.
-
400BLOG_CATEGORY_BULK_NO_IDScategory_idsis missing or empty. -
400BLOG_CATEGORY_BULK_DELETE_TOO_MANYMore ids than
bulk_delete_max_itemsfrom the Blog Category limits. -
400STORE_API_INVALID_REQUEST_BODYThe body is not valid JSON or not a JSON object.
-
400BLOG_CATEGORY_CONFIRMATION_INVALIDThe confirmation token is missing, expired, or does not match this delete.
-
409CONFIRMATION_REQUIREDMenus link to a requested blog category or storefront theme settings use one. The details list the menu links that will be removed and the storefront places that go empty; repeat the request with
confirmed: trueand the returned token. -
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Delete blog category metafield
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
|
uuid |
Blog Category id. |
namespace
required
|
string |
Definition namespace; URL-encode reserved characters. |
key
required
|
string |
Definition key. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400INVALID_INPUTThe owner ID or namespace/key address is invalid.
-
400METAFIELD_KEY_NOT_FOUNDThe definition does not exist or is not readable by this caller.
-
403METAFIELD_WRITE_APP_OWN_ONLYApps may clear only their own definitions' values, even when other definitions are readable.
-
403METAFIELD_WRITE_MERCHANT_READ_ONLYThe app-owned definition does not grant merchants value write access.
-
403STORE_API_SCOPE_REQUIREDThe token lacks the owner's write scope. Clearing a value needs no additional read_files or write_translations scope.
-
404NOT_FOUNDThe owner does not exist in the authenticated store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe request body has a property; this endpoint takes no body. Send no body or an empty object
{}. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Fields#
Field |
Type |
Create |
Update |
Required |
Translatable |
|---|---|---|---|---|---|
|
string |
Yes |
Yes |
create |
Yes |
|
string |
Yes |
Yes |
Yes |
|
|
string |
Yes |
Yes |
Yes |
|
|
string |
Yes |
Yes |
Yes |
|
|
string |
Yes |
Yes |
Yes |
|
|
string |
Yes |
Yes |
No |
|
|
string (UUID) |
Yes |
Yes |
No |
|
|
string |
Yes |
Yes |
No |
|
|
boolean |
No |
Yes |
No |
|
|
integer |
No |
No |
No |
|
|
string (RFC 3339) |
No |
No |
No |
|
|
string (RFC 3339) |
No |
No |
No |
|
|
url |
No |
No |
No |
No |
|
string |
No |
No |
No |
No |
Webhook events#
Subscribe to these events to keep your integration in sync with blog categories. Each event shows the required Store API scope and store permission, the available payload fields, and an example payload. Subscription setup is validated against those permissions; delivery is always restricted to the subscription's store.
Metafield events are filtered for every subscriber. An app receives events for definitions it owns. With the event's required scope, it also receives merchant-owned definitions and definitions shared by another app through app_access: shared; another app's private definitions are not delivered. A store-level webhook endpoint receives merchant-owned definitions and app-owned definitions unless merchant_access is hidden. If an event cannot identify the definition owner or its access settings, Tringify does not deliver it.
Blog category created
Fired when a blog category is created.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_category |
object |
Always present |
blog_category.id |
string |
Always present |
blog_category.name |
string |
Always present |
blog_category.slug |
string |
Always present |
blog_category.description |
string | null |
Always present
The category's plain-text description, or null when it has none. Always present. |
blog_category.seo_title |
string | null |
Always present
The category's SEO title, or null when it has none (the storefront then uses the name). Always present. |
blog_category.seo_description |
string | null |
Always present
The category's SEO description, or null when it has none (the storefront then uses the description). Always present. |
blog_category.template_handle |
string |
Always present
The category's template handle; default_blog_category when it uses the default template. Never null. |
blog_category.robots |
string |
Always present
Search visibility of the category page: index or noindex. Never null. |
blog_category.social_image_id |
string | null |
Always present
The Media library image shown when the category page is shared, or null when none is set. Deleting the image from the Media library sets it to null and sends blog_categories/update with changed_fields social_image_id. Always present. |
blog_category.post_count |
integer |
Always present
How many blog posts are assigned to the category, in any status (drafts and scheduled posts count). Assigning or removing posts changes it without sending blog_categories/update. |
blog_category.created_at |
string |
Always present |
blog_category.updated_at |
string |
Always present |
Blog category updated
Fired when a blog category's name, slug, description, SEO fields, search visibility, share image or template change; changed_fields names them. Also sent when a deleted Media file was its share image: changed_fields is social_image_id and the image is now empty. Assigning posts to it or removing them changes post_count without this event.
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 name robots seo_description seo_title slug social_image_id template_handle
Payload fields
| Field | Type | Description |
|---|---|---|
blog_category |
object |
Always present |
blog_category.id |
string |
Always present |
blog_category.name |
string |
Always present |
blog_category.slug |
string |
Always present |
blog_category.description |
string | null |
Always present
The category's plain-text description, or null when it has none. Always present. |
blog_category.seo_title |
string | null |
Always present
The category's SEO title, or null when it has none (the storefront then uses the name). Always present. |
blog_category.seo_description |
string | null |
Always present
The category's SEO description, or null when it has none (the storefront then uses the description). Always present. |
blog_category.template_handle |
string |
Always present
The category's template handle; default_blog_category when it uses the default template. Never null. |
blog_category.robots |
string |
Always present
Search visibility of the category page: index or noindex. Never null. |
blog_category.social_image_id |
string | null |
Always present
The Media library image shown when the category page is shared, or null when none is set. Deleting the image from the Media library sets it to null and sends blog_categories/update with changed_fields social_image_id. Always present. |
blog_category.post_count |
integer |
Always present
How many blog posts are assigned to the category, in any status (drafts and scheduled posts count). Assigning or removing posts changes it without sending blog_categories/update. |
blog_category.created_at |
string |
Always present |
blog_category.updated_at |
string |
Always present |
changed_fields |
array |
Always present |
Blog category deleted
Fired when a blog category is deleted. The same delete sends blog_categories/translations/delete for each translated language, blog_category_metafields/delete for its values and redirects/delete for the redirects Tringify had created to its URLs; events of different topics can arrive in any order.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_category |
object |
Always present |
blog_category.id |
string |
Always present |
blog_category.name |
string |
Always present |
blog_category.slug |
string |
Always present |
blog_category.description |
string | null |
Always present
The category's plain-text description, or null when it has none. Always present. |
blog_category.seo_title |
string | null |
Always present
The category's SEO title, or null when it has none (the storefront then uses the name). Always present. |
blog_category.seo_description |
string | null |
Always present
The category's SEO description, or null when it has none (the storefront then uses the description). Always present. |
blog_category.template_handle |
string |
Always present
The category's template handle; default_blog_category when it uses the default template. Never null. |
blog_category.robots |
string |
Always present
Search visibility of the category page: index or noindex. Never null. |
blog_category.social_image_id |
string | null |
Always present
The Media library image shown when the category page is shared, or null when none is set. Deleting the image from the Media library sets it to null and sends blog_categories/update with changed_fields social_image_id. Always present. |
blog_category.post_count |
integer |
Always present
How many blog posts are assigned to the category, in any status (drafts and scheduled posts count). Assigning or removing posts changes it without sending blog_categories/update. |
blog_category.created_at |
string |
Always present |
blog_category.updated_at |
string |
Always present |
Blog category metafield value created
Fired when a blog category metafield value is created.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_category |
object |
Always present |
blog_category.id |
string |
Always present |
blog_category.name |
string |
Selectable in the Payload builder |
blog_category.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.display_value |
string | null |
Selectable in the Payload builder |
metafield.display_value_map |
object |
Selectable in the Payload builder |
metafield.created_at |
string |
Selectable in the Payload builder |
metafield.updated_at |
string |
Selectable in the Payload builder |
Blog category metafield value updated
Fired when a blog category 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 |
|---|---|---|
blog_category |
object |
Always present |
blog_category.id |
string |
Always present |
blog_category.name |
string |
Selectable in the Payload builder |
blog_category.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.display_value |
string | null |
Selectable in the Payload builder |
previous.display_value_map |
object |
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.display_value |
string | null |
Selectable in the Payload builder |
current.display_value_map |
object |
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 |
Blog category metafield value deleted
Fired when a blog category metafield value is deleted, including when its blog category is deleted.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_category |
object |
Always present |
blog_category.id |
string |
Always present |
blog_category.name |
string |
Selectable in the Payload builder |
blog_category.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.display_value |
string | null |
Selectable in the Payload builder |
metafield.display_value_map |
object |
Selectable in the Payload builder |
metafield.created_at |
string |
Selectable in the Payload builder |
metafield.updated_at |
string |
Selectable in the Payload builder |