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

get listings using RESTFul

Please tell me. How to get all actives list of seller's active listings using RESTFul? Thanks.

Message 1 of 11
latest reply
10 REPLIES 10

get listings using RESTFul

Hello petsupplyandfood,

That should be easy enough, you would simply make a regular search api and and in the filter parameter restrict it to only return listings of a specific seller.

https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search 

https://developer.ebay.com/api-docs/buy/browse/types/cos:FilterField 

Message 2 of 11
latest reply

get listings using RESTFul

Hi sonomaresale, thanks for your reply.

I thought so, but without the q parameter more than 3 characters, the request does not work. What values to set for the search if the names of the listings are unknown.
If you have an example please let me see it.
Thank you.

Message 3 of 11
latest reply

get listings using RESTFul

@petsupplyandfood 

Try the traditional "Finding" API instead, as it allows collecting data using only the seller ID and site (Oauth is not required, but AppID is required).  Note that if the seller has variation listings, each variation combination will count in the total, just as it does when searching manually on the site. To collect only master listings, and not each variation, use and set the "HideDuplicateItems" filter to true.

 

 

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

get listings using RESTFul

Hi @petsupplyandfood 

 

You can get the ActiveInventoryReport for a seller,  this report contains price and quantity information for all of the active listings for a specific seller. A seller can use this information to maintain their inventory on eBay.

The eBay servers read the token information passed in by the seller's application to determine which seller's data to retrieve.

 

For more details please have look on "Overview of active inventory report flow"

Best Regards,
eBay Developer Support
Message 5 of 11
latest reply

get listings using RESTFul

 

Hi shipscript, thanks for your reply.

How about an example?
Thank you.

Message 6 of 11
latest reply

get listings using RESTFul

Hi developer_support@ebay, thanks for your reply.

I went through 7 circles of hell to dig up and make a working version of create Task LMS_ACTIVE_INVENTORY_REPORT. and getTask. As a result, I received a very primitive report in which there is no connection between SKU and ID_Variation.
Now I call getItem and getItemsByItemGroup to get detailed information.

Amazon's API has made the process of reading lists much easier, although there are some cumbersome approaches there too.

Thank you.

Message 7 of 11
latest reply

get listings using RESTFul

Hi @petsupplyandfood.

 

Were you able to successfully download the LMS_ACTIVE_INVENTORY_REPORT in the sandbox environment?  I created an inventory task of this type in the sandbox, and the task will not move out of the QUEUED status, so I can't download the file.  I only have a few listings (less than 10), so it shouldn't be taking a long time.

 

Thanks!

Message 8 of 11
latest reply

get listings using RESTFul


@petsupplyandfood wrote:

Hi shipscript, thanks for your reply.

How about an example?
Thank you.


https://developer.ebay.com/devzone/finding/CallRef/findItemsAdvanced.html

 

Here is the URL method (add your own AppID):

 

https://svcs.ebay.com/services/search/FindingService/v1
?OPERATION-NAME=findItemsAdvanced
&SERVICE-VERSION=1.13.0
&SECURITY-APPNAME={{$appid}}
&RESPONSE-DATA-FORMAT=XML
&GLOBAL-ID=EBAY-US
&sortOrder=StartTimeNewest
&paginationInput.entriesPerPage=100
&paginationInput.pageNumber=1
&keywords=this%20is%20a%20test
&itemFilter(0).name=Seller
&itemFilter(0).value=Shipscript
&itemFilter(1).name=HideDuplicateItems
&itemFilter(1).value=true

I normally use NV pairs or JSON, but have chosen XML for this example.

The keywords were included to reduce the returned list.

You can eliminate that Keywords filter and replace my Seller name with yours.

 

This API can return up to 10,000 items.

There can be up to 100 items per page and up to 100 pages returned (1-100).

 

If you slowly retrieve one page at a time, there may be overlaps or skips, depending on the direction of the sort and whether items sell off.  Newest-first provides overlaps, whereas Ending-first could allow skips, so my preference is Newest-first, and then a sort to purge duplicates.

 

 

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

get listings using RESTFul

Hi shipscript, thanks for your reply.

Keyword or category ID are required. I don't know these values. FindingService is not a RESTful API.
Thank you.

Message 10 of 11
latest reply

get listings using RESTFul

Hi nezzaby, 

I get listings data from production. The answer file is very ascetic.

Message 11 of 11
latest reply