update_store_cart
Update an existing cart's totals, currency, checkout URL, or line items in Mailchimp. Only provided fields are changed; to replace line items, pass a full lines_json array.
Instructions
Update an existing cart's totals, currency, checkout URL, or line items.
Only provided fields are changed. To replace line items, pass a full lines_json array (partial line updates are not supported by this tool — use the Mailchimp UI or REST API directly for line-level edits).
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes. Returns 404 if store_id or cart_id is invalid.
Args: store_id: E-commerce store ID. cart_id: Existing cart ID. order_total: New order total. tax_total: New tax portion. checkout_url: New checkout URL. currency_code: New ISO 4217 currency code. lines_json: JSON string with a replacement line items array.
Returns: JSON with id, order_total, tax_total, checkout_url, currency_code, updated_at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | Yes | ||
| cart_id | Yes | ||
| order_total | No | ||
| tax_total | No | ||
| checkout_url | No | ||
| currency_code | No | ||
| lines_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |