30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Get Order

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

Abilitystore/get-order
ToolsetWooCommerce — toolset/woocommerce
GroupWooCommerce › Orders & Refunds
RequiresWooCommerce, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI 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

NameTypeRequiredWhat it is
idintegerYesOrder ID.
include_personal_databooleanNoInclude the name, addresses, email and phone on the order. Defaults to false.

What comes back

NameTypeWhat it is
orderobjectThe full order: lines, totals, tax, shipping, discounts, coupons, payment method and refunds.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent 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


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading