Reviews

Create review

Creates a new review for a product

post/reviews

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/reviews
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

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

productstring required

Product ID the review is for

customerstring nullable

Customer ID, optional

customer_namestring nullable

Display name (required when no customer)

ratinginteger required

Star rating, 1-5

contentstring required

Review body

Response

Review created

idstring required
objectstring required
ratinginteger required
customer_namestring nullable required
contentstring nullable required
created_atstring date-time required
customer_image_urlstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.