Can more than 1 discount be applied to a line item?
Same things with orders? Can an order have multiple discounts?
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
Yes, that is why discounts is an array.
Thanks. And are they applied based on the order that they appear in the array?
No. You can see how we calculate totals based on discounts here - https://docs.clover.com/docs/calculating-order-totals#step-2-line-item-discounts.
2 People are following this question.
Facing com.clover.sdk.v1.ClientException when adding Discount in the Order
Order Line Items export logic?
How an order state can be changed from "OPEN" to "PAID"?
Expanding nested discounts for order items
order list for 24 hours using node js