[Guide] Updating order information in WooCommerce

Table Of Contents

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

Introduction

This article describes how to update orders in WooCommerce.

Step 1: Create an outgoing configuration

  • Navigate to “Connections” in the menu and select “Outgoing”.
  • Create a new outgoing configuration to setup the process of WooCommerce order updates.
  • Insert a name in the “name” field.
    1. For example: “WooCommerce – Orders – Update an order”
  • Under “Publisher” select “WooCommerce - Order - Update Order”
  • Under “OrderId”, specify the path where the order ID is stored within the data, using the “&{}” notation.
    1. For example: “&{identifier}” or “&{order.id}”.
  • Under “WooCommerce HTTP client” select the HTTP client that you created during the initial setup.
  • Click “Add entity transformer” and select “WooCommerce - Order - Restructure from Alumio by order ID”.
    1. This transformer converts data from the Alumio order schema to a format that WooCommerce understands.
  • 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 “Order Id”, enter the same value as in the “OrderId” field earlier in this step.
    1. For example: “&{identifier}” or “&{order.id}”.

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

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 outgoing configuration you created in the previous steps.

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

Additional information

This outgoing configuration uses the Alumio order schema.

That’s it!

You should now be able to update orders in WooCommerce!