Репрайсер по конкурентам V2
Цены и остатки конкурентов с Ozon
Changed onПодгружает цены/остатки конкурентов по списку comp_skus.
Вызывается при открытии карточки конкурентов, без парсинга всех цен при загрузке настроек.
TODO: в перспективе реализовать получение цен из истории
post/v2/comp/competitors-prices
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/v2/comp/competitors-prices
- Auth: none declared. Required headers: x-connect-id, x-user-id
Query parameters
blockstring
Headers
x-connect-idinteger required
ID магазина
x-user-idinteger required
ID пользователя
Request body
Example request
{
"comp_skus": [
1738567991,
1738567992
]
}Response
Successful Response
Example response
{
"msg": "Successful POST /v2/comp/competitors-prices",
"data": [
{
"comp_sku": 1738567991,
"name": "Товар конкурента",
"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": "ИП Иванов"
}
]
}Changes
- info
added the optional property
//to the response with the status
- info