Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hi
CMS Version - 10.10.3
Commerce Version - 11.2.4
We are using the Episerver Service Api to fetch the customers data using the following Api call:
var client = new HttpClient() { BaseAddress = new Uri(ConfigurationManager.AppSettings["integrationUrl"]) }; client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.AccessToken); var result = client.GetAsync("/episerverapi/commerce/customers/contact").Result.Content.ReadAsStringAsync().Result
and we are getting the following:
"PrimaryKeyId": "de34525b-fff5-46ce-ba40-0cb05e54df22", "Addresses": [], "FirstName": "Order", "LastName": "Manager", "Email": "manager@unknowdomain.domain", "RegistrationSource": null
All of the property of CustomerContact class are not coming in the response. Such as "DateOfBirth", "Gender" etc..
But value of these fields are saved in DB table.
Please help me to get these values using the Service Api call.