question

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended asked

Get the UPC of the product on TopSellingProduct API

Hi there, Is there a way to get the UPC of the top selling product? 

 

Base on the documentation it only returns these results:

 


<?xml version="1.0" encoding="utf-8"?>
<getTopSellingProductsResponse xmlns="http://www.ebay.com/marketplace/services">
<!-- Call-specific Output Fields -->
<productRecommendations> ProductRecommendations
<product> Product
<catalogName> string </catalogName>
<imageURL> anyURI </imageURL>
<priceRangeMax currencyId="string"> Amount (double) </priceRangeMax>
<priceRangeMin currencyId="string"> Amount (double) </priceRangeMin>
<productId type="string"> ProductId (string) </productId>
<productURL> anyURI </productURL>
<reviewCount> long </reviewCount>
<title> string </title>
</product>
<!-- ... more product nodes allowed here ... -->
</productRecommendations>
<!-- Standard Output Fields -->
<ack> AckValue </ack>
<errorMessage> ErrorMessage
<error> ErrorData
<category> ErrorCategory </category>
<domain> string </domain>
<errorId> long </errorId>
<exceptionId> token </exceptionId>
<message> string </message>
<parameter name="string"> ErrorParameter (string) </parameter>
<!-- ... more parameter values allowed here ... -->
<severity> ErrorSeverity </severity>
<subdomain> string </subdomain>
</error>
<!-- ... more error nodes allowed here ... -->
</errorMessage>
<timestamp> dateTime </timestamp>
<version> string </version>
</getTopSellingProductsResponse>

Is there a way to get the topSellingProducts UPC ?

 

Your help would be greatly appreciated. Thanks! :)

apitopsellingproduct
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
shulmani_developer.support avatar image
0 Likes"
shulmani_developer.support answered

Hi,

 

If you see the response for the TopSellingProducts API Call, the <productURL> field usually points to the eBay  catalog Data which provides more information about the product. This page contains the UPC/ UPC's used for these kind of listings.

 

For eg: the TopeSellingProducts API call returned a product with the below details:

 

<productId type="Reference">108407097</productId>

<title>LG 800G - Black (TracFone) Cellular Phone</title>

<productURL>http://www.ebay.com/ctg/108407097?_pcatid=801&_tab=2&_trksid=m108&_trkpa...

 

The URL : http://www.ebay.com/ctg/108407097?_pcatid=801&_tab=2&_trksid=m108&_trkpa... Takes you the eBay catalog page for this product that has the Brand, MPN , UPC etc inforamtion.

 

Cheers!!!

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.