For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

How can I find the Vehicles compatible with a Motors Part Item using eBay API?

  • Answer ID 2089
  • Published 08/02/2012 10:31 AM
  • Updated 10/20/2013 06:42 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=2089
Product
How can I find the Vehicles compatible with a Motors Part Item using eBay API?
For example, if i have an Motors Part Item(ePID) , What API call can i use to find vehicle compatibilities for the Item Using it's ePID?

You can use the api call : getProductCompatibilities (http://developer.ebay.com/DevZone/product/CallRef/getProductCompatibilities.html)

You can call this API in 2 ways, POST request(using SoapUI) or just test the request in your browser(GET).

GET:
You can do a simple GET request : http://svcs.ebay.com/services/marketplacecatalog/ProductService/v1?OPERATION-NAME=getProductCompatibilities&SECURITY-APPNAME=YourAppId&productIdentifier.ePID=74488836

 (put in your app id)

POST request:

WSDL : http://svcs.ebay.com/services/marketplacecatalog/ProductService/v1

<?xml version="1.0" encoding="UTF-8"?>
<getProductCompatibilitiesRequest
xmlns="http://www.ebay.com/marketplace/marketplacecatalog/v1/services">
   <productIdentifier>
      <ePID>74488836</ePID>
   </productIdentifier>
<!--
   <applicationPropertyFilter>
      <propertyName>Make</propertyName>
      <value>
         <text>
            <value>Mercedes-Benz</value>
         </text>
      </value>
   </applicationPropertyFilter>
-->
</getProductCompatibilitiesRequest>

Headers : X-EBAY-SOA-OPERATION-NAME ,X-EBAY-SOA-SECURITY-APPNAME, X-EBAY-SOA-GLOBAL-ID



This will retrieve all the vehicles in the list however you can apply an application property filter. like shown below.

   <applicationPropertyFilter>
      <propertyName>Make</propertyName>
      <value>
         <text>
            <value>Mercedes-Benz</value>
         </text>
      </value>
   </applicationPropertyFilter>

Also attached a screen shot of the SoapUI request.

Image

 

File Attachments

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter