Total ongoing items

  • cartespostales_de

    57 messaggi

    Germania

    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

    402 messaggi

    Svizzera

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

    57 messaggi

    Germania

    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

    402 messaggi

    Svizzera

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

    57 messaggi

    Germania

    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

    402 messaggi

    Svizzera

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

    98 messaggi

    Belgio

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

    57 messaggi

    Germania

    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
    Works fine, best thanks!
  • Servitel

    402 messaggi

    Svizzera

    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
    Hi @Fred
    GREAT JOB !!!!!

    thanks a lot for this very useful update !

Unisciti alla community di collezionisti!

Registrati Login