Skip to main content

Clone Template

POST /v1/product/template/:id/clone

Creates a copy of an existing product template with a new identifier. This endpoint duplicates the template's configuration, associated products, and settings, allowing you to create variations without modifying the original. Returns the newly created template object with all cloned attributes.

Response Example

{
"_id": "template-id-2",
"name": "Cloned Template",
"tenant": "tenant-id-1",
"products": [],
"created": "2025-01-02T00:00:00.000Z",
"updated": "2025-01-02T00:00:00.000Z"
}