Blog Tags

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

Blog tags organize posts by topic. Each tag has a page at /{blog}/tagged/{slug} (the slug in the shopper's language) listing the posts with the tag, rendered with the theme's blog tag template, or with its blog list template when the theme has none; when a slug changes with create_redirect (default true) the old address moves (301) to the new one. Reads require read_blog; writes require write_blog. Read field lengths, page sizes and the bulk delete cap from /blog/tags/limits instead of hard-coding them. Names and slugs must be unique in the store, in every language. An omitted or empty create slug is generated from the name; an update keeps an omitted slug and rejects an empty one. Slugs are saved in lowercase on create, update and translations. post_count counts posts in any status, drafts included. Unknown or wrongly typed request fields are rejected with STORE_API_BODY_PROPERTY_UNKNOWN or STORE_API_BODY_PROPERTY_INVALID.

Deleting a tag that posts use asks for confirmation first; the warning counts those posts. The confirmed delete removes the tag from them without deleting posts. Bulk deletion lists deleted ids in deleted and every id it did not delete in failed, each with a code (NOT_FOUND or CONFLICT) and a reason. Translate names and slugs through Blog Tag translations.

Endpoints#

Blog Tag limits

GET read_blog

Fetch Blog Tag limits and per-field constraints.

Returns the per-field maximum lengths and request caps that apply to Blog Tag endpoints. Useful for clients to validate inputs before sending them and to size UIs. max_per_store is this store's plan cap, count is how many exist now, and usage is the label as Tringify shows it, in English.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Errors

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

GET read_blog

List blog tags for the store.

Returns paginated Blog Tags. total counts matches for the current filters; store_total counts all records in the store and can be compared with the store capacity returned by the limits endpoint. post_count counts the blog posts that have the tag, in any status (drafts and scheduled posts count). Use search to filter by name or slug. has_next says whether another page follows; send its next_cursor as cursor to read it. A cursor page has no page number, so page is left out of its response. Invalid pagination and unsupported sort values are rejected.

Query parameters

Name Type Description
cursor string

Use next_cursor from the previous page with unchanged filters and sorting. Cursor pages reuse the first page totals, avoid deep offsets and leave page out of the response. Invalid or stale cursors return INVALID_INPUT on cursor; restart from the first page.

page integer

Page number of an offset page. Ignored when cursor is sent.

Example: 1
limit integer

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

Example: 20
search string

Search Blog Tags by name or slug.

Example: product-updates
sort_by string

Sort field from the Blog Tag list contract.

Allowed values
namepost_countcreated_atupdated_at
Example: name
sort_direction string

Sort direction from the Blog Tag list contract.

Allowed values
ascdesc
Example: asc

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 within the contract cap.

  • 400 VALIDATION_LIST_INVALID_SORT_BY

    Sort field is not supported for this endpoint. The message lists the supported fields.

  • 400 VALIDATION_LIST_INVALID_SORT_DIRECTION

    Sort direction must be asc or desc.

  • 400 BLOG_TAG_SEARCH_TOO_LONG

    Search exceeds search_max_length from the Blog Tag limits.

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

GET read_blog

Fetch one blog tag by id.

Returns the Blog Tag if it belongs to the token's store.

Path parameters

Name Type Description
id required uuid

Blog Tag 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_TAG_ID

    The blog tag id is not a valid UUID.

  • 404 NOT_FOUND

    Blog Tag 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.

Create a blog tag

POST write_blog

Create a blog tag.

Creates a Blog Tag. name is required. slug is optional on create; when omitted or empty, it is generated from the name. Slugs are saved in lowercase on every path (create, update and translations), so Spring-News is saved as spring-news. Neither field can be null. create_redirect only applies to updates and is refused here. Unknown or wrongly typed body properties are refused.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
name required string

Blog Tag name.

Example: Product Updates
slug string

Optional slug, saved in lowercase. Omit it or send an empty string to generate it from the name.

Example: product-updates

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 BLOG_TAG_NAME_REQUIRED

    Name is empty after normalization.

  • 400 BLOG_TAG_NAME_TOO_LONG

    Name exceeds name_max_length from the Blog Tag limits. The message names the limit.

  • 400 BLOG_TAG_SLUG_FORMAT

    Slug is not valid for Blog Tag URLs.

  • 400 BLOG_TAG_SLUG_TOO_LONG

    Slug exceeds slug_max_length from the Blog Tag limits. The message names the limit.

  • 409 BLOG_TAG_DUPLICATE

    Name or slug is already used by another blog tag in this store, in any language.

  • 400 BLOG_TAG_SLUG_GENERATION_FAILED

    No slug could be generated from the name; send a slug.

  • 400 BLOG_TAG_UNIQUE_SLUG_GENERATION_FAILED

    No free slug could be generated from the name; send a slug.

  • 400 BLOG_TAG_PLAN_LIMIT_REACHED

    This store is at its plan blog tag cap (max_per_store in the limits).

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

PUT write_blog

Update a blog tag.

Updates provided Blog Tag fields. Omitted fields are left unchanged; name, slug and create_redirect cannot be null. When slug is provided it must be non-empty and valid, and it is saved in lowercase; create is the only path that generates a blank slug from the name. The tag's page (/{blog}/tagged/{slug}, the slug in the shopper's language) lists the posts with the tag and renders with the theme's blog tag template, or its blog list template when the theme has none. Changing the slug with create_redirect (default true) keeps the old slug leading to the tag: its old address moves (301) to the new one; with false the old slug is let go and its address is a 404. Unknown or wrongly typed body properties are refused.

