question

rohitpandey avatar image
rohitpandey asked ·

How to get 'Email Address', 'Billing Address' of a customer using API?

Hi,

I was trying to get details like 'billing details', 'email address' of a customer using API but cannot see that in the response I get. Response is returning basic informations like 'first name', 'last name', 'customerID' etc.

Thanks!

Customers
10 |2000 characters needed characters left characters exceeded

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

1 Answer

hammer avatar image
hammer answered ·

Use the REST api GetCustomer to retrieve these details.

You will need to specify the 'expand' parameter. For example:

https://apidev1.dev.clover.com:443/v3...

1 comment Share
10 |2000 characters needed characters left characters exceeded

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

I have a similar question. I am using the expand parameter to expand customers, but within customer in the response the address is always null. Do i need to expand addresses also?

0 Likes 0 · ·

Welcome to the
Clover Developer Community