patch https://api.flagship.io/v1/accounts//account_environments//campaigns/
Update campaign informations - You can set only the properies you want to update in the request body.
Required scope
campaign.update
On the platform, in the Remote Control API section, this scope is called "Update a use case".
Be careful
If you use the global campaign route to edit variations or variation groups, you have to put in the payload the entire sub collection of it, and don't forget to add the parameter id to each child.
If you don't do this, the entire sub-collection will be replaced and the old children will be erased or replaced.To avoid this, when you need to update a specific item in the variations for example, prefer to use the direct route to edit one variation.