Skip to main content

TMF622 Product Ordering Management

PropertyValue
Base path/tmf-api/productOrderingManagement/v5
Native sourcePOST /carts/{id}/order, Orders and lifecycle reads
Native scopescommerce.order.create, lifecycle.order.read, lifecycle.order.update

A Nambikk order is always created from a priced or approved quote. The order is decomposed in the same transaction into Subscriptions, Services and Deliverables, so a ProductOrder is complete as soon as it is acknowledged.

Resource: ProductOrder​

TMF attributeNative sourceNotes
idorder id
externalIdcustomerReference and orderNumberExternalIdentifier entries.
stateorder statusSee lifecycle.
orderDatecreatedAt
completionDatetime of COMPLETED
requestedStartDatenoneOnly when the catalogue defines an activation-date attribute.
categoryorderTypeNEW_SALE, SUBSCRIPTION_CHANGE, NON_COMMERCIAL_CHANGE.
quotesourceCartIdQuoteRef
channelCatalogue View codeChannelRef
relatedPartyaccount and primary contact
noteorder note
orderTotalPriceorder totals
productOrderItemsource quote itemsNative orders have no separate lines; items are read from the source quote.
@typeProductOrder

ProductOrderItem​

TMF attributeNative source
idsource quote item id
actionitem action: add, modify, delete, noChange
quantityquantity
statestatus of the Services and Deliverables created from the item
productOfferingproduct code
productthe TMF637 product created or changed: Subscription, Service or Deliverable (ProductRefOrValue)
quoteItemsource quote item (QuoteItemRef)
itemPrice, itemTotalPriceitem charges
productOrderItemchild items for Package and Solution components
productOrderItemRelationshipparent item and add-on links

Deliverables, for example installation or shipment, are TMF637 products of type NambikkDeliverableProduct. The order item that created them refers to them as its product, and its state includes their progress.

Lifecycle​

Native statusTMF state
CREATEDacknowledged
IN_PROGRESSinProgress
PARTIALLY_COMPLETEDpartial
COMPLETEDcompleted
FAILEDfailed
CANCELLEDcancelled

TMF622 draft, rejected, held, pending, inProgress.accepted, assessingCancellation and pendingCancellation are not used, and requestedInitialState is always acknowledged. A request Nambikk refuses is never stored, so it returns an error instead of a rejected order.

Operations​

OperationPathNative callsSupport
Create order from a quotePOST /productOrder with quotePOST /carts/{id}/validate (PRE_ACCEPT), POST /carts/{id}/orderSupported
Create order without a quotePOST /productOrder with items onlyQuote created, configured and priced first, then orderedSupported: when no approval is needed
Change installed productsPOST /productOrder with modify, delete or noChange itemsPOST /subscriptions/{id}/changes, item commands, price, orderSupported: when no approval is needed; otherwise use a change quote
List ordersGET /productOrderGET /orders (account, status, cursor)Supported
Retrieve orderGET /productOrder/{id}GET /orders/{id}, source quote itemsSupported
Update orderPATCH /productOrder/{id}PATCH /orders/{id} for approved lifecycle fieldsSupported: lifecycle fields
Amend an open orderPATCH /productOrder/{id} with item changesPOST /orders/{id}/amendments, then quote commands and orderNot offered as PATCH; offered as a change quote
Delete orderDELETE /productOrder/{id}noneNot offered
Cancel orderPOST /cancelProductOrdernative order cancellation, before the point of no returnSupported

Notifications​

EventNative eventSupport
ProductOrderCreateEventorder.createdSupported
ProductOrderStateChangeEventorder.changed with a status changeSupported
ProductOrderAttributeValueChangeEventorder.changed, deliverable.changedSupported
ProductOrderDeleteEventnoneNot offered
ProductOrderInformationRequiredEventnoneNot offered
CancelProductOrderCreateEvent, CancelProductOrderStateChangeEventorder.changed with a cancellationSupported
ProductOrderErrorMessageEvent, ProductOrderJeopardyAlertEvent, ProductOrderMilestoneEventnoneNot offered: fulfilment milestones are not tracked natively

Known differences​

  • An order that needs approval must go through TMF648 first; POST /productOrder without a quote cannot wait for an approver.
  • A price change between quote and order (PRICE_CHANGED) returns an error; the client reprices the quote and orders again.
  • Order amendment is modelled as a change quote because the native amendment is re-priced and re-validated like any quote.