| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {
- "name": "category_tree",
- "displayName": "Amazon 类目树查询",
- "description": "获取 Amazon 类目层级树结构,用于定位目标品类的类目 ID,再通过 category_products 获取该类目下的产品列表。",
- "category": "voc",
- "version": "1.0.0",
- "endpoint": {
- "method": "POST",
- "url": "https://server-msq.fmode.cn/api/sorftime/forward",
- "headers": {
- "Content-Type": "application/json"
- }
- },
- "parameters": {
- "type": "object",
- "properties": {
- "domain": {
- "type": "integer",
- "description": "Amazon 站点 ID: 1=amazon.com",
- "default": 1
- }
- }
- },
- "requestTransform": {
- "template": {
- "path": "/api/CategoryTree",
- "method": "POST",
- "query": { "domain": "{{domain}}" },
- "body": {}
- }
- },
- "response": {
- "type": "array",
- "description": "类目树节点数组",
- "items": {
- "type": "object",
- "properties": {
- "NodeId": { "type": "string", "description": "类目节点 ID" },
- "Name": { "type": "string", "description": "类目名称" },
- "Children": { "type": "array", "description": "子类目列表" }
- }
- }
- },
- "relatedSkills": ["category_products"],
- "usageExamples": [
- {
- "name": "获取美国站类目树",
- "input": { "domain": 1 },
- "description": "获取 amazon.com 的完整类目层级结构"
- }
- ],
- "reportMapping": {
- "slides": ["市场全景(Slide3)"],
- "dataPoints": ["品类类目定位"]
- }
- }
|