get_store_order_line
Retrieve a single line item's quantity, price, and discount from an e-commerce order.
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.
Authenticated via API key. Max 10 concurrent requests. Read-only, safe to retry.
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. account: Optional account name (e.g. 'marketing') configured via MAILCHIMP_API_KEY_. Omit to use the default account. See list_accounts.
Returns: JSON with the line object (id, product_id, product_variant_id, quantity, price, discount).
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 |