Skip to content

Plenty Service

Plenty Service

Location: backend/service_plenty

Dashboard: Plenty (/plenty) — articles, populate, penner/renner, stock valuation, Sellerboard reports.

Purchase history & stock value

Purchase history lives in article_purchase_history and feeds FIFO stock value on articles.

Source (since 1.11.0): Postgres shopping_table (omni shopping Sheet clone), not stock Google Sheets.

Action Route / trigger
Manual import POST /api/v1/plenty/stock/import-from-shopping-table
Legacy alias POST /…/stock/import-from-sheets (same handler)
Article populate (~95%) Calls shopping_table import, then FIFO calculate
UI Plenty → Stock → Management → Import from Shopping Table

Field mapping:

shopping_table article_purchase_history
datum purchase_date
einheiten units
preis_pro_einheit_n (else _b) buy_price
asin_sku (ASIN \| SKU, comma lists) matched articles.sku

Keep the omni shopping-table cron (POST /api/v1/omni/statistics/populate) up to date before importing.

Stock Sheet Settings (multi-spreadsheet type=stock) were removed in 1.11.0. Penner/Renner sheet settings are unchanged.

Stock UI tabs

  • Management — total stock value, import from shopping_table, FIFO calculate, Sellerboard Amazon process
  • Sellerboard Reports — report link management