Pular para o conteúdo principal
POST
Create or update a batch of objects by unique property values

Supported products

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

objectType
string
obrigatório

Corpo

application/json

Represents a batch input operation for upserting simple public objects in HubSpot. This component is used to process multiple upsert operations in a single request, improving efficiency and performance.

inputs
object[]
obrigatório

An array of simple public objects to be upserted. Each object in the array contains the necessary data for creating or updating a record in HubSpot.

Resposta

successful operation

Represents the result of a batch upsert operation, including the operation’s status, timestamps, and a list of successfully created or updated objects.

completedAt
string<date-time>
obrigatório

The timestamp when the batch process was completed, in ISO 8601 format.

results
object[]
obrigatório

An array of SimplePublicUpsertObject items representing the results of the batch upsert operation.

startedAt
string<date-time>
obrigatório

The timestamp when the batch process began execution, in ISO 8601 format.

status
enum<string>
obrigatório

The status of the batch processing request. The expected value is "COMPLETE".

Opções disponíveis:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

A map of link names to associated URIs, providing additional information or actions related to the batch operation.

requestedAt
string<date-time>

The timestamp when the batch process was initiated, in ISO 8601 format.

Última modificação em 13 de abril de 2026