Update a batch of campaigns

POST {{baseUrl}}/marketing/v3/campaigns/batch/update

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.

Request Body

{"inputs"=>[{"id"=>"<string>", "properties"=>{"sed766"=>"<string>", "ea364"=>"<string>"}}, {"id"=>"<string>", "properties"=>{"aliquip_d4d"=>"<string>", "veniam_21"=>"<string>", "occaecatd91"=>"<string>", "elit_c"=>"<string>", "proident_c3c"=>"<string>"}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;completedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;results&quot;:[{&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;properties&quot;:{&quot;occaecat_2de&quot;:&quot;\u003cstring\u003e&quot;,&quot;deserunt_9c&quot;:&quot;\u003cstring\u003e&quot;},&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;properties&quot;:{&quot;nisi4&quot;:&quot;\u003cstring\u003e&quot;,&quot;cupidatatdfa&quot;:&quot;\u003cstring\u003e&quot;},&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;}],&quot;startedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;status&quot;:&quot;PENDING&quot;,&quot;requestedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;links&quot;:{&quot;aliqua_c7&quot;:&quot;\u003cstring\u003e&quot;}}