WooCommerce
Daniel Chilcott avatar
Written by Daniel Chilcott
Updated over a week ago

Provides integration into WooCommerce via its REST API (see https://docs.woocommerce.com/document/woocommerce-rest-api/)

Note that this Node currently uses the API at /wc-api/v3

Revision History

2.0.1.5 - Improved error handling around 401 un-authorized response

2.0.1.4 - Added support for dynamic filters

2.0.1.3 - Added OrdersWithMetadata Module

2.0.0.1 - Support for alternate authentication mechanism and several small bug fixes
1.0.0.0 - Initial Release

Properties

Connection

Type: Connection Input

WooCommerceBaseUrl
Type: String

ConsumerKey
Type: String

ConsumerSecret
Type: Password

ProvideAuthViaQuerystring
Type: Boolean

The Connection to the WooCommerce website. The WooCommerceBaseUrl Property should contain only the base domain of the website (i.e. don't include the path to the API).

Action

Type: List Input
Create
CreateUpdateMultiple
Delete
Update
View
ViewCount
ViewList
The Action to perform against the Module.

Module

Type: List Input
Index
Coupons
Customers
Orders
OrderNotes
OrderRefunds
Products
ProductAttributes
ProductAttributeTerms
ProductCategories
ProductShippingClasses
ProductTags
Reports
Taxes
TaxClasses
WebHooks
The Module on which the specified action should be performed.

Filter

Type: Xml Input
A set of filters to be used for query operations.

ParameterXml

Type: Xml Input
A set of parameters that govern how operations are enacted.

RequestXml

Type: Xml Input
When an object is being created or updated, contains the request for the transaction.

ResponseXml

Type: Xml Output
The response returned by the WooCommerce API

Remarks

Filtering on Specific Fields

In some cases WooCommerce allows you to specify certain fields to filter against when querying information, for an example of this, please see the following workflow, with emphasis on the "Filter" property. https://flowgear.me/s/FqlDiYh

HTTPS Required

The WooCommerce Node makes use of Consumer Key & Secret -based authorization. For this reason, only HTTPS URL's are supported. Ensure that the value provided in WooCommerceBaseUrl begins with https://  and not http:// .

Setting up a Connection

Depending on the way your website is configured, it may not accept the default authentication model where key & secret are passed via the HTTP Authorization Header. If you receive a key or secret error, turn on the ProvideAuthViaQuerystring Property in the Connection.

Using Samples

This Node provides Samples for all supported calls. Samples can be accessed from the Node Samples Pane.

Did this answer your question?