question

wsadiq avatar image
wsadiq asked wsadiq commented

Delete a customer

Is there any way to delete a customer through the SDK. All references to deleting a customer point to API docs but non to an equivalent method in the SDK.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

q-factor avatar image
q-factor answered wsadiq commented

The CustomerConnector class has a method deleteCustomer . It deletes a customer from the merchant. Accepts customer Id as the parameter.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wsadiq avatar image wsadiq commented ·

Hello. I do not see that method in CustomerConnector. Are you talking about com.clover.sdk.v1.customer,CustomerConnect. There is no such method there.

0 Likes 0 ·
wsadiq avatar image wsadiq commented ·

Never mind. I was using an older version of the sdk.

0 Likes 0 ·

Welcome to the
Clover Developer Community