Newer Version Available

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

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

1{
2    "cancelOrder": "false",
3    "itemId": "8024W000004MtWeQAK",
4    "orderId": "8014W000001Zl6EQAS"
5}

Parameter

Required/Optional

cancelOrder

Required

itemId

Required

orderId

Required

Sample Output

1{
2  "RemoveLineItem": {
3    "message": "Product {0} is successfully cancelled.",
4    "severity": "INFO",
5    "code": "CANCEL-1051"
6  },
7  "supplementalOrderId": "8014W000001Zl6JQAS"
8}

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