Open APIs

 View Only
Expand all | Collapse all

TMF663 Shopping Cart Use Case with Product Prices and Price Alterations

  • 1.  TMF663 Shopping Cart Use Case with Product Prices and Price Alterations

    Posted Jul 31, 2023 08:54

    Hello,

    Please consider the use case from the attached image where in a Shopping Cart request we try to obtain Product Prices from Product Offering Prices and we have bundled POPs.

    Is it a correct approach to apply the discounts from the hierarchical structure in the POP as price alterations with different priorities in the Product Price? 

    In the Product Catalog the Product Offering Price resource has the bundledPopRelationship of type BundledProductOfferingPriceRelationship which allows for a hierarchical POP structure while in the Product Inventory for the Product Price resource I could not find a similar relationship to obtain matching hierarchical Product Prices. 

    From Pop to Product Prices


    ------------------------------
    Ionut Marcanasu
    IBM Corporation
    ------------------------------


  • 2.  RE: TMF663 Shopping Cart Use Case with Product Prices and Price Alterations

    Posted Aug 01, 2023 06:39

    Hello,

    Is it a correct approach to apply the discounts from the hierarchical structure in the POP as price alterations with different priorities in the Product Price? 

    If "apply" mean doing the discount calculation, then yes, use alterations and put them in a bundled POP relationship. (alternatively use POPrelationship for more fine grained relationships), note that "priorities" doesn't exist in the TMF620 API, so you have to extend the API to have a priority (order, sequence) attribute. we had this discussion already.
    to know more about alterations, I recommended reading G922 - product, which explains how to bundle prices, how to model alterations. Also search the communities, we discussed alterations in the past.

    Please consider the use case from the attached image where in a Shopping Cart request we try to obtain Product Prices

    Can you add this picture? I don't see it. The only image I see is a product catalogue and product inventory, not a shopping cart.



    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------