curl --request POST \
--url https://api.example.com/v1/sdk/products/{productRef}/clone{
"balance": 0,
"createdAt": "<string>",
"id": "507f1f77bcf86cd799439011",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {
"deliveryMethod": "api",
"fulfillmentType": "digital",
"validityPeriod": 30
},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"plans": [
{
"createdAt": "<string>",
"currency": "USD",
"id": "507f1f77bcf86cd799439011",
"isActive": true,
"isFreeTier": false,
"price": 29.99,
"reference": "pln_1A2B3C4D",
"requiresPayment": true,
"status": "active",
"updatedAt": "<string>",
"billingCycle": "monthly",
"billingModel": "pre-paid",
"currencySymbol": "$",
"features": {},
"freeUnits": 1000,
"limit": 10000,
"limits": {},
"meterId": "507f1f77bcf86cd799439011",
"pricePerUnit": 0.01
}
],
"productType": "<string>"
}Deep-copies a product including all its plans. Generates new references for the clone.
curl --request POST \
--url https://api.example.com/v1/sdk/products/{productRef}/clone{
"balance": 0,
"createdAt": "<string>",
"id": "507f1f77bcf86cd799439011",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {
"deliveryMethod": "api",
"fulfillmentType": "digital",
"validityPeriod": 30
},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"plans": [
{
"createdAt": "<string>",
"currency": "USD",
"id": "507f1f77bcf86cd799439011",
"isActive": true,
"isFreeTier": false,
"price": 29.99,
"reference": "pln_1A2B3C4D",
"requiresPayment": true,
"status": "active",
"updatedAt": "<string>",
"billingCycle": "monthly",
"billingModel": "pre-paid",
"currencySymbol": "$",
"features": {},
"freeUnits": 1000,
"limit": 10000,
"limits": {},
"meterId": "507f1f77bcf86cd799439011",
"pricePerUnit": 0.01
}
],
"productType": "<string>"
}Product reference or ID to clone
Product cloned successfully
Product balance in cents
0
Creation timestamp
Product ID
"507f1f77bcf86cd799439011"
Whether this product uses MCP Pay proxy
false
Product name
"AI Writing Assistant"
Product reference
"prd_1A2B3C4D"
Product status
"active"
Total number of transactions
0
Last update timestamp
Product-specific configuration
Show child attributes
Product description
URL to the product image
Arbitrary key-value metadata
Plans associated with this product
Show child attributes
Free-form product type