Blog Post translations

Read and write localized blog post fields through the Store API.

Get blog post translation

GET read_blog + read_translations

Fetch one blog post translation.

Returns stored translated Blog Post fields for one locale, including whether the translation is out of date. Fields without a translation in this locale are omitted from the response. An omitted field is not empty: shoppers see the store's base-language value, which the resource's own GET endpoint returns.

Path parameters

Name Type Description
id required uuid

Blog Post id.

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

Enabled non-default store locale.

Example: fr

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.

  • 400 TRANSLATION_LOCALE_REQUIRED

    Locale is required.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    Translations cannot target the store's default locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    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.

Set blog post translation

PUT write_blog + write_translations

Set one blog post translation.

Writes translated Blog Post fields for one locale. Empty values clear the matching field translation. Rich-text content is cleaned the same way as the source: when unsafe markup is removed, the response lists a warning in data.content_warnings. A translated slug must be unique among the URLs of this type in that language (a translated slug, or the source slug where there is none). A write waits at most 2 seconds for other translation writes of the same item or of a clashing name or slug (for example a translation CSV import writing the same language); writes of other items, types and languages never wait. A row or call that fails with TRANSLATION_WRITE_BUSY (HTTP 503) saved nothing: send it again after error.details.retry_after_seconds (the call's Retry-After header says the same). Every row or call either saved or reports an error; none is left in an unknown state.

Path parameters

Name Type Description
id required uuid

Blog Post id.

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

Enabled non-default store locale.

Example: fr

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key for this translation write. Reuse it only with the same payload when repeating the request.

Body parameters

Name Type Description
translations required object

Translated values keyed by field. Allowed fields: title, slug, content, excerpt, seo_title and seo_description.

Example: {"title": "Notes de lancement", "slug": "notes-lancement"}

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 STORE_API_INVALID_BLOG_POST_ID

    The blog post id is not a valid UUID.

  • 400 TRANSLATION_LOCALE_REQUIRED

    Locale is required.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    Translations cannot target the store's default locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    Blog Post does not exist in this store.

  • 400 TRANSLATION_FIELD_NOT_TRANSLATABLE

    Field is not translatable for Blog Posts.

  • 400 TRANSLATION_FIELDS_REQUIRED

    At least one translated field is required.

  • 400 TRANSLATION_STAGING_INVALID_CONTROL_CHARS

    A translated value contains an unsupported control character. error.details.field names the field.

  • 400 TRANSLATION_FIELD_EXCEEDS_BYTE_LIMIT

    A translated value is longer than its field's limit (the same max length as the source field in /blog/posts/limits). The message names the field and its limit.

  • 400 TRANSLATION_FIELD_VALUE_TOO_LONG

    A translated value is larger than the store-wide translation value size limit.

  • 400 TRANSLATION_NO_SOURCE_TEXT

    A non-empty translation requires source text for that field.

  • 400 BLOG_POST_TITLE_INVALID_CHARS

    The translated title contains a line break or another unsupported control character.

  • 409 BLOG_POST_SLUG_DUPLICATE

    Translated slug is already the URL another blog post shows in this language. error.details.existing_id is the blog post that holds it.

  • 400 BLOG_POST_SLUG_FORMAT

    Translated slug is not valid for Blog Post URLs.

  • 503 TRANSLATION_WRITE_BUSY

    Other translation writes held the item or a clashing name or slug for more than 2 seconds; nothing was saved. Send the request again after error.details.retry_after_seconds (also the Retry-After header).

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

Batch get blog post translations

GET read_blog + read_translations

Fetch blog post translations in batch.

Returns translated Blog Post fields for up to 100 blog post ids in one locale. ids is required: send 1 to 100 comma-separated ids; duplicates count once. Fields without a translation in this locale are omitted from the response. An omitted field is not empty: shoppers see the store's base-language value, which the resource's own GET endpoint returns.

Path parameters

Name Type Description
locale required string

Enabled non-default store locale.

Example: fr

Query parameters

Name Type Description
ids required string

Comma-separated Blog Post ids, 1 to 100.

Example: 5ff7d4ea-3250-4a4d-9d26-07f64d917d31,3a588f80-fd8c-4d46-af1b-00a1c4a7f85a

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 TRANSLATION_LOCALE_REQUIRED

    Locale is required.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    Translations cannot target the store's default locale.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    Blog Post does not exist in this store.

  • 400 TRANSLATION_RESOURCE_ID_REQUIRED

    ids is missing or names no blog post.

  • 400 TRANSLATION_TOO_MANY_RESOURCES

    ids names more than 100 blog post ids.

  • 400 STORE_API_INVALID_BLOG_POST_ID

    One blog post id is not a valid 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.

Batch set blog post translations

PUT write_blog + write_translations

Set blog post translations for any languages in one call.

Each row is one blog post in one language: id, locale (any enabled non-default store locale) and fields. Rows for several languages can be mixed in one call; send at most 100 rows (one row = one blog post in one locale) and at most one row per blog post and locale. Each row is saved on its own: a failing row never stops the others. Empty values clear the matching field translation; omitted fields keep their translation. Every row is validated exactly like the single translation endpoint. The response has totals (rows, saved, failed) and one results entry per row in request order: {id, locale, status} with status saved or failed. A failed row carries the full error (code, message, details); its codes are the single endpoint's codes plus TRANSLATION_ROW_DUPLICATE. A saved rich-text row whose unsafe markup was removed lists warnings. A top-level code and message give the outcome: TRANSLATIONS_SAVED (200, every row saved), TRANSLATIONS_PARTIALLY_SAVED (200, success: true; the message counts saved and failed rows and names the failure reasons, e.g. "2 saved, 1 failed. No source text found for the requested fields (description).") TRANSLATIONS_NOT_SAVED_RETRY (503 with a Retry-After header, success: false; no row saved because every row failed only with TRANSLATION_WRITE_BUSY, so the same call can be sent again after error.details.retry_after_seconds) or TRANSLATIONS_NOT_SAVED (422, success: false; no row saved and at least one row failed for another reason). Both carry the same totals and results in error.details. With an Idempotency-Key, repeating the same request re-applies nothing that already saved and retries the failed rows. A translated slug must be unique among the URLs of this type in that language (a translated slug, or the source slug where there is none). Of two rows of one call that would share a value in one language, the earlier row keeps it and the later row fails with the duplicate code and details.existing_id, the earlier row's id. Rows are saved independently, each checked against the values stored when it is saved, so two rows that swap values (one row takes the value another row's resource holds, and that row takes a different one) fail: the row that takes a held value is refused with the duplicate code. To swap them, import a translation CSV with both rows (POST /imports, type translations): an import checks consecutive rows together, so a swap is accepted when its two rows sit next to each other in the file. A write waits at most 2 seconds for other translation writes of the same item or of a clashing name or slug (for example a translation CSV import writing the same language); writes of other items, types and languages never wait. A row or call that fails with TRANSLATION_WRITE_BUSY (HTTP 503) saved nothing: send it again after error.details.retry_after_seconds (the call's Retry-After header says the same). Every row or call either saved or reports an error; none is left in an unknown state.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key for this translation write. Reuse it only with the same payload when repeating the request.

Body parameters

Name Type Description
translations required array<object>

Up to 100 rows shaped as {id, locale, fields}. Allowed fields: title, slug, content, excerpt, seo_title and seo_description.

Example: [{"fields":{"title":"Notes de lancement"},"id":"5ff7d4ea-3250-4a4d-9d26-07f64d917d31","locale":"fr"},{"fields":{"title":"Versionshinweise"},"id":"5ff7d4ea-3250-4a4d-9d26-07f64d917d31","locale":"de"},{"fields":{"title":"Notas de lançamento"},"id":"5ff7d4ea-3250-4a4d-9d26-07f64d917d31","locale":"pt-BR"}]

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 TRANSLATION_NO_WRITES_PROVIDED

    translations is empty.

  • 400 TRANSLATION_TOO_MANY_ROWS

    More than 100 rows; nothing is written.

  • 503 TRANSLATIONS_NOT_SAVED_RETRY

    No row saved and every row failed only with TRANSLATION_WRITE_BUSY: send the same request again after error.details.retry_after_seconds (also the Retry-After header). error.details also has totals and one results entry per row with its error.

  • 422 TRANSLATIONS_NOT_SAVED

    No row saved and at least one row failed with an error that sending again will not fix; error.details has totals and one results entry per row with its error.

  • 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 a blog post metafield translation

GET read_blog + read_translations

Fetch one translated custom-data value.

The definition must be visible and translatable. Reading a value translation requires both the owner read scope and read_translations. Setting or clearing it requires both the owner write scope and write_translations; an empty value does not bypass either scope. Staff permissions and hosted MCP grants likewise require owner access plus settings.languages access at the matching read/write level. Fields without a translation in this locale are omitted from the response. An omitted field is not empty: shoppers see the store's base-language value, which the resource's own GET endpoint returns.

Path parameters

Name Type Description
id required uuid

Blog Post id.

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

Metafield definition namespace.

Example: details
key required string

Metafield definition key.

Example: subtitle
locale required string

Enabled non-default store locale.

Example: fr

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 METAFIELD_KEY_NOT_FOUND

    The namespace and key do not identify an accessible definition.

  • 404 NOT_FOUND

    The resource does not exist in this store.

  • 400 TRANSLATION_FIELD_NOT_TRANSLATABLE

    The definition is not translatable.

  • 400 TRANSLATION_LOCALE_REQUIRED

    Locale is missing.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default locale cannot be a translation target.

  • 400 METAFIELD_TRANSLATION_SOURCE_EMPTY

    The blog post has no value in this field yet, so there is nothing to translate.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The translated resource does not exist.

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

Set a blog post metafield translation

PUT write_blog + write_translations

Set or clear one translated custom-data value.

Send an empty value to clear the locale's translation. Reading a value translation requires both the owner read scope and read_translations. Setting or clearing it requires both the owner write scope and write_translations; an empty value does not bypass either scope. Staff permissions and hosted MCP grants likewise require owner access plus settings.languages access at the matching read/write level. Send an explicit string in value; omit neither the field nor its value, and do not send null. An empty string clears the translation. For list.string, send a JSON-encoded string array with one translated item for each source item, in the same order.

Path parameters

Name Type Description
id required uuid

Blog Post id.

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

Metafield definition namespace.

Example: details
key required string

Metafield definition key.

Example: subtitle
locale required string

Enabled non-default store locale.

Example: fr

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Idempotency-Key string

Optional key for this translation write. Reuse it only with the same payload when repeating the request.

Body parameters

Name Type Description
value required string

Translated value; empty clears it.

Example: Lancement

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 METAFIELD_KEY_NOT_FOUND

    The namespace and key do not identify an accessible definition.

  • 404 NOT_FOUND

    The resource does not exist in this store.

  • 400 TRANSLATION_FIELD_NOT_TRANSLATABLE

    The definition is not translatable.

  • 400 TRANSLATION_LOCALE_REQUIRED

    Locale is missing.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    Locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The default locale cannot be a translation target.

  • 400 METAFIELD_TRANSLATION_SOURCE_EMPTY

    The blog post has no value in this field yet, so there is nothing to translate.

  • 400 TRANSLATION_RESOURCE_ID_NOT_IN_STORE

    The translated resource does not exist.

  • 400 TRANSLATION_LIST_LENGTH_MISMATCH

    The translated list must have the same number of items as the source list.

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

  • 403 METAFIELD_WRITE_APP_OWN_ONLY

    An app token can translate only values of definitions its app owns.

  • 403 METAFIELD_WRITE_MERCHANT_READ_ONLY

    The definition belongs to an app and does not let merchants edit its values.

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

Webhook events#

Subscribe to these events when your integration mirrors localized blog posts. Update and clear events identify the locale and changed fields. One write can emit both events when it sets some fields and clears others. No event announces that translations became outdated. A translation is outdated (is_outdated: true) once its source field changes, and the blog post update event reports that change, so after an update that changes a translated field, treat that field's stored translations in every locale as outdated until they are updated or cleared.

Blog post translations updated

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

Fired when a blog post's translations are added or updated for a locale. Payload carries only the fields that changed.

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
locale string Always present
translation object Always present
translation.title string | null Selectable in the Payload builder
translation.slug string | null Selectable in the Payload builder
translation.content string | null Selectable in the Payload builder
translation.excerpt string | null Selectable in the Payload builder
translation.seo_title string | null Selectable in the Payload builder
translation.seo_description string | null Selectable in the Payload builder
updated_at string Always present

Blog post translations deleted

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

Fired when a blog post's translations are cleared for one or more fields in a locale, including for every translated locale when the post is deleted. Events of different topics (for example a post's translations/delete and its delete) 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
locale string Always present
translation object Always present
translation.title string | null Selectable in the Payload builder
translation.slug string | null Selectable in the Payload builder
translation.content string | null Selectable in the Payload builder
translation.excerpt string | null Selectable in the Payload builder
translation.seo_title string | null Selectable in the Payload builder
translation.seo_description string | null Selectable in the Payload builder
updated_at string Always present

