Types > ProductQuestion
Commerce APITypesProductQuestion
ProductQuestion

Description

Topic: Product Questions

Fields

answers: [ProductQuestionAnswer]

Answers for this question

Expandable

Permission bit: "product_question_answers.read"


created_at: String!

The date and time when the question was created, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


customer: Customer

Customer who wrote the question

Expandable

Permission bit: "customers.read"


detected_language: InfoLanguage

Language detected for this question

Expandable


email_message: Message


flag_count: Int!

Number of times this question was flagged

Example: 5


flag_ignore: Boolean!

Whether flagging actions are ignored

Example: false


id: String!

Unique question identifier. See also: Unique Identifiers

Example: "qu_EQzGqWoY"


no_count: Int!

Number of times this question was voted no

Example: 5


product: Product

Product this question is about

Expandable

Permission bit: "products.read"


rating: Int!

Rating based on yes/no votes (yes_count minus no_count)

Example: -6


status: ApprovalStatus!

Publishing approval status


text: String!

Text of the question

Example: "Great product!"


updated_at: String!

The date and time when the question was last updated, RFC 3339 format

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


yes_count: Int!

Number of times this question was voted yes

Example: 5


Used By

Mutations

productQuestionsCreate, productQuestionsModify

Queries

productQuestions

Types

ProductQuestionAnswer, ProductQuestionExpandableItems, ProductQuestionPage, ProductQuestionSearchResult, UnifiedSearchResult

Preview (typescript)

Loading module