WooCommerce Products API

Create, retrieve, update, and delete store products and their variations

GitHub OpenAPI
Business capability
Product Lifecycle Management BC-820

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /products List products in the store · WooCommerce List All Products #
Ask an LLM
“How do I list all products in my WooCommerce store?”
“Can I filter products by category, tag or stock status?”
Tell an agent
List all products in the store.
List products in category {category}.
POST /products Create a product · WooCommerce Create a Product #
Ask an LLM
“How do I add a new product to my store?”
“Can I set a regular price, sale price and stock quantity when creating a product?”
Tell an agent
Create a product named {name}.
Create a {type} product {name} priced {regular_price}.
GET /products/{id} Get a product · WooCommerce Retrieve a Product #
Ask an LLM
“How do I view the details of one product?”
“What pricing, stock and images does a product have?”
Tell an agent
Get product {id}.
Show the price and stock of product {id}.
PUT /products/{id} Update a product · WooCommerce Update a Product #
Ask an LLM
“How do I change a product's price or stock?”
“Does updating a product overwrite fields I leave out?”
Tell an agent
Update product {id} with name {name}.
Set the sale price of product {id} to {sale_price}.
DELETE /products/{id} Delete a product · WooCommerce Delete a Product #
Ask an LLM
“How do I delete a product?”
“Can I permanently delete a product instead of trashing it?”
Tell an agent destructive · confirm first
Delete product {id}.
Permanently delete product {id} by setting force to {force}.
POST /products/batch Create, update and delete products in one request · WooCommerce Batch Create, Update, and Delete Products #
Ask an LLM
“Can I create and delete several products in a single request?”
“What's the way to bulk update products?”
Tell an agent
Create these products in one batch: {create}.
Delete products {delete} and update {update} in one request.
GET /products/collection-data Get price and attribute counts for a product collection · WooCommerce Get Product Collection Data #
Ask an LLM
“What price range and attribute counts exist for my shop's products?”
“Can I get filter counts for a product collection without loading every product?”
Tell an agent
Get price and attribute counts for the product collection.
Calculate price range and attribute counts for {calculate_attribute_counts}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/woocommerce:woocommerce-products-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

woocommerce-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-derived-by: API Evangelist (split from an AE-authored, documentation-derived spec in openapi/_original/)
  x-sources:
  - https://woocommerce.github.io/woocommerce-rest-api-docs/
  title: Woocommerce Products API
  termsOfService: https://woocommerce.com/terms-conditions/
  version: '1.0'
  description: 'Operations tagged Products across 2 of this provider''s published API definitions: woocommerce-rest-api-openapi.yml, woocommerce-store-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://example.com/wp-json/wc/v3
  description: Production Server (replace example.com with your store domain)
- url: https://example.com/wp-json/wc/store/v1
  description: Production Server (replace example.com with your store domain)
tags:


# --- truncated at 32 KB (46 KB total) ---
# Full source: https://artifacts.apis.io/woocommerce/openapi/woocommerce-products-api-openapi.yml