curl --request PUT \
--url https://api.example.com/v1/sdk/products/{productRef} \
--header 'Content-Type: application/json' \
--data '
{
"config": {},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"name": "<string>",
"productType": "<string>",
"status": "active"
}
'{
"balance": 0,
"createdAt": "<string>",
"id": "507f1f77bcf86cd799439011",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"plans": [
"<string>"
],
"productType": "<string>"
}Updates an existing product. Only provided fields are updated.
curl --request PUT \
--url https://api.example.com/v1/sdk/products/{productRef} \
--header 'Content-Type: application/json' \
--data '
{
"config": {},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"name": "<string>",
"productType": "<string>",
"status": "active"
}
'{
"balance": 0,
"createdAt": "<string>",
"id": "507f1f77bcf86cd799439011",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"plans": [
"<string>"
],
"productType": "<string>"
}Product reference or ID
"prd_1A2B3C4D"
Product-specific configuration
Product description
URL to the product image
Arbitrary key-value metadata
Product name
Free-form product type defined by the provider
Product status
active, inactive, suspended Product updated 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
Product description
URL to the product image
Arbitrary key-value metadata
Plans associated with this product
Free-form product type