POST

Generate Marketing Plan


Developer Preview

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

Generates a marketing plan for the site.

Generation is asynchronous. The response immediately returns a status of GENERATING. Poll GetSocialMarketingPlan until status is ACTIVE (ready) or FAILED. The plan's activities span the whole plan period (today through the end of next month), but social posts are generated automatically only for the nearest-term activities (how far ahead can depend on the site's social marketing premium plan). To generate posts for the remaining activities, call GenerateSocialPosts. The site should be published before calling this method, because generation draws on the published site. This isn't validated at call time: an unpublished site results in either a FAILED status or an ACTIVE plan with no generated posts. Verify the site is published before generating. Marketing settings are optional; sensible defaults are applied at generation time.

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-plan/generate-marketing-plan

Errors

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

Did this help?