update_store_order_line
Update a line item on an existing e-commerce order. Modify specific fields like product_id, quantity, price, or discount by passing them as additional fields.
Instructions
Update a line item on an existing e-commerce order.
Only the fields you pass in additional_fields are changed; omit a field to leave it untouched. Manual commerce writes suit custom/headless stores; Shopify and WooCommerce integrations sync order lines automatically.
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes.
Args: store_id: E-commerce store ID. Obtain from list_ecommerce_stores. order_id: Order ID that owns the line. line_id: Existing line item ID to update. additional_fields: Optional dict of line fields to update, merged into the body (e.g. product_id, product_variant_id, quantity, price, discount). 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 updated line object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| line_id | Yes | ||
| order_id | Yes | ||
| store_id | Yes | ||
| additional_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |