eBay Community logo
    • Home
    • News & Updates
    • Buying & Selling
      • Buying
      • Selling
      • New to selling on eBay
      • Seller Tools
      • Shipping
      • Returns
      • eBay Advertising
      • Payments
      • Mobile Apps
    • Explore Categories
        • eBay Motors
        • Electronics
        • Collectibles & Art
        • Home & Garden
        • Clothing, Shoes & Accessories
        • Toys & Hobbies
        • Sporting Goods
        • Books, Movies & Music
        • Health & Beauty
        • Business & Industrial
        • Jewelry & Watches
        • Specialty Services
        • eBay Partner Network
        • Accessibility
        • eBay Developers Program
        • eBay Cafe
        • eBay Live
        • Community Mentors
      • Ask a Mentor
    • About
      • About the Community
      • Share Community Platform Feedback
      • Report eBay Technical Issues
      • About eBay
    • Community Events
      • Events
      • Seller Circle Hosts
      • Seller Circles
    • eBay Help
    All PostsDiscussionsBlogsIdeasQuestions
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
    •                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    Discussions
    • Special CategoriesChevronRightIcon
    • eBay Developers ProgramChevronRightIcon
    • RESTful Sell APIsChevronRightIcon
    • Account, Inventory, Catalog and ComplianceChevronRightIcon
    get listings using RESTFul

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

    petsupplyandfood
    petsupplyandfood
    7281View listings
    Posted 3 years ago·Last reply 2 years ago
                                           
             
    10 comments

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                   
    developer_support@ebay

    developer_support@ebay

    eBay Staff2 years ago
    0View listings

    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"

                                           
    petsupplyandfood

    petsupplyandfood

    OP2 years ago
    7281View listings

    Hi @developer_support@ebay@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.

                                           
    nezzaby

    nezzaby

    ·2 years ago
    30View listings

    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!

                                           
    petsupplyandfood

    petsupplyandfood

    OP2 years ago
    7281View listings

    Hi @nezzaby

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

                                           
    sonomaresale

    sonomaresale

    ·2 years ago
    16121View listings

    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 

                                           
    petsupplyandfood

    petsupplyandfood

    OP2 years ago
    7281View listings

    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.

                                           
    shipscript

    shipscript

    ·2 years ago
    111View listings

    @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.

     

     

                                           
    petsupplyandfood

    petsupplyandfood

    OP2 years ago
    7281View listings

     

    Hi @shipscript, thanks for your reply.

    How about an example?
    Thank you.

                                           
    shipscript

    shipscript

    ·2 years ago
    111View listings
    @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.

     

     

                                           
    petsupplyandfood

    petsupplyandfood

    OP2 years ago
    7281View listings

    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.

                                           
                                                                                     
    •                                                              
    •                                                              
    •