KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: AndreiN on April 02, 2014, 10:30:05 pm

Title: KKAdmin API getOrders & getOrderById Missing Info
Post by: AndreiN on April 02, 2014, 10:30:05 pm
Hello,

I am using the Admin API to retrieve Orders using the getOrders method, all this using C# and ASP.NET, and referencing the Admin WSDL as a service reference.

The problem I am encountering is that the AdminOrders objects retrieved LACK certain critical pieces of information, such as their line items (the orderProducts property is shown to hold zero elements). What I am resorting to is using the array of AdminOrder objects retrieved by getOrders to get their Id's, and then retrieving the full order information using getOrderByOrderId.

However, I have encountered issues even using this approach, as line items retrieved are missing critical pieces of information (such as prices) themselves! At this point I would have to start retrieving AdminProducts individually as well!

Can I get some help figuring this out please?