Search the Community

Showing results for tags 'put'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Português
    • Autenticação e Autorização
    • Gerenciamento de perguntas e respostas
    • Gerenciamento de produtos
    • Gerenciamento de vendas
    • Gerenciamento de envios
    • Gerenciamento de usuário
    • Controle de notificações
    • Gerenciamento de mensagens pós-venda
  • Español
    • Autenticación y Autorización
    • Gestión de preguntas y respuestas
    • Gestión de productos
    • Gestión de ventas
    • Gestión de envíos
    • Gestión de usuario
    • Control de notificaciones
    • Gestión de mensajes post-venta
  • English
    • Authentication and Authorization
    • Question & Answer Management
    • Product Management
    • Sales Management
    • Shipment Management
    • User Management
    • Notification control
    • Post Sale Message Management
  • Off Topic
    • Events
    • Off Topic
    • Documentation improvements
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 9 results

  1. Hola a todos , como estan? Soy novato en programacion estoy recien estudiando php , pero hice una aplicacion para actualizar mis productos con bash =0 El problema es con una categoria en particular. category_id":"MLA370459 Ya que los otros 400 productos que importo no tienen ningun problema. El error es el siguiente {"message":"Validation error","error":"validation_error","status":400,"cause":[{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[3].attributes","item.variations[3].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-TALLE, CUST-ATTR-COLOR]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[5].attributes","item.variations[5].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[2].attributes","item.variations[2].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-TALLE, CUST-ATTR-COLOR]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[7].attributes","item.variations[7].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[6].attributes","item.variations[6].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-TALLE, CUST-ATTR-COLOR]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[4].attributes","item.variations[4].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":162,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations.attribute_combinations"],"message":"Only one custom attribute is allowed on item variations. Found: [CUST-ATTR-COLOR, CUST-ATTR-TALLE]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[1].attributes","item.variations[1].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":159,"type":"error","code":"item.variations.attribute_combinations.custom.limit_exceeded","references":["item.variations[0].attributes","item.variations[0].attributes_combinations"],"message":"Only one custom attribute is allowed. Found: [[CUST-ATTR-COLOR, CUST-ATTR-TALLE]]"},{"department":"items","cause_id":315,"type":"warning","code":"item.price.dropped","references":["item.price"],"message":"Item price was dropped by the highest-price variation."}]} Este es el Json que envio { "title":"Pretal Perro Animal Print 1,5 cm mas correa", "warranty": "Productos originales con garantías oficiales.Todos Nuestros Producto tienen garantia.", "category_id":"MLA370459", "condition":"new", "pictures":[ {"source":"https://quierotodo.com.ar/img/p/1/2/9/129.jpg"}, {"source":"https://quierotodo.com.ar/img/p/1/2/8/128.jpg"}, {"source":"https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg"}, ], "variations":[ { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Gris" }, { "name":"Talle", "value_name":"Talle 0" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/8/128.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Rosa" }, { "name":"Talle", "value_name":"Talle 0" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/9/129.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Gris" }, { "name":"Talle", "value_name":"Talle 1" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/8/128.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Rosa" }, { "name":"Talle", "value_name":"Talle 1" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/9/129.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Gris" }, { "name":"Talle", "value_name":"Talle 2" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/8/128.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Rosa" }, { "name":"Talle", "value_name":"Talle 2" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/9/129.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Gris" }, { "name":"Talle", "value_name":"Talle 3" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/8/128.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, { "price":"255", "attribute_combinations":[ { "name":"COLOR", "value_name":"Rosa" }, { "name":"Talle", "value_name":"Talle 3" }, ], "available_quantity":"110", "picture_ids":[ "https://quierotodo.com.ar/img/p/1/2/9/129.jpg", "https://quierotodo.com.ar/img/p/1/1/8/2/1182.jpg", ], }, ]} Por lo que entiendo esta categoria no permite mas de un Custom Atributo pero si se fijan en https://api.mercadolibre.com/items/MLA753843408 Tiene Color y Talle configurados pero no me permite actualizar. Muchas Gracias @ P.d Ay alguna guia o algo para aprender a programar Mercadolibre con Php ? Ya que no soy programador ni nada parecido solamente curioso Jonathan
  2. Hola que tal, estoy mandando este array a ML para actualizar un producto y me regresa el siguien error invalid property type: [attributes] expected List but was JSONObject value, ya intente convertirla a JSON y me regresa invalid property type: [attributes] expected List but was string value, ¿Alguien sabra a que se debe? Array ( [attributes] => Array ( [0] => Array ( [id] => BRAND [name] => Marca [value_id] => [value_name] => Cardone ) [1] => Array ( [id] => ITEM_CONDITION [name] => Condici├│n del ├¡tem [value_id] => 2230582 [value_name] => Reacondicionado ) [2] => Array ( [id] => MODEL [name] => Modelo [value_id] => [value_name] => CHEVROLET BLAZER 1995-1996 ) [3] => Array ( [id] => NUMBER_TEETH_WHEEL_SIDE [name] => Cantidad de estr├¡as lado rueda [value_id] => [value_name] => 27 ) [4] => Array ( [id] => SELLER_SKU [name] => SKU [value_id] => [value_name] => 60-1000 ) [5] => Array ( [id] => SIDE [name] => Lado [value_id] => [value_name] => Delantera Derecha/Izquierda ) [6] => Array ( [id] => WIDTH [name] => Ancho [value_id] => [value_name] => 24 mm ) [variations] => Array ( [0] => Array ( [id] => 21262863757 [price] => 1694 [attribute_combinations] => Array ( [0] => stdClass Object ( [id] => [name] => LADO [value_id] => [value_name] => Izquierdo/Piloto [value_struct] => ) ) [available_quantity] => 1 [sold_quantity] => 0 [sale_terms] => Array ( ) [picture_ids] => Array ( [0] => 629055-MLM27014277634_032018 [1] => 904259-MLM27014277633_032018 [2] => 974577-MLM27014277631_032018 [3] => 714308-MLM27014307229_032018 [4] => 664391-MLM27014307228_032018 [5] => 768834-MLM26940617629_032018 [6] => 636381-MLM27014297469_032018 [7] => 795590-MLM26940617632_032018 [8] => 897310-MLM26940617631_032018 ) [seller_custom_field] => [catalog_product_id] => [0] => Array ( [id] => OEM [value_name] => 60-1000 ) [1] => Array ( [id] => MPN [value_name] => 60-1000 ) [2] => Array ( [id] => EAN [value_name] => 60-1000 ) [3] => Array ( [id] => GTIN [value_name] => 60-1000 ) [4] => Array ( [id] => PACKAGE_LENGTH [value_name] => 15.00 cm ) [5] => Array ( [id] => PACKAGE_WEIGHT [value_name] => 6.00 kg ) [6] => Array ( [id] => PACKAGE_WIDTH [value_name] => 20.00 cm ) [7] => Array ( [id] => PACKAGE_HEIGHT [value_name] => 100.00 cm ) [8] => Array ( [id] => JAN [value_name] => 60-1000 ) ) [1] => Array ( [id] => 21262863762 [price] => 1694 [attribute_combinations] => Array ( [0] => stdClass Object ( [id] => [name] => LADO [value_id] => [value_name] => Derecho/Pasajero [value_struct] => ) ) [available_quantity] => 1 [sold_quantity] => 0 [sale_terms] => Array ( ) [picture_ids] => Array ( [0] => 974577-MLM27014277631_032018 [1] => 904259-MLM27014277633_032018 [2] => 629055-MLM27014277634_032018 [3] => 714308-MLM27014307229_032018 [4] => 664391-MLM27014307228_032018 [5] => 768834-MLM26940617629_032018 [6] => 636381-MLM27014297469_032018 [7] => 795590-MLM26940617632_032018 [8] => 897310-MLM26940617631_032018 ) [seller_custom_field] => [catalog_product_id] => [0] => Array ( [id] => OEM [value_name] => 60-1000 ) [1] => Array ( [id] => MPN [value_name] => 60-1000 ) [2] => Array ( [id] => EAN [value_name] => 60-1000 ) [3] => Array ( [id] => GTIN [value_name] => 60-1000 ) [4] => Array ( [id] => PACKAGE_LENGTH [value_name] => 15.00 cm ) [5] => Array ( [id] => PACKAGE_WEIGHT [value_name] => 6.00 kg ) [6] => Array ( [id] => PACKAGE_WIDTH [value_name] => 20.00 cm ) [7] => Array ( [id] => PACKAGE_HEIGHT [value_name] => 100.00 cm ) [8] => Array ( [id] => JAN [value_name] => 60-1000 ) ) ) ) )
  3. Boa tarde Estou com toda a rotina funcionando para incluir anuncio de produto com fotos. O problema esta para atualizar as fotos. Se por exemplo, subir uma foto na inclusão ela sobe normalmente, porém se vou alterar em meu site, e atualizar ao ML a foto não é substituída (atualizada). Mas se colocar mais fotos, estas novas sobem normalmente. Grato !
  4. Olá! Estou tentando atualizar o estoque de um produto via SDK .NET e não estou conseguindo. Pelo Postman consigo fazer tudo perfeitamente, mas quando executo os mesmos comandos pelo SDK não funciona. Esse é meu código: protected void AlterarEstoque(Meli meli, string ID, int quantidade) { // Cria parâmetro com o access token RestSharp.Parameter token = new RestSharp.Parameter(); token.Name = "access_token"; token.Value = meli.AccessToken; // Cria lista de parâmetros que devem ser passados para o POST List<RestSharp.Parameter> parameter = new List<RestSharp.Parameter>(); parameter.Add(token); // Cria o objeto JSON que deve ser passado como body JObject json = new JObject(); json["available_quantity"] = quantidade; // Faz request para obter usuário de teste IRestResponse response = meli.Put($"/items/{ID}", parameter, json); // Transforma as informações recebidas em JSON JObject j = JObject.Parse(response.Content); textBox.Text = j.ToString(Formatting.Indented); } Essa é a resposta: { "message": "body.invalid", "error": "The format is not correct", "status": 400, "cause": [] } Pelo SDK, apenas os comandos via GET funcionam, PUT e POST não e DELETE não usei.
  5. Hola, estoy usando Meli para publicar productos en Mercadolibre, pero acabo de darme cuenta que la descripcion esta quedando en blanco al publicar o actualizar los productos. Estoy enviando dos valores "text" y "plain_text" y solo identifica plain_text. Quisiera saber si es que ya no esta permitido publicar en formato html. gracias. Este es mi codigo: $body = array( 'text' => '<strong>Hola</strong>', 'plain_text' => 'Hola', ); $result = $meli->put('/items/IDPRODUCTO/description', $body, $params); En la respuesta obtengo esto: Array ( [body] => stdClass Object ( [text] => [plain_text] => Hola [last_updated] => 2018-01-18T19:49:44.072Z [date_created] => 2018-01-18T15:53:31.000Z ) [httpCode] => 200 )
  6. Gostaria de saber se existe algum campo na API onde posso adicionar valores a um pedido, extra... Ou seja, existe um campo onde eu possa adicionar qualquer valor a um pedido, e posteriormente eu possa puxar este dado. Semelhante ao atributo DATA html.
  7. Hello: I'm trying to update a local_pick_up field and initially works, but now is not working any more. Do you know If only I can update once for day? or What I'm doing wrong? It is important to say I'm getting a 200 sucess code Thanks Hola: He intentado actualizar el campo de local_pick_up e iniciallmente cambio una sola vez, despues he seguido haciendo otras pruebas y dejo de funcionar. Saben si solo se puede actualizar una vez al dia o algo similar?. O en que estoy errando? gracias this is my code: $body = array('price' =>'202','available_quantity'=>'2','shipping'=>array('mode'=>'me2','local_pick_up'=>'false','free_shipping'=>'0')); $response = $meli->put('/items/MLM549399XXX', $body, $params); print_r($response[body]->price); echo "<br>"; print_r($response[body]->available_quantity); echo "<br>"; echo "<pre>"; print_r($response[body]->shipping); echo "</pre>"; this is what I get: 2022 stdClass Object ( [mode] => me2 [local_pick_up] => 1 [free_shipping] => 1 [free_methods] => Array ( [0] => stdClass Object ( [id] => 501245 [rule] => stdClass Object ( [free_mode] => country [value] => ) ) ) [dimensions] => [tags] => Array ( ) [logistic_type] => drop_off [store_pick_up] => )
  8. Hola estoy tratando de calificar la venta automáticamente el json que mando es el siguiente { fulfilled: true, version:"3.0", rating: "positive", message: "Venta concretada" } los headers son { Accept: 'application/json', User-Agent:'MELI-PYTHON-SDK-1.0.1', Content-type:'application/json'} hacia https://api.mercadolibre.com/orders/1513522307/feedback?&access_token=XXXXX (con el access token correcto) la orden si existe como se ve en la imagen, sin embargo me sale error 404 not found como puedo solucionarlo gracias saludos
  9. Hola Todos, Estoy teniendo problemas al actualizar porductos que se encuentran fuera de stock y en pausa. Si mando lo siguiente: {"price":689,"available_quantity":"500","status":"active"} en un PUT para actualizar el producto y ponerlo en active. Noten que el producto esta en Pausa y Sin Stock. Y este es el error que me avienta: {"message":"Validation error","error":"validation_error","status":400,"cause":[{"code":"item.status.invalid","message":"Is not possible to activate an item without stock."}]} Pero ahi pongo que quiero activarlo. Y si hago primero el update available_quantity antes del status active, no actualiza el quantity del producto. Alguna idea de que podra estar pasando aquí? Gracias de antemano por la ayuda. Saludos!