Skip to main content
Published: February 14 2008, 5:32:00 PMUpdated: August 24 2022, 12:47:21 AM

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=1247&ProductID.Type=UPC&ProductID.Value=012569593268

 

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

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