Skip to main content

Duplicate Product

POST 

/api/products/:product/duplicate

Duplicate an existing product into a brand-new one with its own SKU.

The new product copies the source's identity-adjacent configuration - name, brand, type, dimensions, unit cost, financial line type, flags, attributes, categories, pricing tiers, suppliers (and their pricing), units of measure, tags, images, and kit/bundle components - but starts with zero inventory: no stock movements, FIFO layers, inventory cache, or channel listings. The barcode and inventory/velocity-derived figures (average cost, quantities sold, ABC/XYZ classification) are reset.

A new unique sku is required. When name is omitted it defaults to the source name suffixed with " (copy)".

Matrix (variation) products and variation children cannot be duplicated and return 422.

Requires a Bearer token with the products.create permission.

Request

Responses

OK

Response Headers
    Content-Type