Reviews

Creates a new review for a product

post/reviews

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API 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

ReviewCreateRequest 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 rating request property's max was set to 5.00

    • warning

      the rating request property's min was set to 1.00

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    6 more changes in this revision