Products
Clone a product
Deep-copies a product including all its plans. Generates new references for the clone.
post/v1/sdk/products/{productRef}/clone
Path parameters
productRefstring required
Product reference or ID to clone
Request body
Response
Product cloned successfully
Example response
{
"config": {
"deliveryMethod": "api",
"fulfillmentType": "digital",
"validityPeriod": 30
},
"mcp": {
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"mcpServerRef": "mcp_ABC123",
"mcpSubdomain": "acme-docs",
"originUrl": "https://origin.example.com/mcp"
},
"name": "AI Writing Assistant",
"plans": [
{
"billingCycle": "monthly",
"billingModel": "pre-paid",
"creditsPerUnit": 1,
"currency": "USD",
"currencySymbol": "$",
"freeUnits": 1000,
"isActive": true,
"limit": 10000,
"measures": "requests",
"meterRef": "mtr_1A2B3C4D",
"price": 2999,
"reference": "pln_1A2B3C4D",
"requiresPayment": true,
"setupFee": 500,
"status": "active",
"trialDays": 14
}
],
"reference": "prd_1A2B3C4D",
"status": "active"
}