Modify a comment
PUT/api/v2/reviews/:comment_id
This endpoint lets you modify a given reply to a review.
Request
Path Parameters
- application/json
Body
required
Content of your reply
Responses
- 200
- 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"
}