question

dipen avatar image
dipen asked dipen commented

How to get Customer Details

Hi Team,

I am using the Rest API to get customer details but API is not returning the all details of customer.

API is returning the below details:

"elements":[ { "href":"https://www.clover.com/v3/merchants/{merchantId}/customers/{customerID}", "id":"{customerID}", "orderRef":null, "firstName":"Dev1", "lastName":"Dev2", "marketingAllowed":true, "customerSince":1454415404000 }

It doesn't contain the customer address, state, country, postal code etc. I am confusing, how can we get the all customer details? I have used the "/v3/merchants/{merchantId}/customers/" and "/v3/merchants/{merchantId}/customers/{customerID}" Rest API, but both the API is returning same results for customer.

Is there any way to get customer details by using clover SDK?

Please let me know how can i get the all customer details?

Thanks,

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

Jeffrey Blattman avatar image
Jeffrey Blattman answered dipen commented

See, https://www.clover.com/api_docs#!/cus...

Use the expand parameter to have additional details returned.

1 comment
10 |2000

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

dipen avatar image dipen commented ·

Thanks Jeff. It's working for me and it's really helpful.

0 Likes 0 ·

Welcome to the
Clover Developer Community