Blog Posts

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

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

GET read_blog

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

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

List blog posts

GET read_blog

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.

Example: 1
limit integer

Page size, up to list_max_limit from the Blog Post limits.

Example: 20
search string

Search Blog Posts by title or slug.

Example: launch-notes
status string

Filter by status.

Example: published
author_ref uuid

Filter by blog author id.

Example: 44bf70b7-88e2-4770-a30e-d7a1db522499
category_id uuid

Filter by assigned blog category id.

Example: 3a588f80-fd8c-4d46-af1b-00a1c4a7f85a
tag_id uuid

Filter by assigned blog tag id.

Example: 6e8b7dd1-7ad5-453d-8a87-67daf4ca9f93
publication_date_from date

Include posts published or scheduled on or after this store-local date (YYYY-MM-DD).

Example: 2026-02-01
publication_date_to date

Include posts published or scheduled on or before this store-local date (YYYY-MM-DD).

Example: 2026-02-28
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
Example: created_at
sort_direction string

Sort direction from the Blog Post list contract.

Allowed values
ascdesc
Example: desc

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 VALIDATION_LIST_INVALID_PAGE

    Page must be a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit must be within the Blog Post contract cap.

  • 400 VALIDATION_LIST_INVALID_SORT_BY

    Sort field is not supported.

  • 400 VALIDATION_LIST_INVALID_SORT_DIRECTION

    Sort direction must be asc or desc.

  • 400 BLOG_POST_SEARCH_TOO_LONG

    Search exceeds the Blog Post contract max length.

  • 400 BLOG_POST_STATUS_FILTER_INVALID

    Status is not one of the allowed values.

  • 400 BLOG_POST_PUBLICATION_DATE_FILTER_INVALID

    Publication dates must use YYYY-MM-DD and form a valid range.

  • 400 STORE_API_INVALID_AUTHOR_ID

    author_ref is not a UUID.

  • 400 STORE_API_INVALID_CATEGORY_ID

    Category id is not a UUID.

  • 400 STORE_API_INVALID_TAG_ID

    Tag id is not a UUID.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Search blog posts

GET read_blog

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.

Example: launch
status string

Filter by status.

Example: published
limit integer

Suggestion count, 1 to 100. Defaults to 50.

Example: 10
offset integer

Result offset, for a request without cursor.

Example: 0
cursor string

next_cursor from the previous page, with the same q and status; it replaces offset. An invalid or stale cursor returns INVALID_INPUT on cursor; restart from the first page.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit is not a positive integer or exceeds the Blog Post contract's search max_limit.

  • 400 INVALID_INPUT

    Offset is below zero, or cursor is invalid or stale; restart from the first page.

  • 400 BLOG_POST_SEARCH_TOO_LONG

    Search exceeds the Blog Post contract max length.

  • 400 BLOG_POST_STATUS_FILTER_INVALID

    Status is not one of the allowed values.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Get a blog post

GET read_blog

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.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_BLOG_POST_ID

    The blog post id is not a valid UUID.

  • 404 NOT_FOUND

    Blog Post does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Preview a blog post

POST read_blog

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.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 403 STORE_API_SCOPE_REQUIRED

    Token is valid but lacks the required scope for this call.

  • 400 STORE_API_INVALID_BLOG_POST_ID

    The blog post id is not a valid UUID.

  • 404 NOT_FOUND

    Blog Post does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 429 RATE_LIMITED

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

List blog post metafields

GET read_blog

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.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

Query parameters

Name Type Description
page integer

Page number (default 1).

limit integer

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

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 VALIDATION_LIST_INVALID_PAGE

    Page must be a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit must be a positive integer.

  • 404 NOT_FOUND

    The resource does not exist in this store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Set blog post metafields

PUT write_blog

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.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
metafields required array<object>

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

