deleteCustomer

Deletes a customer record by their unique identifier.

Return

A pair containing the deleted FrameObjects.Customer on success, or a NetworkingError on failure.

Parameters

customerId

The unique identifier of the customer to delete.


fun deleteCustomer(customerId: String, completionHandler: (FrameObjects.Customer?, NetworkingError?) -> Unit)

Deletes a customer record by their unique identifier and delivers the result to a callback.

Parameters

customerId

The unique identifier of the customer to delete.

completionHandler

Invoked with the deleted FrameObjects.Customer on success, or a NetworkingError on failure.