Zen Cart Logo
Forums / General Questions / Zen-Cart API: inventory control from Ebay

Zen-Cart API: inventory control from Ebay

Locked

Views: 4,571

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
12 Jul 2009, 7:15 PM
#1
nisdats avatar

nisdats

New Zenner

Join Date:
Apr 2009
Location:
Houston
Posts:
41
Plugin Contributions:
0

Zen-Cart API: inventory control from Ebay

I am working on an inventory control program that automates our Ebay listings with our website listings. Basicly if an item sells on Ebay we need to immediatly subtract it from our zen-cart database.

I know there is a Zen-Cart API but how do I run it? the help file just has a list of random commands/functions but no explanantion on how to launch the API itself...

What is the best way of automaticly decreasing the zen-cart quantity. I already know the products_id and the amount by which it needs to be decreased. We just need to automate this process.

Thanks,

Igor

13 Jul 2009, 12:18 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zen-Cart API: inventory control from Ebay

There isn't a lot of magic to it ... you need to tap the products table ... and reduce the products_quantity by how many sold ...

If you know your database, username, password and you know the products_id and quantity ... you can then reduce this value ...

Now what triggers that is up to you ...

Using the Zen Cart code, you can look in the orders class to see how it is specifically done ...

13 Jul 2009, 12:35 AM
#3
nisdats avatar

nisdats

New Zenner

Join Date:
Apr 2009
Location:
Houston
Posts:
41
Plugin Contributions:
0

Re: Zen-Cart API: inventory control from Ebay

Thanks for the reply Linda. :smile:

Basicly I would do remote MySQL, get into my own database, execute the queries I want done and then get out?

Is this what the API is? (ie this technique is called API?)

thanks in advance,

Igor

13 Jul 2009, 3:49 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Zen-Cart API: inventory control from Ebay

You can get a better definition of an API from:
http://en.wikipedia.org/wiki/Application_programming_interface

More or less you are trying to interface with your database for your Zen Cart shop and alter the quantities based on activity from another application or site, in this case, eBay ...

If you know how to interface with the database and the products_id and quantity ... then you should not have a hard time doing this ...

13 Jul 2009, 4:29 AM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,844
Plugin Contributions:
0

Re: Zen-Cart API: inventory control from Ebay

Is this not what the auctionblox service does?

The AuctionBlox connector for Zen-Cart provides all the functionality available on a typical eBay listing right from your Zen-Cart administrator screen, reduces the amount of valuable time you spend listing items on eBay as you can list multiple items by simply selecting all the items you wish to list using a pre-designed template. The AuctionBlox connector for Zen-Cart also includes the valuable ‘Checkout Redirect’ feature which allows successful bidders to checkout on your shopping cart instead of eBay. This feature will provide you with an opportunity to up sell to you customers ultimately increasing the invoice value whilst only paying eBay sales commissions on the original items value.

13 Jul 2009, 4:40 AM
#6
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Zen-Cart API: inventory control from Ebay

Its my understanding that ebay is no longer allowing new access to the remote checkout function and are planning to withdraw access to current users in the near future.

15 Jul 2009, 4:50 PM
#7
mteipe avatar

mteipe

New Zenner

Join Date:
Apr 2009
Location:
Portland, Oregon
Posts:
29
Plugin Contributions:
0

Re: Zen-Cart API: inventory control from Ebay

barco57:

Is this not what the auctionblox service does?

Yes but they require you to use *there *hosted Zen Cart and they also take a fee per transaction. Not quite the same as getting the API's to connect yourself. :wink: