cancel
Showing results for 
Search instead for 
Did you mean: 

catalogProductReturnEntity.additional_attributes bug when an attribute can have more than one value

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

catalogProductReturnEntity.additional_attributes bug when an attribute can have more than one value

Using magento v2 Soap API - WS-I compliance is OFF.

Client is built with .NET

 

I am calling catalogProductInfo to get the values of additional attributes for a product. 


I am unable to retrieve attributes from catalogProductReturnEntity, such as e.g. category_id, because the additional_attributes field is an array of associativeEntity objects. An associativeEntity can only hold one value. For the attribute category_id the value returned is the literal string "Array" instead of an actual array of category id's that a product is assigned to.

How do I obtain the correct values for mult-value attributes such as category_id?