VPL360_CancelOrder

This Integration Procedure cancels an item in an order which is in progress and has not reached the point of no return (PONR).

Sample Input

{
    "cancelOrder": "false",
    "itemId": "8024W000004MtWeQAK",
    "orderId": "8014W000001Zl6EQAS"
}

Parameter

Required/Optional

cancelOrder

Required

itemId

Required

orderId

Required

Sample Output

{
  "RemoveLineItem": {
    "message": "Product {0} is successfully cancelled.",
    "severity": "INFO",
    "code": "CANCEL-1051"
  },
  "supplementalOrderId": "8014W000001Zl6JQAS"
}

Called By

  • Flows:

    • Self care: Subscription page, Order Cancellation

  • Components:

    • LWC: vplS360SelfCareSubscriptionAddOnsList.js

    • LWC: vplS360SelfCareSubscriptionBasePack.js

Calls

  • Data Mapper: DRGetOrderInfo

  • Integration Procedure: VPL360_RemoveLineItem

  • Remote Action:

    • Class: vlocity_cmt.CpqAppHandler

    • Method: unfreezeOrder

  • Remote Action:

    • Class: vlocity_cmt.CpqAppHandler

    • Method: createSupplementalOrder