Репрайсер по конкурентам V2
Поартикульные настройки конкурентов - получение (v2)
Поартикульные настройки из БД с фильтрацией и пагинацией.
Цены и остатки по артикулам магазина — в общей ручке POST /v2/rrc/products-prices.
Цены наших конкурентов — POST /v2/comp/competitors-prices (загружаются в процессе дополнительного запроса при открытии модального окна).
Артикулы без строк в БД отдаются с дефолтными значениями (параметр has_settings = 0)
post/v2/comp/products-settings
Query parameters
limitinteger
Лимит товаров в ответе
Лимит товаров в ответе
offsetinteger
Сдвиг выборки (постраничная навигация)
Сдвиг выборки (постраничная навигация)
blockstring
Headers
x-connect-idinteger required
ID магазина
ID магазина
x-user-idinteger required
ID пользователя
ID пользователя
Request body
Example request
{
"skus": [
12345678,
87654321
],
"product_ids": [
12345678,
87654321
],
"offer_ids": [
"offer-1",
"offer-2"
],
"names": [
"катушка",
"мочалка"
],
"brands": [
"kitty",
"bunny"
],
"catalog_filter_logic": "and",
"settings_rrc": {
"mode": "PRICE",
"night_control": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"plan_fact_target": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"control_price": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"min_price_rrc": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"max_price_rrc": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"change_price_if_green_absent": 1,
"region": 77,
"working_schedule_status": true
},
"settings_comp": {
"comps_strategy_status": true,
"min_price_comp": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"max_price_comp": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"comp_strat_lower_bound": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"region": 77,
"has_competitors": true
},
"api_filters": {
"price": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"old_price": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"marketing_seller_price": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"min_price": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"present": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"reserved": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"fbs_stocks": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"fbo_stocks": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"fbp_stocks": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"actions_count": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"discount_ozon": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"discount_card": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"current_green_price": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
},
"current_grey_price": {
"eq": 10,
"gt": 10,
"gte": 10,
"lt": 10,
"lte": 10
}
},
"history_status": "warning",
"history_comment": "С ценой на сайте все отлично.",
"negative_profit": true,
"tags": [
1,
5,
13
]
}Response
Successful Response
Example response
{
"msg": "Successful POST /v2/comp/products-settings",
"data": {
"limit": 1000,
"total_products": 1250,
"slice_products": 42,
"settings": [
{
"product_id": 21356090,
"sku_sds": 170771792,
"offer_id": "Sh-1457",
"comps_strategy_status": 1,
"min_price": 500,
"max_price": 5000,
"region": 77,
"price_delta": 50,
"competitor_out_of_stock_price": 3000,
"comp_strat_lower_bound": 2500,
"competitors": [
{
"comp_sku": 1738567991,
"competitor_status": 1,
"prices": {
"source": "history",
"base_price": 860,
"discount_price": 375,
"ozon_card_price": 350
}
}
],
"history": {
"current_green_price": 1250,
"current_grey_price": 1250,
"discount_ozon": 22.7,
"discount_card": 10.6,
"comment": "С ценой на сайте все отлично.",
"last_update": "2025.06.05 15:55:59"
},
"has_settings": 1
}
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.