completeCartWithSplitOrdersWorkflow after orders are created, and again from the order-edit-confirmed subscriber on order edits, returns, claims, and exchanges.
Usage
Input
IDs of the orders to recompute commission lines for; fails if any order is not found.
Result
The upserted commission lines.
The order line item the commission applies to.
The shipping method the commission applies to.
The rate that produced the line.
Code of the applied rate.
Rate value applied.
Commission amount in the order currency.