Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Cart Line Details

The details of the initial amount, adjusted price, and details of all applied discounts and promotions to cart line items within the cart.
JSON example
This example shows a sample response.
Property Name Type Description Filter Group and Version Available Version
applied​CartLine​PromotionDetails Applied Cart Line Promotion Details[] Details of the line or cross line promotions applied. Big, 65.0 65.0
cartLine​ItemAmount​AfterDiscount Double Updated price of the line items after the current promotions are applied. Big, 65.0 65.0
cartLine​ItemAmount​BeforeDiscount Double Price of the line item before the current promotions are applied. Big, 65.0 65.0
cartLine​ItemId String The ID of cart line item on which promotions are applied. Big, 65.0 65.0
cartLine​ItemQuantity Integer Quantity of the cart line item on which promotions are applied. Big, 65.0 65.0
cartLine​Product String Product on which promotions are applied. Big, 65.0 65.0
totalCart​LineItem​DiscountAmount Double Total amount of discounts applied to the line item, including discount from applied line or cross line promotions. and cart line. The distributed amount is only from cart level promotions. Big, 65.0 65.0
totalCart​LinePromotions​DiscountAmount Double Total amount of discount from all line or cross line promotions. Big, 65.0 65.0
totalCart​Promotions​Distributed​DiscountAmount Double The prorated amount of the total monetary discount from cart promotions that a discount distribution service applies to an individual line item. Big, 65.0 65.0