Blog List SEO translations

Read and write localized blog list seo fields through the Store API.

Translate seo_title, seo_description, social_title, and social_description for an enabled language other than the store's source language. Images and robots settings are shared across languages; set them for one country and language with Country page SEO. Supply strings; an empty string clears a translation. Omitted fields remain unchanged.

Save source text before adding its translation. Source edits mark translations outdated but keep serving them until replaced or removed. A field without a translation shows the generated default for that language, never the default-language text. Generated copy exists in ar, bn, cs, da, de, en, es, fi, fr, he, id, it, ja, ko, ms, nb, nl, pl, pt, pt-BR, pt-PT, ru, sv, th, tr, vi, zh, zh-CN and zh-TW; other languages get the English generated copy, so supply your own text for them. A translated title is final: the title pattern and store-name suffix are not applied to it. Reads and writes require the corresponding resource and translation scopes shown on each endpoint.

Get Blog List SEO translation

GET read_blog + read_translations

Get translated SEO for the public blog index.

The locale must be enabled and cannot be the store default. Fields without a translation in this locale are omitted from the response. The storefront does not show the source-language text for them: shoppers browsing in this locale get the generated default for this language. Generated copy exists in ar, bn, cs, da, de, en, es, fi, fr, he, id, it, ja, ko, ms, nb, nl, pl, pt, pt-BR, pt-PT, ru, sv, th, tr, vi, zh, zh-CN and zh-TW; other languages get the English generated copy, so write your own text for them.

Path parameters

Name Type Description
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.

  • 403 STORE_API_SCOPE_REQUIRED

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

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    The locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The locale is the store's default language, which holds the source 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.

Set Blog List SEO translation

PUT write_blog + write_translations

Set or clear translated SEO fields for the public blog index.

Only seo_title, seo_description, social_title and social_description are translatable; the social image and robots settings are shared by all languages (set them per country with Update country page SEO). A field still on its generated default can be translated. An empty value clears only that locale's field, after which the blog index shows the generated default for that language, not the source text. The write is atomic. 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
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

Field-keyed translations. Each value is a string.

Example: {"seo_title":"Actualités","seo_description":"Les dernières nouvelles."}

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_REQUEST_BODY

    The body is not a single JSON object.

  • 400 TRANSLATION_LOCALE_NOT_ENABLED

    The locale is not enabled for this store.

  • 400 TRANSLATION_DEFAULT_LOCALE_FORBIDDEN

    The locale is the store's default language, which holds the source values.

  • 400 TRANSLATION_FIELDS_REQUIRED

    translations has no field.

  • 400 TRANSLATION_FIELD_NOT_TRANSLATABLE

    A field other than seo_title, seo_description, social_title and social_description.

  • 409 TRANSLATION_MUTATION_CONFLICT

    The idempotency key was already used for another translation change.

  • 400 PAGE_SEO_META_TITLE_INVALID_CHARS

    A title (seo_title or social_title) contains a control character or a line break. error.details.field names the field.

  • 400 PAGE_SEO_META_TITLE_TOO_LONG

    A title (seo_title or social_title) is longer than seo_title_max_length from the limits endpoint. error.details.field names the field and the message gives the limit.

  • 400 PAGE_SEO_META_DESCRIPTION_INVALID_CHARS

    A description (seo_description or social_description) contains a control character. error.details.field names the field.

  • 400 PAGE_SEO_META_DESCRIPTION_TOO_LONG

    A description (seo_description or social_description) is longer than seo_description_max_length from the limits endpoint. error.details.field names the field and the message gives the limit.

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

Webhook events#

Subscribe to these events when your integration mirrors localized blog list seo. 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 list seo 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 List SEO translations updated

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

Fired when translated SEO fields are added or updated for the public blog index in a locale.

Payload fields

Field Type Description
blog_list_seo object Always present
blog_list_seo.page_type string Always present

The stable public blog-index identity, blog_list.

blog_list_seo.seo_title string Always present

The blog index SEO title in the store's default language.

blog_list_seo.seo_description string Always present

The blog index SEO description in the store's default language.

blog_list_seo.social_title string Always present

The default-language social sharing title override.

blog_list_seo.social_description string Always present

The default-language social sharing description override.

blog_list_seo.social_image_id string | null Always present

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

blog_list_seo.social_image_url string | null Always present

The assigned Media library image's URL on the store's primary domain, as the Store API shows it, or null when no override is assigned.

blog_list_seo.robots_index boolean | null Always present

Whether search engines may index the blog index, or null when the merchant has not chosen and the default applies (no indexing while the blog has no posts).

blog_list_seo.robots_follow boolean | null Always present

Whether search engines may follow links from the blog index, or null when the merchant has not chosen and the default applies.

blog_list_seo.updated_at string Always present

When the source blog-index SEO settings last changed.

locale string Always present

The locale whose Blog List SEO translation changed.

translation object Always present
translation.seo_title string | null Selectable in the Payload builder

The translated SEO title; empty on delete means it was removed.

translation.seo_description string | null Selectable in the Payload builder

The translated SEO description; empty on delete means it was removed.

translation.social_title string | null Selectable in the Payload builder

The translated social title; empty on delete means it was removed.

translation.social_description string | null Selectable in the Payload builder

The translated social description; empty on delete means it was removed.

updated_at string Always present

When this locale's Blog List SEO translation changed.

Blog List SEO translations deleted

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

Fired when translated SEO fields are cleared for the public blog index in a locale.

Payload fields

Field Type Description
blog_list_seo object Always present
blog_list_seo.page_type string Always present

The stable public blog-index identity, blog_list.

blog_list_seo.seo_title string Always present

The blog index SEO title in the store's default language.

blog_list_seo.seo_description string Always present

The blog index SEO description in the store's default language.

blog_list_seo.social_title string Always present

The default-language social sharing title override.

blog_list_seo.social_description string Always present

The default-language social sharing description override.

blog_list_seo.social_image_id string | null Always present

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

blog_list_seo.social_image_url string | null Always present

The assigned Media library image's URL on the store's primary domain, as the Store API shows it, or null when no override is assigned.

blog_list_seo.robots_index boolean | null Always present

Whether search engines may index the blog index, or null when the merchant has not chosen and the default applies (no indexing while the blog has no posts).

blog_list_seo.robots_follow boolean | null Always present

Whether search engines may follow links from the blog index, or null when the merchant has not chosen and the default applies.

blog_list_seo.updated_at string Always present

When the source blog-index SEO settings last changed.

locale string Always present

The locale whose Blog List SEO translation changed.

translation object Always present
translation.seo_title string | null Selectable in the Payload builder

The translated SEO title; empty on delete means it was removed.

translation.seo_description string | null Selectable in the Payload builder

The translated SEO description; empty on delete means it was removed.

translation.social_title string | null Selectable in the Payload builder

The translated social title; empty on delete means it was removed.

translation.social_description string | null Selectable in the Payload builder

The translated social description; empty on delete means it was removed.

updated_at string Always present

When this locale's Blog List SEO translation changed.