Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

woocommerce-rest-api

Skill by finsilabs

Guides developers building headless frontends or integrations on WooCommerce through its REST API. It covers products, orders, customers, coupons and key authentication, using the Node.js client.

  • Score 54
  • 69 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install woocommerce-rest-api

Built from the published package, never by AI.

git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills /tmp/awesome-ecommerce-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-ecommerce-skills/skills/platform-woocommerce/woocommerce-rest-api ~/.claude/skills/woocommerce-rest-api

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install woocommerce-rest-api in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill explains how to work with the WooCommerce REST API at the wc/v3 version path. It covers products, orders, customers, coupons and store settings over HTTPS. It describes generating Consumer Key and Consumer Secret credentials in WordPress Admin and storing them in environment variables.

The skill shows how to set up the official @woocommerce/woocommerce-rest-api Node.js client in TypeScript. It includes code for filtered product queries, creating and updating orders, stock updates, batch product updates, syncing products from an external catalog, and managing customers. It also lists common pitfalls and error handling tips. It is aimed at developers building headless storefronts or connecting WooCommerce to ERP, CRM, warehouse or POS systems.

Written from the project's SKILL.md and checked against it.

What it can do

  • API credential setupExplains generating read/write keys in WooCommerce settings and storing them in environment variables.
  • Product queriesLists products with filters for category, status, stock status and sort order, plus variations.
  • Order managementCreates orders, updates order status and adds order notes.
  • Inventory updatesUpdates stock quantities for products or variations and runs batch product updates.
  • Catalog syncMatches an external catalog to WooCommerce products by SKU and updates price and stock.
  • Customer managementCreates or updates customers by email and retrieves a customer's order history.
  • Error handling guidanceCovers common errors such as 401 responses, invalid variations and partial batch failures.

What you need

  • WooCommerce site with REST API keys
  • WordPress admin access to create keys
  • Node.js
  • @woocommerce/woocommerce-rest-api npm package
  • HTTPS site recommended

Try asking

  • Use the WooCommerce REST API skill to list in-stock products in category 12.
  • Write a Node.js function that creates a pending WooCommerce order for a variable product.
  • Help me sync SKU prices and stock from my CSV into WooCommerce with rate limiting.

Good to know

  • WordPress does not enforce API rate limits by default, so high request volumes can exhaust PHP-FPM or MySQL.
  • Batch endpoint accepts up to 100 operations per request.
  • Pagination headers appear only on list endpoints, not single-resource endpoints.
  • Over plain HTTP the client must use OAuth 1.0a instead of Basic Auth.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/platform-woocommerce/woocommerce-rest-api/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to woocommerce-rest-api

All alternatives →

Compare with shopify, shopify-development or ticketmaster

woocommerce-rest-api: common questions

Why does the WooCommerce API return 401 Unauthorized with correct keys?

The skill says to verify the site uses HTTPS. Over HTTP the client must use OAuth 1.0a, which is set with isHttps: false in the client config.

How do I create orders for variable products through the API?

Variable products need a variation_id in line_items. Passing only product_id for a variable product causes an invalid_variation error.

How can I reduce the size of WooCommerce API responses?

Add the _fields parameter, such as ?_fields=id,name,price, to return only the fields you need from large product lists.

How do I install woocommerce-rest-api?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is woocommerce-rest-api free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is woocommerce-rest-api safe to use?

It scores 54 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to woocommerce-rest-api?

Similar skills: shopify, shopify-development, ticketmaster, seo-ecommerce.

woocommerce-rest-api Install

Add to stack

Loading.