get_order_details

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

  1. Call tool as soon as you need real order context.

  2. Cache result in memory for the conversation.

  3. Use coordinates to power other tools.

  4. Use line_item_groups for returns/cancellations.


Arguments

Field

Type

Required

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.”