mercadolibre API


I have a problem getting the new id of a item republication directly from MercadoLibre .

If I republish an item I get the new id and there is no problem, but if the republication makes it MercadoLibre directly, I do not know how to get that new id of the republished item. I was thinking search for it by name , and then filter it by seller, but ... Is there any other way directly from the API of MercadoLibre ?

asked by Jose Ricardo Citerio Alcala 08.11.2016 в 03:20

1 answer


I share an answer sent to me by the MercadoLibre team:

The item that is finalized in MercadoLibre is called the father item, and the new republication would be the son. There is no way to identify a child from a father. If you have a way to do it the other way around, that is, in the child item you have the field parent_item_id , which would be the ID of the parent that was finalized.

You have to bear in mind that if the seller_custom_field field was completed to add a SKU to the item, the same field is maintained for the child item. They can use it as a guide. A resource that can be useful:{item_id}&attributes=parent_item_id,id
answered by 09.11.2016 / 03:08