Edit customer via API
Question asked by Alan Byrne 10 years ago
Hello there,
Is it possible to edit a customer (Entity) using the API? If so, can you point me to some documentation on how to do this?
Regards,
Alan Byrne
Question asked by Alan Byrne 10 years ago
Hello there,
Is it possible to edit a customer (Entity) using the API? If so, can you point me to some documentation on how to do this?
Regards,
Alan Byrne
Hi Alan,
You can edit the customer through the SOAP Api using the updateEntity method.
For some reason it is missing from our docs. I'll look into this.
You can use it the same way as the createEntity method, but instead of supplying just the Clearbooks_Soap_1_0_Entity object you should call it like this:
$client->updateEntity( $entityId, $entityObject);
Lajos