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.unarchiveProduct('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"
}
}Restores an archived product, allowing new subscriptions to be created.
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.unarchiveProduct('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"
}
}Server API Key
Server API Key
The unique identifier of the entity
1 - 255The restored product object.
Response object
Product configuration object
Show child attributes