More Related Content Similar to Novidades das APIs wesley nascimento (20) Novidades das APIs wesley nascimento10. Baby Size
{
"official_store_id" : 1,
"listing_type_id" : "gold_special"
}
19. Developer Conference
Validate
curl -X POST -H "Content-Type: application/json" -d '
{
"seller_id":,
"id",
"price":"p",
"seller_contact":null,
"pictures": [[1,2,3]]
}'
https://api.mercadolibre.com/items/MLBXXXXX?access_token=X
20. Developer Conference
Validate
[invalid property type: [price] expected Number but was
String value: p,
invalid property type: [seller_contact] expected Map but was
Null value: null,
invalid property type: [pictures[0]] expected Map but was
JSONArray value: [1, 2, 3],
invalid property type: [seller_id] expected Number but was
String value: id]",
29. Developer Conference
Identificadores de produtos
curl -X PUT -H "Content-Type: application/json" -d
{
"brand": "Apple",
"mpn": "ME499BZA",
"gtins": [
{
"type": "EAN",
"code": "00885909793839",
},
],
}
https://api.mercadolibre.com/items/{item_id}/product_identifiers?access_token=X
30. Developer Conference
Identificadores de produtos
curl -X PUT -H "Content-Type: application/json" -d
{
"brand": "Apple",
"mpn": "ME499BZA",
"gtins": [
{
"type": "EAN",
"code": "00885909793839",
},
],
}
https://api.mercadolibre.com/items/{item_id}/product_identifiers?access_token=X
31. Developer Conference
Identificadores de produtos
curl -X PUT -H "Content-Type: application/json" -d
{
"brand": "Apple",
"mpn": "ME499BZA",
"gtins": [
{
"type": "EAN",
"code": "00885909793839",
},
],
}
https://api.mercadolibre.com/items/{item_id}/product_identifiers?access_token=X
32. Developer Conference
Identificadores de produtos
curl -X PUT -H "Content-Type: application/json" -d
{
"brand": "Apple",
"mpn": "ME499BZA",
"gtins": [
{
"type": "EAN",
"code": "00885909793839",
},
],
}
https://api.mercadolibre.com/items/{item_id}/product_identifiers?access_token=X