get_store_order_line
Retrieve details of a single line item from an e-commerce order, including product quantity, price, and discount. Useful for inspecting specific entries in manual or integrated store orders.
Instructions
Retrieve a single line item from an e-commerce order.
Use to inspect one product entry's quantity, price, and discount within an order. Manual commerce writes suit custom/headless stores; Shopify and WooCommerce integrations sync order lines automatically.
Args: store_id: E-commerce store ID. Obtain from list_ecommerce_stores. order_id: Order ID that owns the line. line_id: Line item ID. Obtain from list_store_order_lines.
Returns: JSON with the line object (id, product_id, product_variant_id, quantity, price, discount).
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": {
"store_id": "<store_id>",
"order_id": "<order_id>",
"line_id": "<line_id>"
},
"name": "get_store_order_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| line_id | Yes | ||
| order_id | Yes | ||
| store_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |