update_store_order_line
Update specific fields on an existing Mailchimp e-commerce order line. Only pass the fields you want to change; omitted fields remain unchanged.
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.
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).
Returns: JSON with the updated line object.
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": "update_store_order_line"
}
}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 |