Hello Sajitha, Jonathan,
I will agree with Jonathan about dealing with API Orchestration -> I expect the work done in the ODA team to help us on this and define interactions between component.
On this one shoppingCart to productOrder transition I still remember that we spend a lot of time discuss this transition - all company involved not completly aligned on the transition point from SC to PO.
Probably a second round could occur with ODA inputs....
Just speaking from perspective they are (at least) 3 distinct sequential events in buying process: 1/ A sales is detected 2/ Requester validated a cart (valid configured offerings priced) and 3/ Operater validated this cart (Party identified if not yet, address filled, payment captured, link to Billing Account, etc).
Only this third event should trigger order fullfilment. I tend to think that event 1 trigger a shopping cart (or retrieveing existing SC), and event 3 requires a productOrder (or a productOrder state change) but the management of event 2 could be discussed with ODA (right now with current API the PO is created and SC patched to remone ordered item... keeping only in SC the "save for later" item).
Hope it helps.
------------------------------
Ludovic Robert
Orange
My answer are my own & don't represent necessarily my company or the TMF
------------------------------
Original Message:
Sent: Nov 26, 2019 03:45
From: Jonathan Goldberg
Subject: Feedback on Shopping Cart Transition to Order
Hi Sajitha
Looping in @Jacob Avraham, lead for Shopping Cart, and @Ludovic Robert, lead for Product Order.
In general​, the Open API set does not deal with orchestration between different functional areas, it is expected that the consumer will handle that.
Thus one can imagine that the consumer would call PATCH on Shopping Cart to set the status to checked out, and POST on Product Order to create the order with the content from the cart.
You could of course create an orchestration layer that would expose a composite API that would take as input a shopping cart reference and return as output a created product order, while at the same time setting the cart status to checked out.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
Original Message:
Sent: Nov 25, 2019 16:37
From: Sajitha Nair
Subject: Feedback on Shopping Cart Transition to Order
Hi Experts,
I would like to get your feedback on: TMF663 Rest API Specification for shopping cart (https://projects.tmforum.org/wiki/download/attachments/114641002/TMF663_Shopping_Cart_API_REST_Specification_R19.0.1.pdf?api=v2).
On page 6 we have a picture of a prospect purchasing a product, step 4 is to checkout the shopping cart i.e. the shopping cart becomes read only and is transformed into an order
What API should I be using to checkout this shopping cart to create an order?
In addition, I looked into TMF622 Product Ordering Management API REST Specification (https://projects.tmforum.org/wiki/download/attachments/114640797/TMF622_Product_Ordering_Management_API_REST_Specification_R19.0.1.pdf?api=v2) and I did not see a reference to shopping cart in these specification.
In both the specifications I see basic operations to create, modify, get and delete entities, but not an API to transition the state of one entity to the other which is needed for the Buying experience (i.e. transition from cart to order) hence the above question.
Many thanks!
Sajitha
------------------------------
Sajitha Nair
Oracle Corporation
------------------------------