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

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

# Shop performance / 店铺销售表现

Query monthly metrics for one exact PDD shop ID. / 按精确拼多多店铺 ID 查询月度指标。

## Required inputs / 必要输入

- `shop_reference` — `user_required`; required (`shop_id`): Exact PDD shop ID
  精确拼多多店铺 ID
- `time` — `user_required`; required: Analysis time range
  分析时间范围

## Steps / 步骤

1. `query_shop` · `query_metrics` — Query shop metrics grouped by month.
   按月查询店铺销售指标。
   - metrics: `gmv`, `units`, `asp`
   - group_by: `shop_id`, `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",
    "month"
  ],
  "filters": [
    {
      "field": "shop_id",
      "op": "eq",
      "value": "示例店铺 ID"
    }
  ],
  "task_query": "使用 pdd 数据执行店铺销售表现；shop_reference=示例店铺 ID，time={\"last_complete_months\":3}",
  "dataset": "pdd"
}
```


## Output requirements / 输出要求

- Present the exact shop ID and month-by-month metrics.
  展示精确店铺 ID 和逐月指标。

## Limitations / 限制

- The upstream source does not provide a canonical shop URL.
  上游未提供标准店铺链接。

## Stop conditions / 停止条件

- Stop when the shop ID is missing or ambiguous.
  缺少店铺 ID 或无法确认时停止。
