AbanteCart Community

AbanteCart Development => New Features Discussion => Topic started by: MattAUSA on June 29, 2013, 06:36:29 PM

Title: Option to call stock levels from external source/API
Post by: MattAUSA on June 29, 2013, 06:36:29 PM
Just want to say, love AbanteCart. Only installed it a week ago and im blown away by it.

On to the suggestion. My suppliers site has the ability to pull stock levels from its own API. For example, if i were to call "hxxp://www.supplier.example/store_api.asp?productid=3453&option=1" it would give me the stock levels of that particular product as a simple integer.

It would be great if I could use this to monitor my stock level rather than having to manually change it, or use a csv.

It would make AbanteCart 100% perfect (for me at least!)
Title: Re: Option to call stock levels from external source/API
Post by: abantecart on June 30, 2013, 10:31:06 AM
Check storefront API: http://www.abantecart.com/document_wiki/index.php/Storefront_API_for_mobile_and_remote_access
You can use it to get stock

Also there is an admin API, but, currently, it does not support products. It can easily be updated to support stock.
Title: Re: Option to call stock levels from external source/API
Post by: abantecart on June 30, 2013, 10:00:55 PM
Forgot to mention.

If you like AbanteCart, help our project and spread a good word on review and other sites.

Thanks
Title: Re: Option to call stock levels from external source/API
Post by: MattAUSA on July 03, 2013, 04:36:13 AM
Thanks for answering my question.

I think there is some confusion about what inwas trying to do.

Currently stock is mantained by AbanteCart itself. What I was hoping to do is call the stock level for products from an external source.

Is this possible?
Title: Re: Option to call stock levels from external source/API
Post by: abantecart on July 13, 2013, 03:30:22 PM
I think this is exactly what I suggested.

You can use API or you can use Import to update the stock level