Edit a client
update_clientRename a client or change the legal name and address printed on its invoices. Only fields you pass are updated; the logo is kept.
Instructions
Rename a client or change the legal name and address printed on its invoices. Only the fields you pass change; the logo is kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name | |
| client | Yes | Client id or exact client name | |
| address | No | Empty string clears it | |
| legal_name | No | Empty string clears it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| client | Yes | The client's name now |