---
title: "Update a batch of companies"
method: POST
path: "/crm/objects/2025-09/companies/batch/update"
tags: ["Batch"]
---

# Update a batch of companies

`POST /crm/objects/2025-09/companies/batch/update`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/crm/objects/2025-09/companies/batch/update`
- Auth: none required

Update a batch of companies by ID.

## Request body

- BatchInputSimplePublicObjectBatchInput: Represents a batch input component used to handle multiple simple public objects in a single API request. This component is typically used when performing batch operations to create, update, or delete multiple records simultaneously.
  - `inputs` SimplePublicObjectBatchInput[], required: An array of simple public objects to be processed in the batch operation. Each object in the array contains the data necessary for the specific operation being performed.
    - `id` string, required: The ID to be updated. This can be the object ID, or the unique property value of the `idProperty` property.
    - `idProperty` string: The name of a property whose values are unique for this object
    - `objectWriteTraceId` string: In each input object, set this field to a unique ID value to enable more granular debugging for error responses. Learn more about [multi-status errors](https://developers.hubspot.com/docs/reference/api/other-resources/error-handling#multi-status-errors).
    - `properties` object, required: The company property values to set.

## Response `200`

successful operation

- BatchResponseSimplePublicObject: A public object batch response object
  - `completedAt` string, date-time, required: The timestamp when the batch processing was completed, in ISO 8601 format.
  - `links` object: 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 request was initially made, in ISO 8601 format.
  - `results` SimplePublicObject[], required: An array of SimplePublicObject items representing the results of the batch operation.
    - `archived` boolean, required: Whether the object is archived.
    - `archivedAt` string, date-time: The timestamp when the object was archived, in ISO 8601 format.
    - `createdAt` string, date-time, required: The timestamp when the object was created, in ISO 8601 format.
    - `id` string, required: The unique ID of the object.
    - `objectWriteTraceId` string: An identifier used to trace the write request for the object. Set a unique ID for each write operation; it is returned with any errors so you can identify which request encountered which error.
    - `properties` object, required: Key-value pairs representing the properties of the object.
    - `propertiesWithHistory` object: Key-value pairs representing the properties of the object along with their history, each with a timestamp and source information.
    - `updatedAt` string, date-time, required: The timestamp when the object was last updated, in ISO 8601 format.
    - `url` string: The URL associated with the object.
    - `warnings` PublicObjectWarning[]
      - `category` string, required: The classification of the warning, indicating the type or nature of the issue.
      - `context` object, required: Additional information or metadata about the warning, providing context for understanding the issue.
      - `message` string, required: The text of the warning message, providing information about the issue or alert.
  - `startedAt` string, date-time, required: The timestamp when the batch processing began, in ISO 8601 format.
  - `status` 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING', required: The status of the batch processing request. The expected value is "COMPLETE".

## Other responses

- `207`: multiple statuses
- `default`: An error occurred.

## Changes

- **2026-09-25** (2025-09) `2027fd282b1a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/crm-companies/changes/crm/objects/2025-09/companies/batch/update/post.md)

---

[API](https://skmtc.dev/hubspot/apis/crm-companies.md) - [All operations](https://skmtc.dev/hubspot/apis/crm-companies/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/crm-companies/revisions/8d6459ea162b?raw)
