Hierarchy
- CRM_Marketing_UpdateCampaignAction
Properties
externalId
ID of the email campaign in the email marketing service whose status needs to be updated in the external system.
status
Status of the email campaign.
type
Action type.
Update email campaign status action
Action that will result in assigning the specified status the an item of the Campaigns app.
function CRM_Marketing_ParseWebhookRequest(request: FetchRequest): CRM_Marketing_WebhookResult { return { actions: [ // Assign the `Completed` status to campaign with ID '1000'. { type: CRM_Marketing_ActionType.UpdateCampaign, externalId: '1000', status: CRM_Marketing_CampaignStatus.Completed, }, ]; } }