Reviews
Create review
Changed onCreates a new review for a product
post/reviews
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Idempotency-Key, string
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Review Create Request required
product, string required
Product ID the review is for
contact, string nullable
Contact ID, optional
customer_name, string nullable
Display name (required when no contact)
rating, integer required
Star rating, 1-5
content, string required
Review body
Response
Review created
Review required
id, string required
object, string required
rating, integer required
customer_name, string nullable required
content, string nullable required
created_at, string date-time required
customer_image_url, string nullable required
Changes
- warning
the
ratingrequest property's max was set to5.00 - warning
the
ratingrequest property's min was set to1.00
- warning
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
6 more changes in this revision
- warning