createJourneyEventTrigger mutation
Use the createJourneyEventTrigger GraphQL mutation to create new entities.
Example request
The following example illustrates the mutation request:
mutation {
createJourneyEventTrigger(
parentIdentity:
{namespace: "sfmc", id: "root", type: "mp"},
input: {
eventDefinitionKey: "APIEvent-03354c03-3996-a16d-8567-687276c70f67",
contactKey: "santa.clause@gmail.com",
values: [
{name: "email", value: "santa.clause@gmail.com"}
, {name: "visitedCampaignPage", value: "true"}
]}) {
identity {
namespace
id
type
localeId
structureType
}
}
}