| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Add to cart with api | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Add to cart with api
Hey. I want to integrate X-Cart and mobile app.
I want to add to cart from mobile app by format (application/json). But I can not find information. There is a lot of information about interaction with the API store. Tell me where you can find out or still have to write your decision?
__________________
X-Cart REST API 5.3.5.5 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Add to cart with api
Hi @georgio,
Welcome to X-Cart forums! If you want to create an API for adding products into carts and then pulling this info to your mobile app, you are better off creating your own custom solution. It will get you full control over format in which you can send and receive data, thus your approach will require a minimum number of requests to get the job done. Let me know if you have any other questions. Tony Quote:
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: Add to cart with api
Quote:
I thought there is already a request that adds products to the cart via the API.
__________________
X-Cart REST API 5.3.5.5 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Add to cart with api
Hi @georgio,
Here is the example of the request of adding a product to cart via REST API: Code:
8 is the ID of the order/cart, 13 is the ID of the product, 10.00 is the price of a product, with which it will be added into the cart. Hopefully, it will help. 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
|