mailchimp_orders
Retrieve Mailchimp order data: list orders with totals and campaign attribution, get detailed order records with line items, or fetch line items alone.
Instructions
Orders and line items for one store, including the campaign each order is attributed to. Set action to one of: list (orders in the store with totals and attribution); details (full order record with line items, needs order_id); lines (line items only, needs order_id).
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. | |
| order_id | No | Order ID, from action=list. | |
| store_id | Yes | Store ID, from mailchimp_stores action=list. |