Newer Version Available

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

VPL360_UpdateBasketOnCart

This Integration Procedure updates the basket key for the omnichannel cart in the self care portal in case of a new shopping journey.

Sample Input

1{
2    "AccountId": "0014W00002BgGWBQA3",
3    "BasketUrl": "https://qe-tso-cmt-16cf8f92698-16e825a30e7.force.com/services/apexrest/vlocity_cmt/v3/catalogs/DEVICES/basket/61a47e9985fcfbc4c092068be11cc3c8"
4}

Parameter

Required/Optional

AccountId

Required

BasketUrl

Required

Sample Output

1{
2  "UpdateBasketKeyResponse": true
3}

Called By

  • Flows:

    • Self care: Shopping flow ShopAddon/ShopBasepack

  • Components:

    • LWC: VPLS360SelfCareSelectedAddons.js

    • LWC: VPLS360SelfCareShopAddonBundles.js

    • LWC: VPLS360SelfCareShopAddonsChannels.js

Calls

  • Data Mapper: Post: VPL-UpdateBasketUrlOnCartObject