cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Listing Price Update

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?

Message 1 of 9
latest reply
1 BEST ANSWER

Accepted Solutions

Re: Listing Price Update

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.

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp

View Best Answer in original post

Message 4 of 9
latest reply
8 REPLIES 8

Re: Listing Price Update

@*biobuddy* 

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

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 9
latest reply

Re: Listing Price Update

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. 

Message 3 of 9
latest reply

Re: Listing Price Update

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.

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 4 of 9
latest reply

Re: Listing Price Update

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.

 

 

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 5 of 9
latest reply

Re: Listing Price Update

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?

Message 6 of 9
latest reply

Re: Listing Price Update

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.

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 7 of 9
latest reply

Re: Listing Price Update

Is there any pit fall converting your inventory in the API to allow price and update via restful. 

Message 8 of 9
latest reply

Re: Listing Price Update

That part will work fine, it is just reading all listings with stock and price information shows unexpected behavior as I understood.

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 9 of 9
latest reply