eBay API limit findItemsByProduct to Regional Site - ebay-api

Im trying to use the Ebay API in order to find items by ISBN or UPC.
Using the findItemsByProduct API
Using the following URL (Replacing MY_APP_ID with a real one), I can get a list of items that match the UPC of Inception 883929106646
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByProduct&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=MY_APP_ID&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&productId.#type=UPC&productId=883929106646&paginationInput.entriesPerPage=3
However, I want to limit this to Ebay UK items only.
The documentation says that you should pass GLOBAL-ID=EBAY-GB in the URL but then I get the following error (with no other changes to the URL):
<findItemsByProductResponse xmlns="http://www.ebay.com/marketplace/search/v1/services">
<ack>Failure</ack>
<errorMessage>
<error>
<errorId>41</errorId>
<domain>Marketplace</domain>
<severity>Error</severity>
<category>Request</category>
<message>Invalid product ID value.</message>
<subdomain>Search</subdomain>
<parameter>883929106646</parameter>
</error>
</errorMessage>
<version>1.13.0</version>
<timestamp>2016-02-12T10:07:44.800Z</timestamp>
</findItemsByProductResponse>
How can I limit this product search to Ebay UK?

The particular SKU you're looking for isn't available in the UK store.

Related

Flipkart Product API - How to get top selling product from the category

According to the flipkart product api we can get the top selling products from the category, but I'm not able to get the top selling products. According to the flipkart following is the sample url which return top selling products.
https://affiliate-api.flipkart.net/affiliate/1.0/topFeeds/fnkygygma/category/reh/55ab6c2673a4773ffb8e4019.json?expiresAt=1452881213871&sig=1c4c5111b6b014a71a17b229e6df6afc&inStock=true
I have following queries.
what is reh in the URL?
what is "55ab6c2673a4773ffb8e4019" in the URL is this category name, how I'll get the category name like this for other categories.
As I know "expiresAt" comes from flipkart, how I can generate this myself?
How I can generate "sig"?
it will be really helpful if someone answer for this.
My guess is you would have to query their database for the ID of the category that you want the top products from, and then use it in the URI when requesting the feed.
The documentation doesn't show "reh" in the URI so I'm guessing that sample is for testing purposes.
I found the section that says, "The Product Feed Listing API provides the full list of categories present in the catalogue."
The URI is: https://affiliate.flipkart.com/api-docs/af_prod_ref.html#product-feed-listing-api
You do realize that there is a new version of the API? It's 1.1
The documentation says that you have to request a list of the categories with this URI: https://affiliate-api.flipkart.net/affiliate/api/<trackingId>.json
Insert your ID where it says <trackingId> and it will return a list of the categories along with metaData.
The categories live in the apiListings section of the JSON response.

Why the eBay FindingService response 'Invalid product ID value', but product with such EAN really exists?

I try to search some product details by eBay API, I meet a problem.
For some EAN, the product really exist in eBay' page, for example, a movie:
http://www.ebay.com/itm/The-Shawshank-Redemption-DVD-NEW-/281073136687?hash=item417143b42f:g:Kd0AAOSwq5lTq3wI
[By the Way, I got the movie's ebay page by google "site:ebay.com 9325336105405"]
When I use the eBay API to find the product
(e.g. click: http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByProduct&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=Your_App_ID_Goes_Here&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&globalId=EBAY-AU&productId.#type=EAN&productId=9325336105405)
I got such xml response:
<findItemsByProductResponse xmlns="http://www.ebay.com/marketplace/search/v1/services">
<ack>Failure</ack>
<errorMessage>
<error>
<errorId>41</errorId>
<domain>Marketplace</domain>
<severity>Error</severity>
<category>Request</category>
<message>Invalid product ID value.</message>
<subdomain>Search</subdomain>
<parameter>9325336105405</parameter>
</error>
</errorMessage>
<version>1.13.0</version>
<timestamp>2016-03-12T08:10:35.039Z</timestamp>
</findItemsByProductResponse>
And when I type the EAN in the seachbox of eBay website, eBay says:
This listing (9325336105405) has been removed, or this item is not available.
Please check that you've entered the correct item number
Listings that have ended 90 or more days ago will not be available for viewing.
I am sure this is a correct EAN, and this product have not been ended, It still has a button 'Buy it now'.
Since the EAN starts with '932' meas that is a Australia product, so I try to search it on www.ebay.com.au, and get the same response.
Why the eBay API treat such EAN as invalid?
How could I fetch the details of this EAN by eBay API?
Thanks a looooooot!!!
Use the findItemsAdvanced call, and put the EAN in keywords and you will get a good response.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=<Your AppID>&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&globalId=EBAY-US&keywords=9325336105405
Similar Issue Here

Bigcommerce API: Get Proudct URL w/PHP

I could not find the API that returns Product URL for the given product Id. I have noticed the product URL on the store is formatted using the product name EX: http://mystore.mybigcommerce.com/gideon-canvas-espadrilles-multiple-colours/. But this may not be reliable.

Ebay Trading API discountPriceInfo.OriginalPrice doesn't show

I want to show the originalPrice over my Price in my ebay auction.
I see that a lot of sellers do it so it is possible.
I add the follow code to my AddItem Request:
<DiscountPriceInfo>
<OriginalRetailPrice currencyID="EUR">100.00</OriginalRetailPrice>
</DiscountPriceInfo>
The Api Return Success but the Original price isn't show!
Sounds like you're talking about Strike-Through Pricing (STP), correct?
According to the eBay docs here, this is only valid for US, UK, and DE -- and the seller may need special approval by eBay to use STP.

eBay API AddItem Ebay call returns error 314 'You cannot create Shop Buy It Now item listings' for StoresFixedPrice listing type

I have a problem with adding products through eBay API using AddItem, GTC as duration and StoresFixedPrice as listing type:
<ListingDuration>GTC</ListingDuration>
<ListingType>StoresFixedPrice</ListingType>
In reply I receive error 314:
You cannot create Shop Buy It Now item listings. Only Shop owners can
create Shop Buy It Now listings.
However I am "Basic Shop" owner on eBay.
What could be the reason for that behavior?
It seems that StoresFixedPrice is not longer available as Listing type value
Please do not list item with Listing Type as 'StoresFixedPrice'. This
enumeration value should no longer be used in the Add/Revise/Relist
family of calls.
This value also dont present in list of possible values for listingtype in Call Reference