Skip to main content

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 conceptTM Forum resourceAPINotes
Catalogue View (published, per channel)ProductCatalogTMF620A view is what a channel can sell; its publish run is the catalog version.
CategoryCategoryTMF620Category code is the resource id.
Product Offering, Product VariantProductOfferingTMF620A variant is an offering with its own code and prices.
PackageProductOffering with isBundle = trueTMF620Components become bundledProductOffering.
SolutionProductOffering with isBundle = trueTMF620Solution components become bundledProductOffering with cardinality.
Add-on group and optionproductOfferingRelationship, bundledProductOfferingOptionTMF620Group cardinality becomes the lower and upper limits.
Product Definition and attributesProductSpecification, productSpecCharacteristicTMF620Attribute data type maps to valueType; allowed values to productSpecCharacteristicValue.
Charge and priceProductOfferingPriceTMF620One price per one-time or recurring charge.
Agreement availability and product checkCheckProductOfferingQualificationTMF679Offering eligibility only; location serviceability is not native.
Quote (native cart)QuoteTMF648Quote state comes from the native quote status.
Quote item and unitQuoteItemTMF648Quantity strategy UNIT items carry their units as child items.
Quote charge rowsquoteItemPrice, quoteTotalPriceTMF648Charges are generated by native pricing; the adapter never calculates.
Approval requestQuote.state = pending plus approval referenceTMF648Approve and reject remain native approval commands.
OrderProductOrderTMF622Created from a priced or approved quote.
Order amendmentProductOrder change via a new quoteTMF622See changes after ordering.
SubscriptionProduct with isBundle = trueTMF637The installed Package, Solution or standalone product context.
ServiceProductTMF637A child product of its subscription. Its id is the service lineage id, stable across commercial changes.
DeliverableProductTMF637A one-time product, for example installation or shipment, related to its Service.
AccountCustomer and OrganizationTMF629, TMF632The account is the customer role of a party.
ContactIndividual, contactMediumTMF632, TMF629Contacts are related parties of the customer.
External referenceexternalReferenceTMF629, TMF632Same values as the native external references.
Domain eventTMF notificationAllDelivered 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 flowTM 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 servicePATCH /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 cancellationCancelProductOrder 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.