Open APIs

Shopping Cart Add Product Offering depending on an existing product

  • 1.  Shopping Cart Add Product Offering depending on an existing product

    TM Forum Member
    Posted 3 days ago
    Hello Team ,We want to achieve the Use case for adding ProductOffering as Cross Sell from ShoppingCart Request.Here for example 
    In customer inventory : product 123456..


    Based on the above Customer Inventory Customer got the Recommendation for Cross-Sell Product Offering "message addon"We want to Demonstrate that shoppingCart Patch request will have "message addon" ProductOffering with the existing CPI linked via productRelationShip attribute .Wanted to validate that does the following Add to cart request is correct for scenario{
    "cartItem": [
    {
    "action": "ADD",
    "product": {
    "productRelationship":{
    "id": "123456"
    "type": "reliesOn"
    }
    },
    "productOffering": {
    "id": "message_addon"
    },
    "quantity": 1
    }
    ],
    "relatedParty": [
    {
    "id": "xyz@abc.com"
    }
    ]
    }


    ---------------------------------
    Guneet
    IBM Corporation


    ------------------------------
    Guneet Singh
    IBM Corporation
    ------------------------------