Upload
fsolari
View
217
Download
0
Tags:
Embed Size (px)
DESCRIPTION
3º Developers Conference MercadoLibre Brasil
Citation preview
Bruno Elia
CATEGORIA FASHION
SWAGRafael Prenzier
Developer Conference
OverviewO que é uma variação?Porque devo integrar?
CategoriasA categoria suporta variação? (Tag - attribute_types)
AtributosQuais são os atributos obrigatórios?Novos atributos
Publicando um itemSeller custom field
Alterando um itemPrice, quantityComo adicionar uma variação? e como excluir uma?
SEOTitle (palavras incomuns etc.)
Developer Conference
Mas o que é variação?
O que é uma variação?
Developer ConferenceO que é uma variação?
Developer ConferenceO que é uma variação?
Developer ConferenceO que é uma variação?
Developer ConferenceO que é uma variação?
Developer ConferenceO que é uma variação?
Developer ConferenceO que é uma variação?
Developer Conference
Mas é só Cor e Tamanho?
O que é uma variação?
Developer Conference
= FASHION
- COR - TAMANHO
Variação
O que é uma variação?
Developer Conference
Relevância2 2 2 2
Porque devo integrar?
Developer Conference
Relevância 8
Porque devo integrar?
Developer Conference
Legal, posso anúnciar em qualquer categoria então?
A categoria suporta variação?
Developer Conference
● Calçados Roupas e Bolsas - MLB1430
● Bêbes - MLB1384
● Calçados Roupas e Bolsas> Roupas íntimas - MLB108786
A categoria suporta variação?
Developer Conference
https://api.mercadolibre.com/categories/MLB103658
"attribute_types": "variations",
A categoria suporta variação?
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
- { "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": {...}, "values": [...], }, - { "id": "33000", "name": "Cor principal", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
- { "id": "43000", "name": "Cor Secundária", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
Atributos
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
- { "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": {...}, "values": [...], }, - { "id": "33000", "name": "Cor principal", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
- { "id": "43000", "name": "Cor Secundária", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
Atributos
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
- { "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": {...}, "values": [...], }, - { "id": "33000", "name": "Cor principal", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
- { "id": "43000", "name": "Cor Secundária", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
Atributos
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
- { "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": {...}, "values": [...], }, - { "id": "33000", "name": "Cor principal", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
- { "id": "43000", "name": "Cor Secundária", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
Atributos
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
- { "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": {...}, "values": [...], }, - { "id": "33000", "name": "Cor principal", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
- { "id": "43000", "name": "Cor Secundária", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
Atributos
"values": - [ - { "id": "71993", "name": "PP", }, - { "id": "71994", "name": "P", }, - { "id": "71995", "name": "M", }, - { "id": "71996", "name": "G", }, - { "id": "71997", "name": "XG", }, - { "id": "71998", "name": "XXG", },
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
- { "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": {...}, "values": [...], }, - { "id": "33000", "name": "Cor principal", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
- { "id": "43000", "name": "Cor Secundária", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
Atributos
"values": - [ - { "id": "71993", "name": "PP", }, - { "id": "71994", "name": "P", }, - { "id": "71995", "name": "M", }, - { "id": "71996", "name": "G", }, - { "id": "71997", "name": "XG", }, - { "id": "71998", "name": "XXG", },
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
- { "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": {...}, "values": [...], }, - { "id": "33000", "name": "Cor principal", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
- { "id": "43000", "name": "Cor Secundária", "type": "color", "value_type": "list", "tags": {...}, "values": [...], },
Atributos
"values": - [ - { "id": "71993", "name": "PP", }, - { "id": "71994", "name": "P", }, - { "id": "71995", "name": "M", }, - { "id": "71996", "name": "G", }, - { "id": "71997", "name": "XG", }, - { "id": "71998", "name": "XXG", },
Developer Conference
https://api.mercadolibre.com/categories/MLB103658/attributes
{ "id": "63000", "name": "Tamanho", "type": "size", "value_type": "list", "tags": - { "allow_variations": true, "required": true, },
},
Quais são os atributos obrigatórios?
Developer Conference
{ "id": "1001", "name": "Género", "value_type": "list", "tags": { }, "values": - [ - { "id": "10001", "name": "Masculinos", }, - { "id": "10002", "name": "Femininos", }, - { "id": "10003", "name": "Infantis", }, ], "attribute_group_id": "DFLT", "attribute_group_name": "Outros", }
Novos atributos - Gender
Developer ConferenceHome de Fashion
Developer ConferenceHome de Fashion
Developer ConferenceHome de Fashion
Developer ConferenceHome de Fashion
Developer ConferenceHome de Fashion
Developer ConferenceHome de Fashion
Developer Conference
{ "id": "Season", "name": "Season", "value_type": "list", "tags": { "required": true, }, "values": [ { "id": "Season-Spring-Summer", "name": "Spring-Summer", }, { "id": "Season-Autumn-Winter", "name": "Autumn-Winter", }, { "id": "Season-All-Season", "name": "All-Season", }, ], "attribute_group_id": "FIND", "attribute_group_name": "FICHA TECNICA", },
Novos atributos - Season
Developer ConferenceSeason
Developer Conference
{ "title": "Bota Feminina Coturno Cano Baixo Vivaice - Clovis Calçados", ... "variations": [ { "attribute_combinations": - [ { "id": "33000", "value_id": "52005" }, { "id": "23000", "value_id": "22029", }, ], "price": 99.99, "available_quantity": 1, "picture_ids": [...],
"seller_custom_field": "BT0102", }, ... ], "catalog_product_id": null,}
POSThttps://api.mercadolibre.com/items?access_token=$ACCESS_TOKEN
Seller custom field - Publicando
Developer Conference
{ "title": "Bota Feminina Coturno Cano Baixo Vivaice - Clovis Calçados", ... "variations": [ { "attribute_combinations": - [ { "id": "33000", "value_id": "52005" }, { "id": "23000", "value_id": "22029", }, ], "price": 99.99, "available_quantity": 1, "picture_ids": [...],
"seller_custom_field": "BT0102", }, ... ], "catalog_product_id": null,}
POSThttps://api.mercadolibre.com/items?access_token=$ACCESS_TOKEN
Seller custom field - Publicando
Developer Conference
{ "title": "Bota Feminina Coturno Cano Baixo Vivaice - Clovis Calçados", ... "variations": [ { "id": 6539266926, "attribute_combinations": [ { "id": "33000", "name": "Cor principal", "value_id": "52005", "value_name": "Marrom", }, { "id": "23000", "name": "Tamanho", "value_id": "22033", "value_name": "36", }, ], "price": 99.99, "available_quantity": 1, "sold_quantity": 0, "seller_custom_field": "BT0102", }, ... }
Seller custom field - Retorno
Developer Conference
{ "title": "Bota Feminina Coturno Cano Baixo Vivaice - Clovis Calçados", ... "variations": [ {
"id": 6539266926, "attribute_combinations": [ { "id": "33000", "name": "Cor principal", "value_id": "52005", "value_name": "Marrom", }, { "id": "23000", "name": "Tamanho", "value_id": "22033", "value_name": "36", }, ], "price": 99.99, "available_quantity": 1, "sold_quantity": 0, "seller_custom_field": "BT0102", }, ... }
Seller custom field - Retorno
Developer Conference
{ "variations": [ { "id": "3XXX12312", "price": 99.99, "available_quantity": 10, }, { "id": "3XXX123112312", "price": 99.99, "available_quantity": 10, }, ],}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Alterando um item
Developer Conference
{ "variations": [ { "id": "3XXX12312", "price": 99.99, "available_quantity": 10, }, { "id": "3XXX123112312", "price": 99.99, "available_quantity": 10, }, ],}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Alterando um item
Developer Conference
{ "variations": [ {
"id": "3XXX12312", "price": 99.99, "available_quantity": 10, }, { "id": "3XXX123112312", "price": 99.99, "available_quantity": 10, }, ],}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Alterando um item
Developer Conference
{ "variations": [ { "id": "3XXX12312",
"price": 99.99, "available_quantity": 10, }, { "id": "3XXX123112312", "price": 99.99, "available_quantity": 10, }, ],}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Alterando um item
Developer Conference
{ "variations": [ { "attribute_combinations": [ { "id": "33000", "value_id": "51993" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51994" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51996" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, } ]}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Como adicionar ou excluir uma variação?
Developer Conference
{ "variations": [ { "attribute_combinations": [ { "id": "33000", "value_id": "51993" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51994" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51996" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, } ]}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Como adicionar ou excluir uma variação?
Developer Conference
{ "variations": [ { "attribute_combinations": [ { "id": "33000", "value_id": "51993" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51994" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51996" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, } ]}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Como adicionar ou excluir uma variação?
Developer Conference
{ "variations": [ { "attribute_combinations": [ { "id": "33000", "value_id": "51993" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51994" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, }, { "attribute_combinations": [ { "id": "33000", "value_id": "51996" }, { "id": "63000", "value_id": "71993" }, ], …, "seller_custom_field": null, } ]}
PUThttps://api.mercadolibre.com/items/$ITEM_ID?access_token=$ACCESS_TOKEN
Como adicionar ou excluir uma variação?
Developer ConferenceSEO - TITLE
Developer ConferenceSEO - TITLE
Developer ConferenceSEO - TITLE
Developer ConferenceSEO - TITLE
Developer Conference