mainwp_clients_edit
Edit existing client details, including name, email, address, and site assignments, using client ID or email in the MainWP Dashboard.
Instructions
Edit an existing client in MainWP (Pro feature)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ZIP/Postal code | |
| city | No | City | |
| name | No | Updated client name | |
| note | No | Internal notes | |
| No | Updated email address | ||
| phone | No | Phone number | |
| state | No | State/Province | |
| client | Yes | Client ID (number) or email address | |
| address | No | Street address | |
| company | No | Company name | |
| country | No | Country | |
| dry_run | No | Simulate the operation without making changes (defaults to MAINWP_ENABLE_DRY_RUN_BY_DEFAULT) | |
| selected_sites | No | Comma-separated site IDs |