woo_list_orders

Pack: woocommerce · Endpoint: https://gateway.pipeworx.io/woocommerce/mcp

List orders from a WooCommerce store.

Parameters

NameTypeRequiredDescription
_apiKeystringyesWooCommerce consumer key
_apiSecretstringyesWooCommerce consumer secret
_storeUrlstringyesStore URL (e.g., https://mystore.com)
statusstringnoFilter by status: any, pending, processing, on-hold, completed, cancelled, refunded, failed
per_pagenumbernoResults per page (max 100, default 20)
pagenumbernoPage number (default 1)

Example call

Arguments

{
  "_apiKey": "your-woocommerce-api-key",
  "_apiSecret": "your-woocommerce-api-secret",
  "_storeUrl": "https://mystore.com"
}

curl

curl -X POST https://gateway.pipeworx.io/woocommerce/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"woo_list_orders","arguments":{"_apiKey":"your-woocommerce-api-key","_apiSecret":"your-woocommerce-api-secret","_storeUrl":"https://mystore.com"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('woo_list_orders', {
  "_apiKey": "your-woocommerce-api-key",
  "_apiSecret": "your-woocommerce-api-secret",
  "_storeUrl": "https://mystore.com"
});

More examples

{
  "_apiKey": "your-woocommerce-api-key",
  "_apiSecret": "your-woocommerce-api-secret",
  "_storeUrl": "https://mystore.com",
  "status": "completed",
  "per_page": 50
}

Response shape

Full JSON Schema
{
  "type": "array",
  "description": "Array of orders from WooCommerce store",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "number",
        "description": "Order ID"
      },
      "parent_id": {
        "type": "number",
        "description": "Parent order ID"
      },
      "number": {
        "type": "string",
        "description": "Order number"
      },
      "order_key": {
        "type": "string",
        "description": "Order key"
      },
      "created_via": {
        "type": "string",
        "description": "Creation method"
      },
      "version": {
        "type": "string",
        "description": "Order version"
      },
      "status": {
        "type": "string",
        "description": "Order status"
      },
      "currency": {
        "type": "string",
        "description": "Currency code"
      },
      "date_created": {
        "type": "string",
        "description": "Creation date in ISO format"
      },
      "date_modified": {
        "type": "string",
        "description": "Last modified date in ISO format"
      },
      "discount_total": {
        "type": "string",
        "description": "Discount total"
      },
      "discount_tax": {
        "type": "string",
        "description": "Discount tax"
      },
      "shipping_total": {
        "type": "string",
        "description": "Shipping total"
      },
      "shipping_tax": {
        "type": "string",
        "description": "Shipping tax"
      },
      "cart_tax": {
        "type": "string",
        "description": "Cart tax"
      },
      "total": {
        "type": "string",
        "description": "Order total"
      },
      "total_tax": {
        "type": "string",
        "description": "Total tax"
      },
      "customer_id": {
        "type": "number",
        "description": "Customer ID"
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "woocommerce": {
      "url": "https://gateway.pipeworx.io/woocommerce/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026