Tiered Pricing — API and MCP
Overview
This area exposes 7 operations. Each of them is at the same time an MCP tool.
This area is behind the module switch module.price_tiers. With the module off, these operations answer 404.
Operations
| Method | Path | Purpose | Permission | Parameters |
|---|---|---|---|---|
GET | /api/v1/price-tiers | Collection of PriceTierSet | pricetiers.tier.view · pricetiers.tier.manage | page, productId, scope, refId, active, brandId |
POST | /api/v1/price-tiers | Create a PriceTierSet | pricetiers.tier.manage | + body |
GET | /api/v1/price-tiers/analysis | Gewährte Staffelrabatte — Rechnungspositionen mit Staffelpreis je Artikel und Stufe im Zeitraum: Umsatz, Menge, Listenwert, gewährter Rabatt ((Listenpreis − Staffelpreis) × Menge) und Zahl der Kunden. Verlangt pricetiers.analysis.view. | pricetiers.analysis.view | from, to, range, productId, customerId, brandId |
GET | /api/v1/price-tiers/table | Staffeltabelle eines Artikels — Geltende Staffel-Sets eines Artikels im Kontext von Kunde und Marke, je Stufe Mindest-/Höchstmenge, Art, Wert und Stückpreis in Cent (Prozent-Stufen vom Listenpreis gerechnet). Gruppen-Staffeln zuerst. | products.catalog.view · pricetiers.tier.view · pricetiers.tier.manage | productId, customerId, brandId |
DELETE | /api/v1/price-tiers/{ulid} | Delete a PriceTierSet | pricetiers.tier.manage | ulid |
GET | /api/v1/price-tiers/{ulid} | Read one PriceTierSet | pricetiers.tier.view · pricetiers.tier.manage | ulid |
PATCH | /api/v1/price-tiers/{ulid} | Update a PriceTierSet | pricetiers.tier.manage | ulid, + body |
Purpose texts that do not follow the standard pattern are taken verbatim from the interface description in the code.