Репрайсер по конкурентам
Получить информацию о конкурентах
Changed onВозвращает информацию о конкурентах по списку артикулов (SKU).
post/comp/new-competitors
Request
- Base URL: https://api.mpspace.ru (the document declares no server; this is the origin it was published from)
- URL: https://api.mpspace.ru/comp/new-competitors
- Auth: none declared
Query parameters
double_site_checkboolean
Проверять наличие через site-парсинг, если Statistics API не вернул остатки/details. Может занять существенно больше времени. Для особенных товаров v3/stock и v1/details не возвращают остатки — при double_site_check=true товар будет найден через парсинг, но в ответе только цена (без details).
Request body
Example request
{
"sku": [
1738567991,
1738567992,
1738567993
]
}Response
Успешный ответ с конкурентами
Example response
{
"msg": "Successful GET /new-competitors",
"data": {
"success_count": 10,
"error_count": 3,
"competitors": [
{
"sku": 1738567991,
"name": "Товар 1",
"base_price": 3340,
"discount_price": 375,
"ozon_card_price": 350,
"qty": 96,
"currency": "RUB",
"comp_img": "https://cdn1.ozone.ru/s3/multimedia-q/6000371222.jpg",
"supplier": "ИП Иванов"
}
],
"errors_api": {
"invalid_count": 2
},
"errors_validation": {
"invalid_count": 2
}
}
}Changes
- breaking
the response property
///became optional for the status - breaking
response property
data/competitors/items/supplierlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
added the new optional
queryrequest parameterdouble_site_check - info
added the optional property
///to the response with the status
- breaking