Get order
get_orderFetch full details for a single order by ID—items, totals, tax, payment and fulfillment status, refunds, invoices, parcels, returns, and custom fields—for order review and customer support.
Instructions
Get one order's full details by its id: items, the full money column (subtotal, discount, shipping, tax, total - all minor units), displayMode (net or gross, how the buyer read prices), taxRoundingMethod (per_line or per_rate), taxTreatment (kind standard, reverse_charge, exempt or export - goods shipped out of the EU VAT area, or from a seller outside the EU to another country, frozen at checkout with the facts it rests on: legalNote, the text to print on the invoice, null for standard; buyerVatId, buyerVatCountry and buyerVatVerifiedAt of the VAT id that decided it; sellerCountry; shipToCountry; orders placed before it was recorded read standard), removedTax (VAT taken out of gross-stored prices on a reverse_charge, exempt or export order, minor units, 0 otherwise; total = subtotal - discount + shippingTotal - removedTax), amounts (net, tax and gross of subtotal, discount, shipping and total), the frozen discount code, channel (the sales channel the order was placed through: id, key, name; null for none), priceList / priceListName (the primary price list the order was priced from, name frozen at checkout; null when none) and priceListSource (MEMBER, COMPANY or CHANNEL - whose list it was), pricingChain (the lists tried in order: buyer, channelDated, channelBase; each null when none) - every list reference carries deleted, true once that list was deleted after the order, and each item's priceListId / priceListSource name the list that priced that line, PO number, shipping address, payment/fulfillment status, amountPaid (collected so far), balanceDue (total - amountPaid, what the buyer still owes; a refund does not change it), refundedAmount (refunded so far across every refund, minor units; left to refund = amountPaid - refundedAmount), refundedAt (when the latest refund was recorded, null when none), refundReferences (the refund references recorded, oldest first - refund_order and refund_return ignore a reference already listed), invoices (every invoice recorded, oldest first: kind invoice - at most one, the order's invoice - then its corrections of kind correction, each with number, url, provider and issuedAt; record_order_invoice adds the invoice, record_order_invoice_correction a correction), and the parcels (shipments: id, carrier, tracking number and link, status, history) - a parcel's id is what update_shipment takes - the returns (id, number, status, lines with reason and received/restocked units, return-parcel tracking, refunded amount, history) - a return's id is what the *_return tools take - and customFields, the order's custom field values by key.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order's id (from list_orders) |