Constructors

Methods

  • Record a subscriber state between multiple HubSpot contacts and a marketing event, using contact email addresses. Note that the contact must already exist in HubSpot; a contact will not be 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'.

    • externalAccountId: string

      The account ID associated with the marketing event

    • batchInputMarketingEventEmailSubscriber: BatchInputMarketingEventEmailSubscriber
    • Optional_options: Configuration

    Returns Promise<void>

  • Record a subscriber state between multiple HubSpot contacts and a marketing event, using contact email addresses. Note that the contact must already exist in HubSpot; a contact will not be 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;.

    • externalAccountId: string

      The account ID associated with the marketing event

    • batchInputMarketingEventEmailSubscriber: BatchInputMarketingEventEmailSubscriber
    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>

  • Record a subscriber state between multiple HubSpot contacts and a marketing event, using HubSpot contact IDs. Note that the contact must already exist in HubSpot; a contact will not be created. Record a subscriber state by contact ID

    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;.

    • externalAccountId: string

      The account ID associated with the marketing event

    • batchInputMarketingEventSubscriber: BatchInputMarketingEventSubscriber
    • Optional_options: Configuration

    Returns Promise<void>

  • Record a subscriber state between multiple HubSpot contacts and a marketing event, using HubSpot contact IDs. Note that the contact must already exist in HubSpot; a contact will not be created. Record a subscriber state by contact ID

    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;.

    • externalAccountId: string

      The account ID associated with the marketing event

    • batchInputMarketingEventSubscriber: BatchInputMarketingEventSubscriber
    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>