# Получить результаты Amazon Sellers по id

**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`. Обращайтесь к нему, только если в разобранном результате не хватает чего-то конкретного.

### Справочная информация о ценах

- Тарификация: заявленная стоимость ответа.
- Справочная оценка запроса: USD 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 — Требуется действительный API-ключ Felo.

### 402 — Запрос не может быть выполнен: не выполнено требование биллинга.

### 403 — Аккаунту не разрешено выполнять эту операцию.

### 429 — Достигнут лимит запросов или расходов.

### 502 — Сервис не смог выполнить запрос.

### 503 — API или сервис биллинга временно недоступны.

### 504 — Истекло время ожидания обработки запроса.

### default — Ответ с ошибкой; сквозные ответы upstream могут использовать форматы провайдера

**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>URL-переадресация на страницу продавца на Amazon</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": "общая стоимость задач, USD",
      "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": "общая стоимость задач, USD",
      "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><code>asin</code>, полученный в массиве POST</em><br>подробнее об ASIN — в <a href=\"https://dataforseo.com/help-center/asin-in-amazon-api\" rel=\"noopener noreferrer\" target=\"_blank\">этом руководстве справочного центра</a>"
    },
    "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>прямой URL к результатам Amazon</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>название товара, соответствующего <code>asin</code>, полученному в массиве POST"
    },
    "image": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL изображения товара</em><br>URL изображения товара, соответствующего <code>asin</code>, полученному в массиве POST"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>типы результатов поиска, найденных в Amazon Sellers SERP</em><br>содержит типы всех результатов поиска (<code>items</code>), найденных в возвращённом SERP<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": "валюта указанной цены\nISO-код валюты, применяемой к цене"
    },
    "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"
    }
  }
}
```
