Update a listing
In addition to the default listing fields, you can also update custom fields added via the listing attributes or HivePress extensions.
Path parameters
-
Listing ID.
Body
-
title string
Listing title.
-
description string
Listing description.
POST
/listings/{listing_id}
curl \
-X POST /wp-json/hivepress/v1/listings/{listing_id} \
-H "Content-Type: application/json" \
-d '{"title":"string","description":"string"}'
Request example
{
"title": "string",
"description": "string"
}
Request examples
{
"title": "string",
"description": "string"
}