Constructors

Methods

  • Record a subscriber state between multiple HubSpot contacts and a marketing event, using contact email addresses. If contact is not present it will be automatically created. The contactProperties field is used only when creating a new contact. These properties will not update existing contacts. Record a subscriber state by contact email

    Parameters

    • externalEventId: string

      The id of the marketing event

    • subscriberState: string

      The new subscriber state for the HubSpot contacts and the specified marketing event. For example: 'register', 'attend' or 'cancel'.

    • batchInputMarketingEventEmailSubscriber: BatchInputMarketingEventEmailSubscriber
    • OptionalexternalAccountId: string

      The account id associated with the marketing event

    • Optional_options: Configuration

    Returns Promise<BatchResponseSubscriberEmailResponse>

  • Record a subscriber state between multiple HubSpot contacts and a marketing event, using contact email addresses. If contact is not present it will be automatically created. The contactProperties field is used only when creating a new contact. These properties will not update existing contacts. Record a subscriber state by contact email

    Parameters

    • externalEventId: string

      The id of the marketing event

    • subscriberState: string

      The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;.

    • batchInputMarketingEventEmailSubscriber: BatchInputMarketingEventEmailSubscriber
    • OptionalexternalAccountId: string

      The account id associated with the marketing event

    • Optional_options: Configuration

    Returns Promise<HttpInfo<BatchResponseSubscriberEmailResponse>>

  • Record a subscriber state between multiple HubSpot contacts and a marketing event, using HubSpot contact ids. Record a subscriber state by contact ids

    Parameters

    • externalEventId: string

      The id of the marketing event

    • subscriberState: string

      The new subscriber state for the HubSpot contacts and the specified marketing event. For example: &#39;register&#39;, &#39;attend&#39; or &#39;cancel&#39;.

    • batchInputMarketingEventSubscriber: BatchInputMarketingEventSubscriber
    • OptionalexternalAccountId: string

      The account id associated with the marketing event

    • Optional_options: Configuration

    Returns Promise<BatchResponseSubscriberVidResponse>