configure_order_connection
Set a standalone order connection's Orders Config, sync level and on/off state. order_config is a {code: value} map using codes from get_order_connection.orderConfigFields; order_sync_level is 'orders_and_stock' or 'stock_only'; order_status 'active' enables order syncing for this connection, 'disabled' turns it off. Returns {connectionId, action:'configure', status, orderStatus, addonCode, upsellUrl, message}: 'updated' on success; 'rejected' (HTTP 400) if you tried to set an unknown, paid-locked or unavailable field (NOTHING is saved — message lists them, upsellUrl for a paid field); or 'prerequisite_not_met' (HTTP 409) if you try to enable a connection that has not finished authentication yet (complete it in the Koongo UI and confirm with test_order_connection first). 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).
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. | |
| order_status | No | 'active' enables order syncing for this connection, 'disabled' turns it off. | |
| 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'. |