How can I insert "XML attributes" into my Shopping API GET call? Find the answer to your question
Please enter a search keyword.
Advanced Search Product -Select Product- GraphQL Trading API Merchandising API Feedback API Product Services Sandbox Others MIP Media API Notification API Identity API Charity API Taxonomy API Catalog API Message API VeRO API Recommendation API Compliance API Logistics API Finances API(Alpha) Negotiation API Sell Feed API Marketing Ads API Stores API Inventory Mapping API Account API Inventory API Fulfillment API Marketing Promotion API Analytics API Metadata API Offer API Marketplace Insights API Deal API Marketing API Feed API Browse API Order API Analytics API Key Management API Cancellation API Case Management API Inquiry API Return API
Category -Select- Getting Started Sample Code Troubleshooting HowTo's / Best Practices No Value
Language -Select- C# Flex Java JavaScript PHP VB.NET VB6
Format -Select- All XML SOAP JSON Name Value N/A
SDK -Select- .NET Java JavaScript Flax/Flash Mobile - iOS None
Sort by Default Summary New Description Date Updated
Sort order Descending Ascending
Published: February 14 2008, 5:32:00 PM ยท Updated: August 24 2022, 12:47:21 AM
Products Question 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?
Answer 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 =012569593268How well did this answer your question?