View Single Post
  #4  
Old 03-26-2019, 04:06 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Multi-Vendor API

Hi @redlance,

If you want to register a vendor's commission for the order, you need to add the following part to your REST API request:
Code:
&profileTransactions[0][value]=30&profileTransactions[0][profile][profile_id]=10

where 30 is the value of the vendor's commission and 10 is the vendor's profile ID.

Let me know if it helps you.

Tony

Quote:
Originally Posted by redlance
Thank you for quick response, I have succesfully created an order via API. it shows on the Admin and Vendor dashboard, however, it does not show on Vendor Transactions where a vendor can request for a payout right? Thank you
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote