mailchimp_customers
Retrieve e-commerce customers for a store with order counts and lifetime spend. List customers with pagination or fetch full details for a specific customer by ID.
Instructions
E-commerce customers for one store, with order counts and lifetime spend. Set action to one of: list (customers with orders_count and total_spent); details (full customer record, needs customer_id).
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": {
"action": "<action>",
"store_id": "<store_id>"
},
"name": "mailchimp_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Maximum items to return, 1-1000. Defaults to 1000. | |
| action | Yes | Which data to retrieve. See the tool description. | |
| offset | No | Items to skip. Combine with count to page beyond the first 1000. | |
| store_id | Yes | Store ID, from mailchimp_stores action=list. | |
| customer_id | No | Customer ID, from action=list. |