- Posts: 50
- Thank you received: 3
REST API for getting Orders in ERP System
- stefanfrei
-
Topic Author
- Offline
Less
More
5 years 11 months ago #325168
by stefanfrei
REST API for getting Orders in ERP System was created by stefanfrei
Hi,
is there a way to get the orders from Hikashop in our ERP System like it is in WooCommerce?
There is a REST API which is used by our ERP System to get the new Orders incl. Billing and Shipping Adress.
I cant find anything in the docs.
Thanks,
Stefan
is there a way to get the orders from Hikashop in our ERP System like it is in WooCommerce?
There is a REST API which is used by our ERP System to get the new Orders incl. Billing and Shipping Adress.
I cant find anything in the docs.
Thanks,
Stefan
Please Log in or Create an account to join the conversation.
5 years 11 months ago #325169
by nicolas
Replied by nicolas on topic REST API for getting Orders in ERP System
Hi,
There is no REST API.
Joomla 4 will come with REST API support and HikaShop will integrate with it once we have more information about it.
So if you need an API to serve data of your website, you can create a plugin to server that data as your own API.
However, in that case, it's usually simpler you develop a hikashop plugin and connect to the ERP API to send the data of the orders to the ERP, provided that the ERP has its own (REST or not REST) API.
For example, HikaShop comes with a KashFlow plugin to send the data of the orders to the KashFlow API when orders a created/confirmed:
www.hikashop.com/support/documentation/2...n-with-kashflow.html
We have some documentation about the order triggers you can use in your plugin to do that:
www.hikashop.com/support/documentation/6...mentation.html#order
There is no REST API.
Joomla 4 will come with REST API support and HikaShop will integrate with it once we have more information about it.
So if you need an API to serve data of your website, you can create a plugin to server that data as your own API.
However, in that case, it's usually simpler you develop a hikashop plugin and connect to the ERP API to send the data of the orders to the ERP, provided that the ERP has its own (REST or not REST) API.
For example, HikaShop comes with a KashFlow plugin to send the data of the orders to the KashFlow API when orders a created/confirmed:
www.hikashop.com/support/documentation/2...n-with-kashflow.html
We have some documentation about the order triggers you can use in your plugin to do that:
www.hikashop.com/support/documentation/6...mentation.html#order
The following user(s) said Thank You: byoguru
Please Log in or Create an account to join the conversation.
- stefanfrei
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
5 years 8 months ago #328715
by stefanfrei
Replied by stefanfrei on topic REST API for getting Orders in ERP System
Hi Nicolas,
when you integrate the Joomla 4 REST-API in Hikashop - would this be similar like its in Woocommerce?
Our ERP System has a interface which gets the data from Woocommerce through the Web-Service from WC.
When this is similar also in Hikashop then i can keep Hikashop as our Shopping-System.
Regards,
Stefan
when you integrate the Joomla 4 REST-API in Hikashop - would this be similar like its in Woocommerce?
Our ERP System has a interface which gets the data from Woocommerce through the Web-Service from WC.
When this is similar also in Hikashop then i can keep Hikashop as our Shopping-System.
Regards,
Stefan
Please Log in or Create an account to join the conversation.
5 years 8 months ago #328716
by nicolas
Replied by nicolas on topic REST API for getting Orders in ERP System
Hi,
It's almost guaranteed that it will be different, as Joomla API will quite likely have different mechanisms than WordPress. It's like payment gateways, each one of them has its own API.
The only way to have the same API as Woocommerce would be to actually not implement Joomla's API system by have a plugin made especially to mimic Woocommerce's API. And even then, the API is specific to Woocommerce, so some things can't be implemented the same way. For example, they have an API to get the settings of woocommerce:
woocommerce.github.io/woocommerce-rest-a...-all-setting-options
The settings are different in HikaShop and thus we cannot provide the same list with corresponding values.
So if your ERP needs that API, then it would be more difficult as we would need to know what settings they need to know to provide the adequate response in the API plugin.
Basically, us implementing the REST API of Joomla won't help you and if you need an integration with an ERP and you can't have a custom plugin developed between HikaShop and the ERP (if there isn't one already), then I don't see this changing any time soon.
It's almost guaranteed that it will be different, as Joomla API will quite likely have different mechanisms than WordPress. It's like payment gateways, each one of them has its own API.
The only way to have the same API as Woocommerce would be to actually not implement Joomla's API system by have a plugin made especially to mimic Woocommerce's API. And even then, the API is specific to Woocommerce, so some things can't be implemented the same way. For example, they have an API to get the settings of woocommerce:
woocommerce.github.io/woocommerce-rest-a...-all-setting-options
The settings are different in HikaShop and thus we cannot provide the same list with corresponding values.
So if your ERP needs that API, then it would be more difficult as we would need to know what settings they need to know to provide the adequate response in the API plugin.
Basically, us implementing the REST API of Joomla won't help you and if you need an integration with an ERP and you can't have a custom plugin developed between HikaShop and the ERP (if there isn't one already), then I don't see this changing any time soon.
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336345
by byoguru
Replied by byoguru on topic REST API for getting Orders in ERP System
"Joomla 4 will come with REST API support and HikaShop will integrate with it once we have more information about it."
Nicolas, any new information on J4 REST API + Hikashop?
Thanks!
Nicolas, any new information on J4 REST API + Hikashop?
Thanks!
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336352
by nicolas
Replied by nicolas on topic REST API for getting Orders in ERP System
Hi,
Joomla 4 does indeed come with a REST API.
We did start some work on this. However, the documentation on that for developers is sparse and there is a lot of work to be able to do it. So I have nothing to show yet.
Joomla 4 does indeed come with a REST API.
We did start some work on this. However, the documentation on that for developers is sparse and there is a lot of work to be able to do it. So I have nothing to show yet.
The following user(s) said Thank You: byoguru
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336370
by byoguru
Replied by byoguru on topic REST API for getting Orders in ERP System
THanks Nicolas, looking forward to it.
Best,
T
Best,
T
Please Log in or Create an account to join the conversation.
- stefanfrei
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
4 years 5 months ago #340728
by stefanfrei
Replied by stefanfrei on topic REST API for getting Orders in ERP System
Hi,
is there any news about the REST API for Hikashop?
Regards,
Stefan
is there any news about the REST API for Hikashop?
Regards,
Stefan
Please Log in or Create an account to join the conversation.
4 years 5 months ago #340729
by nicolas
Replied by nicolas on topic REST API for getting Orders in ERP System
Hi,
Unfortunately, no. We worked on other things in the mean time and didn't move forward with this.
Unfortunately, no. We worked on other things in the mean time and didn't move forward with this.
Please Log in or Create an account to join the conversation.
- stefanfrei
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
3 years 9 months ago #347639
by stefanfrei
Replied by stefanfrei on topic REST API for getting Orders in ERP System
Hi,
are there plans to make a webservice REST API for connecting ERP System like its in Woocommerce in the near future?
Regards,
Stefan
are there plans to make a webservice REST API for connecting ERP System like its in Woocommerce in the near future?
Regards,
Stefan
Please Log in or Create an account to join the conversation.
3 years 9 months ago #347652
by nicolas
Replied by nicolas on topic REST API for getting Orders in ERP System
Hi,
It's still in our plans, but it got pushed further away. So it won't happen in the near future as we're working on other things.
Note that even with a REST API, this won't make it easier to connect HikaShop with a ERP system.
In any case, such integration with an ERP requires development, whether it's a plugin in HikaShop which connects to the API of the ERP, or whether it's a plugin of the ERP which connects to the API of HikaShop.
There are actually already several plugins for HikaShop to connect to ERPs but each time, the plugin is specific to the targeted ERP. We even developed plugins for clients which were never released as they are too specific to the situation of the client to be used as a generic integration.
It's still in our plans, but it got pushed further away. So it won't happen in the near future as we're working on other things.
Note that even with a REST API, this won't make it easier to connect HikaShop with a ERP system.
In any case, such integration with an ERP requires development, whether it's a plugin in HikaShop which connects to the API of the ERP, or whether it's a plugin of the ERP which connects to the API of HikaShop.
There are actually already several plugins for HikaShop to connect to ERPs but each time, the plugin is specific to the targeted ERP. We even developed plugins for clients which were never released as they are too specific to the situation of the client to be used as a generic integration.
Please Log in or Create an account to join the conversation.
3 years 7 months ago #349451
by patoushka
Replied by patoushka on topic REST API for getting Orders in ERP System
Hi,
Is there a way to have a follow up about that functionnality?
Like a roadmap or something like that, so we could follow the state of the developpement?
Thanks a lot for the answer,
Is there a way to have a follow up about that functionnality?
Like a roadmap or something like that, so we could follow the state of the developpement?
Thanks a lot for the answer,
Please Log in or Create an account to join the conversation.
Time to create page: 0.251 seconds