betterbroker
V2/Events Listings

Notify Publication Status

POST
/v2/events/listings/publication

Query Parameters

api_keystring

API key assigned to the portal. Must be sent on every request.

listing_idstring

ID of the property in the system.

activeboolean

Whether the property is currently published on the portal.

listing_views?integer

Total view count of the listing on the portal (optional). Must be a non-negative integer.

url?string

Public URL of the listing on the portal (optional). Must be a valid HTTP or HTTPS URL.

metadata?object

Free-form object for any additional portal-specific data (optional). Max size: 10 KB. Nested objects are accepted.

Empty Object

Response Body

curl -X POST "https://pb.powerbroker.mx/v2/events/listings/publication?api_key=string" \  -H "Content-Type: application/json" \  -d '{    "listing_id": "69728",    "active": true  }'
{
  "status": "ok"
}
{
  "error": "API key inválida o ausente"
}
{
  "error": "Propiedad no encontrada"
}
{
  "error": "Parámetro inválido: invalid value for Integer(): \"not-a-number\""
}
{
  "error": "Error interno"
}

Contenido

No hay encabezados disponibles