get_receipt
Generate a receipt or bill for a specific WooCommerce order, returning receipt data or a PDF download URL.
Instructions
[WPCafe Pro] Get a generated receipt/bill for a specific order. Returns the receipt data or PDF download URL.
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_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | WooCommerce order ID to generate receipt for |