Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Asking help for custom api in abantecart.  (Read 2173 times)

Offline Prowtech

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Asking help for custom api in abantecart.
« 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Asking help for custom api in abantecart.
« Reply #1 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.
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


question about inaccessible function very confuse. please clarify.
« Last Edit: March 10, 2023, 10:44:31 AM by abolabo »
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Prowtech

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Asking help for custom api in abantecart.
« Reply #2 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...

 

Powered by SMFPacks Social Login Mod