During May, we added support for syncing individual orders from WooCommerce to Kroconnect (and onwards to the ERP-/ekonomisystemet). Previously, the logic was based on the principle of “fetch all orders with status xx from time nn and onwards.”
A new API call has been added to delete the relationship between a SKU and a product’s ID. We store this relationship in Kroconnect because the WooCommerce API does not support product updates based on SKU, only via product ID. Being able to remove this relationship in Kroconnect can be useful when deleting an existing product in WooCommerce and then creating a new one, while wanting to reuse the old SKU.
WooCommerce plugin
The Kroconnect WooCommerce Connector plugin has also received an update. Version 1.2.0 extends the WooCommerce REST API with a Kroconnect section for orders, order_item_product, products, and product variations. This allows us to include customized information from WooCommerce when sending product and order data. A couple of filters are also available for this purpose so that developers can pass along custom data when needed. More information on how to do this will be available in our documentation after the summer holiday period.
The new version also includes a feature allowing you to manually send an order from WooCommerce to Kroconnect (and onwards to the ERP/accounting system). This can be useful if an order is rejected by the accounting system and you need to adjust the order contents and try again.

