Delete Adjustment

Delete an applied price adjustment for a line item in the cart, such as a discount, mark up, or override.

The PricingElementServiceImplementation supports this API.

Prior to the Fall '20 release, the deleteAjustment API included a call to getCartsItems. However, from the Fall '20 release, this API no longer calls getCartsItems. If you call this API directly in custom code, ensure that you add a call to getCartLineItemPrices in your code, after calling the deleteAdjustment API. The response from this API has been updated to include the itempricesupdated action to make a call to the next API.

This API supports the guest user enhancements that Salesforce introduced with the Winter ‘21 release. To encrypt and decrypt data for guest users, use the UserSecurity class with this API. See Guest User Technical Details.

For additional information, ​see UserSecurity Class and CPQ and Digital Commerce Changes for Guest Users.

Communication (vlocity_cmt)

For API parameter names and descriptions, see Cart-Based API Swagger Reference.

Response FormatJSON
Resource URL/services/apexrest/{namespace}/v2/cpq/carts/{cartId}/items/{id}/pricing/{adjustmentId}

This example has been truncated.