Blog Comments

Read, moderate, delete, bulk manage, and subscribe to blog comments through the Store API.

Use these endpoints to read, moderate, and delete blog comments. Reads require read_blog; moderation and deletion require write_blog. Responses include the author's email for moderation. Do not expose management responses as public comment data.

Comments have no replies. Shopper submissions use the hosted comment form and follow the store's comment and moderation settings. A repeated submission with the same receipt does not create a second comment. Spam and trash comments are deleted 30 days after they got that status, which sends blog_comments/delete; IP addresses and browser details are removed after 30 days and email addresses after 90 days. The store's settings response includes the retention notice.

Read page sizes and bulk caps from /blog/comments/limits instead of hard-coding them; limit outside 1 to list_max_limit is refused. Unknown or wrongly typed request fields are rejected with STORE_API_BODY_PROPERTY_UNKNOWN or STORE_API_BODY_PROPERTY_INVALID; a malformed comment id returns STORE_API_INVALID_COMMENT_ID.

Bulk moderation and deletion apply atomically to the requested existing comments. Write responses carry requested_count (distinct ids sent), count and ids (comments changed or deleted). A moderation call that does not change status returns count 0, says the comment already has that status, and emits no webhook. Webhook events describe each changed or deleted comment; customer_id is null for a guest, and deletes_at is null except on a spam or trash comment in blog_comments/update. Deleting a blog post also deletes its comments and emits their deletion events.

Endpoints#

Blog Comment limits

GET read_blog

Fetch blog comment limits.

Returns pagination, search, bulk-operation, field, and moderation-status limits. 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 comments

GET read_blog

List blog comments for moderation.

Returns store-wide comments in newest-first order. Filter by status or post, or search author name, author email, and content. Each comment carries status_display, its status as shown in Tringify, in English.

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, 1 to 100 (list_max_limit from the Blog Comment limits). Default 20.

Example: 20
search string

Search author name, author email, or comment content.

Example: launch
status string

Filter by moderation status.

Allowed values
pendingapprovedspamtrash
Example: pending
post_id uuid

Filter by Blog Post id.

Example: 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 VALIDATION_LIST_INVALID_PAGE

    Page must be a positive integer.

  • 400 VALIDATION_LIST_INVALID_LIMIT

    Limit is not between 1 and list_max_limit from the Blog Comment limits.

  • 400 INVALID_INPUT

    post_id is not a valid UUID, or cursor is invalid or stale; restart from the first page.

  • 400 BLOG_COMMENT_SEARCH_TOO_LONG

    Search exceeds the contract maximum.

  • 400 BLOG_COMMENT_STATUS_INVALID

    Status is not supported.

  • 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 blog comment counts

GET read_blog

Fetch counts by moderation status.

Returns the current pending, approved, spam, and trash counts for the store.

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.

Get a blog comment

GET read_blog

Fetch one blog comment.

Returns the comment only when it belongs to the token's store. status_display is its status as shown in Tringify, in English.

Path parameters

Name Type Description
id required uuid

Blog Comment 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_COMMENT_ID

    Comment id is not a valid UUID.

  • 404 NOT_FOUND

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

Moderate a blog comment

PUT write_blog

Change one comment's moderation status.

Sets status to pending, approved, spam, or trash. The change, audit record, and update webhook commit atomically. requested_count is 1; count is 1 when the status changed and 0 when the comment already had it (no webhook or audit record then, and the message says so).

Path parameters

Name Type Description
id required uuid

Blog Comment id.

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

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
status required string

New moderation status: pending, approved, spam, trash.

Example: approved

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_COMMENT_ID

    Comment id is not a valid UUID.

  • 404 NOT_FOUND

    Comment does not exist in this store.

  • 400 STORE_API_INVALID_REQUEST_BODY

    Request body is not a JSON object.

  • 400 BLOG_COMMENT_STATUS_INVALID

    Status is not pending, approved, spam, or trash.

  • 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 moderate blog comments

POST write_blog

Change the moderation status of multiple comments.

Updates every selected comment atomically. If an id is invalid, missing, or belongs to another store, none are changed. requested_count is the number of distinct ids sent; count and ids cover the comments whose status changed (comments that already had the status are left as they are).

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
comment_ids required array<uuid>

Comment ids to update, up to 100 (bulk_update_max_items from the limits).

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

New moderation status: pending, approved, spam, trash.

Example: approved

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 a JSON object.

  • 400 STORE_API_INVALID_COMMENT_ID

    An id in comment_ids is not a valid UUID.

  • 400 BLOG_COMMENT_BULK_NO_IDS

    No comment ids were provided.

  • 400 BLOG_COMMENT_BULK_UPDATE_TOO_MANY

    Batch exceeds the bulk update cap.

  • 400 BLOG_COMMENT_STATUS_INVALID

    Status is not pending, approved, spam, or trash.

  • 404 NOT_FOUND

    One or more comments 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.

