Reputation: 57
I'm trying to build a products API in OpenCart 3. I want to insert products via POST request. Is there a way to do that? Thanks in advance!
Upvotes: 0
Views: 1163
Reputation: 180
Opencart does not offer product create creation API but you can create your custom API for product creation.
Upvotes: 0
Reputation: 56
It seems that there is no API controller to handle creation of products via the API. Assuming you are using the latest version of Opencart 3, these are the available endpoints - https://github.com/opencart/opencart/tree/3.0.x.x_Maintenance/upload/catalog/controller/api
Also their documentation does have some information which might help - https://docs.opencart.com/en-gb/system/users/api/
Upvotes: 1