Elvis

Members
  • Content Count

    19
  • Joined

  • Last visited

Posts posted by Elvis


  1. Estou com problemas para enviar nota fiscal o problema começou hoje pela manha 06/02/2019

    abaixo log do erro retornando pelo mercado livre

    Array
    (
        [body] => stdClass Object
            (
                [message] => shipment logistic_type must be fulfillment
                [error] => invalid_shipment_logistic_type
                [status] => 400
                [cause] => stdClass Object
                    (
                        [cause] => 
                        [error] => invalid_shipment_logistic_type
                        [internal_cause] => Array
                            (
                            )
    
                        [localized_message] => shipment logistic_type must be fulfillment
                        [message] => shipment logistic_type must be fulfillment
                        [stack_trace] => Array
                            (
                                [0] => stdClass Object
                                    (
                                        [className] => com.mercadolibre.fbm.invoices.shipment.ShipmentInvoiceService$_checkAndGetShipment_closure1
                                        [fileName] => ShipmentInvoiceService.groovy
                                        [lineNumber] => 84
                                        [methodName] => doCall
                                        [nativeMethod] => 
                                    )

  2. Existe algum metodo para eu consultar todas a lista de erros  "cause_id"?


    {
        "message": "Validation error",
        "error": "validation_error",
        "status": 400,
        "cause": [
            {
                "cause_id": 327,
                "type": "error",
                "code": "item.status.invalid",
                "references": [
                    "item.status"
                ],
                "message": "Item in status closed is not possible to change to status paused. Valid transitions are [closed]"
            }
        ]
    }


  3. Eu estou enviando o "attributes" logo apos o anuncio ele aparece na pesquisa do item https://api.mercadolibre.com/items/MLB1129540610 porem na tela de edição do item não anexo tela

    estou enviado via PUT /items/{id}

    "attributes": [
        {
          "id": "SELLER_SKU",
          "name": "SKU",
          "value_id": null,
          "value_name": "729650",
          "value_struct": null,
          "attribute_group_id": "OTHERS",
          "attribute_group_name": "Outros"
        }
      ],

     

    tela.PNG


  4. Não encontrei esse valor nem na /orders/{id} nem em /shipments/{id}
     

    {
      "id": 1845963254,
      "date_created": "2018-10-30T13:33:07.000-04:00",
      "date_closed": "2018-10-30T13:33:09.000-04:00",
      "last_updated": "2018-10-30T13:33:10.000-04:00",
      "manufacturing_ending_date": null,
      "feedback": {},
      "mediations": [
      ],
      "comments": null,
      "pickup_id": null,
      "order_request": {},
      "fulfilled": null,
      "total_amount": 729,
      "total_amount_with_shipping": 796.03,
      "paid_amount": 796.03,
      "taxes": {
        "amount": null,
        "currency_id": null
      },
      "coupon": {
        "id": null,
        "amount": 0
      },
      "expiration_date": "2018-11-29T13:33:09.000-04:00",
      "order_items": [],
      "currency_id": "BRL",
      "payments": [],
      "shipping": {
        "id": 27726417891,
        "site_id": "MLB",
        "shipment_type": "shipping",
        "mode": "me1",
        "shipping_mode": "me1",
        "status": "handling",
        "substatus": null,
        "date_created": "2018-10-30T13:33:07.000-04:00",
        "receiver_address": {},
        "sender_address": {},
        "currency_id": "BRL",
        "date_first_printed": null,
        "service_id": null,
        "shipping_items": [],
        "receiver_id": 257373227,
        "sender_id": 193200465,
        "shipping_option": {
          "id": 105042560600001,
          "shipping_method_id": 100009,
          "name": "Normal",
          "currency_id": "BRL",
          "cost": 67.03,
          "delivery_type": null,
          "list_cost": 67.03,
          "estimated_delivery_time": {
            "type": "known",
            "date": "2018-11-07T00:00:00.000-03:00",
            "unit": "hour",
            "offset": {
              "date": null,
              "shipping": null
            },
            "time_frame": {
              "from": null,
              "to": null
            },
            "pay_before": null,
            "shipping": 48,
            "handling": 48,
            "schedule": null
          }
        },
        "logistic_type": "default",
        "picking_type": null,
        "cost_components": {
          "special_discount": 0,
          "loyal_discount": 0,
          "compensation": 0
        },
        "cost": 67.03
      },
      "status": "paid",
      "status_detail": null,
      "tags": [
        "not_delivered",
        "paid"
      ],
      "buyer": {},
      "seller": {}
    }

  5. Estou com problema modificar o pedido para enviado.

    https://developers.mercadolibre.com/pt_br/envio-personalizado/#Entrega

    PUT https://api.mercadolibre.com/shipments/{shipping_id}?access_token=$ACCESS_TOKEN

    {
      "speed": 216,
      "status": "shipped",
      "tracking_number": 540473,
      "receiver_id": 257373227
    }

    Resposta

    {
       
      "message": "Invalid parameters for shipping mode",

      "error": "invalid_parameters",

      "status": 400,

      "cause": null,

      "internal_cause": []

    }


  6. O pedido foi feito via ME1 o status atual dele é "pending" eu preciso adicionar a nfe nele e modificar para o status para "shipped" e depois para "delivered"

    PUT /shipments/{id}/invoices
    [{"data":"conteudo do xml"}]

    quando  e pedido e via ME2 e com o status "ready_to_ship" e substatus "invoice_pending" eu consigo enviar as notas fiscais normalmente como descrito nesse link
    https://developers.mercadolibre.com/pt-br/fulfillment-como-gerar-nota-fiscal-de-venda/#Enviar-nota-fiscal-eletrônica 
    o problema e quando e ME1