Skip to main content
DELETE
/
v1
/
products
/
{id}
TypeScript SDK
import { Solifyn } from 'solifyn';

const solifyn = new Solifyn({ apiKey: 'your_private_api_key_here' });

// Archive product
await solifyn.products.archive('prod_019e56a1...');
console.log('Product archived successfully');
{
  "message": "Product archived successfully"
}

Authorizations

Authorization
string
header
required

Authenticate requests using your standard bearer API key (e.g. YOUR_API_KEY).

Path Parameters

id
string
required

The unique product ID to archive.

Example:

"prod_123"

Response

200 - application/json

Product archived successfully.

message
string
Example:

"Product archived successfully"