customer_ltv
Compute lifetime net earnings per paying Shopify shop—total, average, median, top-ten share by currency, median paying days, and top-earning shops—from cached app event history.
Instructions
Lifetime net earnings per paying shop: total, average, median, and top-ten share per currency, median paying days, and the ten highest-earning shops. Computed from the app's full event history, which the server downloads once and caches for 15 minutes.
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": "customer_ltv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | App ID: the number or a gid:// ID. Optional when SHOPIFY_PARTNER_APP_IDS names exactly one app |