Blog post metafield translations updated

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

Fired when a blog post metafield's translation is added or updated for a locale. metafield identifies the metafield by its owner and definition (ids, namespace, key, name, type); it is not the full metafield or its owner. Read them from the Store API for other fields.

Payload fields

Field Type Description
metafield object Always present
metafield.blog_post_id string Always present
metafield.blog_post_title string Always present
metafield.blog_post_slug string Always present
metafield.definition_id string Always present
metafield.namespace string Always present
metafield.key string Always present
metafield.name string Always present
metafield.type string Always present
metafield.app_id string | null Selectable in the Payload builder
metafield.app_access string Selectable in the Payload builder
metafield.merchant_access string Selectable in the Payload builder
locale string Always present
translation object Always present
translation.value string | null Always present
updated_at string Always present

Blog post metafield translations deleted

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

Fired when a blog post metafield's translation is cleared for a locale, including when its blog post is deleted. metafield identifies the metafield by its owner and definition (ids, namespace, key, name, type); it is not the full metafield or its owner. Read them from the Store API for other fields.

Payload fields

Field Type Description
metafield object Always present
metafield.blog_post_id string Always present
metafield.blog_post_title string Always present
metafield.blog_post_slug string Always present
metafield.definition_id string Always present
metafield.namespace string Always present
metafield.key string Always present
metafield.name string Always present
metafield.type string Always present
metafield.app_id string | null Selectable in the Payload builder
metafield.app_access string Selectable in the Payload builder
metafield.merchant_access string Selectable in the Payload builder
locale string Always present
translation object Always present
translation.value string | null Always present
updated_at string Always present