WooCommerce Orders API

Create, retrieve, update, and delete customer orders

GitHub OpenAPI

Operations 6

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 /orders List store orders · WooCommerce List All Orders #
Ask an LLM
“How do I see all the orders in my store?”
“Can I filter orders by status or by a customer?”
Tell an agent
List all orders in the store.
Show orders with status {status}.
POST /orders Create a new order · WooCommerce Create an Order #
Ask an LLM
“How do I create a new order through the API?”
“Can I set billing, shipping and line items when creating an order?”
Tell an agent
Create an order with line items {line_items}.
Place a new order for customer {customer_id} with payment method {payment_method}.
GET /orders/{id} Retrieve an order by ID · WooCommerce Retrieve an Order #
Ask an LLM
“How do I get the full details of one order?”
“What billing, shipping and totals does a specific order include?”
Tell an agent
Get order {id}.
Show the line items and totals for order {id}.
PUT /orders/{id} Update an order · WooCommerce Update an Order #
Ask an LLM
“How do I change the status of an existing order?”
“Can I update the shipping address on an order?”
Tell an agent
Set the status of order {id} to {status}.
Update the shipping address on order {id} to {shipping}.
DELETE /orders/{id} Delete an order · WooCommerce Delete an Order #
Ask an LLM
“How do I delete an order from the store?”
“Can I permanently delete an order instead of trashing it?”
Tell an agent destructive · confirm first
Delete order {id}.
Permanently delete order {id} by setting force to {force}.
GET /order/{id} Get one of my own orders · WooCommerce Retrieve a Customer Order #
Ask an LLM
“How do I view an order I placed as a customer?”
“Can a logged-in customer fetch their own order history?”
Tell an agent
Get my own order {id}.
Show the order {id} that belongs to the current customer.

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-orders-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-orders-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 Orders API
  termsOfService: https://woocommerce.com/terms-conditions/
  version: '1.0'
  description: 'Operations tagged Orders 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 (35 KB total) ---
# Full source: https://artifacts.apis.io/woocommerce/openapi/woocommerce-orders-api-openapi.yml