Hi all --
Hoping someone can help - My team is building a commission-based app that also has a monthly fee. For commission, we're charging a percentage of sales that are attributed to the use of our widget. We'd like to inform merchants about the attributed orders at the end of each billing cycle (i.e., each month).
From what I understand, the Shopify billing invoice will only show the total amount owed to us, and not the specific orders that were attributed.
I've called support a couple times and have been told about both the MarketingEvent, RecurringApplicationCharge and UsageCharge Billing APIs. Getting a little confused and could use some guidance on which will be needed in order for us to accomplish what we are trying to do. Thanks!
One idea: if you're adding to the user's cart directly, you can do so and include a line item property as shown on this page. Then, every month, you could poll orders for the month via an API connection, make note of all orders with your unique line item property, and attribute the sales accordingly.