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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 90d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |