Order details
get_orderRetrieve full WooCommerce order details—customer, addresses, items, discounts, shipping, tax, refunds, coupons, and notes—by order ID to review or troubleshoot a purchase.
Instructions
Full details of one order: customer and addresses, items, discounts, shipping, tax, refunds, coupons and the order notes history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order_id": "<order_id>"
},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order ID (usually the same as the order number) |