Questions (storefront API)
Storefront and customer routes of the questions module. Send Accept-Language (or X-Locale from a browser) on every call; a customer route needs the session cookie.
POST /v1/questions/{id}/answer
Section titled “POST /v1/questions/{id}/answer”Answer product question
Parameters:
idin path (string, required).
Request body: AnswerQuestionDto.
Responses:
200: Answer added.201: no description. Body: object.400: Invalid input.401: Unauthorized.404: Question not found.
POST /v1/questions/{id}/helpful
Section titled “POST /v1/questions/{id}/helpful”Mark question as helpful
Parameters:
idin path (string, required).
Responses:
200: Marked helpful.201: no description.401: Unauthorized.404: Question not found.
Schemas
Section titled “Schemas”AnswerQuestionDto
Section titled “AnswerQuestionDto”answer(string, min length 1, max length 5000, required).