Update a listing

POST /listings/{listing_id}

In addition to the default listing fields, you can also update custom fields added via the listing attributes or HivePress extensions.

Path parameters

application/json

Body

Responses

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"
}