Usa esto cuando se cree un cliente o cambie en tu sistema.
The following endpoint can be used to add or update a customer within the Hyfin application. The customer mobile phone number and email address will be used to send payment requests to the customer, as described under Who gets notified below.
Cada cliente está bajo un solo control de notificaciones, determinado a partir del sitio y del cliente. Nunca se almacena y no se puede establecer directamente.
En la API v4:
The following endpoint can be used to add or update a customer. You must replace the {base_url} and {site_id} variable with the site id that was provided when the site was created.
{
"externalId": "39772634",
"displayName": "ABC Plumbing",
"primaryContact": {
"firstName": "John",
"lastName": "Doe",
"mobilePhone": "333-444-5555",
"email": "johndoe@abc.com",
"billingAddress": {
"addressLine1": "123 Main Street",
"addressLine2": "Suite 123",
"city": "Naples",
"stateCode": "FL",
"zipCode": "34102"
}
}
}
{
"success": true,
"action": "added",
"_id": "60f720d248f143332af022e0",
"updatedAt": "2025-05-30T19:19:44.143Z"
}