Cập Nhật
AI-generatedOverview
This node manages customer information in the KiotViet system, specifically supporting the update operation for customer data. It allows users to update existing customer records by specifying the customer ID and providing new values for the customer's name and additional optional fields such as contact number, email, address, gender, birth date, and customer group IDs. This operation is useful for keeping customer data current and accurate in the KiotViet platform.
Use Case Examples
- Updating a customer's contact details and group memberships after receiving new information from the customer.
- Correcting a customer's name or address in the system to ensure accurate records.
Properties
| Name | Meaning |
|---|---|
| ID Khách Hàng | The unique identifier of the customer to update, required to specify which customer record to modify. |
| Tên Khách Hàng | The full name of the customer, required for the update operation. |
| Trường Bổ Sung | Additional optional fields to update for the customer, including contact number, email, address, gender, birth date, and customer group IDs. |
Output
JSON
id- The unique identifier of the updated customer.name- The updated name of the customer.contactNumber- The updated contact phone number of the customer.email- The updated email address of the customer.address- The updated physical address of the customer.gender- The updated gender of the customer.birthDate- The updated birth date of the customer.groupIds- The updated list of customer group IDs the customer belongs to.
Dependencies
- KiotViet API with authentication credentials
Troubleshooting
- Ensure the customer ID provided exists in the KiotViet system; otherwise, the update will fail.
- Verify that the API credentials are correctly configured and have permissions to update customer data.
- If the update operation is not supported by the API version, an error will be thrown indicating this limitation.