Walmart.ca order details
get_order_detailsRetrieve a Walmart.ca order by ID to view item-level product IDs, quantities, prices, and outcomes (received, substituted, refunded, unavailable), plus shipment summaries and totals.
Instructions
One Walmart.ca order: each item with product id, quantity, price and what happened to it: Received, Received (price adjusted to actual weight), Substitute received, Refunded (no need to return), Unavailable (not charged; "charged": false). Walmart does not say which ordered item a substitute replaced. Also a per-shipment summary ("7 items received", "1 unavailable item") and subtotal, savings, fees, tax, tip and total. Payment and address details are not returned.
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": {
"orderId": "<orderId>"
},
"name": "get_order_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order id from get_orders, e.g. 600000144723643 |