VPL360_ShopAddOnPreProcess

This Integration Procedure fetches the assets with promotions which are associated with an account.

Sample Input

1{
2    "AccountId": "0014W00002C0J1u"
3}

Parameter

Required/Optional

AccountId

Required

Sample Output

1{
2  "assetIdSet": [
3    "02i4W00000EQbIuQAL",
4    "02i4W00000EQbIyQAL",
5    "02i4W00000EQbUMQA1",
6    "02i4W00000EQbUIQA1"
7  ],
8  "totalRecurringCost": 15,
9  "productCodeList": "VPL-Platform,VPL-PlaySports,VPL-PlaySports,VPL-Platform",
10  "assetIdList": "02i4W00000EQbIuQAL,02i4W00000EQbIyQAL,02i4W00000EQbUMQA1,02i4W00000EQbUIQA1",
11  "promoSet": [
12    "VPLS360-Promo",
13    "VPLSports-Promo"
14  ],
15  "errorCode": "INVOKE-200",
16  "error": "OK"
17}

Called By

  • Flows:

    • Self care: Subscription page

  • Components:

    • LWC: vplS360SelfCareSubscriptionAddOnsList.js

    • Omniscript: vpls360csr_BuyAddonsV3_English

Calls

  • Remote Action:

    • Class: VPLS360ShopAddOn

    • Method: fetchAssetsWithPromo