Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Catalog/Product → ProductOpClone

AI-generated

Summary

Clone a Zen ERP product by ID with specified code.

Inputs

  • catalog_product_productOpClone_path — Path parameters for the operation. Contains the product ID to clone as a number. Defaults to 0 if omitted via UI, but typically expected as a valid product identifier in the path segment for the API endpoint this operation maps to in Zen ERP's catalog/product context.
  • catalog_product_productOpClone_bodyJson — Body parameter containing JSON to send with the clone request. The default template provides a code field as a string placeholder. Supply a JSON object with the desired clone configuration (e.g., code for the new product's SKU/code). This collection option maps to the json property in the UI and is passed as the request body to the underlying Zen ERP API.

Output shape

json array

The operation returns the cloned product data as n8n item JSON. Each input item produces one or more output items containing the cloned product's fields as determined by the Zen ERP API response. If the operation succeeds, the returned JSON includes the product record; failures (when continueOnFail is not set) throw errors caught by the node's standard error handling.

Examples

Example 1: Clone product with ID 42 and code 'NEW-SKU-001'

Set path parameter id to 42 and body JSON to { code: 'NEW-SKU-001' }. The node sends a clone request to Zen ERP's catalog/product/42 endpoint with the specified code, and the returned product record appears as the next item's JSON in the workflow.

Links

Discussion