mercadolibre: how to get order of product

chen ken - Jul 10 - - Dev Community

seem order of product in mercadolibre could be calculated based on page information
I found it recently.

when I get "initial_quantity" from item api like https://api.mercadolibre.com/items/MLM1335334262,

and get "available_quantity" from source code of page https://articulo.mercadolibre.com.mx/MLM-1335334262-camara-de-seguridad-2nlf-wifi-exterior-con-led-alarma-_JM

for this case:

initial_quantity: 112986

available_quantity: 14253

order from product created is: initial_quantity - available_quantity = 98733

it maybe helpful if you are seller.

.