Ebay Trading API discountPriceInfo.OriginalPrice doesn't show - ebay-api

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.

Related

Fare rules information in the response of search

I could not find the fare rule information in the response of flight search API and flight offer price API (self-service).
According to the swagger (provided in the document), such information should be in offer.fareRules. Do you have any idea to fetch this information? Because I'd like to fetch the information such as refund, exchange etc. Thanks
In the Flight Offers Price API you need to use the query parameter include with the value detailed-fare-rules
For example:
https://test.api.amadeus.com/v1/shopping/flight-offers/pricing?include=detailed-fare-rules
You will get the detailed-fare-rules as part of the response into included:

eBay API call not working for EBAY-ES (Spain) Global ID

I am trying to fetch a book details from www.ebay.es by EAN number. But its always showing "Invalid product ID value.". (My-App-ID needs to be changed)
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByProduct&GLOBAL-ID=EBAY-ES&SECURITY-APPNAME=My-APP-ID&RESPONSE-DATA-FORMAT=JSON&REST-PAYLOAD&productId.#type=ISBN&productId=9781408880715
But I can search the same EAN from spanish site of ebay. It means the EAN number is Valid. Here is the link -
http://www.ebay.es/itm/Fantastic-Beasts-y-donde-to-Find-Les-de-J-K-Rowling-/361919661849?hash=item544417c719:g:jpEAAOSwSlBYuUzL
And I can fetch the data from UK site easily by changing the Global-ID. Here is the link (My-App-ID needs to be changed)-
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByProduct&GLOBAL-ID=EBAY-GB&SECURITY-APPNAME=My-APP-ID&RESPONSE-DATA-FORMAT=JSON&REST-PAYLOAD&productId.#type=ISBN&productId=9781408880715
Where I am doing Wrong? Please advise. Thanks in advance.

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

eBay API limit findItemsByProduct to Regional Site

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.

eBay API - findItemsByProduct for Electronic Products by UPC code

I don't know why, but I cannot login to eBay developer forum so that I am here to post a question about eBay API.
I am trying to look up a product by using UPC code with findItemsByProduct resource.
According to the official website (http://developer.ebay.com/DevZone/finding/CallRef/findItemsByProduct.html),
UPC—The UPC value for products in Music (e.g., CDs), DVD and Movie,
and Video Game categories (or domains). If you know a product's UPC
number, you can use this value instead of the eBay Reference ID to
search for that product.
Does this mean that we cannot look up Electronic products (e.g. laptop), using UPC code?
Actually, I have never seen yet any electronic products I could retrieve with UPC lookup.
Regards
As long as a seller has entered a UPC when the item was listed it should be possible to find it via the API. However, entering a UPC is not supported by all categories. To determine if a category supports UPC you can call GetCategoryFeatures and check that the UPCIdentifierEnabled field is true.
Since calling GetCategoryFeatues on the US site (ID 0) for the category Computers/Tablets & Networking > Laptops & Netbooks > PC Laptops & Netbooks (ID 177) returns true in the UPCIdentifierEnabled field you should be able to search for laptops via UPC.
Beware that UPC is not used in all countries. For example European countries use EAN (European Article Number) instead. If you are searching on those sites you will need to check the value of the EANIdentifierEnabled field when calling GetCategoryFeatures.