Wholesale Pricing Schema
Fields
Wholesale Pricing Schema
MSP resell-pricing config for wholesale customer-tenants. One default per MSP (customerTenantId=null) plus optional per-customer overrides.
customerTenantId
Customer tenant this pricing applies to. null = default config for all wholesale customers of the MSP.
defaultMarkupPercent
Markup applied on top of Codemeta wholesale price (e.g. 50 = +50%). Used for any module without an explicit override.
moduleOverrides
Per-module explicit unit-price overrides in EUR cents. Keyed by module id (e.g. "ticketing").
tierMarkupPercent
Markup applied on top of the Codemeta wholesale tier price (TIER_WHOLESALE_PRICING). Falls back to defaultMarkupPercent when null. Keep separate from defaultMarkupPercent so MSPs can mark up bundles differently from individual modules.
vatRate
VAT rate (percent string) applied to generated wholesale invoices. Set to "0" together with reverseCharge=true for cross-border EU B2B (recipient owes the VAT).
reverseCharge
EU B2B reverse-charge mechanism. When true, vatAmount is forced to 0 and a "Reverse Charge — recipient liable for VAT (§13b UStG / Art. 196 MwStSystRL)" notice is appended to the invoice closingText.
currency
ISO 4217 currency code for invoices generated from this config (e.g. EUR, CHF, GBP). Must match the currency of the configured Stripe wholesale prices for the same MSP.
paymentTermsDays
Default payment terms (days) for generated wholesale invoices.
introText
Optional intro text written above invoice positions.
closingText
Optional closing text written below invoice positions.
notes
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/wholesale_pricings— List, paginated + filterableGET /api/v1/wholesale_pricings/<id>— Single entityPOST /api/v1/wholesale_pricings— CreatePATCH /api/v1/wholesale_pricings/<id>— Partial updateDELETE /api/v1/wholesale_pricings/<id>— Soft deleteGET /api/v1/wholesale_pricings/<id>/timeline— Audit + activities