Skip to main content
Published: March 08 2005, 11:28:00 AMUpdated: July 20 2022, 3:14:39 AM

The Documentation for GetItemCall states that by default descriptions are not returned. Defaulting the DetailLevel does in fact return the Description. How do I prevent the Description from being returned?

The default DetailLevel for all ApiCalls is DetailLevel.ReturnAll. GetItemCall does not modify this.

Setting the detail level to null will ensure that minimal Item information is returned by the call:

GetItemCall getItemCall = new GetItemCall(apiContext);
getItemCall.setDetailLevel(null);
ItemType item = getItemCall.getItem(itemID);

How well did this answer your question?
Answers others found helpful