/** * Zoho CRM Node - Version 1 * Discriminator: resource=product, operation=update */ interface Credentials { zohoOAuth2Api: CredentialReference; } /** Update an account */ export type ZohoCrmV1ProductUpdateParams = { resource: 'product'; operation: 'update'; /** * ID of the product to update */ productId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Commission rate for the product. For example, enter 12 for 12%. * @default 0 */ Commission_Rate?: number | Expression; /** Filter by custom fields * @default {} */ customFields?: { /** Custom Field */ customFields?: Array<{ /** Custom field to set a value to */ fieldId?: string | Expression; /** Value to set on custom field */ value?: string | Expression | PlaceholderValue; }>; }; /** Description */ Description?: string | Expression | PlaceholderValue; /** Manufacturer */ Manufacturer?: string | Expression | PlaceholderValue; /** Product Active * @default false */ Product_Active?: boolean | Expression; /** Product Category */ Product_Category?: string | Expression | PlaceholderValue; /** Quantity in Demand * @default 0 */ Qty_in_Demand?: number | Expression; /** Quantity in Stock * @default 0 */ Qty_in_Stock?: number | Expression; /** Taxable * @default false */ Taxable?: boolean | Expression; /** Unit Price * @default 0 */ Unit_Price?: number | Expression; }; }; export type ZohoCrmV1ProductUpdateNode = { type: 'n8n-nodes-base.zohoCrm'; version: 1; credentials?: Credentials; config: NodeConfig; };