Example: [{"namespace":"details","key":"subtitle","value":"Launch"}]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body or entry shape is invalid. Each entry requires an explicit value, including null for deletion.

  • 400 METAFIELD_NO_WRITES

    Provide at least one metafield entry.

  • 400 METAFIELD_DUPLICATE_WRITE

    A namespace and key occur more than once.

  • 400 METAFIELD_KEY_NOT_FOUND

    The 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.

  • 403 METAFIELD_WRITE_MERCHANT_READ_ONLY

    The definition does not grant value write access.

  • 403 STORE_API_SCOPE_REQUIRED

    Binding a nonempty file_reference or list.file_reference also requires read_files. Clearing a reference does not.

  • 404 NOT_FOUND

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

  • 400 METAFIELD_VALUE_TOO_LONG

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

  • 400 METAFIELD_VALUE_STRING_TOO_LONG

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

  • 400 METAFIELD_VALUE_TEXT_CONTROL_CHARS

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

  • 400 METAFIELD_VALUE_COLOR_INVALID

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

  • 400 METAFIELD_LIST_COLOR_INVALID

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

  • 400 METAFIELD_VALUE_CONTENT_REFERENCE_INVALID

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

  • 400 METAFIELD_LIST_CONTENT_REFERENCES_INVALID

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

  • 400 METAFIELD_VALUE_TOO_SHORT

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

  • 400 METAFIELD_VALUE_PATTERN_MISMATCH

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

  • 400 METAFIELD_LIST_ITEM_TOO_SHORT

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

  • 400 METAFIELD_LIST_ITEM_PATTERN_MISMATCH

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

  • 400 METAFIELD_VALUE_INTEGER_INVALID

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

  • 400 METAFIELD_VALUE_INTEGER_TOO_LONG

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

  • 400 METAFIELD_VALUE_DECIMAL_INVALID

    A decimal value is not a finite decimal number.

  • 400 METAFIELD_VALUE_DECIMAL_TOO_LONG

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

  • 400 METAFIELD_VALUE_BELOW_MIN

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

  • 400 METAFIELD_VALUE_ABOVE_MAX

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

  • 400 METAFIELD_VALUE_BOOLEAN_INVALID

    A boolean value is not true or false.

  • 400 METAFIELD_VALUE_DATE_INVALID

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

  • 400 METAFIELD_VALUE_DATETIME_INVALID

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

  • 400 METAFIELD_VALUE_JSON_INVALID

    A json value is not valid JSON.

  • 400 METAFIELD_VALUE_JSON_UNSAFE_LINK

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

  • 400 METAFIELD_VALUE_URL_INVALID

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

  • 400 METAFIELD_VALUE_URL_SCHEME

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

  • 400 METAFIELD_VALUE_URL_TOO_LONG

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

  • 400 METAFIELD_VALUE_NOT_IN_CHOICES

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

  • 400 METAFIELD_LIST_CHOICE_INVALID

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

  • 400 METAFIELD_LIST_STRINGS_INVALID

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

  • 400 METAFIELD_LIST_URLS_INVALID

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

  • 400 METAFIELD_LIST_FILES_INVALID

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

  • 400 METAFIELD_LIST_IDS_INVALID

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

  • 400 METAFIELD_LIST_EMPTY

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

  • 400 METAFIELD_LIST_TOO_MANY

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

  • 400 METAFIELD_LIST_ITEM_EMPTY

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

  • 400 METAFIELD_LIST_ITEM_TOO_LONG

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

  • 400 METAFIELD_VALUE_FILE_UUID_INVALID

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

  • 400 METAFIELD_VALUE_ID_INVALID

    A product_reference or variant_reference value is not an integer ID.

  • 400 METAFIELD_VALUE_ID_POSITIVE

    A product_reference or variant_reference value is not a positive integer.

  • 400 METAFIELD_VALUE_ID_TOO_LONG

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

  • 400 METAFIELD_LIST_ITEMS_POSITIVE

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

  • 400 METAFIELD_REFERENCE_PRODUCT_MISSING

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

  • 400 METAFIELD_REFERENCE_VARIANT_MISSING

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

  • 400 METAFIELD_REFERENCE_PRODUCTS_MISSING

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

  • 400 METAFIELD_REFERENCE_VARIANTS_MISSING

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

  • 400 METAFIELD_REFERENCE_PAGE_MISSING

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

  • 400 METAFIELD_REFERENCE_PAGES_MISSING

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

  • 400 METAFIELD_REFERENCE_BLOG_POST_MISSING

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

  • 400 METAFIELD_REFERENCE_BLOG_POSTS_MISSING

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

  • 400 METAFIELD_REFERENCE_COLLECTION_MISSING

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

  • 400 METAFIELD_REFERENCE_COLLECTIONS_MISSING

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

  • 400 METAFIELD_VALUE_METAOBJECT_REFERENCE_INVALID

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

  • 400 METAFIELD_LIST_METAOBJECT_REFERENCES_INVALID

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

  • 400 METAFIELD_REFERENCE_METAOBJECT_MISSING

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

  • 400 METAFIELD_REFERENCE_METAOBJECTS_MISSING

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

  • 400 METAFIELD_REFERENCE_METAOBJECT_WRONG_TYPE

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

  • 400 INVALID_INPUT

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

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Create a blog post

