update_setting
Update a single setting value in a WooCommerce store. First retrieve valid setting IDs and options via get_settings, then apply the new value.
Instructions
Update a single setting value. Use get_settings first to find the setting ID and valid options. Example: group_id='general', setting_id='woocommerce_currency', value='INR'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New value for the setting | |
| fields | No | Comma-separated fields to return in response | |
| group_id | Yes | Setting group ID | |
| setting_id | Yes | Setting ID within the group |