Paragon
Search…
⌃K
Links

WooCommerce

Connect to your users' WooCommerce accounts

Setup Guide

You can find your WooCommerce app credentials in your WooCommerce Developer Account.
This is an API-only integration - workflow actions for this integration are still in development. You can still connect user accounts, build workflows, and access the API for this integration.

Connecting to WooCommerce

Once your users have connected their WooCommerce account, you can use the Paragon SDK to access the WooCommerce API on behalf of connected users.
See the WooCommerce REST API documentation for their full API reference.
Any WooCommerce API endpoints can be accessed with the Paragon SDK as shown in this example.
// You can find your project ID in the Overview tab of any Integration
// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);
// Get all customers
paragon.request("woocommerce", "/customers", {
method: "GET"
});
// Get order by id
paragon.request("woocommerce", "/orders/<id>", {
method: "GET"
});
// Create a product
paragon.request("woocommerce", "/products", {
method: "POST",
body: {
name: "Premium Quality",
type: "simple",
regular_price: "21.99",
description: "This is our Premium Quality offering",
}
});

Building WooCommerce workflows

Once your WooCommerce account is connected, you use the WooCommerce Request step to access any of WooCommerce's API endpoints without the authentication piece.
When creating or updating records in WooCommerce, you can reference data from previous steps by typing {{ to invoke the variable menu.
Last modified 5mo ago