| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
Rest API
http://kb.x-cart.com/display/XDD/REST+API+documentation#RESTAPIdocumentation
Please do not reply with this link. It is worthless. I am looking for some examples for other tables to use. Right now I am trying to add the image record to the items we can add. I think anybody that has tried to use this API would really like to see some more examples than the 101 stuff on the documentation page. I am sure somebody has a full list of what this API can do.... George |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Rest API
You can use "data:image" protocol to embed the image to the API request.
Something like this: Code:
Quote:
Unfortunately, it is impossible to create the full list of API commands and parameters as it depends on the installed modules. Basically, REST API is a bridge between third-party applications and Doctrine repository classes added by X-Cart 5 and ready-made/custom modules. It allows you to run the insert and query methods of repository classes.
__________________
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 |
|||||||||
#3
|
|||||||
|
|||||||
Re: Rest API
We are using raw URLs to add items to the cart.
Example http://personal.x-cart.com/<site>/admin.php?target=RESTAPI&_key=<restkey>&_path=prod uct Will list items. We need the path and maybe some field names for xc_product_images. I have tried a few that would make sense but like most things with xcart they could not just make it the table name. Thanks, Jamie |
|||||||
|
|||
X-Cart forums © 2001-2020
|