Update Customer
Update existing customer information including contact details, location, and pricing settings.Request Parameters
Customer ID to update
Customer’s document number (DNI/RUC)
Customer’s full name or company name
Date of birth in YYYY-MM-DD format
Customer’s email address
New password for customer portal (leave empty to keep current password)
Mobile phone number
Customer type (e.g., “Natural”, “Jurídico”)
Payment type (e.g., “Contado”, “Crédito”)
Include IGV in prices: 1 = yes, 0 = no
District ID where customer is located
Price list ID (plan) assigned to customer
Detraction type ID for tax purposes
Extra charge for home-to-home delivery
Extra charge for home-to-agency delivery
Extra charge for agency-to-home delivery
Response
Success confirmation message
Error Responses
Add Customer Address
Add new addresses to an existing customer’s address list.Request Parameters
Customer ID to add addresses to
Array of new addresses to add to customer
Response
Success confirmation message
Error Responses
Update Notes
Important: When updating a customer, the
id field is required to identify which customer to update. All other required fields must be provided even if they haven’t changed.Address Management
The address management system allows customers to have multiple delivery locations:- Each address must have a
direccion(street address) - The
referenciafield is optional but recommended for easier delivery location - When adding addresses, they are appended to the existing address list
- Each address gets a unique ID assigned by the system