configure_order_connection
Save a standalone order connection's Orders Config and sync level. Use this to change an order connection's settings. order_config is a {code: value} map using codes from get_order_connection.orderConfigFields; order_sync_level is 'orders_and_stock' or 'stock_only'. Turning syncing on or off is a separate tool: activate_order_connection / disable_order_connection. Returns {connectionId, action:'configure', status, orderStatus, message}: 'updated' on success; 'rejected' (HTTP 400) if you tried to set an unknown, locked or unavailable field (NOTHING is saved — message lists them). Only order settings are changed here — marketplace credentials are never set via MCP. Provided order_config keys are merged (other settings are left untouched). connection_id is from get_order_overview. project_id is OPTIONAL (project_id_required otherwise — then call list_projects). Saved values overwrite the previous ones, which are not returned.
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": {
"connection_id": "<connection_id>"
},
"name": "configure_order_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | ||
| order_config | No | Map of Orders Config values, {code: value}, using codes from get_order_connection.orderConfigFields. | |
| connection_id | Yes | connectionId of the order connection (from get_order_overview). | |
| order_sync_level | No | Order sync level: 'orders_and_stock' or 'stock_only'. |