WooCommerce

Open source eCommerce platform built for WordPress

Integrate the WooCommerce API with the GitHub API

Setup the WooCommerce API trigger to run a workflow which integrates with the GitHub API. Pipedream's integration platform allows you to integrate WooCommerce and GitHub remarkably fast. Free for developers.

Create Issue with GitHub API on New CouponEvent from WooCommerce API
WooCommerce + GitHub
 
Try it
Create Issue with GitHub API on New Customer Event from WooCommerce API
WooCommerce + GitHub
 
Try it
Create Issue with GitHub API on New Order Event from WooCommerce API
WooCommerce + GitHub
 
Try it
Create Issue with GitHub API on New Product Event from WooCommerce API
WooCommerce + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on New CouponEvent from WooCommerce API
WooCommerce + GitHub
 
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
New Branch (Instant) from the GitHub API

Emit new events when a new branch is created

 
Try it
Create Customer with the WooCommerce API

Creates a new customer. See the docs

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Create Order with the WooCommerce API

Creates a new order. See the docs

 
Try it
Search Issues and Pull Requests with the GitHub API

Find issues and pull requests by state and keyword. See docs here

 
Try it
Create Product with the WooCommerce API

Creates a new product. See the docs

 
Try it

Overview of WooCommerce

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

Connect WooCommerce

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

Connect GitHub

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: {
    github: {
      type: "app",
      app: "github",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.github.com/user`,
      headers: {
        Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
        "X-GitHub-Api-Version": `2022-11-28`,
      },
    })
  },
})