get_order_details
Description
Returns a complete, normalized snapshot of an order including items, states, fulfillment info, delivery/pickup destination, parcels, and line item groups. This is the foundational tool for any post-purchase workflow.
When to Use
Before editing anything (addresses, pickup, contact info).
Before returns or cancellations.
When shopper asks: “What’s the status of my order?”
When you need parcel tracking details.
Workflow
Call tool as soon as you need real order context.
Cache result in memory for the conversation.
Use coordinates to power other tools.
Use line_item_groups for returns/cancellations.
Arguments
Field | Type | Required |
|---|---|---|
order_id | string | Yes |
Input Schema
{ "order_id": "string" }Output
Object with many fields (dynamic), e.g.:
{
"result": {
"delivery": { "...": "..." },
"order_items": [...],
"parcels": [...],
"line_item_groups": [...]
}
}
Sample Prompts
“Show me details for order 55121.”
“Retrieve the full order context for 8831.”