Newer Version Available

This content describes an older version of this product. View Latest

VPL360_CsrBasepackretrieve

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

Sample Input

1{
2    "AccountId": "0014W000029kBVyQAM",
3    "cartId": "8014W000000lIYFQA2"
4}

Parameter

Required/Optional

AccountId

Required

cartId

Required

Sample Output

1{
2  "results": {
3    "removedProductList": [
4      "VPL-ShippingFee",
5      "VPL-PlayPlus",
6      "VPL-Platform",
7      "VPL-STBStandard",
8      "VPL-ActivationFee",
9          ],
10    "filteredResult": [
11      {
12        "Type": "PACKAGE",
13        "SubType": "BASE",
14        "Id": "01t4W00000CYESvQAP",
15        "Description": "An extensive amount of the most popular channels that people love.",
16        "RecurringPrice": "$15",
17        "IsActive": true,
18        "Name": "Play",
19        "UnitPrice": "0.00",
20        "ProductCode": "VPL-Play",
21        "PriceBookEntryId": "01u4W00000B994jQAB"
22      }
23],
24    "errorCode": "INVOKE-200",
25    "error": "OK"
26  }
27}

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