v1

latestOpenAPI 3.1.02026-07-24290162.6 KB

Listar serviços

Lista todos os serviços de transportadoras disponíveis

get/api/v2/me/shipment/services

Headers

User-Agentstring required

É obrigatório que seja adicionado o cabeçalho HTTP User-Agent com o nome da sua aplicação junto a um email de contato/suporte.

Response

200

idinteger
namestring
typestring
rangestring
requirementsstring[]
optionalsstring[]

Example response

[
  {
    "id": 1,
    "name": "PAC",
    "type": "normal",
    "range": "interstate",
    "restrictions": {
      "insurance_value": {
        "max": 3000
      },
      "formats": {
        "box": {
          "weight": {
            "min": 0.001,
            "max": 30
          },
          "width": {
            "min": 11,
            "max": 105
          },
          "height": {
            "min": 2,
            "max": 105
          },
          "length": {
            "min": 16,
            "max": 105
          },
          "sum": 200
        },
        "roll": {
          "weight": {
            "min": 0.001,
            "max": 30
          },
          "diameter": {
            "min": 5,
            "max": 91
          },
          "length": {
            "min": 18,
            "max": 105
          },
          "sum": 200
        },
        "letter": {
          "weight": {
            "min": 0.001,
            "max": 0.5
          },
          "width": {
            "min": 11,
            "max": 60
          },
          "length": {
            "min": 16,
            "max": 60
          }
        }
      }
    },
    "requirements": [
      "names"
    ],
    "optionals": [
      "AR"
    ],
    "company": {
      "id": 1,
      "name": "Correios",
      "picture": "https://sandbox.melhorenvio.com.br/images/shipping-companies/correios.png"
    }
  }
]