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