Skip to content
WooCommerce logo

Connectors / E-commerce · HTTP Connector

Automate WooCommerce with Tray.ai

Create an order, create a product and create a customer in WooCommerce, and start a workflow when WooCommerce sends “Order created”.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with WooCommerce on Tray.ai?

WooCommerce is an open-source ecommerce plugin for WordPress that runs online stores, handling products, orders, customers, coupons, taxes and shipping. Tray.ai connects to WooCommerce through the HTTP Connector, so your workflows can call the WooCommerce API alongside the rest of your stack.

  • When WooCommerce sends “Order created”, record the sale in your accounting system.
  • Add the customer to your email marketing list when WooCommerce sends “Customer created”.
  • Update a product when stock levels change in your inventory system.
  • Create a coupon when support approves a goodwill gesture in your help desk.
Connects through
HTTP Connector
Authentication
Basic authentication or an API key in the query string
Base URL
https://{your-store-domain}/wp-json/wc/v3

What the WooCommerce API covers

6 resources and 21 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.

Orders

  • List orders
  • Create an order
  • Update an order
  • Delete an order

Products

  • List products
  • Create a product
  • Update a product
  • Duplicate a product

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Delete a customer

Coupons

  • List coupons
  • Create a coupon
  • Update a coupon
  • Delete a coupon

Refunds

  • List refunds
  • Create an order refund
  • Delete an order refund

Reports

  • Get sales report
  • Get top sellers report

Events WooCommerce can send to a Tray.ai webhook trigger

  • Order created
  • Order updated
  • Order deleted
  • Product created
  • Product updated
  • Product deleted
  • Customer created
  • Customer updated
  • Customer deleted
  • Coupon created
  • Coupon updated
  • Coupon deleted

Checked against WooCommerce's own documentation on 2026-10-22

woocommerce.github.io/woocommerce-rest-api-docs

Related integrations

Hundreds of pre-built WooCommerce integrations ready to deploy.

Frequently asked questions

What can a Tray.ai workflow do in WooCommerce?

+

The WooCommerce API documents 21 actions across 6 resources (Orders, Products, Customers, Coupons, Refunds, Reports). For example: List orders; List products; List customers. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with WooCommerce?

+

The WooCommerce API uses basic authentication and an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which WooCommerce events can start a Tray.ai workflow?

+

WooCommerce sends 12 events to a webhook URL, for example: Order created; Order updated; Order deleted; Product created; Product updated; Product deleted; Customer created; Customer updated. A Tray.ai webhook trigger receives them and starts a workflow.

See WooCommerce working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.