Get WooCommerce Order
woocommerce_get_orderRetrieve full order details with items, addresses, payment, and totals by order ID.
Instructions
Retrieve full details for a single order, including line items, billing/shipping addresses, payment info, shipping/fee/coupon lines, and totals.
Args:
order_id (number, required)
response_format ('markdown'|'json'): default 'markdown'
Returns: Full order object.
Error Handling:
Returns "Error: Resource not found (404)" if order_id doesn't exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The numeric WooCommerce order ID | |
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data | markdown |