Anchor to section titled 'undefined'

marketingEngagementCreate
mutation

Requires write_marketing_events access scope.

Creates a new marketing engagement for a marketing activity or a marketing channel.


The unique string identifier of the channel to which the engagement metrics are being provided. This should be set when and only when providing channel-level engagements. This should be nil when providing activity-level engagements. For the correct handle for your channel, contact your partner manager.

The identifier of the marketing activity for which the engagement metrics are being provided. This or the remoteId should be set when and only when providing activity-level engagements. This should be nil when providing channel-level engagements.

The marketing engagement's attributes.

The ID of an activity that's hosted outside of Shopify. This or the marketingActivityId should be set when and only when providing activity-level engagements. This should be nil when providing channel-level engagements.


Was this section helpful?

The marketing engagement that was created. This represents customer activity taken on a marketing activity or a marketing channel.

The list of errors that occurred from executing the mutation.


Was this section helpful?