Skip to main content
POST
/
api
/
v1
/
products
/
{id}
/
duplicate
JavaScript
import Stigg from '@stigg/typescript';

const client = new Stigg({
  apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});

const response = await client.v1.products.duplicateProduct('x');

console.log(response.data);
{
  "data": {
    "id": "product-revvenu",
    "displayName": "Revvenu",
    "description": "SaaS billing platform",
    "status": "PUBLISHED",
    "multipleSubscriptions": false,
    "metadata": {},
    "createdAt": "2026-06-26T22:50:03.438Z",
    "updatedAt": "2026-07-21T04:01:24.740Z"
  }
}

Authorizations

X-API-KEY
string
header
required

Server API Key

Headers

X-API-KEY
string
required

Server API Key

Path Parameters

id
string
required

The unique identifier of the entity

Required string length: 1 - 255

Body

application/json

Duplicate an existing product with a new unique identifier and optional display overrides.

displayName
string

Display name of the product

Maximum string length: 255
description
string | null

Description of the product

Maximum string length: 255

Response

The newly created duplicate product object.

Response object

data
Product · object
required

Product configuration object