POST write_blog

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.

Example: 550e8400-e29b-41d4-a716-446655440000

Body parameters

Name Type Description
title required string

Blog Post title.

Example: Launch notes
slug string

Optional slug. Omit to generate from title.

Example: launch-notes
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 data.content_warnings.

Example: <p>What changed in this release.</p>
excerpt string

Optional excerpt.

Example: What changed in this release.
featured_image_id string

Optional image file id. Non-empty values must reference an image in this store.

Example: 8f2a1c2b-9d4e-4a56-b789-0123456789ab
author_ref required uuid

Store-scoped blog author id.

Example: 44bf70b7-88e2-4770-a30e-d7a1db522499
seo_title string

Optional SEO title.

Example: Launch notes
seo_description string

Optional SEO description.

Example: Read the latest launch notes.
status string

Post status: draft, scheduled, published, or archived. Defaults to draft on create.

Example: published
publish_at string

Publication time, as a local datetime in the store timezone or RFC 3339 with an offset. Required for scheduled status.

Example: 2026-02-10T09:00:00-05:00
template_handle string

Template assignment. On create, omitting this field or sending an empty string assigns default_blog. Use default_blog for the default Blog Post template, or pass an alternate Blog Post template handle configured for the store. On update, omit template_handle to leave the assignment unchanged, use default_blog to reset it to default, and do not send an empty string. The handles are each template's handle in List theme templates (resource_type blog).

Example: default_blog
robots string

Search visibility: index (default) or noindex. noindex keeps the blog post out of search results and the sitemap; it does not restrict who can open it.

Example: index
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 read_files; on update, null or an empty string clears it.

Example: 6c1d2e3f-4a5b-4c6d-8e7f-90a1b2c3d4e5
category_ids array<uuid>

Category ids to assign.

Example: ["3a588f80-fd8c-4d46-af1b-00a1c4a7f85a"]
tag_ids array<uuid>

Tag ids to assign.