Path parameters

Name Type Description
id required uuid

Blog Tag id.

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

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
name string

Blog Tag name. Omit to leave it unchanged.

Example: Product Updates
slug string

New slug, saved in lowercase. Omit to leave the current slug unchanged; an empty value is invalid.

Example: product-updates
create_redirect boolean

When the slug changes, keep the old slug leading to this tag: the tag page's old address moves (301) to the new one. Defaults to true. With false the old slug is let go and its address is a 404.

Example: true

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_TAG_ID

    The blog tag id is not a valid UUID.

  • 400 STORE_API_INVALID_REQUEST_BODY

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

  • 400 BLOG_TAG_NAME_REQUIRED

    Name is empty after normalization.

  • 400 BLOG_TAG_NAME_TOO_LONG

    Name exceeds name_max_length from the Blog Tag limits. The message names the limit.

  • 400 BLOG_TAG_SLUG_FORMAT

    Slug is not valid for Blog Tag URLs.

  • 400 BLOG_TAG_SLUG_TOO_LONG

    Slug exceeds slug_max_length from the Blog Tag limits. The message names the limit.

  • 409 BLOG_TAG_DUPLICATE

    Name or slug is already used by another blog tag in this store, in any language.

  • 400 BLOG_TAG_SLUG_REQUIRED

    Slug is empty. Only create generates a slug from the name.

  • 404 NOT_FOUND

    Blog Tag 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 tag

DELETE write_blog

Delete a blog tag.

Deletes a Blog Tag and its translations. If the tag is assigned to blog posts (in any status), the first request returns CONFIRMATION_REQUIRED with a warning that counts those posts; repeat it with confirmed: true and the returned token, and the delete takes the tag off those posts: each one sends blog_posts/update with changed_fields: ["tags"]. A tag on up to 100 posts is deleted in this request: the response is {deleted: true, lifecycle: null} with code BLOG_TAG_DELETED. A tag on more posts is taken off them in a background lifecycle job, 100 at a time, and deleted when every post is done: the response is {deleted: false, lifecycle: {id, kind, status, processed, total, message}} with code BLOG_TAG_DELETION_QUEUED; poll GET /blog/tags/lifecycle-jobs/{job_id}. Unknown or wrongly typed body properties are refused.

Path parameters

