Delete Applied Promo Items
Delete applied promotion items from cart.
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. For additional information, see UserSecurity Class and CPQ and Digital Commerce Changes for Guest Users.
NOTE:
- This API runs eligibility check against all promotions added to the cart during the deletion of a selected promotion.
- When the applied promotion is Cancelled/Disconnected before the expiration date, ensure to parallely maintain the following fields.
vlocity_cmt__CommitmentEndDate__c
for Order Applied Promotion with end-datedvlocity_cmt__EstimatedEndDate__c
for Order Pricing with end-dated
Communication (vlocity_cmt)
For API parameter names and descriptions, see Cart-Based API Swagger Reference.
Response Format | JSON |
---|---|
Resource URL | /services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/promotions |