Rest api not returning sold items

  • postbeeldcom

    10 mensajes

    Países Bajos

    Since a week or so the rest api doesn't return all the sold items.
    We use the api call 'item/fixedprice/closed/sold'.
    50% of the sold items is missing in the items returned by the api. It seems randomly which items are returned and which items not.

    For example item with ID '433932878' is not returned by the API call.

    Please fix this.
  • Cuenta eliminada
    Administrador
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postbeeldcom

    10 mensajes

    Países Bajos

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
    • Creado 11 dic 2017 a 5:15
    • #794726
    This is difficult to find out.
    The number of items we GET from the API call is at the moment: 8615
    This is the number of all the fixedprice sold items since we started selling on Delcampe.

    I can't easily find out the number we SHOULD get, since the list on "my sale tracking" page on shows the number of sales (amount of orders) and not the amount of items.

    When I loop through all 8615 items returned by the api call, there is no item with the ID '433932878'. As its the case with a lot of other items as well.

    In the past the api call was working correctly, it always returned all the fixedprice sold items, but since 10 days or so, it doesn't.
  • @kevin
    Administrador

    102 mensajes

    Bélgica

    Hello postbeeldcom,

    Being attention that the item id : 433932878 is not closed ! Vinculo (https)

    That's why the api call "item/fixedprice/closed/sold" does not return the item mentionned.

    Do you have an other example with an item that is closed and that does not return in the call ?

    Thank you,
  • postbeeldcom

    10 mensajes

    Países Bajos

    Hello postbeeldcom,

    Being attention that the item id : 433932878 is not closed ! Vinculo (https)

    That's why the api call "item/fixedprice/closed/sold" does not return the item mentionned.

    Do you have an other example with an item that is closed and that does not return in the call ?

    Thank you,
    • Creado 13 dic 2017 a 3:37
    • #795713
    But item with id 433932878 has been sold. How come previously you would close the item when it was sold and now you leave it open?

    Because there is an quantity available left I guess? Previously Delcampe would close the item and open a new item (with new ID) with the remaining quantity. So Delcampe changed when items are closed, without making it known to there users?

    How can we now get all the sold items with the API? So not just the ones that are soldout, but also the ones that have a remaining qty available.
  • @kevin
    Administrador

    102 mensajes

    Bélgica

    Hi postbeeldcom,

    We'll add a new service for this kind of situation.
    We'll keep you informed once it is available.

    Have a nice day,
  • Cuenta eliminada
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postbeeldcom

    10 mensajes

    Países Bajos

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
    The api call item/fixedprice/closed/sold isn't working and it hasn't been working for almost a week now. Can you please get it back to work again, so we can test the change?
  • Cuenta eliminada
    Cuenta eliminada

    0 mensajes

    Bélgica

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
  • postbeeldcom

    10 mensajes

    Países Bajos

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
    Oke this is strange, the API works now without changing anything to our code, but it doesn't matter for now.

    All the sold items are now returned, so that's a good thing. But now we can not know when the item has been sold and if we have already processed the sale. For this problem we can use the API to the close the item and open a new item a day later. So this is fine for now, but adding a "last sale date" to the sold item would a lot better.

    About the QTY, yes we need the sold QTY, could you add that?
  • postbeeldcom

    10 mensajes

    Países Bajos

    Los datos ya no están disponibles porque la cuenta de este usuario ha sido eliminada (Reglamento RGPD)
    We have changed our code of processing orders. At the moment we know what the qty sold is (the qty we had in stock minus the qty still available returned in the sold item)

    We want to close every sold item automatically with the api, but the api function DELETE gives the error "This item is already sold!". The item has been sold but is still open in case there is qty available left. Could you change the api, so we can close an item that has been sold?
  • @kevin
    Administrador

    102 mensajes

    Bélgica

    Hi postbeeldcom,

    Indeed, this call is corrected.
    The correction will be available in a few days.

    Have a nice day,

Únese a la comunidad de coleccionistas

Inscripción Identificarse