Delete a blog comment

DELETE write_blog

Permanently delete one comment.

Deletes the comment atomically with its audit record and delete webhook. This operation cannot be undone. requested_count and count are 1.

Path parameters

Name Type Description
id required uuid

Blog Comment 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_COMMENT_ID

    Comment id is not a valid UUID.

  • 404 NOT_FOUND

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

Bulk delete blog comments

POST write_blog

Permanently delete multiple comments.

Deletes every selected comment atomically. If an id is invalid, missing, or belongs to another store, none are deleted. requested_count is the number of distinct ids sent and equals count.

Headers

Name Type Description
Authorization required string

Bearer Store API token.

Body parameters

Name Type Description
comment_ids required array<uuid>

Comment ids to delete, up to 100 (bulk_delete_max_items from the limits).

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

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 a JSON object.

  • 400 STORE_API_INVALID_COMMENT_ID

    An id in comment_ids is not a valid UUID.

  • 400 BLOG_COMMENT_BULK_NO_IDS

    No comment ids were provided.

  • 400 BLOG_COMMENT_BULK_DELETE_TOO_MANY

    Batch exceeds the bulk delete cap.

  • 404 NOT_FOUND

    One or more comments 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 comments

POST write_blog

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

Selects every blog comment matching filter when the request is made (at most 100000) and applies action to them in the background, in steps of at most the bulk limits (bulk_update_max_items, bulk_delete_max_items). Actions: update_status moderates each blog comment as Bulk moderate blog comments does; delete permanently deletes each blog comment as Bulk delete blog comments does. Returns HTTP 202 with the operation; poll Get blog comment bulk operation until its status is no longer queued. Blog Comments created or changed to match after the request are not included. A store runs one blog comment 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 update_status, delete.

Allowed values
update_statusdelete
Example: delete
filter object

The blog comments to change, as the list filters them: status, search (author name, author email or content) and post_id. All optional and combined with AND. An empty or omitted filter selects every blog comment in the store. An unknown field is refused.

Example: {"status":"spam"}
params object

What the action sets. update_status: status (pending, approved, spam, trash). Actions without parameters take none.

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 comment matches the filter.

  • 400 CONTENT_BULK_OPERATION_TOO_MANY

    More than 100000 blog comments match the filter.

  • 409 CONTENT_BULK_OPERATION_ACTIVE

    Another blog comment 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.

  • 400 BLOG_COMMENT_STATUS_INVALID

    filter.status or params.status is not a moderation status.

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

POST write_blog

Stop a running bulk operation.

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

author_name

string

No

No

No

author_email

string

No

No

No

content

string

No

No

No

post_id

string (UUID)

No

No

No

post_title

string

No

No

No

customer_id

string (UUID)

No

No

No

status

string

No

Yes

update

No

status_display

string

No

No

No

created_at

string (RFC 3339)

No

No

No

deletes_at

string (RFC 3339)

No

No

No

Webhook events#

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

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

Fired when a shopper submits a blog comment (pending or approved per the store's moderation setting).

Payload fields

Field Type Description
blog_comment object Always present
blog_comment.id string Always present
blog_comment.post_id string Always present
blog_comment.post_title string Selectable in the Payload builder
blog_comment.post_slug string Selectable in the Payload builder
blog_comment.customer_id string | null Selectable in the Payload builder
blog_comment.author_name string Always present
blog_comment.content string Always present
blog_comment.status string Always present
blog_comment.created_at string Always present
blog_comment.deletes_at string | null Selectable in the Payload builder

Blog comment updated

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

Fired when a merchant changes a blog comment's moderation status.

Payload fields

Field Type Description
blog_comment object Always present
blog_comment.id string Always present
blog_comment.post_id string Always present
blog_comment.post_title string Selectable in the Payload builder
blog_comment.post_slug string Selectable in the Payload builder
blog_comment.customer_id string | null Selectable in the Payload builder
blog_comment.author_name string Always present
blog_comment.content string Always present
blog_comment.status string Always present
blog_comment.created_at string Always present
blog_comment.deletes_at string | null Selectable in the Payload builder

Blog comment deleted

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

Fired when a merchant permanently deletes a blog comment, when deleting one or more parent posts cascades their comments, and when a spam or trash comment is deleted automatically 30 days after it got that status. The payload's deletes_at is null.

Payload fields

Field Type Description
blog_comment object Always present
blog_comment.id string Always present
blog_comment.post_id string Always present
blog_comment.post_title string Selectable in the Payload builder
blog_comment.post_slug string Selectable in the Payload builder
blog_comment.customer_id string | null Selectable in the Payload builder
blog_comment.author_name string Always present
blog_comment.content string Always present
blog_comment.status string Always present
blog_comment.created_at string Always present
blog_comment.deletes_at string | null Selectable in the Payload builder