update_config
Change a setting. Change a preference, like the Amazon site (domain) or the browser to sign in with (browser), only when the user asks. You may change a tuning setting yourself when calls keep failing (e.g.
Instructions
Change a setting. Change a preference, like the Amazon site (domain) or the browser to sign in with (browser), only when the user asks. You may change a tuning setting yourself when calls keep failing (e.g. a longer request_timeout after timeouts, or a smaller thread_pool_size when Amazon throttles requests), and tell the user what you changed. warn_on_missing_required_field returns partial data instead of an error, so say so if you change it. A preference is saved, and tuning lasts until the server restarts unless save is true, which you can offer if a change keeps helping. domain is the default site, which tools read when they aren't given site, so to read another site once, pass it as site instead. After changing domain, check with check_session, since the user may need to sign in to the new default site. What each setting does: https://amazon-orders.readthedocs.io/api.html#amazonorders.conf.AmazonOrdersConfig
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The setting, from `get_config`. | |
| save | No | Whether to save the change. By default, a preference is saved and tuning isn't. | |
| value | Yes | The new value. Null or an empty string sets it back to the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The setting. | |
| saved | Yes | Whether the change was saved, or only made until the server restarts. | |
| value | No | The value now in effect. A null value means the default. |