How to bring Shopflix orders into WooCommerce

Merchant API, webhook, vouchers and automatic printing, step by step.

How to bring Shopflix orders into WooCommerce

If you sell on Shopflix and run your shop on WooCommerce, every Shopflix order has to reach your store with the right products and stock, be accepted on time and get its courier voucher. This guide shows how to connect the two with Codihi Shopflix Orders. Shopflix is an independent platform; this plugin is an unofficial, third-party integration and is not affiliated with Shopflix.

How it works

The plugin talks to the Shopflix Merchant API v2. New orders arrive at once through the Shopflix webhook, and a background sync catches anything a webhook missed. Each order becomes a WooCommerce order with stock reserved, and you accept it, create the voucher and print it from the order screen.

What you need before you start

  • A WooCommerce store (WordPress 6.5+, PHP 7.4+).
  • The Merchant API username and password that Shopflix gave you.
  • A site Shopflix can reach over the internet, preferably on HTTPS.

Step 1: Connect to the Merchant API

Install and activate the plugin, then go to Codihi Plugins → Shopflix Orders. Enter the Merchant API username and password and test the connection.

Step 2: Register the webhook

At the top of the settings you will find the webhook URL. Paste it into the Shopflix Merchant Portal. From then on new orders arrive at once.

Step 3: Activate your license

Enter your Codihi license key at the top of the settings page. It is used for automatic updates; orders are never locked by it.

Step 4: Product matching and statuses

  • Products are matched by the SKU of your XML feed, the EAN, the product ID or a custom field. Variations match by their own SKU.
  • Every Shopflix stage (new, accepted, ready, picked up, delivered, delivery failed, rejected, cancelled, return, returned) can set any WooCommerce status, including statuses you create.
  • Stock is reserved when an order arrives and released when it is rejected or cancelled.

What you can do on the order screen

  • Accept the order, or reject it with a reason.
  • Create the courier voucher (number of packages, pickup warehouse, comment) and cancel it.
  • Download the voucher PDF and open the A4 order sheet.
  • Upload up to three invoice or receipt files to Shopflix.
  • Accept or reject a return, and refresh the order from Shopflix.

On the orders list there is a Shopflix column and filter, and bulk actions to accept, create vouchers, print vouchers and order sheets, download vouchers and print a courier manifest.

Automation and automatic printing

You can turn on automatic acceptance (optionally only when every product was found and is in stock) and an automatic voucher as soon as an order is accepted.

Automatic printing comes from Codihi Print Station, a WooCommerce plugin that includes the Codihi Print Agent, an agent program for Windows on the packing computer. The voucher prints on the thermal label printer and the A4 order sheet on the normal printer, with no browser open; see the Print Station and Print Agent guide. Without Print Station nothing is sent to the printer, but orders keep arriving and you can always download the voucher and print it by hand.

Troubleshooting

  1. Orders are not arriving: check that the webhook URL in the Shopflix Merchant Portal is the one shown in the plugin, and that the API username and password pass the connection test.
  2. A product was not found: check the matching setting and the SKU or EAN of the product against your XML feed.
  3. Nothing prints: printing needs an active Print Station license and a connected Print Agent. See the Print Station guide.

FAQ

Does it need Codihi Print Station?

Only for automatic printing and the A4 order sheet. Without it, every voucher can still be downloaded as a PDF and printed by hand.

Will it import my old Shopflix orders?

No. The background sync only imports orders placed after the date in Automation → "Import only orders placed from", which is the moment the plugin was activated. Webhooks and the manual import are not limited.

Does it send my stock to Shopflix?

No. Shopflix reads stock and prices from your XML feed; the Merchant API has no stock endpoint.

What happens to returns?

The order shows the return stage and lets you accept or reject the return. Stock and refunds are left to you, because returned goods may not be sellable.

Related articles

Need help or a custom integration? Contact us.

Welcome Back

Forgot Password?
I am not a robot Verifying… Verified
AI

Ask the AI Assistant AI POWERED