Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

API queries regrading variations module
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-18-2019, 07:46 AM
 
radius_nisanth radius_nisanth is offline
 

Newbie
  
Join Date: Feb 2019
Posts: 2
 

Post API queries regrading variations module

X-Cart version: Business 5.3.6.0 30 days trial

We were testing out X-Cart and we have the following queries regarding the API. Can you please let me know:

1. How we can use your API to import variable/configurable products? For example, products which have options like colors etc. and when you click on them the image, SKU and price changes.

2. How we can use your API to import custom fields?

3. How we can use your API to import the custom shipping table?

It would be great if you could give us some guidance on how we could do these via the API.

Thanks,
Nisanth
__________________
X-Cart version : Business 5.3.6.0
Reply With Quote
  #2  
Old 02-22-2019, 11:26 PM
  qualiteam's Avatar 
qualiteam qualiteam is online now
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,365
 

Default Re: API queries regrading variations module

Hello.
I would advise to check our development documentation, it contains a comprehensive explanation on how to use REST API and how to pull data from X-Cart database.
* https://devs.x-cart.com/rest-api/
REST API allows to pull absolutely every single data entity from X-Cart.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 02-25-2019, 12:06 AM
 
radius_nisanth radius_nisanth is offline
 

Newbie
  
Join Date: Feb 2019
Posts: 2
 

Default Re: API queries regrading variations module

Hi,
Thanks for the reply. But i have checked the API documentation and searched google for an API endpoint to

1. How we can use your API to import variable/configurable products?
2. How we can use your API to import custom fields?

It would be great if you could guide me to guide or an example where i could use the API to do the above actions.

Thanks,
Nisanth
__________________
X-Cart version : Business 5.3.6.0
Reply With Quote
  #4  
Old 02-27-2019, 04:58 AM
  qualiteam's Avatar 
qualiteam qualiteam is online now
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,365
 

Default Re: API queries regrading variations module

I'm afraid we don't have a ready piece of code for your case.
However, as I said, REST API allow to pull any data defined through X-Cart's model classes.
So you should study the above guide carefully, it has everything you need.
Also there are several examples of REST API usage here
* https://devs.x-cart.com/rest-api/examples.html
They might help.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:33 PM.

   

 
X-Cart forums © 2001-2018