Blog settings control who can submit comments and whether new comments require moderation. Reads require read_blog; writes require write_blog. comments_mode is disabled, all, or registered.
Updates preserve omitted fields; a setting cannot be set to null. At least one setting must be supplied. An update that changes nothing keeps updated_at, emits no webhook and returns BLOG_SETTINGS_UNCHANGED. Unknown or wrongly typed fields are rejected with STORE_API_BODY_PROPERTY_UNKNOWN or STORE_API_BODY_PROPERTY_INVALID. Disabling comments hides existing comments and sets public counts to zero without deleting records. Re-enabling comments restores their visibility according to their moderation status. These endpoints configure comments; they do not create shopper comments.
Endpoints#
Get blog settings
Get blog comment settings.
Returns the supported modes, the store's current mode and moderation choice, and its blocked words: a comment holding one of comment_blocked_words (or, while comment_starter_words is true, of the built-in comment_starter_words_list) waits for approval even with moderation off. Words match whole and case-insensitively; a phrase matches its words in order. comment_blocked_words_max and comment_blocked_word_max_length are the most words, and the longest one, the list accepts. feed_urls are the blog's RSS and Atom feeds on the primary domain (the 50 newest published posts with full content); null while the store has no primary domain.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update blog settings
Update blog comment settings.
This is an atomic patch. Omitted fields stay unchanged; a field cannot be set to null. Disabling comments hides existing comments and reports zero counts without deleting them. A request that changes nothing sends no webhook, writes no audit record, keeps updated_at and answers BLOG_SETTINGS_UNCHANGED.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
comments_mode
|
string |
Who may comment: disabled, all, or registered. |
comments_moderation
|
boolean |
Whether new comments wait for merchant approval. |
comment_blocked_words
|
array<string> |
Words and phrases that hold a comment for approval even with moderation off. Replaces the list; send [] to clear it. Up to 200 entries of up to 50 characters; blanks and repeats are dropped. |
comment_starter_words
|
boolean |
Whether the built-in list of common spam words (comment_starter_words_list) also holds comments for approval. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
403STORE_API_SCOPE_REQUIREDToken is valid but lacks the required scope for this call.
-
400STORE_API_INVALID_REQUEST_BODYThe request body is not a JSON object.
-
400BLOG_SETTINGS_NO_FIELDS_TO_UPDATENo supported settings field was supplied.
-
400BLOG_COMMENTS_MODE_INVALIDComments mode is not disabled, all, or registered.
-
400BLOG_COMMENT_BLOCKED_WORDS_LIMITcomment_blocked_words has more than 200 entries or one longer than 50 characters.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Webhook events#
Subscribe when an integration mirrors comment availability or moderation behavior. The settings update and its event commit together.
Blog settings updated
Fired when blog comment settings change.
Payload fields
| Field | Type | Description |
|---|---|---|
settings |
object |
Always present |
settings.comments_mode |
string |
Always present |
settings.comments_moderation |
boolean |
Selectable in the Payload builder |
settings.comment_blocked_words |
array |
Selectable in the Payload builder |
settings.comment_starter_words |
boolean |
Selectable in the Payload builder |
settings.updated_at |
string |
Always present |