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.CartPromotionOutputRepresentation

A promotion associated with a cart.
Property Name Type Description Available Version
adjustmentAmount String Adjustment amount out of the promotion. 53.0
couponCode String Coupon code for a promotion. A coupon code is available only for manual promotions, not for automatic promotions. 54.0
currencyIsoCode String Currency ISO code associated with the cart. 57.0
displayName String Localized display name of the promotion. 52.0
promotionId String ID of the promotion. 53.0
targetType ConnectApi.​CartPromotion​Type Promotion target type. Values are:
  • Cart—Promotion targets a cart.
  • Item—Promotion targets an item in a cart.
53.0
termsAndConditions String Localized terms and conditions for the promotion. 53.0