I am developing Zen Cart Plugin and need to create the REST API that will be used in another third-party system. Please guide me.
I am developing Zen Cart Plugin and need to create the REST API that will be used in another third-party system. Please guide me.
You could use the USP OAuth/RESTful (https://www.zen-cart.com/downloads.php?do=file&id=2374) shipping module as a guide.
I don't think, it is helpful for me as a guide. The "UPS OAuth/RESTful " plugin implements the REST APIs. But I want to create my own API in zencart plugin under zc_plugins directory that will be implemented in another third-party website to export the orders from zencart to another system (third-party). I have developed a zencart plugin in zc_plugins directory. But I am unable to create an API endpoint (Such as: https.example.com/api/orders) that can be called through CURL. Please help in this regard.
I have developed a zencart plugin in zc_plugins directory. But I am unable to create an API endpoint (Such as: https.example.com/api/orders) that can be called through CURL. This endpoint will retrieve all the orders from the zencart database and return them to the third-party website.
Please help in this regard.
You might want to do a web search on "building a RESTful PHP API" - when I did that, this article came back, as well as others:
https://developer.okta.com/blog/2019...e-rest-api-php
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks