Skip to content

Resources (Data Types)

Resources (or Data Types) are the building blocks of the WooCommerce Zapier integration. Every resource can be sent from your store to Zapier, and most of them can be received too. The list includes the most useful set of built-in and other plugin provided types.

Warning

WooCommerce Zapier uses WooCommerce’s REST API. This means that data field names, descriptions and values can vary from one WooCommerce store to another.

Your store’s data, fields and trigger rules may be different to this documentation due any of the following:

  • Your installed (active) WordPress plugins and WooCommerce extensions.
  • Your WooCommerce and WordPress versions and the used locale/language.
  • Any custom code that overrides or changes how the WooCommerce/WordPress REST API operates.

Field definitions in this documentation are generated with WordPress v5.3 and WooCommerce v3.9 with en-AU locale.

Order

Orders are an essential part in the eCommerce process. They represent an “order event” followed by its various stages, such as payment, fulfillment, or shipping.

For triggers, the Order resource is accessible in two separate ways in Zapier Integration:

  • The Order trigger creates a separate Zapier Task for every order in your store.
  • The Line Item in an Order trigger is a great way to send every order line item (product) data independently to Zapier, because it creates a separate Zapier Task for every single line item (product) ordered in your store.

See the key differences in this Frequently Asked Questions chapter.

You can choose between the two types of behaviour in your Zap when you are configuring the trigger step. Both triggers support the same set of Trigger Rules, but produce a slightly different data fields (see below).

Product

You can send Products data to Zapier, or you can create or update it from external source.

Product Types

WooCommerce comes with multiple types of products out of the box. The Zapier Integration supports most of them, however not all WooCommerce Zapier features are available for every WooCommerce product type. Please consult the following tables for details.

Info

Extensions can extend available data and introduce other product types. Please see the Plugin Compatibility chapter for details.

Integration Functionality by Product Type:
Product type Triggers Actions and Searches Order Context1
Simple product Yes Yes Yes
Grouped product Yes Yes N/A
External/Affiliate product Yes Yes N/A
Variable product Yes Limited Limited
Bookable product2 Yes Yes Yes
Simple subscription3 Yes Yes Yes
Variable subscription3 Yes Limited Limited
Data Availability by Product Type:
Product type Inventory Shipping Attributes Variations
Simple product Yes Yes Yes N/A
Grouped product N/A N/A Yes N/A
External/Affiliate product N/A N/A Yes N/A
Variable product Yes Yes Yes Limited
Bookable product2 N/A Yes Yes N/A
Simple subscription3 Yes Yes Yes N/A
Variable subscription3 Yes Yes Yes Limited

Legends

Yes: Supported.
N/A: Functionality or data is not provided by WooCommerce.
Limited: Partially supported. For details, please see the limitations below.

Product Data in Order Context

While every order contains one or more product as a line item, not all product data included by default. Please compare Order Data Fields or Line Item in an Order Data Fields with Product Data Fields for availability. If you need additional product data fields, consider adding a Find step to your Zap.

Variable Products

In WooCommerce, a product with variable attributes is constructed as multiple interconnected products. The parent product that connects everything and holds shared information, which you can edit in the WooCommerce dashboard, has a variable product type. For each individual variation, a separate product is created and stored as a product variation. This latter product holds selected attributes for the variable product. For example, an individual product variation has price, SKU or stock level information for a particular attribute.

In the Zapier interface, you can see IDs of linked variations in the variations field for a variable product. On the other hand, the variable product ID is visible in the parent_id field for a product variation.

Heads Up

You can’t edit a variation name directly in the WooCommerce dashboard. Instead, the name is automatically constructed with the used product attributes and the selected values.

Sending or Receiving a Variable Product

Triggers are supported for variable products as well as their individual product variations. They do not behave differently from any other supported product type.

Actions, on the other hand, do not support individual variations. Only the (parent) variable product is supported. I.e., you can create, update and search for a variable product, but you can’t for its individual product variations.

Important

  • When using the Product created or Product updated trigger rules with a variable product, every individual variation will be sent as a separate task alongside the parent product task.

Variable Products as Order Line Item

In Order Triggers, when a line item represents a variable product, WooCommerce combines fields data from the parent and the selected variation. While the line_itemsproduct_id and some other fields source are the variable product, most of the information is selected from the used product variation. For example, the actual used product ID is visible in the line_itemsvariation_id.

For Order Actions or Searches, you can add a variable product to an order as long you know the ID or SKU of a variation and the product already exists in your WooCommerce store.

Notable Order Field Sources:
Field Source
line_items → product_id Variable product
line_items → variation_id Product variation
line_items → name Product variation
line_items → price Product variation
line_items → sku Product variation
line_items → tax_class Variable product

Tip

If you want to use Zapier to create an order in WooCommerce for a variable product, consider using the individual variation’s SKU rather than variation ID.

Customer

The Customer resource represent a buyer who registers to your site. If you are relying on this resource, you can enforce registration by disabling Guest Checkout.

Tip

WooCommerce store customers alongside with the WorPress users. If you customise WorPress Roles and Capabilities feature, make sure to not rename the Customer role, it may interfering with the plugin functionality.

Coupon

Coupon functionality is built in in WooCommerce. They are a great way to offer discounts and rewards to your customers, and can help promote sales across your shop. The integration can create or update a coupon, or send coupon details when its changed.

Enabled by default, but can be disabled

This resource is only available in WooCommerce Zapier if your store has coupons functionality enabled. If you want to use this resource, go to the WordPress DashboardSide MenuWooCommerceSettings screen, and make sure the Enable coupons is enabled.

Booking

The Booking resource represents a booked timeslot, as described in the WooCommerce Bookings plugin. See the Bookings documentation for more details.

Please see the Product chapter for information about the Bookable product.

Please see the announcement post for some examples of how you could use WooCommerce Booking data in your Zaps.

Requirements

You may choose Booking in the Zapier.com interface without installing the WooCommerce Bookings plugin, however the functionality will not work without WooCommerce Bookings, which is sold separately by WooCommerce.

The minimum required WooCommerce Bookings version is 1.15.35.

Please ensure you are using WooCommerce Zapier plugin to 2.2.0 or later.

Subscription

The Subscription resource represents a recurring payment as described in the WooCommerce Subscriptions plugin. See the Subscriptions documentation for more details.

Please see the Products chapter for Simple subscription and Variable subscription informations. Availability of data fields and behaviour for the “Variable subscription” product are similar to the WooCommerce built-in variable products. For details, please see the Variable Products chapter.

Requirements

You may choose Subscription in the Zapier.com interface without installing the WooCommerce Subscriptions plugin, however the functionality will not work without WooCommerce Subscriptions, which is sold separately by WooCommerce.

The minimum required WooCommerce Subscriptions version is 2.4.3.


  1. Not every product data available in an Order Context as a line item. 

  2. Only available if the WooCommerce Bookings plugin is installed. 

  3. Only available if the WooCommerce Subscriptions plugin is installed. 


Last update: 2021-07-20
Back to top