/** * ActiveCampaign Node - Version 1 * Discriminator: resource=ecommerceCustomer, operation=update */ interface Credentials { activeCampaignApi: CredentialReference; } /** Update an account */ export type ActiveCampaignV1EcommerceCustomerUpdateParams = { resource: 'ecommerceCustomer'; operation: 'update'; /** * ID of the E-commerce customer to update * @default 0 */ ecommerceCustomerId?: number | Expression; /** * The fields to update * @default {} */ updateFields?: { /** The ID of the connection object for the service where the customer originates */ connectionid?: string | Expression | PlaceholderValue; /** The ID of the customer in the external service */ externalid?: string | Expression | PlaceholderValue; /** The email address of the customer */ email?: string | Expression | PlaceholderValue; /** Whether customer has opt-ed in to marketing communications * @default false */ acceptsMarketing?: boolean | Expression; }; }; export type ActiveCampaignV1EcommerceCustomerUpdateNode = { type: 'n8n-nodes-base.activeCampaign'; version: 1; credentials?: Credentials; config: NodeConfig; };