Repricer
Get history statistics
Gives the statistics of the repricing runs of the team: the number of runs by type and status, the success rate and the average price change. The history keeps 32 days. A start date before that starts at the 32-day limit.
get/api/v1/sa/repricer/history/stats
Request
- Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
- URL: https://app.sellerassistant.app/api/v1/sa/repricer/history/stats
- Auth: one of:
- API key in query parameter api_key
- API key in header X-Api-Key
Query parameters
from_datestring date
Example:2026-01-01
The first day (inclusive). Send it with to_date. A day older than 32 days starts at the 32-day limit.
to_datestring date
Example:2026-07-01
The last day (inclusive). Send it with from_date.
periodstring
Example:last_week
A calendar window: last_day (today), last_week (this week) or last_month (this month). Without a period the window is this week. from_date and to_date together take the place of the period.
Response
Successful response. See HistoryStats schema for details.
Example response
{
"data": {
"period": {
"from": "2026-01-01",
"to": "2026-07-01"
},
"products": {
"total": 100,
"by_priority": {
"regular": 80,
"paused": 20
},
"by_mode": {
"off": 5,
"dry": 15,
"live": 80
}
},
"operations": {
"total": 500,
"by_type": {
"regular": 200,
"paused": 300
},
"by_status": {
"PRICE_SKIPPED_OUT_OF_BOUNDS": 50,
"PRICE_ALREADY_OPTIMAL": 100,
"PRICE_UPDATE_SUBMITTED": 300,
"FAILED": 50
},
"success_rate": "96.00"
},
"prices": {
"avg_change": "1.25",
"avg_rise": "1.50",
"avg_drop": "0.75",
"total_drop": "50.00",
"total_rise": "75.00"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.