Graphql fields and variables for the campaignCreate mutation
Last updated 2 years ago
Was this helpful?
Create a campaign
Scope required: standard:write
For a complete list of input attributes see the type
mutation campaignCreate ($attributes: CampaignAttributes!) { campaignCreate (attributes: $attributes) { campaign { code contactCount endDate id leadCount name ownerUserId startDate } errors } }
{ "attributes": { "name": "", "code": "", "startDate": "2022-06-01", "endDate": "2022-06-01", "ownerUserId": "456123" } }
attributes
campaign
errors
List (String)