Actualizar un cliente
Tu clave API privada (comienza con pvk_)
In: header
Tu ID de organización
In: header
Path Parameters
uuidDirección del cliente (texto)
length <= 500Nombre de la empresa para clientes comerciales
length <= 255Correo electrónico del cliente
emaillength <= 255Identificador externo para integración con otros sistemas
length <= 255Apellido del cliente (para personas naturales)
1 <= length <= 255Key-value pairs for storing your own information on this customer. They are
merged into what is already stored: keys you do not mention are kept. Send a key with a null value to delete that key, or {} to delete them all. At most 50 keys; keys up to 40 characters, values up to 500, and 27000 characters across all keys and values. Do not store sensitive data here: it is not encrypted and is returned on reads.
Four key names are reserved by Venflow and rejected: checkoutMode, subscriptionId, obInvoiceId and billing_cycles; use a different name, such as externalId.
properties <= 50Nombre completo del cliente o nombre de la empresa
1 <= length <= 255Número de teléfono del cliente
length <= 20Número de identificación fiscal
length <= 50Tipo de identificación fiscal: V (venezolano), E (extranjero), J (jurídico), P (pasaporte)
"V" | "E" | "J" | "P"Tasa de retención de impuestos como porcentaje entero (0-100)
double0 <= value <= 1Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.venflow.app/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "name": "Ana Sofía", "phone": "+58414111111" }'{
"address": "string",
"company_name": "string",
"created": 0.1,
"email": "string",
"external_id": "string",
"id": "string",
"is_active": true,
"last_name": "string",
"livemode": true,
"metadata": {
"property1": "string",
"property2": "string"
},
"name": "string",
"object": "customer",
"phone": "string",
"tax_id": {
"type": "string",
"value": "string"
},
"tax_withholding_rate": 0
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}Obtener un cliente GET
Obtiene los detalles de un cliente existente. Proporciona el ID único del cliente y la API devolverá la información correspondiente.
Eliminar un cliente DELETE
Elimina permanentemente un cliente. Esta acción no se puede deshacer. También elimina inmediatamente la relación del cliente con tu organización.