Skip to main content

TMF648 Quote Management

PropertyValue
Release4.0.0, the latest production release (5.0.0 is pre-production with no test kit)
Base path/tmf-api/quoteManagement/v4
Native sourceQuote commands and reads (/api/v1/carts)
Native scopescommerce.cart.read, commerce.cart.manage, commerce.cart.price

A TMF648 Quote is a Nambikk quote. The native API calls it a cart in its paths; it is the same record, with the same number, version, items, charges, approvals and validation. Every quote change runs the native command for that change, so configuration rules, add-on cardinality and pricing behave exactly as in the Nambikk UI.

Resource: Quote​

TMF attributeNative sourceNotes
idquote idUUID
externalIdcartNumberAlso accepts a client reference on create.
descriptionquote name
versionquote versionSent back on PATCH for optimistic concurrency.
statequote statusSee lifecycle.
quoteDatecreatedAt
effectiveQuoteCompletionDateacceptedAt
validFor.endDateTimeexpiresAt
categorycartTypeNEW_SALE, SUBSCRIPTION_CHANGE or ORDER_AMENDMENT.
channel (subtype)Catalogue ViewTMF648 v4 has no channel attribute; it is carried by the NambikkQuote subtype.
relatedPartyaccount (Customer), primary contact, assigned seller (SalesAgent)RelatedParty
quoteItemquote items, with units as child items
quoteTotalPricequote totals by charge type and periodGenerated by native pricing.
agreementcustomer agreement in forceAgreementRef
authorizationapproval requestsAuthorization with state, requestedDate, givenDate and approver.
productOfferingQualificationnoneNot offered.
notenoneNot offered.
@typeNambikkQuote@baseType is Quote.

QuoteItem​

TMF attributeNative sourceNotes
idquote item id
actionitem actionADD → add, MODIFY → modify, REMOVE → delete, NO_CHANGE → noChange (a free string in v4).
stateitem validation resultSee lifecycle.
quantityquantity
product.productOfferingproduct code, variant code
product.productCharacteristicconfigured attribute valuesCharacteristic with name, valueType and value.
product.idinstalled product for change quotesPresent for modify, delete and noChange.
quoteItemchild itemsPackage and Solution components, add-ons and units.
quoteItemRelationshipparent item, add-on groupbundles for components, reliesOn for add-ons.
quoteItemPricecharge rows of the itemOne price per charge, with priceAlteration for discounts.

Lifecycle​

Native statusTMF stateMeaning
DRAFTinProgressBeing configured.
PRICEDinProgressPriced and orderable when no approval is needed.
PENDING_APPROVALpendingWaiting for an approver.
APPROVEDapprovedApproved and orderable.
ACCEPTEDacceptedAccepted by the customer.
ORDEREDacceptedAn order was created from it.
CANCELLEDcancelledCancelled.
EXPIREDcancelledValidity passed; must be repriced or copied.

PRICED and ORDERED have no state of their own in TMF648. The native status is returned unchanged in the NambikkQuote subtype so a client can tell them apart.

TMF648 rejected is not used. A rejected approval returns the native quote to PRICED (inProgress) so the seller can revise and resubmit, and Nambikk has no customer-rejection command.

Operations​

OperationPathNative callsSupport
List quotesGET /quoteGET /carts with account, status, type and date filtersSupported
Retrieve quoteGET /quote/{id}GET /carts/{id}, GET /carts/{id}/chargesSupported
Create quotePOST /quotePOST /carts, then one POST /carts/{id}/items per root item, PUT .../addons for add-ons, POST /carts/{id}/priceSupported
Update quotePATCH /quote/{id}PATCH /carts/{id} for header fields; per item: add item, configure, change-quantity, change-variant, change-product, PUT .../addons, DELETE .../items/{itemId}Supported
Request approvalPATCH /quote/{id} with state = pendingPOST /carts/{id}/submit-for-approvalSupported
Withdraw approvalPATCH /quote/{id} with state = inProgressPOST /carts/{id}/withdraw-approvalSupported
Cancel quotePATCH /quote/{id} with state = cancelledPOST /carts/{id}/cancelSupported
Delete quoteDELETE /quote/{id}DELETE /carts/{id} (draft, cancelled or expired quotes)Supported

Approve and reject are approver decisions on the native approval request, not quote updates. They remain on the native approval API.

Atomicity of multi-step requests​

A TMF POST or PATCH that touches several items becomes several native commands. Each native command is atomic and idempotent, and carries the quote version it expects. If a later step fails, earlier steps stay applied: the response is a TMF error that names the failed item, and GET /quote/{id} returns the quote as it now is. The adapter never replaces a stale version automatically.

Notifications​

EventNative eventSupport
QuoteCreateEventcart.createdSupported
QuoteStateChangeEventcart.status_changed, approval.status_changedSupported
QuoteAttributeValueChangeEventquote change eventsSupported
QuoteDeleteEventquote deletionSupported
QuoteInformationRequiredEventapproval.requestedSupported

Known differences​

  • Quotes are priced by the native engine. A client cannot send prices on a QuoteItem; any prices it sends are rejected rather than ignored.
  • Externally priced charges are written through the native external-price commands, not through TMF648.
  • Unit-level attributes (quantity strategy UNIT) are child QuoteItem entries. Large unit counts make large documents; the native unit APIs remain the efficient path.