VPL360_ShopAddOnPreProcess

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

Sample Input

{
    "AccountId": "0014W00002C0J1u"
}

Parameter

Required/Optional

AccountId

Required

Sample Output

{
  "assetIdSet": [
    "02i4W00000EQbIuQAL",
    "02i4W00000EQbIyQAL",
    "02i4W00000EQbUMQA1",
    "02i4W00000EQbUIQA1"
  ],
  "totalRecurringCost": 15,
  "productCodeList": "VPL-Platform,VPL-PlaySports,VPL-PlaySports,VPL-Platform",
  "assetIdList": "02i4W00000EQbIuQAL,02i4W00000EQbIyQAL,02i4W00000EQbUMQA1,02i4W00000EQbUIQA1",
  "promoSet": [
    "VPLS360-Promo",
    "VPLSports-Promo"
  ],
  "errorCode": "INVOKE-200",
  "error": "OK"
}

Called By

  • Flows:

    • Self care: Subscription page

  • Components:

    • LWC: vplS360SelfCareSubscriptionAddOnsList.js

    • Omniscript: vpls360csr_BuyAddonsV3_English

Calls

  • Remote Action:

    • Class: VPLS360ShopAddOn

    • Method: fetchAssetsWithPromo