Última actualización 24/05/2023
Costos por vender
Descripción de atributos
Atributo | Descripción |
---|---|
listing_type_id | ID del tipo de publicación. |
listing_type_name | Nombre del tipo de publicación. |
listing_exposure | Nivel de exposición de la publicación. |
requires_picture | Muestra si el tipo de publicación requiere, por lo menos, una imagen. |
currency_id | ID de moneda de los costos. |
listing_fee_amount | Monto del costo de publicación. |
sale_fee_amount | Monto de costo de venta. |
Por precio y listing_type
Recupera costos de publicaciones asociadas al tipo de publicación Premiumen la moneda local cuando el precio del artículo es 5000.
Ejemplo:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/sites/$SITE_ID/listing_prices?price=5000&listing_type_id=gold_pro
Respuesta:
[
{
"listing_type_id": "gold_pro",
"listing_type_name": "Premium",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 1400,
"free_relist": false,
"stop_time": "2041-09-05T00:00:00.000-04:00"
}
]
Filtrar por precio y categoría
Recupera diferentes tipos de publicaciones y cada costo asociado en la moneda local cuando el precio del artículo es 5000 y la categoría es MLA1055.
Ejemplo:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/sites/$SITE_ID/listing_prices?price=5000&category_id=MLA1055
Respuesta:
[
{
"listing_type_id": "gold_pro",
"listing_type_name": "Premium",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 1300,
"free_relist": false,
"stop_time": "2041-09-08T00:00:00.000-04:00"
},
{
"listing_type_id": "gold_premium",
"listing_type_name": "Oro Premium",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-12T00:00:00.000-04:00"
},
{
"listing_type_id": "gold_special",
"listing_type_name": "Clásica",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 550,
"free_relist": false,
"stop_time": "2041-09-08T00:00:00.000-04:00"
},
{
"listing_type_id": "gold",
"listing_type_name": "Oro",
"listing_exposure": "high",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-12T00:00:00.000-04:00"
},
{
"listing_type_id": "silver",
"listing_type_name": "Plata",
"listing_exposure": "mid",
"requires_picture": false,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-12T00:00:00.000-04:00"
},
{
"listing_type_id": "bronze",
"listing_type_name": "Bronce",
"listing_exposure": "low",
"requires_picture": false,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-12T00:00:00.000-04:00"
},
{
"listing_type_id": "free",
"listing_type_name": "Gratuita",
"listing_exposure": "lowest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-12T00:00:00.000-04:00"
}
]
Por precio y moneda
Recupera diferentes tipos de publicaciones y cada costo asociado en la moneda local cuando el precio del artículo es 5000 U$S.
Ejemplo:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/sites/$SITE_ID/listing_prices?price=5000¤cy_id=USD
Respuesta:
[
{
"listing_type_id": "gold_pro",
"listing_type_name": "Premium",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 137270,
"free_relist": false,
"stop_time": "2041-09-05T00:00:00.000-04:00"
},
{
"listing_type_id": "gold_premium",
"listing_type_name": "Oro Premium",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-09T00:00:00.000-04:00"
},
{
"listing_type_id": "gold_special",
"listing_type_name": "Clásica",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 63732.5,
"free_relist": false,
"stop_time": "2041-09-05T00:00:00.000-04:00"
},
{
"listing_type_id": "gold",
"listing_type_name": "Oro",
"listing_exposure": "high",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-09T00:00:00.000-04:00"
},
{
"listing_type_id": "silver",
"listing_type_name": "Plata",
"listing_exposure": "mid",
"requires_picture": false,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-09T00:00:00.000-04:00"
},
{
"listing_type_id": "bronze",
"listing_type_name": "Bronce",
"listing_exposure": "low",
"requires_picture": false,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-09T00:00:00.000-04:00"
},
{
"listing_type_id": "free",
"listing_type_name": "Gratuita",
"listing_exposure": "lowest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 0,
"free_relist": false,
"stop_time": "2021-11-09T00:00:00.000-04:00"
}
]
Filtrar por tipo de publicación y categoría
Recupera el costo de publicación asociada al tipo de publicación Gold cuando el ID de categoría es MLA1055.
Ejemplo:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/sites/$SITE_ID/listing_prices/gold_pro?price=500&category_id=MLA1055
Respuesta:
{
"listing_type_id": "gold_pro",
"listing_type_name": "Premium",
"listing_exposure": "highest",
"requires_picture": true,
"currency_id": "ARS",
"listing_fee_amount": 0,
"sale_fee_amount": 170,
"free_relist": false,
"stop_time": "2041-09-08T00:00:00.000-04:00"
}