Skip to content

1.8.18

โš™๏ธ Patch 1.8.18 โ€” Article sales & profit statistics

๐Ÿš€ Summary

  • Multi Repricer articles tables (Base + Otto / Kaufland / Shopify / FBM / FBA) open a Sales statistics dialog (chart icon in Actions) with KPI cards and charts for a selectable window (default 7 days, also 14 / 30).
  • Profit uses the full channel fee stack against real order sell prices. Returns reduce period profit; extra return-handling cost remains a stub (โ‚ฌ0).
  • Base dialog includes by-channel pie/bar charts; marketplace tabs are channel-filtered.
  • Note (1.8.19): Otto SPA advertising is now synced and attributed โ€” see 1.8.19.

โœจ Details

KPI Definition
sales_qty / retour_qty / retour_rate Sold / returned units; rate = retour รท sales
period_profit ฮฃ sale profits โˆ’ ฮฃ returned-line profits โˆ’ return_cost_total (always 0 for now)
avg_profit_per_sale period_profit / sales_qty
gross_revenue / retour_gross Reference sell ร— qty
by_channel Base view only โ€” breakdown by Otto / Kaufland / Shopify / FBM / FBA / other

APIs: GET /api/v1/multi/articles/stats/sales?skus=...&days=7&channel=all and GET /api/v1/multi/articles/{sku}/stats/sales.

Data: plenty_orders + plenty_retours (origin โ†’ channel); amazon_orders โ†’ FBA. Unmapped Plenty origins count under other on Base only.

Full computation reference: Article sales & profit statistics (formulas per channel, matching, stubs, caveats).

๐Ÿ”ง Deploy

Redeploy service-multi-repricer and the frontend.