API referenceComment
Update Comment
Update a comment by ID. New @mentions in the body trigger mention notifications. Include only fields you want to change; omit the rest. Empty strings, null, and 0 are ignored so they cannot wipe existing values. App connections need the booking:write or inventory:write scope.
POST
/comment/{id}curl -X POST "https://dash.lockii.app/api/v1/comment/{id}" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": "string",
"updatedAt": 0
}'Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
idstringpathrequiredComment ID
Body
application/json
bodystringUpdated comment text
updatedAtnumberUnix ms. Defaults to now.
Response
application/json
JSON result for this operation.
object
{}