Skip to main content
POST
Create or update a batch of deals by unique property values

Supported products

Authorizations

Authorization
string
header
required

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

Body

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[]
required

An array of SimplePublicObjectBatchInputUpsert objects, each containing the data for a single object to be created or updated. This is a required field.

Response

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>
required

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

results
object[]
required

An array of objects representing the results of the batch upsert operation. Each object includes details about the created or updated CRM object.

startedAt
string<date-time>
required

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

status
enum<string>
required

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

Available options:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

An object containing relevant links related to the batch request.

requestedAt
string<date-time>

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

Last modified on September 14, 2026