Contenido y tiendaProductos
Crear una reseña en la tienda
Submits a review for a product. It is not published immediately: the merchant moderates it first.
POST
/v1/products/{productId}/reviewsCrear una reseña en la tienda. Una solicitud exitosa devuelve HTTP 200 con el cuerpo de respuesta documentado.
Parámetros de ruta
productId*string
Identificador del producto.
Parámetros de cabecera
x-Store-Domain*string
Slug o dominio configurado que selecciona el contexto de tienda en el gateway central de Storefront.
Longitud
1 <= length <= 253Cuerpo de la solicitud
application/json
Definiciones TypeScript
Usa esta definición en TypeScript.
Cuerpo de la respuesta
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/products/7204558912004325301/reviews" \ -H "x-Store-Domain: my-store" \ -H "Content-Type: application/json" \ -d '{ "rating": 1, "content": "example", "title": "Example title", "reviewerName": "Example resource", "reviewerEmail": "andrea@example.com", "orderId": "7204558912004325301", "reviewToken": "replace_with_the_issued_token" }'{ "id": "7204558912004325301", "productId": "7204558912004325301", "isVerifiedPurchase": false, "rating": 1, "title": "Example title", "content": "example", "reviewerName": "Example resource", "createdOn": "2026-08-01T15:30:00Z"}