WooCommerce

WooCommerce is the open-source ecommerce platform for WordPress.

Go to site
Explore
/
Apps
/
WooCommerce

WooCommerce API Integrations

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

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Overview

WooCommerce is a customizable, open-source eCommerce platform built on WordPress. With the WooCommerce API, you can tap into the heart of your eCommerce store to read, create, update, and delete products, orders, and customers. On Pipedream, you can harness this API to automate routine tasks, sync data across platforms, and enhance customer experiences. By connecting WooCommerce to a wide array of apps and services, you can streamline operations, trigger personalized marketing, and analyze your sales data with greater ease.

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}`,
      },
    })
  },
})

Choose an API to Connect with WooCommerce API

1
-
24
of
2,200+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.

Example Use Cases

  • Sync New Orders to Google Sheets: When a new order is placed on your WooCommerce store, automatically add its details to a Google Sheets spreadsheet. This process aids in real-time order tracking and inventory management without manually exporting data.

  • Automated Order Confirmation Emails: Use the WooCommerce API to monitor new orders and trigger personalized confirmation emails through a service like SendGrid. This workflow can include order details, expected delivery dates, and upsell opportunities.

  • Customer Support Ticket Creation: On receiving a new customer inquiry or support request via WooCommerce, instantly generate a ticket in a customer support platform like Zendesk. This ensures no customer query goes unnoticed and helps maintain high service standards.

Getting Started

To connect your WooCommerce store to Pipedream, create a REST API key.

Creating a WooCommerce REST API Key

Open the WooCommerce plugin in your WordPress admin dashboard and select the Advanced tab. Navigate to the REST API section and click Create an API key.

Creating an API key for WooCommerce from within your WordPress admin dashboard

We recommend naming this API key "Pipedream" to easily remember its purpose. Select a user account that this API key should be tied to, ideally one with at least store manager access.

Next, choose the level of permission you’d like Pipedream workflows to have. You can choose between:

  • Read - your Pipedream workflows can only read data, not update or insert new data.
  • Write - your Pipedream workflows can update or insert data like orders and products, but cannot read them.
  • Read/Write - your Pipedream workflows can both read and write data on your WooCommerce store.

Choose the user, name and the permissions level for your WooCommerce API key

After generating the API key, you’ll receive a Consumer Key and Consumer Secret. Copy these values into Pipedream under the respective Key and Secret fields.

Finally, enter your domain name. For example, for https://example-store.com, simply enter example-store.com. If your store is hosted on a subpath, like https://my-site.com/store, enter my-site.com/store.

Double-check your store’s home URL under the Settings area in WordPress.

Create Order with WooCommerce API on New Updates (Instant) from Telegram Bot API
Telegram Bot + WooCommerce
 
Try it
Create Order with WooCommerce API on Webhook Destination (Instant) from Segment API
Segment + WooCommerce
 
Try it
Update Item Name with monday.com (API Key) API on New Customer Event (Instant) from WooCommerce API
WooCommerce + monday.com (API Key)
 
Try it
Update Product with WooCommerce API on Tag Added To Conversation from Intercom API
Intercom + WooCommerce
 
Try it
Update Order Status with WooCommerce API on New Event from Confection API
Confection + 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

Troubleshooting

Unable to connect to the WooCommerce REST API

Check your Permalink structure

Make sure your WordPress store has the Post Name URL structure for Pipedream to be able to connect to it correctly.

To enable Pipedream's access to your WooCommerce store’s REST API, ensure your WordPress site’s Permalink Structure is set to Post name. Open the Settings area in WordPress, navigate to the Permalink section, verify that the Permalink setting is set to Post name, and click Save to apply the change.

Check your WordPress Home URL

If you still cannot connect your WooCommerce store to Pipedream, ensure that your site’s Home URL structure is not on a subdomain or subpath. You can find your WordPress site’s Site URL under the Settings > General section.

If your site’s URL is https://example.com, then the Pipedream domain field for your WooCommerce connected account should be example.com. If your WordPress site’s home URL is under a different subdomain, such as https://store.example.com, then enter store.example.com for the domain field for your connected account.

Firewall issues

By default, Pipedream Workflows originate from dynamic IP addresses within the us-east-1 region in AWS. To allow Pipedream connections, set up a Pipedream VPC to assign a static IP address to your workflows.

Permissions issues

Ensure the user associated with your WooCommerce API key has the necessary permissions to read or write specific resources like products or orders. Additionally, double-check that your API key has read and/or write permissions.

Authentication

Name Slug: woocommerce

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.

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

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo