delete Customer
Deletes a customer record by their unique identifier.
Return
A pair containing the deleted FrameObjects.Customer on success, or a NetworkingError on failure.
Parameters
customer Id
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
customer Id
The unique identifier of the customer to delete.
completion Handler
Invoked with the deleted FrameObjects.Customer on success, or a NetworkingError on failure.