update_customer
Update a customer's name and/or phone number by providing their ID.
Instructions
Update an existing customer's name and/or phone number by their id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Full name of the customer | |
| phone | No | Phone number of the customer | |
| customer_id | Yes | MongoDB ObjectId of the customer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | MongoDB ObjectId of the customer | |
| isError | No | Indicates if an error occurred | |
| message | No | Confirmation message | |
| customer | No | The found customer | |
| customers | No | List of customers |