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
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.
The story to add those "missing" properties is still there, we just don't have enough time and resources to do it, not yet. But we still have it in our backlog and will eventually get there
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.