Skip to main content
GET
/
v1
/
logistics
/
delivery
/
{orderId}
Obter detalhes da entrega
curl --request GET \
  --url https://opendelivery.gohusky.net/logistic/v1/logistics/delivery/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "deliveryId": "123e4567-e89b-12d3-a456-426614174000",
  "orderId": "ORDER-12345",
  "orderDisplayId": "ORD-12345",
  "merchant": {
    "id": "MERCHANT-001",
    "name": "Restaurante Exemplo"
  },
  "customerName": "João Silva",
  "events": [
    {
      "type": "PENDING",
      "datetime": "2024-01-15T10:30:00.000Z"
    },
    {
      "type": "ACCEPTED",
      "datetime": "2024-01-15T10:35:00.000Z"
    }
  ],
  "vehicle": {
    "type": [
      "MOTORBIKE_BAG"
    ],
    "container": "NORMAL"
  },
  "deliveryPrice": {
    "value": 8.5,
    "currency": "BRL"
  },
  "times": {
    "deliveryEtaDate": "2024-01-15T11:30:00.000Z",
    "maxDeliveryTime": "2024-01-15T12:00:00.000Z",
    "isDeliveryFinished": false
  },
  "deliveryPerson": {
    "id": "DELIVERY-001",
    "name": "Entregador Exemplo"
  }
}
Este endpoint retorna todas as informações relacionadas a uma entrega, incluindo:
  • Dados do pedido e merchant
  • Status e eventos da entrega
  • Informações do veículo e entregador
  • Preços e tempos
  • Problemas reportados (se houver)

Authorizations

Authorization
string
header
required

Token de acesso OAuth 2.0 obtido através do endpoint /oauth/token.

Use o formato: Authorization: Bearer {access_token}

O token deve ser incluído em todas as requisições aos endpoints protegidos.

Path Parameters

orderId
string
required

Identificador único do pedido

Response

Detalhes da entrega retornados com sucesso

deliveryId
string<uuid>

Identificador único da entrega

Example:

"123e4567-e89b-12d3-a456-426614174000"

orderId
string

Identificador único do pedido

Example:

"ORDER-12345"

orderDisplayId
string

Identificador de exibição do pedido

Example:

"ORD-12345"

merchant
object
customerName
string

Nome do cliente

Example:

"João Silva"

events
object[]

Lista de eventos da entrega

problem
object[]

Lista de problemas reportados

vehicle
object
deliveryPrice
object
times
object
deliveryPerson
object
combinedOrdersIds
string[]

IDs de pedidos combinados

Example:
["ORDER-123", "ORDER-124"]
externalTrackingURL
string<uri>

URL externa para rastreamento

Example:

"https://tracking.example.com/ORDER-12345"