| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Multi-Vendor API | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Multi-Vendor API
Hello, is there an API for multivendor? When I created an order via the REST API, it does not reflect in the vendors transaction. Any solutions or tips? Thank you so much
__________________
5.3.6.0 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Multi-Vendor API
Hi @redlance,
Thanks for the message! REST API for the multi-vendor solution is the same as for X-Cart Business and you can create order by using 'POST' method to _path=order/0 end-point. https://devs.x-cart.com/rest-api/#request-parameters https://devs.x-cart.com/rest-api/#model-data-and-types Let me know if it is any help to you. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: Multi-Vendor API
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
__________________
5.3.6.0 |
|||||||
#4
|
|||||||||
|
|||||||||
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:
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:
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#5
|
|||||||
|
|||||||
Re: Multi-Vendor API
Hello guys..
Does X-Cart REST API support all of the modules? shear examples please. Thanks
__________________
Hakim Elkharbash |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Multi-Vendor API
Hi Hakim,
Yes, X-Cart REST API allows accessing the data described in modules . If the module introduces a new module, you can access it as follows: https://devs.x-cart.com/rest-api/#building-_path-for-module-models If the module adds a new property to an existing model, it will be just returned in the response to pulling this model. Let me know if it makes sense. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|