I would like to add a third party API, that performs a http request when the user adds their car reg and the resulting returned ID can be matched to products on our DB.

I'm looking for any documentation or tutorials that show the right way to perform this in Magento 2?


  • were you able to figure this out? The answer is not simple but I created a plugin for this.
    – AJ Cabildo
    Apr 24, 2018 at 11:05

1 Answer 1


You need to create a separate module for that. After that there is controller where you need to create the function for getting the car registration detail and their respective id. your link will be the www.abc.com/index.php/custservices/index Custservices is your module name and index is your function name

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.