Store Reviews

Create Store Review

Create a new review for a store. Users can only have one review per store.

post/v1/stores/{store_id}/reviews

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/v1/stores/{store_id}/reviews
  • Auth: OAuth 2 (password, token URL /v1/auth/login)

Path parameters

store_idinteger required

Request body

ratinginteger required

Overall store rating (1-5 stars)

commentstring nullable

Optional review comment

Response

Successful Response

ratinginteger required

Overall store rating (1-5 stars)

commentstring nullable

Optional review comment

idinteger required
store_idinteger required
user_idinteger required
helpful_countinteger
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.