This article presents a possible use case and corresponding sample flow that you can support. It provides a useful starting point as you plan your implementation.
Before publishing an email marketing campaign, you can verify that the site's account is active and has sufficient email quota remaining. This prevents attempting to publish a campaign that would fail due to an inactive account or an exhausted quota.
To check account eligibility before sending a campaign:
accountDetails.status field. If the value is not ACTIVE, inform the site owner that they must visit the Wix Email Marketing dashboard to resolve the account issue before campaigns can be sent.accountDetails.quotaPeriod.quotaUsage.emails against accountDetails.package.monthlyQuotaAllocation.emails to determine how many emails remain in the current billing period. If the remaining quota is less than the expected campaign audience size, inform the site owner that the quota is insufficient.ACTIVE and quota is sufficient, proceed to Publish the campaign.Last updated: 18 August 2026