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/v3/campaigns/batch/update

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    OAuth 2
    Authorization codehttps://app.hubspot.com/oauth/authorize
    Token URLhttps://api.hubapi.com/oauth/v1/token
    Scopesmarketing.campaigns.write

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