get_referral_revenue
Track referral revenue from merchant referrals for any period (7d, 30d, 90d, 1y, or custom). Retrieve total revenue, referral count, previous-period comparison, and individual referral details.
Instructions
Track referral revenue from merchant referrals to Shopify.
Args: period: '7d', '30d', '90d', '1y', or custom range.
Returns: JSON string with total referral revenue, count, previous period comparison, and individual referral details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_referral_revenue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 90d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |