ApproachingDiscount document (Shop API 23.2)
(supports custom properties)
Document representing a note to an object.
Property | Type | Constraints | Description |
---|---|---|---|
condition_threshold |
Decimal | The total amount needed to receive the discount. | |
discount |
Discount | The discount the customer can receive if eligible. | |
merchandise_total |
Decimal | The amount the customer basket contributes towards the purchase condition. | |
promotion_link |
PromotionLink | The link to details of the promotion associated with this discount. | |
shipment_id |
String | The unique id of the shipment the discount relates to. | |
shipping_methods |
[ShippingMethod] | The shipping methods the promotion relates to. | |
type |
String | The type of the approaching discount ("order" or "shipping"). |
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.