AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Prowtech on March 09, 2023, 05:25:44 AM

Title: Asking help for custom api in abantecart.
Post by: Prowtech on March 09, 2023, 05:25:44 AM
How can we register custom api in abantecart.... and how to use existing api function which are currently not accessible.... Thanks for ur response.
Title: Re: Asking help for custom api in abantecart.
Post by: abolabo on March 10, 2023, 10:39:12 AM
How can we register custom api in abantecart.... and how to use existing api function which are currently not accessible.... Thanks for ur response.

1. generate your own custom extension with our developer tool extension. (https://github.com/abantecart/developer_tools_extension)
2. add your custom route into main.php (into controllers)
3. Create your own api controller and call it

regarding calls. You should be sure api is enabled in the settings of cart (see admin->system->settings->api)

also you can dig into our documentation (https://abantecart.atlassian.net/wiki/spaces/DOC/pages/17924553/Storefront+API)


question about inaccessible function very confuse. please clarify.
Title: Re: Asking help for custom api in abantecart.
Post by: Prowtech on March 13, 2023, 07:30:37 AM
Where do all the api registered in abantecart... please provide the path location and file name containing all the registered api's...