Внутреннее апи с ручками для Settings API
Информация о маржинальности и расходах на товары за период
Changed onpost/internal/rrc/products-marginality
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/internal/rrc/products-marginality
- Auth: none declared. Required headers: Authorization
Query parameters
start_datestring date-time nullable
Дата от когда считать маржинальность (YYYY-MM-DD)
end_datestring date-time nullable
Дата до когда считать маржинальность (YYYY-MM-DD)
Headers
Authorizationstring required
Ключ авторизации
Request body
Response
Successful Response
Example response
{
"marginality": {
"123456": {
"advertisement": 0,
"commission": 0,
"commission_category": 0,
"costs": 0,
"has_cost": false,
"logistics": 0,
"margin": 0,
"margin_percent": 0,
"ozon_retention_fixed": 0,
"ozon_retention_variable": 0,
"price_sale": 0,
"qty_sales": 0,
"tax": 0,
"tax_price": 0
}
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info