ordercloud.lineItems.get
Fetch one line item from an order using order ID, direction, and line item ID to inspect product details, quantity, pricing, or fulfillment status.
Instructions
Get a single line item from an order
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>",
"direction": "<direction>",
"lineItemId": "<lineItemId>"
},
"name": "ordercloud.lineItems.get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID | |
| direction | Yes | Order direction | |
| lineItemId | Yes | The line item ID |