Saltar al contenido principal
POST
/
crm
/
v3
/
objects
/
0-420
/
batch
/
update
Actualiza un lote de anuncios por ID interno o valores de propiedad únicos
curl --request POST \
  --url https://api.hubapi.com/crm/v3/objects/0-420/batch/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "id": "<string>",
      "properties": {},
      "idProperty": "my_unique_property_name",
      "objectWriteTraceId": "<string>"
    }
  ]
}
'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "results": [
    {
      "archived": false,
      "createdAt": "2019-10-30T03:30:17.883Z",
      "id": "512",
      "properties": {
        "property_checkbox": "false",
        "property_date": "1572480000000",
        "property_dropdown": "choice_b",
        "property_multiple_checkboxes": "chocolate;strawberry",
        "property_number": "17",
        "property_radio": "option_1",
        "property_string": "value"
      },
      "updatedAt": "2019-12-07T16:50:06.678Z"
    }
  ],
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "links": {},
  "requestedAt": "2023-11-07T05:31:56Z"
}

Supported products

Autorizaciones

Authorization
string
header
requerido

The access token received from the authorization server in the OAuth 2.0 flow.

Cuerpo

application/json
inputs
object[]
requerido

Respuesta

successful operation

Un objeto de respuesta de lote de objetos públicos

completedAt
string<date-time>
requerido

La marca de tiempo en que se completó el procesamiento por lotes, en formato ISO 8601.

results
object[]
requerido
startedAt
string<date-time>
requerido

La marca de tiempo en que comenzó el procesamiento por lotes, en formato ISO 8601.

status
enum<string>
requerido

El estado actual de la solicitud de procesamiento por lotes, puede ser "PENDIENTE", "PROCESANDO", "CANCELADO" o "COMPLETADO".

Opciones disponibles:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Un objeto que contiene los enlaces relacionados con la solicitud por lotes.

requestedAt
string<date-time>

La marca de tiempo en la que se realizó inicialmente la solicitud por lotes, en formato ISO 8601.

Last modified on April 13, 2026