Skip to content

Send Marketing Campaign (GraphQL)

Mutation: createAdminMarketingCampaignSend.

Active campaigns only

Inactive campaigns (status = 0) return an error.

Manual triggers ignore date gate

Bypasses the date-based event gate so admin can do test sends.

Permission: marketing.communications.campaigns.edit.

Prerequisites

The example uses an illustrative id value. Replace it with the id of a campaign that exists in your store — use the adminMarketingCampaigns query to discover valid ids.

Released under the MIT License.