Reviews > Product Reviews > productReviewsSettingsCreate
Commerce APIReviewsProduct ReviewsproductReviewsSettingsCreate
productReviewsSettingsCreate
POST:product_reviews/settings.json

Description

Modify review settings.

Permission bit: "product_review_settings.modify"

Topic: Product Reviews

Arguments

data: ReviewSettingsCreate!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

acceptable_word_list: [String!]

If certain words are acceptable by your audience, you can override them using this parameter


approve_reviews: Boolean

Automatically approve reviews

Example: true


approve_threshold: Int

Approve reviews only above certain score threshold

Example: 5

Valid when: approve_threshold is in range: 0 ≤ approve_threshold ≤ 9


bad_word_list: [String!]

Additional list of bad words (we also have internal undisclosed list of words we filter against)


customer_reminder: CustomerReviewReminder

Whether to send an email asking customer for a product review


customer_reminder_days: Int

When "customer_reminder" is "custom", this is the number of days to wait before sending an email

Example: 2


default_review_dimension_set_id: String

Default review dimension set unique identifier

Example: "rs_EQzGqWoY"

Valid when: default_review_dimension_set_id matches regexp pattern: ^rs_


filter_content: Boolean

Filter text for explicit content

Example: true


Result

ReviewSettings

Preview (typescript)

Loading module