Batch

Update a batch of campaigns

Changed on

This endpoint updates a batch of campaigns based on the provided input data. The maximum number of items in a batch request is 50. If an empty string ("") is passed for any property in the Batch Update, it will reset that property's value.

post/marketing/campaigns/2026-03/batch/update

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/marketing/campaigns/2026-03/batch/update
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Request body

Response

successful operation

completedAtstring date-time required

The date and time when the batch operation was completed, formatted as a date-time string.

linksobject

A map of related links associated with the batch operation.

requestedAtstring date-time

The date and time when the batch operation was requested, formatted as a date-time string.

startedAtstring date-time required

The date and time when the batch operation started, formatted as a date-time string.

status'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING' required

The current status of the batch operation, with possible values: CANCELED, COMPLETE, PENDING, PROCESSING.

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the success response with the status

    • info

      endpoint added

Some revisions have not been checked yet.