Skip to navigation

OrderPromotion

OBJECT
A promotion, coupon or manual discount applied to an order.

Fields

discountslist of OrderPromotionDiscountsRequired
The discounts applied by this promotion.
entityIdIntegerOptional
The ID of the promotion rule. Null for manual discounts and legacy coupons.
displayNameStringOptional
The display name of the promotion. Null when not available.
priorityIntegerOptional
Order in which the promotion rule was applied. The lower the value, the higher the priority. Null when not available.
couponCodeStringOptional
The coupon code that applied this promotion. Null when not applied by a coupon.