---
title: "Atualizar informações de rastreamento do pedido"
method: PUT
path: "/pedidos/{idPedido}/despacho"
tags: ["Pedidos"]
---

# Atualizar informações de rastreamento do pedido

`PUT /pedidos/{idPedido}/despacho`

## Request

- Base URL: `https://api.tiny.com.br/public-api/v3`
- URL: `https://api.tiny.com.br/public-api/v3/pedidos/{idPedido}/despacho`
- Auth: HTTP bearer

## Path parameters

- `idPedido` integer, required

## Request body

- AtualizarInfoRastreamentoPedidoModelRequest: 
  - `codigoRastreamento` string, nullable
  - `urlRastreamento` string, nullable
  - `formaEnvio` FormaEnvioRequestModel: 
    - `id` integer
  - `formaFrete` FormaFreteRequestModel: 
    - `id` integer
  - `fretePagoEmpresa` number, float, nullable
  - `dataPrevista` string, nullable
  - `idContatoTransportadora` integer, nullable
  - `volumes` integer, nullable
  - `pesoBruto` number, float, nullable
  - `pesoLiquido` number, float, nullable
  - `observacoes` string, nullable

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/olist/apis/olist-erp-api-v3.md) - [All operations](https://skmtc.dev/olist/apis/olist-erp-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/olist/apis/olist-erp-api-v3/revisions/107f8d039de2?raw)
