Skip to main content
Published: May 14 2007, 4:13:00 PMUpdated: August 07 2022, 11:51:21 PM

How can I get the Item Specifics and Return Policy for an Item?

Summary

You need to make a call to GetItem with the IncludeItemSpecifics flag set to true to get the information for the item


Detailed Description

Item Specifics, including the Return Policy for an item, is only returned in the GetItem call.  When you are developing your application, these are some of the things to keep in mind:
  • Even though many calls return the ItemType, they do not return all of the fields in the ItemType.  Depending on the type of call, it returns the pertinent information.  If you use an environments like .NET, you will see the entire Item structure, giving you the impression that the call returns all the fields.  Then when you actually try to access them, they are null and you are likely to run into Object Reference errors because they do not exist. 

    The best way to find out what is returned by a call is to make use of the Call Index in the Input/Output Reference.  Alternately, if you are interested in specific fields, you can make use of the Field Index of the Input / Output Reference and find out which calls are associated with them. 
  • Use the required DetailLevel / GranularityLevel.  To reduce the volume of data, fields are returned based what you ask for.  Once you have identified the call that returns the fields, check at what minimum DetailLevel or GranularityLevel can you get those fields.  Always use the minimum level to make your application efficient.

Additional Resources

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

Got thoughts? Click the feedback button – your insights help us improve!