Properties
updateDraft
PATCH
Access: Bearer token required.
bearerAuthheader
AuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
id*stringapplication/json- body
type?stringValue in
"APARTMENT""HOUSE""VILLA""LAND""COMMERCIAL""SHORTLET""OFFICE"title?stringLength
length <= 200description?stringLength
length <= 5000location?details?pricing?availability?shortLet?amenities?array<>Items
items <= 40Request validation failed (body). The message joins every failed rule with "; ".
application/json- response
The envelope every error uses.
status*integerHTTP status code, repeated in the body.
success*booleanAlways false for errors.
message*stringHuman-readable reason. Safe to show to the user.
data*unknownAlways null for errors.
code?stringMachine-readable error code, present on some errors.
errorData?Extra details, present on some errors.
curl -X PATCH 'http://localhost:4000/api/v1/property/string/draft' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "status": 400, "success": false, "message": "\"id\" is required", "data": null}
HomeLink Hub