Skip to main content

Arguments

input : AddCampaignToAccountInput! required

Input variables needed for adding a campaign to an account.

Returns

AddCampaignToAccount

The possible errors that can be raised are:

  • KT-CT-1111: Unauthorized.
  • KT-CT-4123: Unauthorized.
  • KT-CT-7427: No campaign found with given slug.
  • KT-CT-1113: Disabled GraphQL field requested.
  • KT-CT-1112: 'Authorization' header not provided.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can add campaign to account

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation AddCampaignToAccount($input: AddCampaignToAccountInput!) { addCampaignToAccount(input: $input) { campaignAdded } }

Variables

Response

{ "data": { "addCampaignToAccount": { "campaignAdded": true } } }