# 依 id 取得 Amazon 賣家結果

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/merchant/amazon/sellers/task_get/advanced/{id}`

**Tags:** DataForSEO

採用 DataForSEO 的信封結構：資料位於 `tasks[0].result`，結果狀態位於 `tasks[0].status_code`——被拒絕的請求仍會傳回 HTTP 200。此端點回答還有哪些賣家佔據 Buy Box；商品本身請使用 `get_dataforseo_merchant_amazon_asin_fetch`。僅在解析結果缺少你能明確指出的內容時才使用。

### 計費參考

- 計量方式：依回報的回應成本計量。
- 參考請求估算：0.012 美元。
- 參考客戶倍率：1.0。不得對已結算的客戶金額再次套用。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>任務識別碼</em><br><strong>我們系統中 <a href="https://en.wikipedia.org/wiki/Universally_unique_identifier">UUID</a> 格式的唯一任務識別碼</strong><br>可在 <strong>30 天</strong>內隨時使用它請求任務結果 |

## Responses

### 200 — 操作成功

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 錯誤回應；上游透傳回應可能採用供應商格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AmazonApplicableVouchersItem

`#/components/schemas/Response36Afe1097B20_AmazonApplicableVouchersItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "元素類型"
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>優惠券的文字</em>"
    },
    "fixed_discount": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>固定折扣的值</em>"
    },
    "fixed_discount_currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>固定折扣的貨幣代碼</em>"
    },
    "percentage_discount": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>百分比折扣的值</em><br>若折扣為固定折扣，則該值為 <code>null</code>"
    },
    "important_details": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>折扣券條款的重要細節</em>"
    }
  }
}
```

### Response36Afe1097B20_AmazonDeliveryInfo

`#/components/schemas/Response36Afe1097B20_AmazonDeliveryInfo`

```json
{
  "type": "object",
  "properties": {
    "delivery_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "賣家隨配送資訊發布的訊息"
    },
    "delivery_date_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "商品可出貨的最早日期"
    },
    "delivery_date_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "商品可送達的最晚日期"
    },
    "fastest_delivery_date_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "使用快速配送選項時商品可送達的最早日期"
    },
    "fastest_delivery_date_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "使用快速配送選項時商品可送達的最晚日期"
    },
    "delivery_price": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_PriceInfo"
        }
      ],
      "description": "配送價格\n依據你在 POST 請求中指定的地點計算的配送價格；\n若提供免費配送，則該值為 null"
    }
  }
}
```

### Response36Afe1097B20_BaseMerchantAmazonSellersElementItem

`#/components/schemas/Response36Afe1097B20_BaseMerchantAmazonSellersElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "元素類型"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>具有相同 <code>type</code> 值的元素群組內的位置</em><br>不同 <code>type</code> 值的元素位置不計入 <code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> SERP 中的絕對排名</em><br>Amazon Sellers SERP 中所有元素中的絕對位置"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>元素在 SERP 中的對齊方式</em><br>可能的值：<br><code>left</code>、<code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>元素的 <a href=\"https://en.wikipedia.org/wiki/XPath\">XPath</a></em>"
    },
    "seller_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>賣家的公司名稱</em>"
    },
    "seller_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>轉送至賣家 Amazon 頁面的 URL</em>"
    },
    "ships_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>寄件者公司名稱</em>"
    },
    "price": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_PriceInfo"
        }
      ],
      "description": "<em>商品價格詳細資料</em><br>若無詳細資料，該值將為 <code>null</code>"
    },
    "percentage_discount": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>折扣百分比數值</em>"
    },
    "applicable_vouchers": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonApplicableVouchersItem"
          }
        ]
      },
      "description": "<em>包含適用優惠券資訊的物件陣列</em>"
    },
    "rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingElement"
        }
      ],
      "description": "<em>賣家評分詳細資料</em><br>根據客戶評論的賣家熱門程度"
    },
    "condition": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>商品狀況</em><br>賣家所提供商品的狀況"
    },
    "condition_description": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>商品狀況詳情</em><br>賣家所提供商品狀況的詳細說明"
    },
    "delivery_info": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AmazonDeliveryInfo"
        }
      ],
      "description": "<em>配送資訊</em><br>配送資訊，包括免費配送與快速配送的日期範圍"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "amazon_seller_main_item": "#/components/schemas/Response36Afe1097B20_MerchantAmazonSellerMainItemSerpElementItem",
      "amazon_seller_item": "#/components/schemas/Response36Afe1097B20_MerchantAmazonSellerItemSerpElementItem"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API 的目前版本"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "一般狀態碼\n完整回應碼清單請見此處"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "一般資訊訊息\n完整的一般資訊訊息清單請見此處"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "總執行時間，秒"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "任務總費用，美元",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 陣列中的任務數",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 陣列中傳回錯誤的任務數",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "任務識別碼\n我們系統中 UUID 格式的唯一任務識別碼"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "任務的狀態碼\n由 DataForSEO 產生，範圍如下：10000-60000\n完整回應碼清單請見此處"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "任務的資訊訊息\n完整的一般資訊訊息清單請見此處"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "執行時間，秒"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "任務總費用，美元",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 陣列中的元素數",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL 路徑"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "包含你在 POST 請求中指定的相同參數"
    }
  }
}
```

### Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>任務陣列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "asin": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 陣列中收到的 <code>asin</code></em><br>在<a href=\"https://dataforseo.com/help-center/asin-in-amazon-api\" rel=\"noopener noreferrer\" target=\"_blank\">這篇說明中心指南</a>中進一步瞭解 ASIN"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "元素類型"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 陣列中收到的搜尋引擎網域</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST 陣列中收到的地點代碼</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 陣列中收到的語言代碼</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>Amazon 結果的直接 URL</em><br>你可以用它來確認所提供的結果準確無誤"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>收到結果的日期與時間</em><br>採用 UTC 格式：“yyyy-mm-dd hh-mm-ss +00:00”<br>範例：<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>商品標題</em><br>與 POST 陣列中收到的 <code>asin</code> 相關的商品標題"
    },
    "image": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>商品圖片 URL</em><br>與 POST 陣列中收到的 <code>asin</code> 相關的商品圖片 URL"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>Amazon Sellers SERP 中找到的搜尋結果類型</em><br>包含傳回的 SERP 中找到的所有搜尋結果（<code>items</code>）類型<br>可能的項目類型：<br><code>amazon_seller_main_item</code>、<code>amazon_seller_item</code>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><strong><code>items</code></strong> 陣列中傳回的結果數</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseMerchantAmazonSellersElementItem"
          }
        ]
      },
      "description": "<em>SERP 中的項目</em>"
    }
  }
}
```

### Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_MerchantAmazonSellersTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>結果陣列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_PriceInfo

`#/components/schemas/Response36Afe1097B20_PriceInfo`

```json
{
  "type": "object",
  "properties": {
    "current": {
      "type": [
        "number",
        "null"
      ],
      "description": "目前價格\n表示結果中所展示產品或服務的目前價格",
      "format": "double"
    },
    "regular": {
      "type": [
        "number",
        "null"
      ],
      "description": "一般價格\n表示未套用任何折扣的產品或服務一般價格",
      "format": "double"
    },
    "max_value": {
      "type": [
        "number",
        "null"
      ],
      "description": "最高價格\n結果中所示產品或服務的最高價格",
      "format": "double"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "所列價格的貨幣\n套用於該價格的貨幣 ISO 代碼"
    },
    "is_price_range": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "價格以區間形式提供\n表示價格是否以區間形式提供"
    },
    "displayed_price": {
      "type": [
        "string",
        "null"
      ],
      "description": "結果中的價格字串\n結果中提供的原始價格字串"
    }
  }
}
```

### Response36Afe1097B20_RatingElement

`#/components/schemas/Response36Afe1097B20_RatingElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "元素類型"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>元素在 Google Shopping SERP 中的對齊方式</em><br>可能的值：<br><code>left</code>、<code>right</code>"
    },
    "rating_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<i>評分類型</i><br>此處可以找到下列元素：<code>Max5</code>、<code>Percents</code>、<code>CustomMax</code>"
    },
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>評分的值</em>"
    },
    "votes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>回饋數量</em>",
      "format": "int64"
    },
    "rating_max": {
      "type": [
        "integer",
        "null"
      ],
      "description": "rating_type 的最大值"
    }
  }
}
```
