POST

Upsert Marketing Settings


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates or updates the site's marketing settings.

If no settings exist yet, this method creates them. Otherwise it updates only the fields listed in fieldMask; all other fields are left unchanged. Both marketing_settings and field_mask are required. Every path listed in fieldMask must be present in the marketingSettings you send; listing a path that isn't present returns a FAILED_PRECONDITION error. To clear a field, include it in fieldMask and send it explicitly as null or empty.

Changing settings doesn't update an existing plan. After updating settings, regenerate the plan for the changes to take effect (use Regenerate Marketing Plan with Keyword Research after changing the content pillars in topics).

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Marketing Plans
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/promote/marketing-plan-service/v1/marketing-settings

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?