VPL360_CsrBasepackretrieve

This Integration Procedure retrieves and filters products that the customer has not purchased before.

Sample Input

{
    "AccountId": "0014W000029kBVyQAM",
    "cartId": "8014W000000lIYFQA2"
}

Parameter

Required/Optional

AccountId

Required

cartId

Required

Sample Output

{
  "results": {
    "removedProductList": [
      "VPL-ShippingFee",
      "VPL-PlayPlus",
      "VPL-Platform",
      "VPL-STBStandard",
      "VPL-ActivationFee",
          ],
    "filteredResult": [
      {
        "Type": "PACKAGE",
        "SubType": "BASE",
        "Id": "01t4W00000CYESvQAP",
        "Description": "An extensive amount of the most popular channels that people love.",
        "RecurringPrice": "$15",
        "IsActive": true,
        "Name": "Play",
        "UnitPrice": "0.00",
        "ProductCode": "VPL-Play",
        "PriceBookEntryId": "01u4W00000B994jQAB"
      }
],
    "errorCode": "INVOKE-200",
    "error": "OK"
  }
}

Called By

  • Flows:

    • Agent console: Change Base Package

  • Components:

    • Omniscript: vpls360csrChangeBasePackage

Calls

  • Remote Action:

    • Class: vlocity_cmt.CpqAppHandler

    • Method: getCartsProducts

  • Remote Action:

    • Class: VPL360ShopAddOn

    • Method: filterProducts

  • Data Mapper: vpls360Csr-FormatProductList