Author Topic: Option to call stock levels from external source/API  (Read 2712 times)

Offline MattAUSA

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
Option to call stock levels from external source/API
« 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!)

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4139
  • Karma: +250/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Option to call stock levels from external source/API
« Reply #1 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.
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4139
  • Karma: +250/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Option to call stock levels from external source/API
« Reply #2 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
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline MattAUSA

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
Re: Option to call stock levels from external source/API
« Reply #3 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?

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4139
  • Karma: +250/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Option to call stock levels from external source/API
« Reply #4 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
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

 

Powered by SMFPacks Social Login Mod