Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

[API] Getting products associated with an order? 
 
edlitmus
Jr. Member
 
Total Posts:  25
Joined:  2008-07-21
 

Is there any way to get the product associated with an order using the web services API? I can get a users orders, but I can’t seem to find a way to get what product was ordered. Am I missing something?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MG-Giuseppe
Jr. Member
 
Total Posts:  8
Joined:  2009-02-05
Italy - (PU)
 
edlitmus - 02 September 2008 09:58 AM

Is there any way to get the product associated with an order using the web services API? I can get a users orders, but I can’t seem to find a way to get what product was ordered. Am I missing something?

Hallo,
I’ve got the same problem… any news ?

Thanks
Giuseppe

 
Magento Community Magento Community
Magento Community
Magento Community
 
MG-Giuseppe
Jr. Member
 
Total Posts:  8
Joined:  2009-02-05
Italy - (PU)
 

Ok problem solved !

The sales_order.info returns products information in the “items” member (an array) of the xml response.

My initial problem is due to the fact that I’m using a C# .NET xml-rpc library that
do not read this information from the API response.

I’ve modified the libs adding the missing fields and everything works fine.

bye
Giuseppe

 
Magento Community Magento Community
Magento Community
Magento Community
 
l0st3d
Jr. Member
 
Total Posts:  1
Joined:  2011-03-10
 

Has this been removed in the last 2 years? I get a “total_item_count” but no list of items. Any more ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top