Example: ["6e8b7dd1-7ad5-453d-8a87-67daf4ca9f93"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_AUTHOR_REQUIRED

    author_ref is empty.

  • 400 BLOG_POST_TITLE_REQUIRED

    Title is empty after normalization.

  • 400 BLOG_POST_TITLE_TOO_LONG

    Title exceeds the Blog Post contract max length.

  • 400 BLOG_POST_SLUG_FORMAT

    Slug is not valid for Blog Post URLs.

  • 400 BLOG_POST_SLUG_TOO_LONG

    Slug exceeds the Blog Post contract max length.

  • 400 STORE_API_INVALID_AUTHOR_ID

    author_ref is not a UUID.

  • 404 BLOG_AUTHOR_NOT_FOUND

    Author does not exist in this store.

  • 400 BLOG_POST_CONTENT_TOO_LONG

    Content exceeds the Blog Post contract max length.

  • 400 BLOG_POST_EXCERPT_TOO_LONG

    Excerpt exceeds the Blog Post contract max length.

  • 400 BLOG_POST_SEO_TITLE_TOO_LONG

    SEO title exceeds the Blog Post contract max length.

  • 400 BLOG_POST_SEO_DESCRIPTION_TOO_LONG

    SEO description exceeds the Blog Post contract max length.

  • 400 BLOG_POST_STATUS_INVALID

    Status is not one of the allowed values.

  • 400 BLOG_POST_PUBLISH_DATE_REQUIRED

    Scheduled posts require publish_at.

  • 400 BLOG_POST_CATEGORY_IDS_INVALID

    One or more category ids do not exist in this store.

  • 400 BLOG_POST_TAG_IDS_INVALID

    One or more tag ids do not exist in this store.

  • 400 BLOG_POST_CATEGORIES_TOO_MANY

    Category assignments exceed the per-post cap.

  • 400 BLOG_POST_TAGS_TOO_MANY

    Tag assignments exceed the per-post cap.

  • 400 TEMPLATE_HANDLE_INVALID

    Template handle is not valid for Blog Post templates.

  • 400 TEMPLATE_HANDLE_NOT_FOUND

    Template handle does not exist on the store's primary active theme for Blog Post.

  • 409 BLOG_POST_SLUG_DUPLICATE

    Slug already exists in this store.

  • 400 FILE_REF_INVALID_ID

    featured_image_id is not a valid file id. social_image_id is not a valid file id.

  • 404 FILE_REF_NOT_FOUND

    featured_image_id does not reference a file in this store. social_image_id does not reference a file in this store.

  • 400 FILE_REF_NOT_IMAGE

    featured_image_id is not an image. social_image_id is not an image.

  • 400 FILE_REF_MEDIA_LIBRARY_ONLY

    featured_image_id is a site asset; choose an image from the Media library. social_image_id is a site asset; choose an image from the Media library.

  • 400 FILE_REF_UPLOAD_ID

    featured_image_id is an upload id; the message names the file id to send instead.

  • 409 FILE_REF_UPLOAD_PROCESSING

    featured_image_id is an upload that is still processing; retry when it is ready.

  • 400 FILE_REF_UPLOAD_FAILED

    featured_image_id is an upload that failed; the message gives the reason.

  • 403 STORE_API_SCOPE_REQUIRED

    A non-empty featured_image_id or social_image_id requires read_files in addition to write_blog.

  • 400 ROBOTS_INVALID

    robots is not index or noindex.

  • 400 BLOG_POST_PUBLISH_AT_INVALID_FORMAT

    publish_at is not a valid store-local or RFC 3339 datetime.

  • 400 BLOG_POST_SCHEDULED_DATE_PAST

    A scheduled post's publish_at is in the past.

  • 400 CONTENT_REQUEST_KEY_REQUIRED

    A UUID Idempotency-Key header is required.

  • 409 CONTENT_REQUEST_KEY_CONFLICT

    The key was used with different content.

  • 400 BLOG_POST_PLAN_LIMIT_REACHED

    This store is at its plan blog post cap.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Update a blog post

PUT write_blog

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.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
title string

Blog Post title.

Example: Launch notes
slug string

Optional new slug. Omit or send blank to keep the current slug; a non-empty slug is normalized and validated.

Example: launch-notes
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 data.content_warnings.

Example: <p>What changed in this release.</p>
excerpt string

Optional excerpt.

Example: What changed in this release.
featured_image_id string

Optional image file id. Non-empty values must reference an image in this store.

Example: 8f2a1c2b-9d4e-4a56-b789-0123456789ab
author_ref uuid

Store-scoped blog author id.

Example: 44bf70b7-88e2-4770-a30e-d7a1db522499
seo_title string

Optional SEO title.

Example: Launch notes
seo_description string

Optional SEO description.

Example: Read the latest launch notes.
status string

Post status: draft, scheduled, published, or archived. Defaults to draft on create.

Example: published
publish_at string

Publication time, as a local datetime in the store timezone or RFC 3339 with an offset. Required for scheduled status.

Example: 2026-02-10T09:00:00-05:00
template_handle string

Template assignment. On create, omitting this field or sending an empty string assigns default_blog. Use default_blog for the default Blog Post template, or pass an alternate Blog Post template handle configured for the store. On update, omit template_handle to leave the assignment unchanged, use default_blog to reset it to default, and do not send an empty string. The handles are each template's handle in List theme templates (resource_type blog).

Example: default_blog
robots string

Search visibility: index (default) or noindex. noindex keeps the blog post out of search results and the sitemap; it does not restrict who can open it.

Example: index
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 read_files; on update, null or an empty string clears it.

Example: 6c1d2e3f-4a5b-4c6d-8e7f-90a1b2c3d4e5
category_ids array<uuid>

Category ids to assign.

Example: ["3a588f80-fd8c-4d46-af1b-00a1c4a7f85a"]
tag_ids array<uuid>

Tag ids to assign.

Example: ["6e8b7dd1-7ad5-453d-8a87-67daf4ca9f93"]
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.

Example: true
expected_revision required integer

Copy revision from Get blog post. Missing or stale revisions return CONTENT_REVISION_CONFLICT (409); reload before retrying.

Example: 1

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_AUTHOR_REQUIRED

    author_ref is empty.

  • 400 BLOG_POST_TITLE_REQUIRED

    Title is empty after normalization.

  • 400 BLOG_POST_TITLE_TOO_LONG

    Title exceeds the Blog Post contract max length.

  • 400 BLOG_POST_SLUG_FORMAT

    Slug is not valid for Blog Post URLs.

  • 400 BLOG_POST_SLUG_TOO_LONG

    Slug exceeds the Blog Post contract max length.

  • 400 STORE_API_INVALID_AUTHOR_ID

    author_ref is not a UUID.

  • 404 BLOG_AUTHOR_NOT_FOUND

    Author does not exist in this store.

  • 400 BLOG_POST_CONTENT_TOO_LONG

    Content exceeds the Blog Post contract max length.

  • 400 BLOG_POST_EXCERPT_TOO_LONG

    Excerpt exceeds the Blog Post contract max length.

  • 400 BLOG_POST_SEO_TITLE_TOO_LONG

    SEO title exceeds the Blog Post contract max length.

  • 400 BLOG_POST_SEO_DESCRIPTION_TOO_LONG

    SEO description exceeds the Blog Post contract max length.

  • 400 BLOG_POST_STATUS_INVALID

    Status is not one of the allowed values.

  • 400 BLOG_POST_PUBLISH_DATE_REQUIRED

    Scheduled posts require publish_at.

  • 400 BLOG_POST_CATEGORY_IDS_INVALID

    One or more category ids do not exist in this store.

  • 400 BLOG_POST_TAG_IDS_INVALID

    One or more tag ids do not exist in this store.

  • 400 BLOG_POST_CATEGORIES_TOO_MANY

    Category assignments exceed the per-post cap.

  • 400 BLOG_POST_TAGS_TOO_MANY

    Tag assignments exceed the per-post cap.

  • 400 TEMPLATE_HANDLE_INVALID

    Template handle is not valid for Blog Post templates.

  • 400 TEMPLATE_HANDLE_NOT_FOUND

    Template handle does not exist on the store's primary active theme for Blog Post.

  • 409 BLOG_POST_SLUG_DUPLICATE

    Slug already exists in this store.

  • 400 FILE_REF_INVALID_ID

    featured_image_id is not a valid file id. social_image_id is not a valid file id.

  • 404 FILE_REF_NOT_FOUND

    featured_image_id does not reference a file in this store. social_image_id does not reference a file in this store.

  • 400 FILE_REF_NOT_IMAGE

    featured_image_id is not an image. social_image_id is not an image.

  • 400 FILE_REF_MEDIA_LIBRARY_ONLY

    featured_image_id is a site asset; choose an image from the Media library. social_image_id is a site asset; choose an image from the Media library.

  • 400 FILE_REF_UPLOAD_ID

    featured_image_id is an upload id; the message names the file id to send instead.

  • 409 FILE_REF_UPLOAD_PROCESSING

    featured_image_id is an upload that is still processing; retry when it is ready.

  • 400 FILE_REF_UPLOAD_FAILED

    featured_image_id is an upload that failed; the message gives the reason.

  • 403 STORE_API_SCOPE_REQUIRED

    A non-empty featured_image_id or social_image_id requires read_files in addition to write_blog.

  • 400 ROBOTS_INVALID

    robots is not index or noindex.

  • 400 BLOG_POST_PUBLISH_AT_INVALID_FORMAT

    publish_at is not a valid store-local or RFC 3339 datetime.

  • 400 BLOG_POST_SCHEDULED_DATE_PAST

    A scheduled post's publish_at is in the past.

  • 409 CONTENT_REVISION_CONFLICT

    expected_revision is missing or stale. Reload before retrying.

  • 409 TRANSLATION_SOURCE_FIELD_HAS_TRANSLATIONS

    Remove translations before clearing their source field.

  • 400 STORE_API_INVALID_BLOG_POST_ID

    The blog post id is not a valid UUID.

  • 404 NOT_FOUND

    Blog Post does not exist in this store.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Delete a blog post

DELETE write_blog

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.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31

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_REQUIRED.

Example: true
confirmation_token string

Single-use token returned by CONFIRMATION_REQUIRED.

Example: confirm_...

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_BLOG_POST_ID

    The blog post id is not a valid UUID.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 404 NOT_FOUND

    Blog Post does not exist in this store.

  • 400 BLOG_POST_CONFIRMATION_INVALID

    Confirmation token is missing, expired, or does not match this delete.

  • 409 CONFIRMATION_REQUIRED

    Menus reference this post. Review the warnings and retry with the returned token.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Bulk delete blog posts

POST write_blog

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.

Example: ["5ff7d4ea-3250-4a4d-9d26-07f64d917d31"]
confirmed boolean

Set true only when retrying after CONFIRMATION_REQUIRED.

Example: true
confirmation_token string

Single-use token returned by CONFIRMATION_REQUIRED.

Example: confirm_...

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_BULK_NO_IDS

    No Blog Post ids were provided.

  • 400 BLOG_POST_BULK_DELETE_TOO_MANY

    Batch exceeds the Blog Post bulk delete cap.

  • 400 BLOG_POST_IDS_INVALID

    A post id is not a valid UUID, or one or more post ids do not exist in this store.

  • 400 BLOG_POST_CONFIRMATION_INVALID

    Confirmation token is missing, expired, or does not match the exact selected ids.

  • 409 CONFIRMATION_REQUIRED

    Menus reference one or more selected posts. Review the warnings and retry with the returned token.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Bulk update blog post status

POST write_blog

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.

Example: ["5ff7d4ea-3250-4a4d-9d26-07f64d917d31"]
status required string

New post status: draft, published, or archived.

Example: published

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_BULK_NO_IDS

    No Blog Post ids were provided.

  • 400 BLOG_POST_BULK_UPDATE_TOO_MANY

    Batch exceeds the Blog Post bulk update cap.

  • 400 BLOG_POST_IDS_INVALID

    A post id is not a valid UUID, or one or more post ids do not exist in this store.

  • 400 BLOG_POST_STATUS_INVALID

    Status must be draft, published, or archived.

  • 400 BLOG_POST_PUBLISH_DATE_REQUIRED

    Scheduled status is not supported by this bulk endpoint.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Bulk assign categories

POST write_blog

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.

Example: ["5ff7d4ea-3250-4a4d-9d26-07f64d917d31"]
category_ids required array<uuid>

Category ids to add.

Example: ["3a588f80-fd8c-4d46-af1b-00a1c4a7f85a"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_BULK_NO_IDS

    No Blog Post ids were provided.

  • 400 BLOG_POST_BULK_UPDATE_TOO_MANY

    Batch exceeds the Blog Post bulk update cap.

  • 400 BLOG_POST_IDS_INVALID

    A post id is not a valid UUID, or one or more post ids do not exist in this store.

  • 400 STORE_API_INVALID_CATEGORY_ID

    A category id is not a valid UUID.

  • 400 BLOG_POST_CATEGORY_IDS_INVALID

    Category ids are empty or do not exist in this store.

  • 400 BLOG_POST_CATEGORIES_TOO_MANY

    The resulting category set exceeds the per-post cap.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Bulk assign tags

POST write_blog

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.

Example: ["5ff7d4ea-3250-4a4d-9d26-07f64d917d31"]
tag_ids required array<uuid>

Tag ids to add.

Example: ["6e8b7dd1-7ad5-453d-8a87-67daf4ca9f93"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_BULK_NO_IDS

    No Blog Post ids were provided.

  • 400 BLOG_POST_BULK_UPDATE_TOO_MANY

    Batch exceeds the Blog Post bulk update cap.

  • 400 BLOG_POST_IDS_INVALID

    A post id is not a valid UUID, or one or more post ids do not exist in this store.

  • 400 STORE_API_INVALID_TAG_ID

    A tag id is not a valid UUID.

  • 400 BLOG_POST_TAG_IDS_INVALID

    Tag ids are empty or do not exist in this store.

  • 400 BLOG_POST_TAGS_TOO_MANY

    The resulting tag set exceeds the per-post cap.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Bulk remove categories

POST write_blog

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.

Example: ["5ff7d4ea-3250-4a4d-9d26-07f64d917d31"]
category_ids required array<uuid>

Category ids to remove.

Example: ["3a588f80-fd8c-4d46-af1b-00a1c4a7f85a"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_BULK_NO_IDS

    No Blog Post ids were provided.

  • 400 BLOG_POST_BULK_UPDATE_TOO_MANY

    Batch exceeds the Blog Post bulk update cap.

  • 400 BLOG_POST_IDS_INVALID

    A post id is not a valid UUID, or one or more post ids do not exist in this store.

  • 400 STORE_API_INVALID_CATEGORY_ID

    A category id is not a valid UUID.

  • 400 BLOG_POST_CATEGORY_IDS_INVALID

    Category ids are empty or do not exist in this store.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Bulk remove tags

POST write_blog

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.

Example: ["5ff7d4ea-3250-4a4d-9d26-07f64d917d31"]
tag_ids required array<uuid>

Tag ids to remove.

Example: ["6e8b7dd1-7ad5-453d-8a87-67daf4ca9f93"]

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not valid JSON.

  • 400 BLOG_POST_BULK_NO_IDS

    No Blog Post ids were provided.

  • 400 BLOG_POST_BULK_UPDATE_TOO_MANY

    Batch exceeds the Blog Post bulk update cap.

  • 400 BLOG_POST_IDS_INVALID

    A post id is not a valid UUID, or one or more post ids do not exist in this store.

  • 400 STORE_API_INVALID_TAG_ID

    A tag id is not a valid UUID.

  • 400 BLOG_POST_TAG_IDS_INVALID

    Tag ids are empty or do not exist in this store.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Change matching blog posts

POST write_blog

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.

Example: 7f4ed2c8-2fa5-4c63-9d9b-7ac5366dc651
action required string

One of delete, update_status, assign_categories, remove_categories, assign_tags, remove_tags.

Allowed values
deleteupdate_statusassign_categoriesremove_categoriesassign_tagsremove_tags
Example: update_status
filter object

The blog posts to change, as the list filters them: status, search (text in the title or slug), author_ref, category_id, tag_id, references_metaobject (a custom content entry id: the posts whose custom data references it), publication_date_from and publication_date_to (store-local dates, YYYY-MM-DD). All optional and combined with AND. An empty or omitted filter selects every blog post in the store. An unknown field is refused.

Example: {"status":"draft","tag_id":"6e8b7dd1-7ad5-453d-8a87-67daf4ca9f93"}
params object

What the action sets. update_status: status (published, draft or archived); assign_categories: category_ids (categories to add); remove_categories: category_ids (categories to remove); assign_tags: tag_ids (tags to add); remove_tags: tag_ids (tags to remove). Actions without parameters take none.

Example: {"status":"published"}
confirmed boolean

Set true when repeating a request that returned CONFIRMATION_REQUIRED.

Example: false
confirmation_token string

Token returned by the first request.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 STORE_API_INVALID_REQUEST_BODY

    The body is not valid JSON or not a JSON object.

  • 400 CONTENT_BULK_OPERATION_INVALID

    operation_id is not a valid nonzero UUID, or action is not one this list supports.

  • 400 INVALID_INPUT

    filter or params has a field the action does not take.

  • 400 CONTENT_BULK_OPERATION_NO_MATCH

    No blog post matches the filter.

  • 400 CONTENT_BULK_OPERATION_TOO_MANY

    More than 100000 blog posts match the filter.

  • 409 CONTENT_BULK_OPERATION_ACTIVE

    Another blog post bulk operation is still running in this store.

  • 409 CONTENT_BULK_OPERATION_CONFLICT

    This operation_id was already used with a different action, filter or params.

  • 409 CONFIRMATION_REQUIRED

    The action needs confirmation; the details list what it affects. Repeat the request with confirmed: true and the returned confirmation token.

  • 400 BLOG_POST_CONFIRMATION_INVALID

    The confirmation token is missing, expired, or does not match this selection.

  • 400 BLOG_POST_STATUS_FILTER_INVALID

    filter.status is not a post status.

  • 400 BLOG_POST_PUBLICATION_DATE_FILTER_INVALID

    A publication date filter is not a YYYY-MM-DD date, or the range is reversed.

  • 400 BLOG_POST_SEARCH_TOO_LONG

    filter.search is longer than the list's search limit.

  • 400 BLOG_POST_STATUS_INVALID

    params.status is not published, draft or archived.

  • 400 BLOG_POST_CATEGORY_IDS_INVALID

    params.category_ids is empty or names a category that is not in this store.

  • 400 BLOG_POST_TAG_IDS_INVALID

    params.tag_ids is empty or names a tag that is not in this store.

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_INVALID

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

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Get blog post bulk operation

GET write_blog

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 current.

Example: 7f4ed2c8-2fa5-4c63-9d9b-7ac5366dc651

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 404 CONTENT_BULK_OPERATION_NOT_FOUND

    The operation does not exist in this store, has expired, or is still running when acknowledging.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 429 RATE_LIMITED

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

Cancel blog post bulk operation

POST write_blog

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.

Example: 7f4ed2c8-2fa5-4c63-9d9b-7ac5366dc651

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 404 CONTENT_BULK_OPERATION_NOT_FOUND

    The operation does not exist in this store, has expired, or is still running when acknowledging.

  • 409 CONTENT_BULK_OPERATION_NOT_RUNNING

    The operation has already finished.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 429 RATE_LIMITED

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

Acknowledge blog post bulk operation

POST write_blog

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.

Example: 7f4ed2c8-2fa5-4c63-9d9b-7ac5366dc651

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 404 CONTENT_BULK_OPERATION_NOT_FOUND

    The operation does not exist in this store, has expired, or is still running when acknowledging.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 429 RATE_LIMITED

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

Delete blog post metafield

DELETE write_blog

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.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31
namespace required string

Definition namespace; URL-encode reserved characters.

Example: details
key required string

Definition key.

Example: subtitle

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

  • 401 UNAUTHORIZED

    The Authorization header is missing.

  • 401 INVALID_TOKEN

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

  • 401 TOKEN_NOT_ACCEPTED

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

  • 402 SUBSCRIPTION_REQUIRED

    The store does not have an active or trialing subscription.

  • 403 API_VERSION_UNSUPPORTED

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

  • 403 STORE_SUSPENDED

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

  • 403 STORE_TERMINATED

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

  • 400 INVALID_INPUT

    The owner ID or namespace/key address is invalid.

  • 400 METAFIELD_KEY_NOT_FOUND

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

  • 403 METAFIELD_WRITE_APP_OWN_ONLY

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

  • 403 METAFIELD_WRITE_MERCHANT_READ_ONLY

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

  • 403 STORE_API_SCOPE_REQUIRED

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

  • 404 NOT_FOUND

    The owner does not exist in the authenticated store.

  • 400 STORE_API_QUERY_PARAMETER_UNKNOWN

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

  • 400 STORE_API_BODY_PROPERTY_UNKNOWN

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

  • 429 RATE_LIMITED

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

Fields#

Field

Type

Create

Update

Required

Translatable

title

string

Yes

Yes

create

Yes

slug

string

Yes

Yes

Yes

content

string

Yes

Yes

Yes

excerpt

string

Yes

Yes

Yes

featured_image_id

string

Yes

Yes

No

author_ref

string (UUID)

Yes

Yes

create

No

author

object

No

No

No

seo_title

string

Yes

Yes

Yes

seo_description

string

Yes

Yes

Yes

status

string

Yes

Yes

No

status_display

string

No

No

No

publish_at

string

Yes

Yes

No

published_at

string (RFC 3339)

No

No

No

robots

string

Yes

Yes

No

social_image_id

string (UUID)

Yes

Yes

No

template_handle

string

Yes

Yes

No

category_ids

array

Yes

Yes

No

tag_ids

array

Yes

Yes

No

category_count

integer

No

No

No

comment_count

integer

No

No

No

created_at

string (RFC 3339)

No

No

No

updated_at

string (RFC 3339)

No

No

No

storefront_url

url

No

No

No

No

storefront_path

string

No

No

No

No

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

EVENT blog_posts/create App scope: read_blog Staff permission: blog:write

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

EVENT blog_posts/update App scope: read_blog Staff permission: blog:write

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

EVENT blog_posts/delete App scope: read_blog Staff permission: blog:write

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

EVENT blog_post_metafields/create App scope: read_blog Staff permission: blog:write

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

EVENT blog_post_metafields/update App scope: read_blog Staff permission: blog:write

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

EVENT blog_post_metafields/delete App scope: read_blog Staff permission: blog:write

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

EVENT blog_settings/update App scope: read_blog Staff permission: blog:write

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.