London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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.