News:

AbanteCart v1.4.2 is released.

Main Menu
support

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mcflynn617

#1
API Development / Re: url for admin api
January 08, 2017, 11:25:11 PM
Thanks! The testing script helped a lot. I'll be happy to write up some docs once I understand how the admin API works.
#2
API Development / Re: url for admin api
January 07, 2017, 09:59:50 AM
More generally, how are routes created in Abantecart? Which php file parses the url and determines which controller to call? Is there something like a 'urls.py' in Django which takes a url and calls the proper method or function?
#3
API Development / url for admin api
January 06, 2017, 04:32:26 PM
I would like to access the admin api, but I don't know how to create urls that will hit the admin api endpoints. For example, the storefront api uses 'rt=a/product/product&product_id=' to get information for a product number 'product_id'. How do you create one for 'ControllerApiOrderDetails' in admin/controller/api/order/details.php? Ultimately, I need to get a list of new orders (or all orders) and a list of new customers (or all customers), are there api calls for those? If not, to create new api calls, I would need to use Extensions? I'm new to Abantecart and php so any information is greatly appreciated!

Forum Rules Code of conduct
AbanteCart.com 2010 -