woo_helper_update_emails
Update WooCommerce email styling by changing only the specified fields; invalid values are rejected with a clear error naming the field.
Instructions
Change the WooCommerce email look through cvrt-woo-helper 0.2.0+. Only the keys given change; an invalid value is a 400 naming the field and nothing is written. Returns the settings as woo_helper_get_emails does.
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": {
"site": "<site>"
},
"name": "woo_helper_update_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| logo_id | No | Media library attachment id of the logo; 0 removes it | |
| base_color | No | Base (accent) colour | |
| link_color | No | Link colour; empty = WooCommerce's default | |
| logo_width | No | Logo width in px (40-200) | |
| text_color | No | Body text colour | |
| footer_text | No | Footer text; placeholders {site_title} {site_url} {store_address} {store_email} {year} | |
| product_images | No | Product images in order emails | |
| background_color | No | Email background colour | |
| footer_text_color | No | Footer text colour | |
| body_background_color | No | Body background colour | |
| certificate_link_once | No | Show the certificate download link only once (needs wp-woo-pdf-builder 1.7.6+) |