POST businesses/:id/reviews

Allows for a consumer to post a review for a business. This endpoint requires that you have an access token associated with a consumer, which can be obtained through the "password" grant type.

Resource URL

https://api.localtunity.com/v2/businesses/:id/reviews

Example

curl -X POST -H "Authorization: Bearer {access_token}" -H "Content-Type: application/json" https://api.localtunity.com/v2/businesses/{id}/reviews

Response 204 Status Code

Parameters

happiness: (string, required) The general happiness rating of the consumer. Must be one of [happy, neutral, unhappy]

rating: (integer, required) The star rating that the consumer wishes to give the business. Must be a number between 1 through 5, inclusive.

message: (string, optional) An optional message that the consumer may wish to leave as part of their review.