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.
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-apiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills /tmp/awesome-ecommerce-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-ecommerce-skills/skills/platform-woocommerce/woocommerce-rest-api ~/.gemini/antigravity-cli/skills/woocommerce-rest-apiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install woocommerce-rest-api in Antigravity CLI
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
ANo 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 →Shopify skill that lets an AI assistant set up and run a Shopify store through Shopify's official MCP server. It is for people who want to sell online, start a store, or manage an existing Shopify store.
Guides an AI assistant through building Shopify apps, extensions and themes. It covers the GraphQL Admin API, Shopify CLI, Polaris UI and Liquid. Intended for Shopify developers.
Searches Ticketmaster events and seat listings with pricing for people looking for event tickets. It returns Ticketmaster checkout links but cannot complete a purchase itself.
Analyzes ecommerce SEO for product pages, product schema, Google Shopping visibility, Amazon marketplace signals and keyword gaps. Built for stores, catalogs and product listings. Live Shopping and Amazon data needs the optional DataForSEO Merchant API.
Drafts replies to customer emails and tickets using order, refund, CRM and support desk data, in the owner's writing voice. Refunds and sends need the owner's approval, and with Shopify it also flags orders needing attention.
Reviews generated or changed WooCommerce code before it ships. It is for developers building extensions, payment and shipping integrations, checkout customizations, and order or product logic.
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.
