Skip to main content

Hi

I'm going to use the Apply Adjustment endpoint from CPQ Cart API (the remote method to be precise) and the only documentation I found are those pages:

https://developer.salesforce.com/docs/industries/cme/guide/comms-apply-adjustment.html

https://help.salesforce.com/s/articleView?id=ind.comms_apply_adjustment.htm&type=5

 

There's nothing useful in the swagger file.

 

Where can I find the specification of 'adjustments' object (the body of a request)? Or the exact specification of this endpoint (or any other)?

2 respuestas
  1. 5 abr 2024, 5:41

    My point is that I want to know what should I put into the request body to, for example, apply an absolute adjustment (not percent) or how to put an adjustment for recurring charges.

     

    Adjustment for absolute:

      "adjustments": [

      {

        "DetailType": "ADJUSTMENT",

        "Field": "vlocity_cmt__OneTimeCharge__c", What should be here for recurring?

        "PricingVariableCode": "OT_STD_PRC", // What should be here for absolute?

        "AdjustmentType": "Adjustment",

        "AdjustmentMethod": "Percent", // What should be here for absolute?

        "AdjustmentValue": -50

      }

      ]

0/9000