order
Retrieve store purchases and customer records: list or filter purchases, fetch full details by ID, and find customers by ID, phone, or email.
Instructions
Orders and customers. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).
list_orders: List orders of the site (metadata only).
get_order: Get full order details by ID: customer info, items, payment, shipping, discounts, etc.
list_customers: List/search the site's customers (browse or segment).
find_customer: Find a customer by ID, phone number, or email
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": {
"action": "<action>"
},
"name": "order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Search field [find_customer] | |
| id | No | Order ID [get_order] | |
| help | No | Return the action's full documentation and argument schema instead of running it | |
| page | No | Page number [list_orders, list_customers] | |
| term | No | Keyword — searches name / phone / email [list_customers] | |
| limit | No | Items per page [list_orders, list_customers] | |
| value | No | Search value [find_customer] | |
| action | Yes | Which operation to run | |
| status | No | Filter by status: 0=new, 1=submitted, 2=shipped, 3=delivered, 4=returning, 5=returned, 6=canceled… [list_orders] |