Hello,
I'm trying to send to an external payment gateway the vendor's share from the current order. We have vendors who are not commissioned so they get the full payment of the orders while others who pay a commission per order based on their chosen plans. However from the API I can only get the company_id but not the plan or share of the vendor. Even in get specific vendor there is no field for the vendor plan.
Is there a way for me to figure out how much from the current order the vendor will get through the API?