REST API for getting Orders in ERP System

  • Posts: 50
  • Thank you received: 3
  • Hikashop Business
3 years 5 months ago #325168

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

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 5 months ago #325169

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

The following user(s) said Thank You: byoguru

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 3
  • Hikashop Business
3 years 2 months ago #328715

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

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 2 months ago #328716

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.

Please Log in or Create an account to join the conversation.

  • Posts: 99
  • Thank you received: 5
2 years 5 months ago #336345

"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!

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
2 years 5 months ago #336352

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.

The following user(s) said Thank You: byoguru

Please Log in or Create an account to join the conversation.

  • Posts: 99
  • Thank you received: 5
2 years 5 months ago #336370

THanks Nicolas, looking forward to it.
Best,
T

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 3
  • Hikashop Business
1 year 11 months ago #340728

Hi,
is there any news about the REST API for Hikashop?
Regards,
Stefan

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
1 year 11 months ago #340729

Hi,

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.

  • Posts: 50
  • Thank you received: 3
  • Hikashop Business
1 year 3 months ago #347639

Hi,
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.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
1 year 3 months ago #347652

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.

Please Log in or Create an account to join the conversation.

  • Posts: 617
  • Thank you received: 18
  • Hikaserial Subscription Hikashop Business
1 year 1 month ago #349451

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,

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum