Setup

To use the Campaigns API, install the @wix/email-marketing package using npm or Yarn:

Copy

or

Copy

Then import { campaigns } from @wix/email-marketing:

Copy
Did this help?