WooCommerce

Open source eCommerce platform built for WordPress

Go to site
Explore
/
Apps
/
WooCommerce

WooCommerce API Integrations

Build and run workflows using the WooCommerce API. Use 1000s of open source triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

The WooCommerce API allows developers to interact with WooCommerce sites in a number of ways. With the API, developers can create, read, update, and delete data such as products, orders, customers, etc. WooCommerce also provides a number of API endpoints for retrieving information about the site, such as settings, currencies, etc.

Here are some examples of what you can build using the WooCommerce API:

  • A mobile app for browsing and ordering products from a WooCommerce store
  • A desktop application for managing a WooCommerce store
  • A web application for displaying real-time information about a WooCommerce store (sales, stock levels, etc)
  • An API extension for WooCommerce that allows third-party applications to access data in a WooCommerce store
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    woocommerce: {
      type: "app",
      app: "woocommerce",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.woocommerce.$auth.url}/wp-json/wc/v2/orders`,
      auth: {
        username: `${this.woocommerce.$auth.key}`,
        password: `${this.woocommerce.$auth.secret}`,
      },
    })
  },
})
Create Order with WooCommerce API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + WooCommerce
 
Try it
Send Message (Advanced) with Discord Webhook API on New CouponEvent from WooCommerce API
WooCommerce + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New CouponEvent from WooCommerce API
WooCommerce + Google Sheets
 
Try it
Create Order with WooCommerce API on New Item in Feed from RSS API
RSS + WooCommerce
 
Try it
Create Order with WooCommerce API on New Message from Discord API
Discord + WooCommerce
 
Try it
New Coupon Event (Instant) from the WooCommerce API

Emit new event each time the specified coupon event(s) occur

 
Try it
New Customer Event (Instant) from the WooCommerce API

Emit new event each time the specified customer event(s) occur

 
Try it
New Order Event (Instant) from the WooCommerce API

Emit new event each time the specified order event(s) occur

 
Try it
New Product Event (Instant) from the WooCommerce API

Emit new event each time the specified product event(s) occur

 
Try it
Create Customer with the WooCommerce API

Creates a new customer. See the docs

 
Try it
Create Order with the WooCommerce API

Creates a new order. See the docs

 
Try it
Create Product with the WooCommerce API

Creates a new product. See the docs

 
Try it
Get Customer with the WooCommerce API

Retrieve a specific customer. See the docs

 
Try it
Get Order with the WooCommerce API

Retrieve a specific order. See the docs

 
Try it

Authentication

WooCommerce uses API keys for authentication. When you connect your WooCommerce account, Pipedream securely stores the keys so you can easily authenticate to WooCommerce APIs in both code and no-code steps.

  1. Find your API key at WooCommerce > Settings > Advanced > REST API. See the WooCommerce docs for more info. Enter the Key and Secret below.

  2. Enter the domain of your store as the URL below. For example, if you run a store at https://mystore.com/wp-json/wc/v2/orders, enter https://mystore.com below.