Total ongoing items

  • cartespostales_de

    67 berichten

    Duitsland

    Hello,

    I need to know how much items are online.
    In your API documentation there is no call to get the count of all my ongoing items.
    So please let me know the Restcall to get this.

    Thank you
  • Servitel

    429 berichten

    Zwitserland

    Hello,

    I need to know how much items are online.
    In your API documentation there is no call to get the count of all my ongoing items.
    So please let me know the Restcall to get this.

    Thank you
    • Aangemaakt 15 jan 2025 op 02:39
    • #1853211
    Hi cartespostales_de
    you need to use this call
    Link (https)

    or this one if you have more than 100000 items
    Link (https)

    and loop until reached the last block

    Hope this help you !
  • cartespostales_de

    67 berichten

    Duitsland

    Sure, I know, but I do not want to make a loop over all items.
    Call limit is 5.000 items per call.
    If you have 100.000 items you have to make 20 requests, and there will be 100.000 full item container send, just to know one information ?
    Just ask the total items and get the count in the response.
  • Servitel

    429 berichten

    Zwitserland

    Sure, I know, but I do not want to make a loop over all items.
    Call limit is 5.000 items per call.
    If you have 100.000 items you have to make 20 requests, and there will be 100.000 full item container send, just to know one information ?
    Just ask the total items and get the count in the response.
    • Aangemaakt 15 jan 2025 op 04:41
    • #1853268
    Welcome to the API World :)
    I have 2 clients with one million items....
    When I need to check items (because sometimes D* answer with error but the items is listed) I take lot of time

    Just for info the limit is 1.000 items and not 5.000 as stated on the doc
  • cartespostales_de

    67 berichten

    Duitsland

    Hi Delcampe,

    when will you finally publish the simple API request how many current items are listed?
    You have set up a limit in your shops. Therefore it is important to know when the limit is reached, respectively how many items I can upload before the limit is reached.
    Without this request, I do not know, how many items I can upload.
    And so, I need to upload next items until I get the message "Store limitation reached".
    Over the day, some items will close by sold, some items will close by end of renew date. So I can upload some more items. But without knowing how many items, I need to try upload the next item again and again and again, until the message "Store limitation reached" is gone due sold items.
    The other way is the suggestion from Servitel here above, permanently loop over all items with itemFixedPriceOpened.
    But both is really stupid. There is an API call limit, which is deducted by this senseless calls and you are wasting system ressources by sending these responses for a simple request.
    So just create finally an API call to request the current items online, or update the itemFixedPriceOpened call by parameter to get just the summary.
    The number of items is already in your system - I can see it manually by browsing the customer menu, it can not be a work of months to update this information in your API ressources.
    Regards
  • Servitel

    429 berichten

    Zwitserland

    Suggestion for Delcampe:
    because there is a call /seller I think is not so difficult to add a line with items listed
  • @fred
    Beheerder

    103 berichten

    België

    Hi Delcampe,

    when will you finally publish the simple API request how many current items are listed?
    You have set up a limit in your shops. Therefore it is important to know when the limit is reached, respectively how many items I can upload before the limit is reached.
    Without this request, I do not know, how many items I can upload.
    And so, I need to upload next items until I get the message "Store limitation reached".
    Over the day, some items will close by sold, some items will close by end of renew date. So I can upload some more items. But without knowing how many items, I need to try upload the next item again and again and again, until the message "Store limitation reached" is gone due sold items.
    The other way is the suggestion from Servitel here above, permanently loop over all items with itemFixedPriceOpened.
    But both is really stupid. There is an API call limit, which is deducted by this senseless calls and you are wasting system ressources by sending these responses for a simple request.
    So just create finally an API call to request the current items online, or update the itemFixedPriceOpened call by parameter to get just the summary.
    The number of items is already in your system - I can see it manually by browsing the customer menu, it can not be a work of months to update this information in your API ressources.
    Regards
    • Aangemaakt 22 mei 2025 op 03:54
    • #1904203
    Hi cartespostales_de,

    When you're doing a call to create or edit items, the rate limit informations are in the headers of the response :
    - X-RateLimit-Remaining
    - X-RateLimit-Reset
    - X-RateLimit-Limit
    - X-StoreLimit-Remaining
    - X-StoreLimit-Limit

    As suggested by Servitel, they'll also be added in the /seller endpoint

    Fred
  • cartespostales_de

    67 berichten

    Duitsland

    Hi cartespostales_de,

    When you're doing a call to create or edit items, the rate limit informations are in the headers of the response :
    - X-RateLimit-Remaining
    - X-RateLimit-Reset
    - X-RateLimit-Limit
    - X-StoreLimit-Remaining
    - X-StoreLimit-Limit

    As suggested by Servitel, they'll also be added in the /seller endpoint

    Fred
    • Aangemaakt 22 mei 2025 op 05:29
    • #1904236
    Works fine, best thanks!
  • Servitel

    429 berichten

    Zwitserland

    Hi cartespostales_de,

    When you're doing a call to create or edit items, the rate limit informations are in the headers of the response :
    - X-RateLimit-Remaining
    - X-RateLimit-Reset
    - X-RateLimit-Limit
    - X-StoreLimit-Remaining
    - X-StoreLimit-Limit

    As suggested by Servitel, they'll also be added in the /seller endpoint

    Fred
    • Aangemaakt 22 mei 2025 op 05:29
    • #1904236
    Hi @Fred
    GREAT JOB !!!!!

    thanks a lot for this very useful update !

Word lid van de verzamelaars-community!

Registreren Aanmelden