/** * Magento 2 Node - Version 1 * Discriminator: resource=product, operation=update */ interface Credentials { magento2Api: CredentialReference; } /** Update a customer */ export type Magento2V1ProductUpdateParams = { resource: 'product'; operation: 'update'; /** * Stock-keeping unit of the product */ sku?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ attribute_set_id?: string | Expression; /** Name */ name?: string | Expression | PlaceholderValue; /** Price * @default 0 */ price?: number | Expression; /** Status * @default 1 */ status?: 1 | 2 | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ type_id?: string | Expression; /** Visibility * @default 4 */ visibility?: 1 | 2 | 3 | 4 | Expression; /** Weight (LBS) * @default 0 */ weight?: number | Expression; }; }; export type Magento2V1ProductUpdateNode = { type: 'n8n-nodes-base.magento2'; version: 1; credentials?: Credentials; config: NodeConfig; };