Fix vendor mapping delete behavior and update docs

This commit is contained in:
Mikhail Chusavitin
2026-02-25 19:06:28 +03:00
parent a4457a0a28
commit 63454554c1
10 changed files with 497 additions and 99 deletions

View File

@@ -61,7 +61,7 @@
| POST | `/api/admin/pricing/recalculate-all` | Recalculate all prices (returns task_id) |
| GET | `/api/admin/pricing/lots` | LOT list |
| GET/POST | `/api/admin/pricing/stock-mappings` | Stock partnumber mappings |
| GET/POST | `/api/admin/pricing/vendor-mappings` | Vendor partnumber mappings |
| GET/POST/DELETE | `/api/admin/pricing/vendor-mappings` | Vendor partnumber mappings (DELETE removes mapping and seen-row from global list) |
| GET | `/api/admin/pricing/alerts` | Alerts list |
| GET | `/api/admin/pricing/partnumber-books` | List all partnumber book snapshots with item counts |
| POST | `/api/admin/pricing/partnumber-books` | Create partnumber book snapshot (returns task_id) |