Most questions about an order — what was bought, what it cost, whether it was refunded — need none of the customer’s personal details.
store/get-order reads one order completely and keeps names, addresses, email and phone out unless you ask for them.
At a glance
| Ability | store/get-order |
| Toolset | WooCommerce — toolset/woocommerce |
| Group | WooCommerce › Orders & Refunds |
| Requires | WooCommerce, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
It returns every line with its quantity and price, the totals and tax, shipping, discounts, coupons used, the payment method and any refunds already made.
Set include_personal_data to add the name, addresses, email and phone. The customer’s IP address and browser are never returned at all.
WooCommerce’s own orders query gives a much smaller summary; use this when you need the whole order.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | Order ID. |
include_personal_data | boolean | No | Include the name, addresses, email and phone on the order. Defaults to false. |
What comes back
| Name | Type | What it is |
|---|---|---|
order | object | The full order: lines, totals, tax, shipping, discounts, coupons, payment method and refunds. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
What was in order 1042, and has any of it been refunded?
It resolves to one call:
{
"ability": "store/get-order",
"parameters": {
"id": 1042
}
}Worth knowing
- Personal data is opt-in per call, so an AI summarising orders doesn’t pull customer details by default.
- The IP address and user agent stored on the order are never returned.
- Read-only — nothing about the order changes.
Related abilities
- List Order Notes — the order’s history
- Refund an Order — refund all or part of it
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category