Batch

Create a batch of line items

Changed on

Create multiple line items in a single request by providing the necessary properties and associations for each item. This endpoint allows for efficient batch processing of line items, returning the created objects with their unique identifiers.

post/crm/objects/2026-03/line_items/batch/create

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/crm/objects/2026-03/line_items/batch/create
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Request body

Response

successful operation

completedAtstring date-time required

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

linksobject

An object containing relevant links related to the batch request.

requestedAtstring date-time

The timestamp when the batch request was initially made, in ISO 8601 format.

startedAtstring 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: "PENDING", "PROCESSING", "CANCELLED", or "COMPLETE"

Changes

    • info

      api operation id post-/crm/objects/2026-03/line_items/batch/create_create removed and replaced with post-/crm/objects/2026-03/line_items/batch/create

    • breaking

      removed the success response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

Some revisions have not been checked yet.