Link a product to an app
link_productSay which app a payment product belongs to, so its revenue shows up on that app. Needs write access. Pass app: null to unlink. Only link when it's clear from the code or product name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "<product_id>",
"app": "<app>"
},
"name": "link_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App slug, domain or URL, or null to unlink | |
| product_id | Yes |