/** * WooCommerce Node - Version 1 * Discriminator: resource=customer, operation=update */ interface Credentials { wooCommerceApi: CredentialReference; } /** Update a customer */ export type WooCommerceV1CustomerUpdateParams = { resource: 'customer'; operation: 'update'; /** * ID of the customer to update */ customerId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Billing Address * @default {} */ billing?: { /** First Name */ first_name?: string | Expression | PlaceholderValue; /** Last Name */ last_name?: string | Expression | PlaceholderValue; /** Company */ company?: string | Expression | PlaceholderValue; /** Address 1 */ address_1?: string | Expression | PlaceholderValue; /** Address 2 */ address_2?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Postcode */ postcode?: string | Expression | PlaceholderValue; /** Country */ country?: string | Expression | PlaceholderValue; /** Email */ email?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; }; /** First Name */ first_name?: string | Expression | PlaceholderValue; /** Last Name */ last_name?: string | Expression | PlaceholderValue; /** Metadata * @default {} */ meta_data?: { /** Metadata Fields */ meta_data_fields?: Array<{ /** Key */ key?: string | Expression | PlaceholderValue; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; /** Password * @displayOptions.show { /operation: ["create"] } */ password?: string | Expression | PlaceholderValue; /** Shipping Address * @default {} */ shipping?: { /** First Name */ first_name?: string | Expression | PlaceholderValue; /** Last Name */ last_name?: string | Expression | PlaceholderValue; /** Company */ company?: string | Expression | PlaceholderValue; /** Address 1 */ address_1?: string | Expression | PlaceholderValue; /** Address 2 */ address_2?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Postcode */ postcode?: string | Expression | PlaceholderValue; /** Country */ country?: string | Expression | PlaceholderValue; /** Email */ email?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; }; }; }; export type WooCommerceV1CustomerUpdateNode = { type: 'n8n-nodes-base.wooCommerce'; version: 1; credentials?: Credentials; config: NodeConfig; };