Get order details
get_order_detailsFull detail for one order: line items, payment + fulfillment status, shipments/tracking, and ship_by_at (the sales channel's ship-by deadline, UTC) when the channel has one.
Instructions
Full detail for one order: line items, payment + fulfillment status, shipments/tracking, and ship_by_at (the sales channel's ship-by deadline, UTC) when the channel has one. If needs_attention is present the order will not complete on its own; tell the user its title and message. When its kind is provider_failed, reason is the provider's own words (e.g. "No payment method added") and the order reads fulfillment_status cancelled with status failed: not an ordinary cancellation. If recovery_action is resubmit_to_fulfillment, have the merchant fix the cause on their provider account, then call submit_order_to_fulfillment (or confirm_order) on this SAME order; it re-confirms the existing provider order, never a second one, so nothing is charged twice. If recovery_action is null nothing at the provider can be resubmitted and a new order is needed. An order the merchant cancelled after a provider failure has needs_attention null and cannot be resubmitted. cost and profit are this order's own figures once the provider has priced it. If checkout_split is present, the buyer's checkout was split into checkout_split.order_count orders across the merchant's stores and this order holds only its share: when asked how the sale did, report checkout_split.profit (the whole checkout), and never add it up across the orders in the split. If hold_details.code is destination_unsupported, the order is going to hold_details.country, which its provider (hold_details.provider_name, delivering only to hold_details.ships_to) cannot reach, so it was never sent for printing and the provider has not charged the merchant. Tell the user hold_details.message. If hold_details.suggested_reroute is set, offer to move the order to that product with reroute_order; if it is null, no move is allowed and the merchant should cancel the order and refund the customer on their storefront. The held lines are the items whose product_variant_id is in hold_details.product_variant_ids. Read-only.
[#f9b1fc]
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": {
"order_uuid": "<order_uuid>"
},
"name": "get_order_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| order_uuid | Yes | The order uuid (from list_my_orders). |