woocommerce-rest-api

woocommerce-rest-api is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 31 tokens per session (2,467 once invoked), scanned A, original, MIT.

A guide to using WooCommerce's REST API, a web interface for reading and changing products, orders, customers, coupons, and store settings.

In plain words
What is it for?
Use it for headless storefronts, ERP or CRM integrations, order dashboards, inventory synchronisation, bulk catalog updates, and mobile apps.
Why use it?
It lets other applications work with a WooCommerce store without relying on the WordPress admin screen.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit Use it for headless storefronts, ERP or CRM integrations, order dashboards, inventory synchronisation, bulk catalog updates, and mobile apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/woocommerce-rest-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add finsilabs/awesome-ecommerce-skills --skill woocommerce-rest-api
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for woocommerce-rest-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-rest-api/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-rest-api)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-rest-api"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-rest-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for woocommerce-rest-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-rest-api"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-rest-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.02467
Opus 5 $0.00015 $0.01234
Sonnet 5 $0.00006 $0.00493
Haiku 4.5 $0.00003 $0.00247

Measured 8d ago against content hash 2f306ae035f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

woocommerce-rest-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/platform-woocommerce/woocommerce-rest-api/SKILL.md · 304 lines

How it starts

The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WooCommerce REST API

Overview

WooCommerce ships a versioned REST API (/wp-json/wc/v3/) that exposes products, orders, customers, coupons, and store settings over HTTPS. It uses OAuth 1.0a for non-HTTPS environments and Basic Auth (consumer key/secret) over HTTPS. The official @woocommerce/woocommerce-rest-api Node.js client handles authentication automatically and supports the full CRUD surface.

When to Use This Skill

  • When building a headless storefront that reads products and categories from WooCommerce
  • When integrating WooCommerce with an ERP, CRM, or fulfillment system
  • When creating an order management dashboard outside of WordPress Admin
  • When syncing inventory between WooCommerce and a warehouse or POS system
  • When automating bulk product imports or price updates from an external catalog
  • When building a mobile app that needs access to WooCommerce store data

Core Instructions

  1. Generate API credentials

    In WordPress Admin → WooCommerce → Settings → Advanced → REST API → Add Key:

    • Description: My Integration
    • User: (admin user)
    • Permissions: Read/Write

    This generates a Consumer Key (ck_xxx) and Consumer Secret (cs_xxx). Store them in environment variables, never in source code.

    WOOCOMMERCE_URL=https://mystore.com
    WOOCOMMERCE_CONSUMER_KEY=ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    WOOCOMMERCE_CONSUMER_SECRET=cs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    
  2. Set up the Node.js client

    npm install @woocommerce/woocommerce-rest-api
    
    // lib/woocommerce.ts
    import WooCommerceRestApi from "@woocommerce/woocommerce-rest-api";
    
    export const woo = new WooCommerceRestApi({
      url: process.env.WOOCOMMERCE_URL!,
      consumerKey: process.env.WOOCOMMERCE_CONSUMER_KEY!,
      consumerSecret: process.env.WOOCOMMERCE_CONSUMER_SECRET!,
      version: "wc/v3",
      axiosConfig: {
        timeout: 15000,
      },
    });
    
  3. Query products with filtering and pagination

Read the full file on GitHub · 304 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 304 lines · 31 tokens per session scan A 2f306ae035f2

Subscribe to this mod's changes

woocommerce-rest-api is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 31 tokens to every session and 2,467 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

servicenow-import-attachment-batch

ServiceNow data-ingest, file, and batched-REST surface — push rows through Import Sets (single & bulk), upload/get/delete record attachments, and bundle many REST calls into one batch request via the servicenow-api MCP server. Use when the agent must load external data through a transform-mapped import set, attach or…

Knuckles-Team/servicenow-api · 144 tokens

WooCommerce Automation

Automate WooCommerce e-commerce operations including orders, inventory, customers, and marketing.

claude-office-skills/skills · 20 tokens

shopify-admin

Shopify Admin API access for Primal TCG - clientcredentials token mint (24h expiry) and X-Shopify-Access-Token request pattern.

abel30567/fermi-mcp · 34 tokens

api-contract-documentation

Produce or review API contract documentation for Salesforce integrations: versioning policy artifacts, request/response schema specs, error code catalogs, rate limit documentation, OpenAPI generation for sObjects. Trigger keywords: Salesforce API versioning policy, API end-of-life policy, document API endpoints, REST…

PranavNagrecha/AwesomeSalesforceSkills · 116 tokens

API Integration Architect

Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

demo112/yunqu-ai-skills · 31 tokens

api-contract-documentation

Use this skill when producing or reviewing API contract documentation for Salesforce integrations: versioning policy artifacts, request/response schema specs, error code catalogs, rate limit documentation, and OpenAPI generation for sObjects. Trigger keywords: Salesforce API versioning policy, API end-of-life policy…

BanibrataChatterjee/AwesomeSalesforceSkills · 107 tokens