Skip to main content

get_order_details

Retrieves full details of a specific past order, including every item ordered, quantities, and prices. Useful for reordering.

Platform Support​

PlatformStatusNotes
iOSYes—
AndroidYes—
Authentication Required

The user must be signed in to use this tool.

Description​

Get detailed information about a specific order

Parameters​

NameTypeRequiredDefaultDescription
order_codestringYes—The order code to look up

Response​

FieldTypeDescription
order_codestringOrder identifier
datestringOrder date
totalstringOrder total
statusstringOrder status
itemsarrayItems in the order
product_codestringProduct code
namestringProduct name
quantityintegerQuantity ordered
pricestringItem price

Error Codes​

CodeDescription
AUTH_REQUIREDUser must be signed in
INVALID_PARAMSMissing order_code

Source Files​

  • iOS: one-app-ios-chat/Chat/Sources/Chat/MCP/EcommerceMCPServer.swift
  • Android: chat-pnp-android/mcp-ecommerce/src/main/java/pnp/app/mcp/ecommerce/tools/EcommerceMCPTools.kt