AddSynapse: order details
get_orderAddSynapse: ONE WooCommerce order by id (from list_orders) or by its number (as the shop shows it) (needs Store Assistant 1.3.18 or newer): status, dates, line items (product, variation, SKU, quantity, prices), totals (subtotal, discount, shipping, fees, tax, total, refunded), payment method, shipping lines, date_paid (empty = not paid), coupons, the customer (guest or account), the billing and shipping address, the customer's note and the latest order notes, and the order link. Use it to check an order before and after plan_order_create. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Order id. | |
| site | No | Which connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site. | |
| number | No | Order number as shown in the shop (when it differs from the id). |