list_store_order_lines
List the individual products, quantities, and prices attached to an e-commerce order to review order line items.
Instructions
List the line items of a single e-commerce order.
Use to review the individual products, quantities, and prices attached to 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 whose lines to list. count: Number of lines to return (max 1000). Defaults to 10. offset: Number of lines to skip for pagination. Defaults to 0.
Returns: JSON with lines (array of {id, product_id, product_variant_id, quantity, price, discount}), total_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| offset | No | ||
| account | No | ||
| order_id | Yes | ||
| store_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |