WooCommerce

Get started with the WooCommerce target!

Obtain your credentials

If you don't know where to get your credentials for setting up a WooCommerce integration, you can learn where to find them here.

Supported Entities

Currently the WooCommerce target does not currently support all entities. Don't see the entity you want? Contact us​

Entity

Support

Products

🟒 Yes

Enable the WooCommerce target

Head to your flow, and go to the target options.

🚧

Note

The WooCommerce target is designed for flows with a user configurable target. Do not use it for a normal flow, or you will get unexpected behavior. You can change this setting under the Details page of your flow.

Enable WooCommerce targetEnable WooCommerce target

Enable WooCommerce target

Select the WooCommerce target, and you'll be prompted to provide your credentials.

Provide WooCommerce credentialsProvide WooCommerce credentials

Provide WooCommerce credentials

Data format

Each entity that can be synced to WooCommerce must be in the correct format before posting.

Products

When sending Products to the WooCommerce target, the file must be named products.json and contain an array of products, which have the following schema.

Key

Type

Description

title

string

Title of the product

body_html

string

HTML used in the body of product description

vendor

string

Vendor name

product_type

string

Product category

images

array[object]

Array of images to use for product

variants

array[object]

Array of variant definitions

inventory_quantity

integer

Available quantity. Only available if this is a simple product (no variants).

Below is a sample products.json

[
    {
        "title": "Burton Custom Freestyle 153",
        "body_html": "<strong>Good snowboard!</strong>",
        "vendor": "Burton",
        "product_type": "Snowboard",
        "images": [
            {
                "src": "https://static2.jonessnowboards.com/1258-large_default/mountain-twin.jpg"
            }
        ],
        "variants": [
            {
                "title": "First",
                "option1": "First",
                "inventory_management": "woocommerce",
                "price": "10.00",
                "inventory_quantity": 50,
                "sku": "123"
            },
            {
                "title": "Second",
                "option1": "Second",
                "inventory_management": "woocommerce",
                "inventory_quantity": 50,
                "price": "20.00",
                "sku": "123"
            }
        ]
    }
]

Did this page help you?