Developer forum

Forum » Development » Wrong paramenter naming in GetListByCustomerId

Wrong paramenter naming in GetListByCustomerId

Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

We are using this method: Dynamicweb.Ecommerce.CustomerCenter.CustomerProductList.GetListByCustomerId and from the documentation is says that it takes a customerId as input: https://doc.dynamicweb.com/api/html/356bfee8-8db5-165d-6288-9fa378b16362.htm.

But when looking in the source code the parameter should actually be the userId.

 

So either the name of the method is misleading or the parameter name should just be changed.

 

Best regards,

Anders


Replies

 
Nicolai Pedersen
Reply

Hi Anders

Duely noted. We cannot change the parameter name as someone could call it with named properties GetListByCustomerId(customerId:123);

 

You must be logged in to post in the forum