Paid sales by customer type and order source
get_paid_salesPaid orders, refunds and net sales grouped by Shopify customer type and order source. Includes orders without website visits. Historical classification uses current customer tags; customer type is independent of checkout source. These filters do not classify website visitors or funnels.
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_paid_sales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, inclusive (YYYY-MM-DD). | |
| from | No | First day (YYYY-MM-DD, site time zone). Use with to instead of period. | |
| site | No | Site domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site. | |
| period | No | Time range. Default 30d. today, yesterday, 24h, 7d, 30d, 90d, 12m, wtd, mtd, ytd, all. | |
| order_source | No | ||
| customer_type | No |