Skip to content
You are reading the unreleased documentation. No version is released yet, and these pages describe code that is not in a release.

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.

Answer product question

Parameters:

  • id in path (string, required).

Request body: AnswerQuestionDto.

Responses:

  • 200: Answer added.
  • 201: no description. Body: object.
  • 400: Invalid input.
  • 401: Unauthorized.
  • 404: Question not found.

Mark question as helpful

Parameters:

  • id in path (string, required).

Responses:

  • 200: Marked helpful.
  • 201: no description.
  • 401: Unauthorized.
  • 404: Question not found.
  • answer (string, min length 1, max length 5000, required).