Magidoc

upsertTargets
Mutation

Upsert multiple targets at once. external_id is used to decide if new target record is added, or existing one is updated.

Arguments

#

campaignId

Non-null

Id of campaign these targets are added to

outdatedTargets

Action to perform on targets missing in targets list

targets

Non-null

List of targets

Response

#

Returns [ PrivateTarget ]!.

Example

#

    
  

3

    
  

3

    
  

3