---
document_id: agent.dataset.jd.task.shop_performance
schema_version: 2
parent_document_id: agent.dataset.jd
section: capabilities
---

<!-- Generated by scripts.build_agent_guide; do not edit. -->

# Shop performance / 店铺销售表现

Query monthly atomic metrics for one exact JD shop ID or standard URL. / 按精确京东店铺 ID 或标准链接查询月度原子指标。

## Required inputs / 必要输入

- `shop_reference` — `exact_reference`; required (`shop_id`): Exact JD shop ID or standard URL
  精确京东店铺 ID 或标准链接
- `time` — `user_required`; required: Analysis time range
  分析时间范围

## Steps / 步骤

1. `query_trend` · `query_metrics` — Query shop metrics grouped by month.
   按月查询店铺销售指标。
   - metrics: `gmv`, `units`, `asp`
   - group_by: `shop_id`, `shop_url`, `month`
   - filters: `shop_id eq ${shop_reference}`
   - time: `${time}`

## Call example / 调用示例

Replace the example values with exact user inputs or values returned by `search_values`. / 将示例值替换为用户的精确输入或 `search_values` 返回的平台原始值。

`query_metrics`

```json
{
  "metrics": [
    "gmv",
    "units",
    "asp"
  ],
  "time": {
    "last_complete_months": 3
  },
  "group_by": [
    "shop_id",
    "shop_url",
    "month"
  ],
  "filters": [
    {
      "field": "shop_id",
      "op": "eq",
      "value": "https://mall.jd.com/index-1000000001.html"
    }
  ],
  "task_query": "使用 jd 数据执行店铺销售表现；shop_reference=https://mall.jd.com/index-1000000001.html，time={\"last_complete_months\":3}",
  "dataset": "jd"
}
```


## Output requirements / 输出要求

- Present a month-by-month trend with metric definitions.
  按月展示趋势并附指标口径。

## Limitations / 限制

- Do not infer traffic, inventory, or operational causes.
  不推断流量、库存或经营原因。

## Stop conditions / 停止条件

- Stop and request an exact shop ID or standard URL when normalization fails.
  引用规范化失败时停止并要求精确店铺 ID 或标准链接。
