API

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
msandin
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Tue Jul 15, 2014 11:29 pm

API

Post by msandin » Wed Mar 11, 2015 12:22 pm

Folks,

We are running A/C 5 in production. We have a test site running A/C 8. Several developers have been working on it. I needed another area to play with our interface from Visual FoxPro 9 which is our in-house system.

I downloaded a 30day trial of 9 to work with. I finally got the database setup and populated from an A/C 8 database backup. I'm trying to access it via the API. I don't see an api folder in the A/C 9 download stuff. Can you help me?

Miles Sandin

rmaweb
Commander (CMDR)
Commander (CMDR)
Posts: 118
Joined: Fri Sep 10, 2010 9:41 am

Re: API

Post by rmaweb » Wed Mar 11, 2015 2:12 pm

Hello Miles,

There isn't an actual folder for the api in the file structure. However, if you access yousite.com/api/help in the browser, you will be able to see what is currently available.

This page on the Ablecommerce wiki should help some more http://wiki.ablecommerce.com/index.php/ ... ld_Web_Api

Also this if your looking to integrate another provider, http://wiki.ablecommerce.com/index.php/ ... uilder_API
Ryan A.
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3

msandin
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Tue Jul 15, 2014 11:29 pm

Re: API

Post by msandin » Wed Mar 11, 2015 3:55 pm

Thanks, but I don't understand. I guess I'm dense...

In the A/C 8 system I issue a command that looks like this

lcurl = "http://oursite.com/api/Products/309/list" and it returns info on the product with productid = 309

Within in our newly built A/C 9 system the command fails.

rmaweb
Commander (CMDR)
Commander (CMDR)
Posts: 118
Joined: Fri Sep 10, 2010 9:41 am

Re: API

Post by rmaweb » Wed Mar 11, 2015 6:15 pm

Take out the list and just use http://oursite.com/api/Products/309 does that work?
Ryan A.
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3

msandin
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Tue Jul 15, 2014 11:29 pm

Re: API

Post by msandin » Thu Mar 12, 2015 12:09 pm

It does for the AC 8 site, but not the AC 9.

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: API

Post by nadeem » Fri Mar 13, 2015 1:45 am

What are you getting in response when you make a call to API? Any error message in your log? It should work in both cases i.e. with and without /list at the end.

Post Reply