etsy_get_shop_stats
Retrieve aggregated Etsy shop metrics—orders, favorers, active listings, revenue—for a specified period up to 365 days to track performance.
Instructions
Return aggregated stats (orders, favorers, active listings, revenue) for a shop over the given period.
Args: shop_id: Etsy ShopID. period: Lookback window in the form 'd', e.g. '7d', '30d', '90d'. Maximum 365 days.
Returns:
JSON envelope. data is a dict with orders, favorers,
active_listings, revenue_minor_units, currency_code, and
the resolved date_from / date_to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop_id | Yes | ||
| period | No | 30d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |