Update client
bsale_update_clientWRITE: change fields of an existing customer; only the fields you pass are sent. This overwrites the stored values. PUT /v1/clients/{id}.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| code | No | Tax id (RUT in Chile, RUC in Peru, RFC in Mexico). Validate it first. | |
| note | No | ||
| No | |||
| phone | No | ||
| address | No | ||
| company | No | ||
| activity | No | Giro / business activity. | |
| district | No | Colonia / district (Mexico). Chile and Peru: use municipality. | |
| client_id | Yes | ||
| last_name | No | ||
| first_name | No | ||
| municipality | No | Comuna (Chile) or municipality (Peru). Mexican accounts: use district. |