BonusDiscountLineItem document (Shop API 23.2)

(supports custom properties)

Document representing a bonus discount line item

Property Type Constraints Description
bonus_products [ProductDetailsLink]   The list of links to the bonus products the customer can choose from.
coupon_code String   The coupon code that triggered the promotion, if applicable.
id String   The ID of the line item.
max_bonus_items Integer   The maximum number of bonus items the user can select for this promotion.
promotion_id String   The ID of the promotion which triggered the creation of the line item.
X OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.