Update Program Options
growsurf_update_campaign_optionsUpdate GrowSurf campaign options for languages and flags. Send only fields to change; omitted values stay, arrays replace fully, and language features need Business plan.
Instructions
Update the Options tab configuration for your GrowSurf program under fields, in its existing nested shape. Only supplied fields change; omitted fields retain their existing values and arrays replace wholesale. languages.additionalLanguages takes the full list of extra languages; send [] to turn them off. The base language is dropped from that list and duplicates collapse. languages.showFlags shows or hides the flag next to each language name. Turning languages on, and any change while they are on (including turning them off or changing showFlags), requires the Business plan or higher and returns a 403 otherwise. Translations are managed in the GrowSurf dashboard, not through this tool. Targets campaignId if supplied, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| campaignId | Yes | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||