Nambikk model to TM Forum resources
The TM Forum APIs are a translation layer over the native Platform API. Each TM Forum resource is a view of one or more native records, and each TM Forum command runs the same native command that the Nambikk UI runs. The layer keeps no catalogue, prices, quotes or orders of its own.
Concept map
| Nambikk concept | TM Forum resource | API | Notes |
|---|---|---|---|
| Catalogue View (published, per channel) | ProductCatalog | TMF620 | A view is what a channel can sell; its publish run is the catalog version. |
| Category | Category | TMF620 | Category code is the resource id. |
| Product Offering, Product Variant | ProductOffering | TMF620 | A variant is an offering with its own code and prices. |
| Package | ProductOffering with isBundle = true | TMF620 | Components become bundledProductOffering. |
| Solution | ProductOffering with isBundle = true | TMF620 | Solution components become bundledProductOffering with cardinality. |
| Add-on group and option | productOfferingRelationship, bundledProductOfferingOption | TMF620 | Group cardinality becomes the lower and upper limits. |
| Product Definition and attributes | ProductSpecification, productSpecCharacteristic | TMF620 | Attribute data type maps to valueType; allowed values to productSpecCharacteristicValue. |
| Charge and price | ProductOfferingPrice | TMF620 | One price per one-time or recurring charge. |
| Agreement availability and product check | CheckProductOfferingQualification | TMF679 | Offering eligibility only; location serviceability is not native. |
| Quote (native cart) | Quote | TMF648 | Quote state comes from the native quote status. |
| Quote item and unit | QuoteItem | TMF648 | Quantity strategy UNIT items carry their units as child items. |
| Quote charge rows | quoteItemPrice, quoteTotalPrice | TMF648 | Charges are generated by native pricing; the adapter never calculates. |
| Approval request | Quote.state = pending plus approval reference | TMF648 | Approve and reject remain native approval commands. |
| Order | ProductOrder | TMF622 | Created from a priced or approved quote. |
| Order amendment | ProductOrder change via a new quote | TMF622 | See changes after ordering. |
| Subscription | Product with isBundle = true | TMF637 | The installed Package, Solution or standalone product context. |
| Service | Product | TMF637 | A child product of its subscription. Its id is the service lineage id, stable across commercial changes. |
| Deliverable | Product | TMF637 | A one-time product, for example installation or shipment, related to its Service. |
| Account | Customer and Organization | TMF629, TMF632 | The account is the customer role of a party. |
| Contact | Individual, contactMedium | TMF632, TMF629 | Contacts are related parties of the customer. |
| External reference | externalReference | TMF629, TMF632 | Same values as the native external references. |
| Domain event | TMF notification | All | Delivered to TMF listeners registered through /hub. |
Solutions and packages
A Package or Solution is one ProductOffering with isBundle = true. Its
components are bundledProductOffering entries, each with
bundledProductOfferingOption carrying the native minimum and maximum. When a
Solution is quoted, the quote holds one root QuoteItem for the Solution and
one child QuoteItem per selected component, linked through
quoteItemRelationship with relationshipType = "bundles". The ordered result
is one root Product for the Subscription, one child Product per Service
and one Product per Deliverable.
Changes after ordering
Native subscription changes and order amendments are quotes of a special kind
(cartType SUBSCRIPTION_CHANGE or ORDER_AMENDMENT). In TM Forum terms:
| Native flow | TM Forum flow |
|---|---|
| Subscription change (modify, upgrade, add, remove) | A Quote whose items carry action = modify, add, delete or noChange and reference the installed Product; ordering it creates a ProductOrder with the same item actions. |
Termination (changeCode = TERMINATION) | A Quote or ProductOrder with action = delete on the root Product. |
| Non-commercial change on a service | PATCH /product/{id} limited to the non-commercial characteristics the catalogue marks as editable. |
| Order amendment (change an open order) | A change Quote whose items reference the open ProductOrder items; ordering it amends the original order. Not a TMF622 PATCH productOrder. |
| Order cancellation | CancelProductOrder cancels an order before its point of no return. |
Identity and tenancy
TM Forum ids are the native ids or codes: catalogue records use their code, transactional records use their UUID. The tenant comes from the caller's token, exactly as on the native API; nothing in a TM Forum path or body selects the tenant.