Commerce Engine is now in beta. We're working hard to make it better for you.
cURL
curl --request POST \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/catalog/products/{product_id}/reviews \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'user_id=<string>' \ --form 'order_number=<string>' \ --form rating=123 \ --form 'review_text=<string>' \ --form 'images=[ "<string>" ]' \ --form 'videos=[ "<string>" ]'
{ "message": "Review submitted successfully.", "success": true }
Create a product review
Access token
id of a particular product
Create Product Review model
Success response
The response is of type object.
object