Documentation/tools reference

Orders

Pro

List, filter, update, and refund WooCommerce orders.

Order management is a Pro feature because it includes write operations — status changes, notes, and refunds — that affect real customers.

store_mcp_list_orders

List orders with filters and pagination.

Tier: Pro

Parameters

ParameterTypeRequiredDefaultDescription
statusstringnoanypending, processing, on-hold, completed, cancelled, refunded, failed
customerintegernoCustomer ID
afterstringnoISO date — orders created after this
beforestringnoISO date — orders created before
productintegernoOnly orders containing this product
min_totalnumbernoMinimum order total
max_totalnumbernoMaximum order total
payment_methodstringnoe.g. stripe, mercadopago, cod
orderbystringnodatedate, modified, total
orderstringnodescasc, desc
pageintegerno1Page number
per_pageintegerno10Items per page (max 100)

Example prompt

"List all processing orders from the last 7 days with totals over $100."

Example response

{
  "success": true,
  "data": [
    {
      "id": 18402,
      "number": "18402",
      "status": "processing",
      "total": "127.50",
      "currency": "USD",
      "date_created": "2026-04-12T18:22:00",
      "customer_id": 521,
      "billing": {
        "first_name": "María",
        "last_name": "Fernández",
        "email": "maria@example.com"
      },
      "line_items": [
        { "product_id": 4371, "name": "Agua Mineral 750ml x12", "quantity": 1, "total": "30.00" }
      ],
      "payment_method_title": "Mercado Pago"
    }
  ],
  "meta": { "total": 47, "pages": 5, "page": 1, "per_page": 10 }
}

store_mcp_get_order

Get full details for a single order.

Tier: Pro

Parameters

ParameterTypeRequiredDefaultDescription
idintegeryesOrder ID

store_mcp_update_order_status

Change an order's status.

Tier: Pro

Parameters

ParameterTypeRequiredDefaultDescription
idintegeryesOrder ID
statusstringyesTarget status
notestringnoOptional status-change note

store_mcp_add_order_note

Add a private or customer-visible note to an order.

Tier: Pro

Parameters

ParameterTypeRequiredDefaultDescription
idintegeryesOrder ID
notestringyesNote content
customer_notebooleannofalseIf true, the note emails the customer
Customer-visible notes send email

Setting customer_note: true sends an email to the customer using the site's email templates. Confirm intent before sending.

store_mcp_refund_order

Issue a refund. See also Refunds.

Tier: Pro

Parameters

ParameterTypeRequiredDefaultDescription
idintegeryesOrder ID
amountnumbernototalRefund amount (partial refund)
reasonstringnoReason shown in the refund record
api_refundbooleannotrueAlso refund via the payment gateway