What's the best to assign one-time commission of 50$ to an affiliate using API REST? I know how to use the API, but I'm unsure about what to do. What of this should I use? Should I POST an "Access", an "Invoice"? An "Invoice-Payments"? Or what? I'm confused.
Oh, too bad. And what about activate a product that 'triggers' a commission? For example, I have a product A. Costs 10$ and gives 5$ of commission to affiliates that promote that. Can I through API activate (generate a payment for) product A so that the affiliate gets the commission?