Skip to main content
Published: February 14 2008, 5:32:00 PMUpdated: November 28 2020, 4:05:13 PM

Some of the Shopping API calls have an "XML attribute" in the request.  For example, the FindProducts call includes this :

<ProductID type="ProductIDCodeType"> ProductIDType (string) </ProductID> 

How do I send in the "attribute" value of type="ProductIDCodeType" in an HTTP GET request?

 

 

Apply two "dotted" GET arguments. In this example, the two arguments are :

ProductID.Type=UPC

ProductID.Value=012569593268

So the full call will look like this :

http://open.api.ebay.com/shopping?callname=FindProducts&appid=YOUR_APP_ID&siteid=0&version=525&ProductID.Type=UPC&ProductID.Value=012569593268

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