Problem retrieving Delcampe items by personal referenc

  • phildom_domfil

    35 messages

    Espagne

    I've created 4 items in different categories with the same personal reference (1234). I can see them in my sales area ( Lien (https) .

    But when I request for this items by personal reference via your rest api ( Lien (http) it only returns one item, not 4 as I espected.

    How can I retrieve all Delcampe items with same personal reference?

    Thanks in advance
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • phildom_domfil

    35 messages

    Espagne

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
    • Posté le 28 mai 2018 à 03:11
    • #865884
    Dear Benjamin,

    When I access through your web page I can see the created items, however, when I want to retrieve them through 'item/reference' the API only returns one. It does not matter if the items are created via 'item/bulk' or posted individually.

    I attached a couple of images as an example that shows that four elements with personal reference 209256 are created and accessible (first image), but the corresponding call to 'item/reference' returns only one (second image).
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • phildom_domfil

    35 messages

    Espagne

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
    • Posté le 28 mai 2018 à 10:37
    • #866298
    Dear Benjamin

    We implemented this call a couple of weeks ago and it worked perfectly, returning all the items with the same personal reference. It stopped working as expected a few days ago.
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • phildom_domfil

    35 messages

    Espagne

    Dear Benjamin

    We implemented this call a couple of weeks ago and it worked perfectly, returning all the items with the same personal reference. It stopped working as expected a few days ago.
    • Posté le 28 mai 2018 à 12:34
    • #866352
    Good morning Benjamin,

    Let me make a few considerations about your comments:

    1) First of all, I would like to tell you that we are now migrating to the REST version of your API, but the SOAP version has been working for several years using this call to retrieve the items with the same personal reference without any problem. At least the last 5 years!

    2) You say "each time you insert a new item with a reference, all items already in the system with that same personal reference are closed", however, I can see that items created for different categories but with the same personal reference are open and accessible ( Lien (http) and this contradicts what you explain to me and all our experience using your system during last years. In addition, your documentation talks about returning the corresponding items (in plural) and also the ResponseItem shows a data structure with a collection of items.

    3) Please keep in mind that we work with thousands of products. In order to be as efficient as possible we would like to continue working as we have been doing these last years, because we don't need to save the delcampe items ids in our database and we resolve all we need with only one call. The solution of recovering them by making multiple queries (limited by a thousand elements each time) and then having to filter them is the most inefficient way to do this work.

    Best regards
  • phildom_domfil

    35 messages

    Espagne

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
    • Posté le 29 mai 2018 à 03:14
    • #866553
    Good morning Benjamin,

    Let me make a few considerations about your comments:

    1) First of all, I would like to tell you that we are now migrating to the REST version of your API, but the SOAP version has been working for several years using this call to retrieve the items with the same personal reference without any problem. At least the last 5 years!

    2) You say "each time you insert a new item with a reference, all items already in the system with that same personal reference are closed", however, I can see that items created for different categories but with the same personal reference are open and accessible ( Lien (http) and this contradicts what you explain to me and all our experience using your system during last years. In addition, your documentation talks about returning the corresponding items (in plural) and also the ResponseItem shows a data structure with a collection of items.

    3) Please keep in mind that we work with thousands of products. In order to be as efficient as possible we would like to continue working as we have been doing these last years, because we don't need to save the delcampe items ids in our database and we resolve all we need with only one call. The solution of recovering them by making multiple queries (limited by a thousand elements each time) and then having to filter them is the most inefficient way to do this work.

    Best regards
  • phildom_domfil

    35 messages

    Espagne

    Good morning Benjamin,

    Let me make a few considerations about your comments:

    1) First of all, I would like to tell you that we are now migrating to the REST version of your API, but the SOAP version has been working for several years using this call to retrieve the items with the same personal reference without any problem. At least the last 5 years!

    2) You say "each time you insert a new item with a reference, all items already in the system with that same personal reference are closed", however, I can see that items created for different categories but with the same personal reference are open and accessible ( Lien (http) and this contradicts what you explain to me and all our experience using your system during last years. In addition, your documentation talks about returning the corresponding items (in plural) and also the ResponseItem shows a data structure with a collection of items.

    3) Please keep in mind that we work with thousands of products. In order to be as efficient as possible we would like to continue working as we have been doing these last years, because we don't need to save the delcampe items ids in our database and we resolve all we need with only one call. The solution of recovering them by making multiple queries (limited by a thousand elements each time) and then having to filter them is the most inefficient way to do this work.

    Best regards
    • Posté le 29 mai 2018 à 05:09
    • #866637
    Dear Benjamin,

    Let me to extend my previous response a little more to clarify how our system works.

    To multiply our sales options through your system, when we have enough of the same product what we do is to see how many different categories can be classified according to the stock available. For example, if we take the product with personal reference 209256 that we have been talking about, our system calculates that it can be classified into 8 different Delcampe categories, and since we currently have 5 units in stock, what we do is upload it 5 times with the same personal reference, description, price, etc. but with a different category.

    Now imagine that our product is sold by another different platform, such as eBay. What our system should do is update the stock available in Delcampe. To do it the most efficient is to retrieve all the items created through the personal reference ( GET item/reference/209256 ) and then delete one of them using the Delcampe id of the item returned ( DELETE item/580155408 ).

    Kind regards
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter