# WooCommerce \[Orders, Product\]

**URL:** <https://forum.alumio.com/t/woocommerce-orders-product/548>\
**Category:** Exchange configuration\
**Tags:** orders, products\
**Created:** [April 13, 2023, 8:03am UTC](https://forum.alumio.com/t/woocommerce-orders-product/548 "2023-04-13T08:03:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [April 13, 2023, 8:03am UTC](https://forum.alumio.com/t/woocommerce-orders-product/548/1 "2023-04-13T08:03:13Z")

</div>

Hi, these configurations have been created to subscribe to Orders and publish a Product in WooCommerce with data to/from [Schema. org](http://schema.org/) .

## Information

- Last updated: 2023-04-13
- Alumio version: 3.31.1
- WooCommerce:
  - `GET /wp-json/wc/v3/orders`
  - `GET /wp-json/wc/v3/products`
  - `POST /wp-json/wc/v3/products`
  - `PUT /wp-json/wc/v3/products/{{id}}`

## Features

- Client to connect to WooCommerce
- Transformers to map Order
- Transformers to map Product
- Incoming configuration to get Orders
- Transformers to track the order date and cache previously processed orders
- Outgoing configuration to create or update a Product
- Checks if the product exists in WooCommerce

## Possible issues

- Need to set up some environment variables
  - `WOOCOMMERCE_BASE_URI`
  - `WOOCOMMERCE_CONSUMER_KEY`
  - `WOOCOMMERCE_CONSUMER_SECRET`

- Need to replace [Schema.org](http://schema.org/) data with incoming data from your other system and check the mapping.

## Links

[WooCommerce REST API Documentation - WP REST API v3](https://woocommerce.github.io/woocommerce-rest-api-docs)

## Images

**Subscribe to orders in WooCommerce**

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/1X/0ad70df25afabe6253356b047c08357c63e150b1.png)

**Publish a product to WooCommerce**

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/1X/29b033dde0e3452be2a68291dc17cfd70000a361.png)

## Download

[orders-from-woocommerce-to-httpbin.ndjson](https://forum.alumio.com/uploads/short-url/sPTFdb9WCmq4ZCt4Oyo2gWox22Q.ndjson) (10.0 KB)  
[product-from-schema-to-woocommerce.ndjson](https://forum.alumio.com/uploads/short-url/84edwDk9aVkEDl7LDZbI8MIhfx.ndjson) (4.3 KB)
