ecwid-api-docs icon indicating copy to clipboard operation
ecwid-api-docs copied to clipboard

Get Customer Details > Customer Object in api-docs.ecwid.com

Open BloomsGrowTech opened this issue 1 year ago • 1 comments

Ecwid.OnSetProfile.add(function(customer) { console.log(customer.email); console.log(customer.billingPerson.countryName); });

Returns error cannot read properties of undefined (reading 'add')

Is there another way to get the customer who is visiting the site's information such as group id?

BloomsGrowTech avatar Feb 14 '24 23:02 BloomsGrowTech

Hi there! Which app ID (clientID) are you using? I need to check its access scope.

Annagit avatar Feb 19 '24 18:02 Annagit