Name Type Description
id required uuid

Blog Tag 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

On a confirmation retry, set this to true and send the returned confirmation_token. Omit it on the first request.

confirmation_token string

Token from the CONFIRMATION_REQUIRED response. Omit it on the first request; when using it, repeat the same request (the same id, or for a bulk delete the same id selection).

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_TAG_ID

    The blog tag id is not a valid UUID.

  • 400 STORE_API_INVALID_REQUEST_BODY

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

  • 400 BLOG_TAG_CONFIRMATION_INVALID

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

  • 409 CONFIRMATION_REQUIRED

    A requested blog tag is assigned to blog posts. The details carry the warning, which counts those posts, and a confirmation token; repeat the request with confirmed: true and the token.

  • 404 NOT_FOUND

    Blog Tag does not exist in this store.

  • 409 BLOG_TAG_BULK_RACED

    The blog tag's post assignments changed while it was being deleted; send the request again.

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

POST write_blog

Delete multiple blog tags.

Deletes multiple Blog Tags and their translations in one request, up to bulk_delete_max_items from the limits; a repeated id counts once. When any selected tag is assigned to blog posts, the first request returns CONFIRMATION_REQUIRED with a warning that counts the posts that use any selected tag (a post with two selected tags counts once) and makes no changes; repeat it with confirmed: true and the returned token to take the tags off those posts (each changed post sends blog_posts/update with changed_fields: ["tags"]) and delete them. When the selected tags are on 100 posts or fewer in total, every tag is deleted now. With more, tags without posts are deleted now and each tag that has posts is listed in queued, with one lifecycle job per tag in jobs that takes it off its posts and deletes it; poll it with GET /blog/tags/lifecycle-jobs/{job_id}. Deleted ids are listed in deleted. Each id that was not deleted is listed in failed as {id, name, code, reason} (name only when the tag was found): code is NOT_FOUND when no such tag exists in this store, or CONFLICT when its post assignments changed while it was being deleted (send it again); reason is the message. The response code is BLOG_TAGS_DELETED, or BLOG_TAGS_BULK_DELETE_DEFERRED when tags are queued. Unknown or wrongly typed body properties are refused.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
tag_ids required array<uuid>

Blog Tag ids to delete.

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

On a confirmation retry, set this to true and send the returned confirmation_token. Omit it on the first request.

confirmation_token string

Token from the CONFIRMATION_REQUIRED response. Omit it on the first request; when using it, repeat the same request (the same id, or for a bulk delete the same id selection).

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_TAG_ID

    A requested blog tag id is not a valid UUID.

  • 400 BLOG_TAG_BULK_NO_IDS

    tag_ids is missing or empty.

  • 400 BLOG_TAG_BULK_DELETE_TOO_MANY

    More ids than bulk_delete_max_items from the Blog Tag limits.

  • 400 STORE_API_INVALID_REQUEST_BODY

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

  • 400 BLOG_TAG_CONFIRMATION_INVALID

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

  • 409 CONFIRMATION_REQUIRED

    A requested blog tag is assigned to blog posts. The details carry the warning, which counts those posts, and a confirmation token; repeat the request with confirmed: true and the 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.

Get a blog tag deletion job

GET read_blog

Fetch the progress of a blog tag deletion job.

Returns the lifecycle job a blog tag delete or bulk delete started: kind is tag_delete, status is running, completed (the tag is off every post and deleted) or failed, processed and total count posts, and message is the localized progress or result. A failed job names its cause in failure_code (otherwise null): the posts it changed stay without the tag and the tag is kept; delete it again to retry. A job that hits a temporary error retries with a growing delay and stays running.

Path parameters

Name Type Description
job_id required uuid

lifecycle.id from a delete, or a jobs[].id from a bulk delete.

Example: 0b6f5d1e-8c9a-4e2b-9f3d-7a1c2e4b6d80

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

    job_id is not a valid UUID.

  • 404 NOT_FOUND

    No blog tag deletion job with this id exists 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.

