Skip to main content
POST
Bulk Set Campaign

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Move the selected opportunities onto one campaign (or off every campaign).

opportunityIds
string[]
required

IDs of the opportunities to act on

Minimum array length: 1
campaignId
string | null

Response

Successful Response

Aggregate result for a bulk action that fans out per opportunity.

succeeded
integer
default:0

Number of opportunities the action succeeded for

skipped
integer
default:0

Number of opportunities that were already in the requested state

failed
OpportunityBulkActionFailure · object[]

Per-opportunity failures with reasons