| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- {
- "name": "category-tree",
- "displayName": "Amazon 类目树查询",
- "description": "获取 Amazon 类目层级树结构,用于定位目标品类的类目 ID,再通过 category_products 获取该类目下的产品列表。",
- "category": "voc",
- "version": "1.1.0",
- "endpoint": {
- "method": "POST",
- "url": "https://server.fmode.cn/api/voc/forward",
- "headers": {
- "Content-Type": "application/json",
- "Authorization": "Bearer r:858b3ee92314d5447d1fc3cdc10462d7"
- }
- },
- "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": [
- "品类类目定位"
- ]
- },
- "timeout": 10000,
- "retry": {
- "maxAttempts": 3,
- "delay": 1000,
- "backoffMultiplier": 2
- }
- }
|