Post a comment
POST/api/v2/reviews
This endpoint lets you reply to a given review.
Request
- application/json
Body
required
ID of the review you want to reply
The id of the parent comment you want to reply
Works only for Facebook comments, since it's possible to reply to a comment (depth max is 2). Google and TripAdvisor don't accept this behaviour.
Content of your reply
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
Comment id on publisher
The author name of the review.
Note: Replies don't have an author.
Comment update date
Comment creation date
Comment body content
If the current user can or cannot edit a reply
Note: This applies on Facebook replies only. A reply left by an external user on Facebook cannot be edited.
Review id
Parent comment id
{
"id": 0,
"partner_id": "string",
"author_name": "Castorche",
"date": "2024-07-29T15:51:28.071Z",
"created": "2024-07-29T15:51:28.071Z",
"content": "Merci ❤️",
"can_edit": true,
"review_id": 0,
"parent_id": 0
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
HTTP status code
Error message
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}