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.

ConnectApi.PromotionCartInput

Cart during promotion evaluation.
Property Type Description Required or Optional Available Version
cartAdjustment​Groups ConnectApi.​PromotionCart​AdjustmentGroupInput[] Collection of cart adjustment groups associated with the items in the cart. Optional 60.0
cartDelivery​Groups ConnectApi.​PromotionCart​DeliveryGroupInput[] Collection of cart delivery groups associated with the items in the cart. Available if shipping promotions are enabled. Required when evaluating shipping promotions 60.0
cartItems List<ConnectApi.​PromotionCart​ItemInput> A collection of items in the cart. Required 57.0
currencyIsoCode String Three-letter ISO 4217 currency code associated with the cart. Required for multi-currency orgs 57.0
id String ID of the cart. Optional 57.0