Types > StorefrontProductQuestion
Storefront APITypesStorefrontProductQuestion
StorefrontProductQuestion

Description

Topic: Product Questions

Fields

answers: [StorefrontProductQuestionAnswer]


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: StorefrontCustomer


detected_language: InfoLanguage


flagged: Boolean!

Whether you flagged for this question

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: StorefrontProduct


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)


voted: StorefrontCustomerVote!

Whether customer voted or not and how


yes_count: Int!

Number of times this question was voted yes

Example: 5


Used By

Mutations

storefrontProductQuestionsCreate, storefrontProductQuestionsModify

Queries

storefrontProductQuestions

Types

StorefrontProductQuestionAnswer, StorefrontProductQuestionPage, StorefrontQuestionSearchResult

Preview (typescript)

interface StorefrontProductQuestion {
answers?: (StorefrontProductQuestionAnswer | null)[]
created_at: string
customer?: StorefrontCustomer | null
detected_language?: InfoLanguage | null
flagged: boolean
id: string
no_count: number
product?: StorefrontProduct | null
rating: number
status: ApprovalStatus
text: string
updated_at: string
voted: StorefrontCustomerVote
yes_count: number
}