A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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.