Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 931 Bytes

File metadata and controls

15 lines (7 loc) · 931 Bytes

ApplicableToOrderItemUnitsItem

Properties

Name Type Description
index Integer Number assigned to the order line item in accordance with the order sent in the request.
units List<Integer> Numbers of units in the order line covered by the discount; e.g. `2, 5, 8` for 10 units with the setting `&quot;skip_initially&quot;: 1`, `&quot;repeat&quot;: 3`. The counting of units starts from `1`. The maximum quantity of all handled units is 1000. If the quantity of all order items exceeds 1000, this array is not returned, but `units_limit_exceeded: true`. However, the discount is calculated properly for all relevant units.
unitsLimitExceeded Boolean Returned as `true` only when the sum total of `quantity` of all order items exceeds 1000.