04-11-2024 02:05 PM
Hi
Is there a RESTFUL API for amending a listing price? I can see the APi for editing inventory price, but none of my listings are stored as "inventory"?
Or is this inventory the new way to manage listings?
Solved! Go to Best Answer
04-11-2024 04:08 PM
Most likely, your products were created by the trading API, you will need to migrate listings to the new REST API and then you can create/update and publish offers with price and stock update.
04-11-2024 03:00 PM
The Inventory API has a call to updateOffer (an offer is a listing). However, it requires an ID for the offer.
https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/updateOffer
If your listings were created with the Trading API, I don't know if the call would be successful or useful, particularly since it requires a full rewrite of the offer.
You can retrieve all details of an existing offer with getOffer:
https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/getOffer
04-11-2024 03:21 PM
Thanks for your reply.
I tried the getoffers Api call and it does not return anything either.
Our listings were either created manually or via third party software in the past.
In order to search for the offer we need an Sku which eBay also calls a custom label.
Despite the sku being passed it returns nothing and says the sku is not valid.
04-11-2024 04:08 PM
Most likely, your products were created by the trading API, you will need to migrate listings to the new REST API and then you can create/update and publish offers with price and stock update.
04-11-2024 04:18 PM
If your listings were created on the website or by third party software, then the Trading API was used. Your listings will need to be converted to the inventory format for RESTful use.
https://developer.ebay.com/api-docs/sell/static/inventory/migrating-listings.html
https://developer.ebay.com/api-docs/sell/inventory/resources/listing/methods/bulkMigrateListing
This does not appear to be reversible, so read a bit before making the change.
Somewhere, there is a statement that listings created through the inventory process can not be edited with eBay's standard listing tools, so there is some commitment involved.
04-12-2024 04:04 AM
It's all very confusing really on why they can not simply update the legacy listings with Restful API, but you were bang on the money.
I have converted a listing using the API and the price update works fine.
What implications would this have on the listing moving forward? There seems to be not much detail on what if anything we can and can not do via eBay to manage the listing moving forward?
I assume we can still use eBay to revise etc?
04-12-2024 05:12 AM
I have been using trading API for last 3 years and never had any issue bur recently switched to REST API.
The only and the biggest problem I had that I could not find an API that can give me a list of all products in my store along with stock and current price.
I had to use multiple APIs, some APIs can give 200 records in 1 call but for other I had to send 200 calls to get the current offer of these 200 records. There is no offer endpoint available, that can take 200 SKUs/Ids and return all offers in 1 call.
So I am still using trading API to read all listings with stock and current price but I use REST API to update stock and price.
04-13-2024 11:21 AM
Is there any pit fall converting your inventory in the API to allow price and update via restful.
04-13-2024 05:48 PM
That part will work fine, it is just reading all listings with stock and price information shows unexpected behavior as I understood.