[Guide] Retrieving specific orders from WooCommerce

Table Of Contents

  • Introduction
  • Step 1: Create an incoming configuration
  • Step 2: Create a route
  • Additional information

Introduction

This article describes how to retrieve specific orders from WooCommerce.

Step 1: Create an incoming configuration

  • Navigate to “Connections” in the menu and select “Incoming”.
  • Create a new incoming configuration to setup the process of retrieving specific WooCommerce orders.
  • Insert a name in the “name” field.
    1. For example: “WooCommerce – Orders – Retrieve specific order”
  • Under “Publisher” select “WooCommerce - Order - Get One Order”
  • Under “WooCommerce HTTP client” select the HTTP client that you created during the initial setup.
  • Under “Order ID”, specify an order ID.
    1. For example: “123”.
    2. Hardcoded order IDs are especially useful when testing an integration.
  • Click “Add entity transformer” and select “WooCommerce - Order - Restructure to Alumio”.
    1. This transformer converts data from a WooCommerce format to the Alumio order schema.
  • Under “WooCommerce HTTP client” select the HTTP client that you created during the initial setup.
    1. This client will be used to retrieve additional information that is not included in the order data from WooCommerce.

  • Under “Map”, you can assign each of the order statuses from WooCommerce to the order statuses from your other system.

Step 2: Create a route

Next you’ll create a route to bind the incoming configuration to the outgoing configuration. In the route, you’ll need to select the incoming configuration you created in the previous steps.

On the following links, you can find more information about creating routes and outgoing configurations and publishers.

Additional information

When there are no orders returned by WooCommerce matching

This incoming configuration uses the Alumio order schema.

That’s it!

You should now be able to retrieve specific orders from WooCommerce!