Change matching blog tags

POST write_blog

Queue a change to every blog tag that matches a filter.

Selects every blog tag matching filter when the request is made (at most 100000) and applies action to them in the background, in steps of at most bulk_delete_max_items from the limits. Actions: delete deletes each blog tag as Bulk delete blog tags does, taking it off its blog posts (each changed post sends blog_posts/update); a step whose tags are on more than 100 posts deletes those tags with background lifecycle jobs. Returns HTTP 202 with the operation; poll Get blog tag bulk operation until its status is no longer queued. If any selected blog tag is assigned to blog posts, the first request returns CONFIRMATION_REQUIRED with a warning that counts those posts; repeat it with confirmed: true and the returned token. The token covers exactly the blog tags selected at that moment: if the selection changes before you repeat, the request asks again. Blog Tags created or changed to match after the request are not included. A store runs one blog tag 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.

Allowed values
delete
Example: delete
filter object

The blog tags to change, as the list filters them: search (text in the name or slug). All optional and combined with AND. An empty or omitted filter selects every blog tag in the store. An unknown field is refused.

Example: {"search":"summer"}
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 tag matches the filter.

  • 400 CONTENT_BULK_OPERATION_TOO_MANY

    More than 100000 blog tags match the filter.

  • 409 CONTENT_BULK_OPERATION_ACTIVE

    Another blog tag 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_TAG_CONFIRMATION_INVALID

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

  • 400 BLOG_TAG_SEARCH_TOO_LONG

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

  • 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 tag 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 tags it selected; succeeded and failed split it (blog tags the action leaves as they were count as succeeded). failures lists each blog tag 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 tag bulk operation

POST write_blog

Stop a running bulk operation.

Stops the operation; the step in progress is rolled back. Blog Tags 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 tag 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.

Fields#

Field

Type

Create

Update

Required

Translatable

name

string

Yes

Yes

create

Yes

slug

string

Yes

Yes

Yes

post_count

integer

No

No

No

create_redirect

boolean

No

Yes

No

created_at

string (RFC 3339)

No

No

No

updated_at

string (RFC 3339)

No

No

No

Webhook events#

Subscribe to these events to keep your integration in sync with blog tags. 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.

Blog tag created

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

Fired when a blog tag is created.

Payload fields

Field Type Description
blog_tag object Always present
blog_tag.id string Always present
blog_tag.name string Always present
blog_tag.slug string Always present
blog_tag.post_count integer Always present

How many blog posts have the tag, in any status (drafts and scheduled posts count). Assigning or removing the tag changes it without sending blog_tags/update.

blog_tag.created_at string Always present
blog_tag.updated_at string Always present

Blog tag updated

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

Fired when a blog tag's name or slug changes; changed_fields names them (name, slug). Assigning the tag to posts or removing it changes post_count without this event.

Possible changed_fields values

The changed_fields array names exactly which of these changed in this event — use it to skip processing updates your integration doesn't care about.

name slug

Payload fields

Field Type Description
blog_tag object Always present
blog_tag.id string Always present
blog_tag.name string Always present
blog_tag.slug string Always present
blog_tag.post_count integer Always present

How many blog posts have the tag, in any status (drafts and scheduled posts count). Assigning or removing the tag changes it without sending blog_tags/update.

blog_tag.created_at string Always present
blog_tag.updated_at string Always present
changed_fields array Always present

Blog tag deleted

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

Fired when a blog tag is deleted. The same delete sends blog_tags/translations/delete for each translated language; events of different topics can arrive in any order.

Payload fields

Field Type Description
blog_tag object Always present
blog_tag.id string Always present
blog_tag.name string Always present
blog_tag.slug string Always present
blog_tag.post_count integer Always present

How many blog posts have the tag, in any status (drafts and scheduled posts count). Assigning or removing the tag changes it without sending blog_tags/update.

blog_tag.created_at string Always present
blog_tag.updated_at string Always present