I am digging through the javadocs but not finding what I need...
Is there some way besides writing a custom query to get a list of completed orders having some coupon and/or promotion code?
Tom
No, but you can search on custom fields so maybe before saving the order you can add something to a custom field based on whether the order has a coupon or promotion code.
We ended up adding custom code to our order integration manager to persist information about the completed order to another database table. Would be nice if a future version had a way to query for orders by promotion.