Ask the seller a question about a product
POST
/public/products/{productId}/questions
Guest-friendly (a customer token, when present, only links the customer id). The question lands pending; the product's vendor is notified in the back office (product_question_asked, in-app; e-mail only if the vendor opted in). Nothing is e-mailed to the asker. The answer appears on the product page once given.
The same question from the same e-mail on the same product within 24 h is acknowledged (202) but not stored twice. The product must be published.
Auth: Bearer JWT optional (guest-friendly).
Authorizations
bearerAuth
Jeton client obtenu par POST /auth/login (ou /auth/register), renouvelé par POST /auth/refresh.
Type
HTTP (bearer)
or
Parameters
Path Parameters
productId*
Type
Requiredstring
Request Body
application/json
JSON "question": "string", "email": "user@example.com"
{
}
Responses
Question received.
application/json
JSON "ok": true, "data": { "status": "pending", "message": "string" }
{
}