Blog posts contain a title, sanitized HTML content, an author, optional categories and tags, and publishing and SEO settings. Reads require read_blog; writes require write_blog. Setting a non-empty featured_image_id also requires read_files.
Create a post as a draft, publish it, or schedule its publication. author_ref must identify an author in the same store. Category and tag arrays replace the current assignments when supplied; omit them to preserve assignments or send [] to clear them. A JSON null clears an optional field such as excerpt, SEO, the featured image, or publish_at. Omitting the field leaves the stored value. An omitted or empty update slug preserves the current address. POST /blog/posts/{id}/preview returns a storefront URL that shows the post as it is now; anyone with the link can open it for 2 hours, so share it only with people who may see the unpublished post. The response is not cacheable.
Large deletions and author reassignments run as jobs. Deleting posts that hold more than 100 comments (one post, or a bulk selection together) archives them at once, sending blog_posts/update, and a background job removes the comments and then the posts; the response carries the job in lifecycle. A scheduled post that cannot be published reports schedule_state and a merchant message.
Translate post content through Blog Post translations. Translation calls require the corresponding blog and translation scopes. Metafield definitions are discovered by namespace and key; the dedicated metafield endpoints document their access rules.
Endpoints#
Blog Post limits
Fetch Blog Post limits and per-field constraints.
Returns the per-field maximum lengths, enum values, and request caps that apply to Blog Post endpoints. 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. status_options lists each status value with its English display label.
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 posts
List blog posts for the store.
Returns paginated Blog Posts. 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. Filter by search, status, author, category, tag, or publication date. Invalid pagination, UUID, and sort parameters are rejected instead of silently defaulted. Each blog post carries status_display, its status as shown in Tringify, in English. 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 and avoid deep offsets. Invalid or stale cursors return INVALID_INPUT on cursor; restart from the first page. |
page
|
integer |
Page number. |
limit
|
integer |
Page size, up to |
search
|
string |
Search Blog Posts by title or slug. |
status
|
string |
Filter by status. |
author_ref
|
uuid |
Filter by blog author id. |
category_id
|
uuid |
Filter by assigned blog category id. |
tag_id
|
uuid |
Filter by assigned blog tag id. |
publication_date_from
|
date |
Include posts published or scheduled on or after this store-local date (YYYY-MM-DD). |
publication_date_to
|
date |
Include posts published or scheduled on or before this store-local date (YYYY-MM-DD). |
references_metaobject
|
uuid |
Custom content entry id: only posts whose custom data references the entry (a metaobject reference or list of them). What Get where an entry is used counts. |
sort_by
|
string |
Sort field from the Blog Post list contract.
Allowed values
titlestatusauthorcomment_countpublished_atpublish_atcreated_atupdated_at |
sort_direction
|
string |
Sort direction from the Blog Post 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 within the Blog Post contract cap.
-
400VALIDATION_LIST_INVALID_SORT_BYSort field is not supported.
-
400VALIDATION_LIST_INVALID_SORT_DIRECTIONSort direction must be asc or desc.
-
400BLOG_POST_SEARCH_TOO_LONGSearch exceeds the Blog Post contract max length.
-
400BLOG_POST_STATUS_FILTER_INVALIDStatus is not one of the allowed values.
-
400BLOG_POST_PUBLICATION_DATE_FILTER_INVALIDPublication dates must use YYYY-MM-DD and form a valid range.
-
400STORE_API_INVALID_AUTHOR_IDauthor_refis not a UUID. -
400STORE_API_INVALID_CATEGORY_IDCategory id is not a UUID.
-
400STORE_API_INVALID_TAG_IDTag id is not a UUID.
-
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.
Search blog posts
Search blog posts for picker UIs.
Returns lightweight post options ordered by title. limit defaults to 50 and may be at most 100 (the Blog Post contract's search limits); a larger value is refused with VALIDATION_LIST_INVALID_LIMIT. When has_more is true, send next_cursor as cursor to read the next page.
Query parameters
| Name | Type | Description |
|---|---|---|
q
|
string |
Search query. |
status
|
string |
Filter by status. |
limit
|
integer |
Suggestion count, 1 to 100. Defaults to 50. |
offset
|
integer |
Result offset, for a request without |
cursor
|
string |
|
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_LIMITLimit is not a positive integer or exceeds the Blog Post contract's search max_limit.
-
400INVALID_INPUTOffset is below zero, or cursor is invalid or stale; restart from the first page.
-
400BLOG_POST_SEARCH_TOO_LONGSearch exceeds the Blog Post contract max length.
-
400BLOG_POST_STATUS_FILTER_INVALIDStatus is not one of the allowed values.
-
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 post
Fetch one blog post by id.
Returns the Blog Post if it belongs to the token's store. status_display is its status as shown in Tringify, in English. 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 Post 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_BLOG_POST_IDThe blog post id is not a valid UUID.
-
404NOT_FOUNDBlog Post 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.
Preview a blog post
Get a short-lived storefront preview link for a blog post.
Returns url, the blog post's storefront address with a signed blog_preview parameter that shows it as it is now, published or not. The link works for 2 hours, and anyone who has it can open the preview in that time; share it only with people who may see the unpublished blog post. Send no body, or {}.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Post 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.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400STORE_API_INVALID_BLOG_POST_IDThe blog post id is not a valid UUID.
-
404NOT_FOUNDBlog Post does not exist in this 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.
List blog post 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 Post 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.
-
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 post 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.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Post 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_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 post
Create a blog post.
Creates a Blog Post. title and author_ref are required; status defaults to draft. author_ref must identify an author in this store. slug is optional on create; when omitted or empty, the backend generates it from the title. Send a UUID Idempotency-Key header. Exact retries replay the original response, content_warnings included, for seven days without creating another post. The key is looked up before validation, so a retry still replays after a scheduled time has passed or an assigned category or tag was deleted. Reusing a key with different content returns 409. A past publish_at is refused only for scheduled status. 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. |
Idempotency-Key
required
|
uuid |
Stable UUID for this create request. Reuse with identical content after a timeout; retained for seven days. |
Body parameters
| Name | Type | Description |
|---|---|---|
title
required
|
string |
Blog Post title. |
slug
|
string |
Optional slug. Omit to generate from title. |
content
|
string |
Optional HTML content. Unsafe markup (scripts, frames, event handlers, unsupported links) is removed on save, and the response then lists a warning in |
excerpt
|
string |
Optional excerpt. |
featured_image_id
|
string |
Optional image file id. Non-empty values must reference an image in this store. |
author_ref
required
|
uuid |
Store-scoped blog author id. |
seo_title
|
string |
Optional SEO title. |
seo_description
|
string |
Optional SEO description. |
status
|
string |
Post status: draft, scheduled, published, or archived. Defaults to draft on create. |
publish_at
|
string |
Publication time, as a local datetime in the store timezone or RFC 3339 with an offset. Required for scheduled status. |
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 post is shared: the id of an uploaded image in this store's Media library. Without one, the featured image is used. A non-empty value requires |
category_ids
|
array<uuid> |
Category ids to assign. |
tag_ids
|
array<uuid> |
Tag ids to assign. |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_AUTHOR_REQUIREDauthor_refis empty. -
400BLOG_POST_TITLE_REQUIREDTitle is empty after normalization.
-
400BLOG_POST_TITLE_TOO_LONGTitle exceeds the Blog Post contract max length.
-
400BLOG_POST_SLUG_FORMATSlug is not valid for Blog Post URLs.
-
400BLOG_POST_SLUG_TOO_LONGSlug exceeds the Blog Post contract max length.
-
400STORE_API_INVALID_AUTHOR_IDauthor_refis not a UUID. -
404BLOG_AUTHOR_NOT_FOUNDAuthor does not exist in this store.
-
400BLOG_POST_CONTENT_TOO_LONGContent exceeds the Blog Post contract max length.
-
400BLOG_POST_EXCERPT_TOO_LONGExcerpt exceeds the Blog Post contract max length.
-
400BLOG_POST_SEO_TITLE_TOO_LONGSEO title exceeds the Blog Post contract max length.
-
400BLOG_POST_SEO_DESCRIPTION_TOO_LONGSEO description exceeds the Blog Post contract max length.
-
400BLOG_POST_STATUS_INVALIDStatus is not one of the allowed values.
-
400BLOG_POST_PUBLISH_DATE_REQUIREDScheduled posts require publish_at.
-
400BLOG_POST_CATEGORY_IDS_INVALIDOne or more category ids do not exist in this store.
-
400BLOG_POST_TAG_IDS_INVALIDOne or more tag ids do not exist in this store.
-
400BLOG_POST_CATEGORIES_TOO_MANYCategory assignments exceed the per-post cap.
-
400BLOG_POST_TAGS_TOO_MANYTag assignments exceed the per-post cap.
-
400TEMPLATE_HANDLE_INVALIDTemplate handle is not valid for Blog Post templates.
-
400TEMPLATE_HANDLE_NOT_FOUNDTemplate handle does not exist on the store's primary active theme for Blog Post.
-
409BLOG_POST_SLUG_DUPLICATESlug already exists in this store.
-
400FILE_REF_INVALID_IDfeatured_image_idis not a valid file id.social_image_idis not a valid file id. -
404FILE_REF_NOT_FOUNDfeatured_image_iddoes not reference a file in this store.social_image_iddoes not reference a file in this store. -
400FILE_REF_NOT_IMAGEfeatured_image_idis not an image.social_image_idis not an image. -
400FILE_REF_MEDIA_LIBRARY_ONLYfeatured_image_idis a site asset; choose an image from the Media library.social_image_idis a site asset; choose an image from the Media library. -
400FILE_REF_UPLOAD_IDfeatured_image_idis an upload id; the message names the file id to send instead. -
409FILE_REF_UPLOAD_PROCESSINGfeatured_image_idis an upload that is still processing; retry when it is ready. -
400FILE_REF_UPLOAD_FAILEDfeatured_image_idis an upload that failed; the message gives the reason. -
403STORE_API_SCOPE_REQUIREDA non-empty featured_image_id or social_image_id requires read_files in addition to write_blog.
-
400ROBOTS_INVALIDrobotsis not index or noindex. -
400BLOG_POST_PUBLISH_AT_INVALID_FORMATpublish_at is not a valid store-local or RFC 3339 datetime.
-
400BLOG_POST_SCHEDULED_DATE_PASTA scheduled post's publish_at is in the past.
-
400CONTENT_REQUEST_KEY_REQUIREDA UUID Idempotency-Key header is required.
-
409CONTENT_REQUEST_KEY_CONFLICTThe key was used with different content.
-
400BLOG_POST_PLAN_LIMIT_REACHEDThis store is at its plan blog post cap.
-
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 post
Update a blog post.
Updates provided Blog Post fields. Supply expected_revision from the latest Get response; missing or stale revisions return CONTENT_REVISION_CONFLICT (409), also when the update changes nothing. Omitted fields are left unchanged. A blank slug keeps the current slug; a non-empty slug is normalized and validated. Set create_redirect to false to suppress the default redirect when the slug changes: no redirect is created for the old URL and redirects that pointed to it move to the new URL. The storefront still sends a visitor from a slug the post has held, in any language, to the post. A past publish_at is refused only when the post is or becomes scheduled. 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 Post id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
title
|
string |
Blog Post title. |
slug
|
string |
Optional new slug. Omit or send blank to keep the current slug; a non-empty slug is normalized and validated. |
content
|
string |
Optional HTML content. Unsafe markup (scripts, frames, event handlers, unsupported links) is removed on save, and the response then lists a warning in |
excerpt
|
string |
Optional excerpt. |
featured_image_id
|
string |
Optional image file id. Non-empty values must reference an image in this store. |
author_ref
|
uuid |
Store-scoped blog author id. |
seo_title
|
string |
Optional SEO title. |
seo_description
|
string |
Optional SEO description. |
status
|
string |
Post status: draft, scheduled, published, or archived. Defaults to draft on create. |
publish_at
|
string |
Publication time, as a local datetime in the store timezone or RFC 3339 with an offset. Required for scheduled status. |
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 post is shared: the id of an uploaded image in this store's Media library. Without one, the featured image is used. A non-empty value requires |
category_ids
|
array<uuid> |
Category ids to assign. |
tag_ids
|
array<uuid> |
Tag ids to assign. |
create_redirect
|
boolean |
When slug changes, create a redirect from the previous post URL. Defaults to true. With false no redirect is created and redirects to the old URL move to the new one; the storefront still resolves slugs the post has held, in any language, to the post. |
expected_revision
required
|
integer |
Copy revision from Get blog post. Missing or stale revisions return CONTENT_REVISION_CONFLICT (409); reload before retrying. |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_AUTHOR_REQUIREDauthor_refis empty. -
400BLOG_POST_TITLE_REQUIREDTitle is empty after normalization.
-
400BLOG_POST_TITLE_TOO_LONGTitle exceeds the Blog Post contract max length.
-
400BLOG_POST_SLUG_FORMATSlug is not valid for Blog Post URLs.
-
400BLOG_POST_SLUG_TOO_LONGSlug exceeds the Blog Post contract max length.
-
400STORE_API_INVALID_AUTHOR_IDauthor_refis not a UUID. -
404BLOG_AUTHOR_NOT_FOUNDAuthor does not exist in this store.
-
400BLOG_POST_CONTENT_TOO_LONGContent exceeds the Blog Post contract max length.
-
400BLOG_POST_EXCERPT_TOO_LONGExcerpt exceeds the Blog Post contract max length.
-
400BLOG_POST_SEO_TITLE_TOO_LONGSEO title exceeds the Blog Post contract max length.
-
400BLOG_POST_SEO_DESCRIPTION_TOO_LONGSEO description exceeds the Blog Post contract max length.
-
400BLOG_POST_STATUS_INVALIDStatus is not one of the allowed values.
-
400BLOG_POST_PUBLISH_DATE_REQUIREDScheduled posts require publish_at.
-
400BLOG_POST_CATEGORY_IDS_INVALIDOne or more category ids do not exist in this store.
-
400BLOG_POST_TAG_IDS_INVALIDOne or more tag ids do not exist in this store.
-
400BLOG_POST_CATEGORIES_TOO_MANYCategory assignments exceed the per-post cap.
-
400BLOG_POST_TAGS_TOO_MANYTag assignments exceed the per-post cap.
-
400TEMPLATE_HANDLE_INVALIDTemplate handle is not valid for Blog Post templates.
-
400TEMPLATE_HANDLE_NOT_FOUNDTemplate handle does not exist on the store's primary active theme for Blog Post.
-
409BLOG_POST_SLUG_DUPLICATESlug already exists in this store.
-
400FILE_REF_INVALID_IDfeatured_image_idis not a valid file id.social_image_idis not a valid file id. -
404FILE_REF_NOT_FOUNDfeatured_image_iddoes not reference a file in this store.social_image_iddoes not reference a file in this store. -
400FILE_REF_NOT_IMAGEfeatured_image_idis not an image.social_image_idis not an image. -
400FILE_REF_MEDIA_LIBRARY_ONLYfeatured_image_idis a site asset; choose an image from the Media library.social_image_idis a site asset; choose an image from the Media library. -
400FILE_REF_UPLOAD_IDfeatured_image_idis an upload id; the message names the file id to send instead. -
409FILE_REF_UPLOAD_PROCESSINGfeatured_image_idis an upload that is still processing; retry when it is ready. -
400FILE_REF_UPLOAD_FAILEDfeatured_image_idis an upload that failed; the message gives the reason. -
403STORE_API_SCOPE_REQUIREDA non-empty featured_image_id or social_image_id requires read_files in addition to write_blog.
-
400ROBOTS_INVALIDrobotsis not index or noindex. -
400BLOG_POST_PUBLISH_AT_INVALID_FORMATpublish_at is not a valid store-local or RFC 3339 datetime.
-
400BLOG_POST_SCHEDULED_DATE_PASTA scheduled post's publish_at is in the past.
-
409CONTENT_REVISION_CONFLICTexpected_revision is missing or stale. Reload before retrying.
-
409TRANSLATION_SOURCE_FIELD_HAS_TRANSLATIONSRemove translations before clearing their source field.
-
400STORE_API_INVALID_BLOG_POST_IDThe blog post id is not a valid UUID.
-
404NOT_FOUNDBlog Post 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 post
Delete a blog post.
Deletes a Blog Post together with its category/tag assignments, comments, and translations. Each cascaded comment emits blog_comments/delete. Menu references require confirmation and are removed after the confirmed delete. A post with more than 100 comments is archived at once (sending blog_posts/update with changed_fields: ["status"] unless it was already archived) and a background job removes its comments, 100 at a time, then the post: the response code is then BLOG_POST_DELETION_QUEUED and data.lifecycle holds the job (id, kind, status, processed, total, message). Custom data values on other items that point to the blog post (a blog post reference field or a list of them) are counted in the same confirmation; the confirmed delete removes the blog post from them in the same transaction: a list keeps its other items, a value that named only this blog post is removed, and each changed value sends its owner's metafield webhook (<owner>_metafields/update when a list keeps items, <owner>_metafields/delete when the value goes, for example product_metafields/update). Custom content entry fields that point to it lose it too. Order and order-line values keep the id: orders record the moment.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
uuid |
Blog Post id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
confirmed
|
boolean |
Set true only when retrying after |
confirmation_token
|
string |
Single-use token returned by |
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_BLOG_POST_IDThe blog post id is not a valid UUID.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
404NOT_FOUNDBlog Post does not exist in this store.
-
400BLOG_POST_CONFIRMATION_INVALIDConfirmation token is missing, expired, or does not match this delete.
-
409CONFIRMATION_REQUIREDMenus reference this post. Review the warnings and retry with 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.
Bulk delete blog posts
Delete multiple blog posts.
Deletes multiple Blog Posts in one request together with their assignments, comments, and translations. Each cascaded comment emits blog_comments/delete. Menu references require confirmation and are removed after the confirmed delete. The request is capped by the Blog Post bulk contract. When the selected posts hold more than 100 comments together, every selected post is archived at once (sending blog_posts/update with changed_fields: ["status"] for each one not already archived) and deleted by a background job, one per post: the response code is then BLOG_POSTS_DELETION_QUEUED, data.deleted is 0, data.queued counts the posts, and data.lifecycle lists the jobs. Custom data values on other items that point to any requested blog post (a blog post reference field or a list of them) are counted in the same confirmation; the confirmed delete removes the deleted blog posts from them in the same transaction: a list keeps its other items, a value that named only deleted blog posts is removed, and each changed value sends its owner's metafield webhook (<owner>_metafields/update when a list keeps items, <owner>_metafields/delete when the value goes, for example product_metafields/update). Custom content entry fields that point to them lose them too. Order and order-line values keep the id: orders record the moment.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
post_ids
required
|
array<uuid> |
Blog Post ids to delete. |
confirmed
|
boolean |
Set true only when retrying after |
confirmation_token
|
string |
Single-use token returned by |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_BULK_NO_IDSNo Blog Post ids were provided.
-
400BLOG_POST_BULK_DELETE_TOO_MANYBatch exceeds the Blog Post bulk delete cap.
-
400BLOG_POST_IDS_INVALIDA post id is not a valid UUID, or one or more post ids do not exist in this store.
-
400BLOG_POST_CONFIRMATION_INVALIDConfirmation token is missing, expired, or does not match the exact selected ids.
-
409CONFIRMATION_REQUIREDMenus reference one or more selected posts. Review the warnings and retry with 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.
Bulk update blog post status
Update status for multiple blog posts.
Sets draft, published, or archived status on all supplied post ids. Posts already in that status are left unchanged (no webhook, revision or updated_at change) and are not counted in the message. Schedule posts individually because this endpoint does not accept a publish date.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
post_ids
required
|
array<uuid> |
Blog Post ids to update. |
status
required
|
string |
New post status: draft, published, or archived. |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_BULK_NO_IDSNo Blog Post ids were provided.
-
400BLOG_POST_BULK_UPDATE_TOO_MANYBatch exceeds the Blog Post bulk update cap.
-
400BLOG_POST_IDS_INVALIDA post id is not a valid UUID, or one or more post ids do not exist in this store.
-
400BLOG_POST_STATUS_INVALIDStatus must be draft, published, or archived.
-
400BLOG_POST_PUBLISH_DATE_REQUIREDScheduled status is not supported by this bulk endpoint.
-
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.
Bulk assign categories
Assign categories to multiple blog posts.
Adds the supplied categories to each post while keeping existing categories.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
post_ids
required
|
array<uuid> |
Blog Post ids to update. |
category_ids
required
|
array<uuid> |
Category ids to add. |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_BULK_NO_IDSNo Blog Post ids were provided.
-
400BLOG_POST_BULK_UPDATE_TOO_MANYBatch exceeds the Blog Post bulk update cap.
-
400BLOG_POST_IDS_INVALIDA post id is not a valid UUID, or one or more post ids do not exist in this store.
-
400STORE_API_INVALID_CATEGORY_IDA category id is not a valid UUID.
-
400BLOG_POST_CATEGORY_IDS_INVALIDCategory ids are empty or do not exist in this store.
-
400BLOG_POST_CATEGORIES_TOO_MANYThe resulting category set exceeds the per-post cap.
-
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.
Bulk assign tags
Assign tags to multiple blog posts.
Adds the supplied tags to each post while keeping existing tags.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
post_ids
required
|
array<uuid> |
Blog Post ids to update. |
tag_ids
required
|
array<uuid> |
Tag ids to add. |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_BULK_NO_IDSNo Blog Post ids were provided.
-
400BLOG_POST_BULK_UPDATE_TOO_MANYBatch exceeds the Blog Post bulk update cap.
-
400BLOG_POST_IDS_INVALIDA post id is not a valid UUID, or one or more post ids do not exist in this store.
-
400STORE_API_INVALID_TAG_IDA tag id is not a valid UUID.
-
400BLOG_POST_TAG_IDS_INVALIDTag ids are empty or do not exist in this store.
-
400BLOG_POST_TAGS_TOO_MANYThe resulting tag set exceeds the per-post cap.
-
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.
Bulk remove categories
Remove categories from multiple blog posts.
Removes the supplied categories from each post while keeping every other category assignment.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
post_ids
required
|
array<uuid> |
Blog Post ids to update. |
category_ids
required
|
array<uuid> |
Category ids to remove. |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_BULK_NO_IDSNo Blog Post ids were provided.
-
400BLOG_POST_BULK_UPDATE_TOO_MANYBatch exceeds the Blog Post bulk update cap.
-
400BLOG_POST_IDS_INVALIDA post id is not a valid UUID, or one or more post ids do not exist in this store.
-
400STORE_API_INVALID_CATEGORY_IDA category id is not a valid UUID.
-
400BLOG_POST_CATEGORY_IDS_INVALIDCategory ids are empty or do 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.
Bulk remove tags
Remove tags from multiple blog posts.
Removes the supplied tags from each post while keeping every other tag assignment.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
post_ids
required
|
array<uuid> |
Blog Post ids to update. |
tag_ids
required
|
array<uuid> |
Tag ids to remove. |
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_BODYRequest body is not valid JSON.
-
400BLOG_POST_BULK_NO_IDSNo Blog Post ids were provided.
-
400BLOG_POST_BULK_UPDATE_TOO_MANYBatch exceeds the Blog Post bulk update cap.
-
400BLOG_POST_IDS_INVALIDA post id is not a valid UUID, or one or more post ids do not exist in this store.
-
400STORE_API_INVALID_TAG_IDA tag id is not a valid UUID.
-
400BLOG_POST_TAG_IDS_INVALIDTag ids are empty or do 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.
Change matching blog posts
Queue a change to every blog post that matches a filter.
Selects every blog post matching filter when the request is made (at most 100000) and applies action to them in the background, in steps of at most bulk_max from the limits, each step exactly as the matching bulk endpoint does (webhooks included); a blog post the action would push past the per-post category or tag limit is reported in failures while the others go ahead. Actions: delete deletes each blog post as Bulk delete blog posts does, removing it from other items' custom data values; a step whose posts hold more than 100 comments archives them and deletes them with a background lifecycle job, one per post; update_status sets the status as Bulk update blog post status does; assign_categories adds categories, keeping the others; remove_categories removes categories, keeping the others; assign_tags adds tags, keeping the others; remove_tags removes tags, keeping the others. Returns HTTP 202 with the operation; poll Get blog post bulk operation until its status is no longer queued. For delete, if menus link to any selected blog post or other items' custom data values point to one, the first request returns CONFIRMATION_REQUIRED listing the menu links that will be removed and how many custom data values lose it; repeat it with confirmed: true and the returned token. The token covers exactly the blog posts selected at that moment: if the selection changes before you repeat, the request asks again. Blog Posts created or changed to match after the request are not included. A store runs one blog post bulk operation at a time. Reusing operation_id with the same action, filter and params returns the existing operation; a different request returns 409.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
operation_id
required
|
uuid |
A new UUID for this operation. Reuse it only to repeat the same request after an interrupted one. |
action
required
|
string |
One of
Allowed values
deleteupdate_statusassign_categoriesremove_categoriesassign_tagsremove_tags |
filter
|
object |
The blog posts to change, as the list filters them: |
params
|
object |
What the action sets. |
confirmed
|
boolean |
Set true when repeating a request that returned |
confirmation_token
|
string |
Token returned by the first request. |
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.
-
400CONTENT_BULK_OPERATION_INVALIDoperation_id is not a valid nonzero UUID, or action is not one this list supports.
-
400INVALID_INPUTfilter or params has a field the action does not take.
-
400CONTENT_BULK_OPERATION_NO_MATCHNo blog post matches the filter.
-
400CONTENT_BULK_OPERATION_TOO_MANYMore than 100000 blog posts match the filter.
-
409CONTENT_BULK_OPERATION_ACTIVEAnother blog post bulk operation is still running in this store.
-
409CONTENT_BULK_OPERATION_CONFLICTThis operation_id was already used with a different action, filter or params.
-
409CONFIRMATION_REQUIREDThe action needs confirmation; the details list what it affects. Repeat the request with
confirmed: trueand the returned confirmation token. -
400BLOG_POST_CONFIRMATION_INVALIDThe confirmation token is missing, expired, or does not match this selection.
-
400BLOG_POST_STATUS_FILTER_INVALIDfilter.status is not a post status.
-
400BLOG_POST_PUBLICATION_DATE_FILTER_INVALIDA publication date filter is not a YYYY-MM-DD date, or the range is reversed.
-
400BLOG_POST_SEARCH_TOO_LONGfilter.search is longer than the list's search limit.
-
400BLOG_POST_STATUS_INVALIDparams.status is not published, draft or archived.
-
400BLOG_POST_CATEGORY_IDS_INVALIDparams.category_ids is empty or names a category that is not in this store.
-
400BLOG_POST_TAG_IDS_INVALIDparams.tag_ids is empty or names a tag that is not 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.
Get blog post bulk operation
Read a bulk operation's progress and results.
Use the operation UUID returned when queueing it, or current for the store's running operation (or, when none runs, its newest finished one not yet acknowledged). status is queued (running), completed, cancelled or failed. processed rises from 0 to total as the operation works through the blog posts it selected; succeeded and failed split it (blog posts the action leaves as they were count as succeeded). failures lists each blog post the action could not change with its code and reason (NOT_FOUND when it was already gone); the first 500 are kept, failed counts them all. summary is the operation's state in the caller's language. A failed operation keeps what it had already done; error says why it stopped. Operations remain available for 30 days after they finish. current returns operation: null when there is nothing to show.
Path parameters
| Name | Type | Description |
|---|---|---|
operationId
required
|
uuid |
Operation UUID, or |
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.
-
404CONTENT_BULK_OPERATION_NOT_FOUNDThe operation does not exist in this store, has expired, or is still running when acknowledging.
-
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.
Cancel blog post bulk operation
Stop a running bulk operation.
Stops the operation; the step in progress is rolled back. Blog Posts already changed stay changed; the others are left as they were. Returns the operation with status cancelled.
Path parameters
| Name | Type | Description |
|---|---|---|
operationId
required
|
uuid |
Operation 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.
-
404CONTENT_BULK_OPERATION_NOT_FOUNDThe operation does not exist in this store, has expired, or is still running when acknowledging.
-
409CONTENT_BULK_OPERATION_NOT_RUNNINGThe operation has already finished.
-
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.
Acknowledge blog post bulk operation
Mark a finished bulk operation as seen.
After presenting a finished result, acknowledge its UUID so current no longer returns it. It stays readable by UUID for 30 days. Repeating it is safe. A running operation cannot be acknowledged.
Path parameters
| Name | Type | Description |
|---|---|---|
operationId
required
|
uuid |
Operation 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.
-
404CONTENT_BULK_OPERATION_NOT_FOUNDThe operation does not exist in this store, has expired, or is still running when acknowledging.
-
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.
Delete blog post 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 Post 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 |
No |
|
|
string (UUID) |
Yes |
Yes |
create |
No |
|
object |
No |
No |
No |
|
|
string |
Yes |
Yes |
Yes |
|
|
string |
Yes |
Yes |
Yes |
|
|
string |
Yes |
Yes |
No |
|
|
string |
No |
No |
No |
|
|
string |
Yes |
Yes |
No |
|
|
string (RFC 3339) |
No |
No |
No |
|
|
string |
Yes |
Yes |
No |
|
|
string (UUID) |
Yes |
Yes |
No |
|
|
string |
Yes |
Yes |
No |
|
|
array |
Yes |
Yes |
No |
|
|
array |
Yes |
Yes |
No |
|
|
integer |
No |
No |
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 posts. 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 post created
Fired when a blog post is created.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_post |
object |
Always present |
blog_post.id |
string |
Always present |
blog_post.title |
string |
Always present |
blog_post.slug |
string |
Always present |
blog_post.content |
string |
Always present |
blog_post.excerpt |
string | null |
Always present |
blog_post.featured_image_id |
string | null |
Always present |
blog_post.featured_image_url |
string | null |
Always present |
blog_post.featured_image_cdn_url |
string | null |
Always present |
blog_post.author_ref |
string | null |
Always present |
blog_post.author |
object | null |
Always present |
blog_post.author.id |
string |
Always present |
blog_post.author.name |
string |
Always present |
blog_post.author.slug |
string |
Always present |
blog_post.author.bio |
string |
Always present |
blog_post.author.avatar_url |
string | null |
Always present |
blog_post.author.social_image_id |
string | null |
Always present |
blog_post.author.created_at |
string |
Always present |
blog_post.author.updated_at |
string |
Always present |
blog_post.seo_title |
string | null |
Always present |
blog_post.seo_description |
string | null |
Always present |
blog_post.template_handle |
string | null |
Always present |
blog_post.robots |
string |
Always present |
blog_post.social_image_id |
string | null |
Always present |
blog_post.status |
string |
Always present |
blog_post.publish_at |
string | null |
Always present |
blog_post.published_at |
string | null |
Always present |
blog_post.comment_count |
integer |
Always present |
blog_post.categories |
array |
Always present |
blog_post.categories[*].id |
string |
Always present |
blog_post.categories[*].name |
string |
Always present |
blog_post.categories[*].slug |
string |
Always present |
blog_post.categories[*].description |
string | null |
Always present |
blog_post.categories[*].seo_title |
string | null |
Always present |
blog_post.categories[*].seo_description |
string | null |
Always present |
blog_post.categories[*].template_handle |
string |
Always present |
blog_post.categories[*].robots |
string |
Always present |
blog_post.categories[*].social_image_id |
string | null |
Always present |
blog_post.categories[*].post_count |
integer |
Always present |
blog_post.categories[*].created_at |
string |
Always present |
blog_post.categories[*].updated_at |
string |
Always present |
blog_post.tags |
array |
Always present |
blog_post.tags[*].id |
string |
Always present |
blog_post.tags[*].name |
string |
Always present |
blog_post.tags[*].slug |
string |
Always present |
blog_post.tags[*].post_count |
integer |
Always present |
blog_post.tags[*].created_at |
string |
Always present |
blog_post.tags[*].updated_at |
string |
Always present |
blog_post.created_at |
string |
Always present |
blog_post.updated_at |
string |
Always present |
Blog post updated
Fired when a blog post is updated. Also sent when a deleted Media file was its featured image: changed_fields is featured_image_id and the image is now empty. Also sent for every post a deleted blog tag is taken off (changed_fields is tags) and every post a deleted blog category is moved off or taken off (changed_fields is categories), including posts changed by a background deletion job.
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.
author_ref categories content excerpt featured_image_id publish_at published_at robots seo_description seo_title slug social_image_id status tags template_handle title
Payload fields
| Field | Type | Description |
|---|---|---|
blog_post |
object |
Always present |
blog_post.id |
string |
Always present |
blog_post.title |
string |
Always present |
blog_post.slug |
string |
Always present |
blog_post.content |
string |
Always present
The post's sanitized HTML, "" when it has none. Included in every update, bulk ones too. |
blog_post.excerpt |
string | null |
Always present |
blog_post.featured_image_id |
string | null |
Always present |
blog_post.featured_image_url |
string | null |
Always present |
blog_post.featured_image_cdn_url |
string | null |
Always present |
blog_post.author_ref |
string | null |
Always present |
blog_post.author |
object | null |
Always present |
blog_post.author.id |
string |
Always present |
blog_post.author.name |
string |
Always present |
blog_post.author.slug |
string |
Always present |
blog_post.author.bio |
string |
Always present |
blog_post.author.avatar_url |
string | null |
Always present |
blog_post.author.social_image_id |
string | null |
Always present |
blog_post.author.created_at |
string |
Always present |
blog_post.author.updated_at |
string |
Always present |
blog_post.seo_title |
string | null |
Always present |
blog_post.seo_description |
string | null |
Always present |
blog_post.template_handle |
string | null |
Always present |
blog_post.robots |
string |
Always present |
blog_post.social_image_id |
string | null |
Always present |
blog_post.status |
string |
Always present |
blog_post.publish_at |
string | null |
Always present |
blog_post.published_at |
string | null |
Always present |
blog_post.comment_count |
integer |
Always present |
blog_post.categories |
array |
Always present |
blog_post.categories[*].id |
string |
Always present |
blog_post.categories[*].name |
string |
Always present |
blog_post.categories[*].slug |
string |
Always present |
blog_post.categories[*].description |
string | null |
Always present |
blog_post.categories[*].seo_title |
string | null |
Always present |
blog_post.categories[*].seo_description |
string | null |
Always present |
blog_post.categories[*].template_handle |
string |
Always present |
blog_post.categories[*].robots |
string |
Always present |
blog_post.categories[*].social_image_id |
string | null |
Always present |
blog_post.categories[*].post_count |
integer |
Always present |
blog_post.categories[*].created_at |
string |
Always present |
blog_post.categories[*].updated_at |
string |
Always present |
blog_post.tags |
array |
Always present |
blog_post.tags[*].id |
string |
Always present |
blog_post.tags[*].name |
string |
Always present |
blog_post.tags[*].slug |
string |
Always present |
blog_post.tags[*].post_count |
integer |
Always present |
blog_post.tags[*].created_at |
string |
Always present |
blog_post.tags[*].updated_at |
string |
Always present |
blog_post.created_at |
string |
Always present |
blog_post.updated_at |
string |
Always present |
changed_fields |
array |
Always present
The fields this update changed. Present on every blog_posts/update and never empty: an editor save lists what it changed, a bulk action lists status (with published_at on a first publish), categories or tags, a post moved off a deleted author lists author_ref, a post archived for a large delete lists status, a deleted featured image lists featured_image_id, and a deleted share image lists social_image_id. A save that changes nothing sends no event. |
Blog post deleted
Fired when a blog post is deleted. The same delete sends blog_posts/translations/delete for each translated language, blog_comments/delete for each of its comments, blog_post_metafields/delete for its values and redirects/delete for each redirect Tringify had created toward the post's URLs. A post with many comments is archived first (blog_posts/update) and deleted by a background job, which sends these events when it finishes. Events of different topics can arrive in any order.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_post |
object |
Always present |
blog_post.id |
string |
Always present |
blog_post.title |
string |
Always present |
blog_post.slug |
string |
Always present |
blog_post.content |
string |
Always present |
blog_post.excerpt |
string | null |
Always present |
blog_post.featured_image_id |
string | null |
Always present |
blog_post.featured_image_url |
string | null |
Always present |
blog_post.featured_image_cdn_url |
string | null |
Always present |
blog_post.author_ref |
string | null |
Always present |
blog_post.author |
object | null |
Always present |
blog_post.author.id |
string |
Always present |
blog_post.author.name |
string |
Always present |
blog_post.author.slug |
string |
Always present |
blog_post.author.bio |
string |
Always present |
blog_post.author.avatar_url |
string | null |
Always present |
blog_post.author.social_image_id |
string | null |
Always present |
blog_post.author.created_at |
string |
Always present |
blog_post.author.updated_at |
string |
Always present |
blog_post.seo_title |
string | null |
Always present |
blog_post.seo_description |
string | null |
Always present |
blog_post.template_handle |
string | null |
Always present |
blog_post.robots |
string |
Always present |
blog_post.social_image_id |
string | null |
Always present |
blog_post.status |
string |
Always present |
blog_post.publish_at |
string | null |
Always present |
blog_post.published_at |
string | null |
Always present |
blog_post.comment_count |
integer |
Always present |
blog_post.categories |
array |
Always present |
blog_post.categories[*].id |
string |
Always present |
blog_post.categories[*].name |
string |
Always present |
blog_post.categories[*].slug |
string |
Always present |
blog_post.categories[*].description |
string | null |
Always present |
blog_post.categories[*].seo_title |
string | null |
Always present |
blog_post.categories[*].seo_description |
string | null |
Always present |
blog_post.categories[*].template_handle |
string |
Always present |
blog_post.categories[*].robots |
string |
Always present |
blog_post.categories[*].social_image_id |
string | null |
Always present |
blog_post.categories[*].post_count |
integer |
Always present |
blog_post.categories[*].created_at |
string |
Always present |
blog_post.categories[*].updated_at |
string |
Always present |
blog_post.tags |
array |
Always present |
blog_post.tags[*].id |
string |
Always present |
blog_post.tags[*].name |
string |
Always present |
blog_post.tags[*].slug |
string |
Always present |
blog_post.tags[*].post_count |
integer |
Always present |
blog_post.tags[*].created_at |
string |
Always present |
blog_post.tags[*].updated_at |
string |
Always present |
blog_post.created_at |
string |
Always present |
blog_post.updated_at |
string |
Always present |
Blog post metafield value created
Fired when a blog post metafield value is created.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_post |
object |
Always present |
blog_post.id |
string |
Always present |
blog_post.title |
string |
Selectable in the Payload builder |
blog_post.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 post metafield value updated
Fired when a blog post 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_post |
object |
Always present |
blog_post.id |
string |
Always present |
blog_post.title |
string |
Selectable in the Payload builder |
blog_post.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 post metafield value deleted
Fired when a blog post metafield value is deleted, including when its blog post is deleted.
Payload fields
| Field | Type | Description |
|---|---|---|
blog_post |
object |
Always present |
blog_post.id |
string |
Always present |
blog_post.title |
string |
Selectable in the Payload builder |
blog_post.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 settings updated
Fired when blog comment settings change.
Payload fields
| Field | Type | Description |
|---|---|---|
settings |
object |
Always present |
settings.comments_mode |
string |
Always present |
settings.comments_moderation |
boolean |
Selectable in the Payload builder |
settings.comment_blocked_words |
array |
Selectable in the Payload builder |
settings.comment_starter_words |
boolean |
Selectable in the Payload builder |
settings.updated_at |
string |
Always present |
If a scheduled publication exhausts its retries, the failure state and the merchant notification are recorded together. The post stays scheduled and shows the publication failure; choose a different publication time to start a new attempt. Changing or cancelling the schedule before the old attempt finishes prevents a failure notification for that old schedule.
A failed scheduled blog publication is reported through the post’s scheduling state and a merchant notification. It does not introduce a publication-failure webhook topic. A later successful publication uses the existing blog_posts/update event contract.