Action that will result in marking an email as delivered to the subscriber.

function CRM_Marketing_ParseWebhookRequest(request:  FetchRequest): CRM_Marketing_WebhookResult {
    return { 
        actions:  [ 
            // Mark email to 'user@example.com' as delivered 
             // for the campaign with ID '1000'. 
            { 
                type:  CRM_Marketing_ActionType.UpdateDeliveryStatus, 
                email: 'user@ example.com', 
                externalId: '1000', 
                status:  CRM_Marketing_DeliveryStatus.Delivered, 
            }, 
        ]; 
    } 
}  

Hierarchy

  • CRM_Marketing_UpdateDeliveryStatusAction

Properties

email

email: string

Subscriber's email, for which ther email delivery status will be set.

externalId

externalId: string

ID of the email campaign in the email marketing service that the email delivery status will be set for.

status

Email delivery status.

type

Action type.