...
If using a Direct API integration, coupons are passed on orders and upsells using the couponCode parameter. Multiple coupon codes may be included separated by commas. Discounts will be calculated upon import. Follow instructions here and here.
...
Coupon Examples
Bundle Coupon Example
...
Buy 2 get 10% off
Buy 3 get 15% off
Buy 4 or more get 20% off
...
Buy 2 Get 1
...
Buy 1 Get 1 Example
...