Pular para o conteúdo principal

Buscar entrega por chave de cartão

Request

ENDPOINT
/card/CARD_KEY/tracking
MÉTODO
GET

Path params

CampoTipoDescriçãoCaracteres
CARD_KEY *stringChave de identificação do cartão.uuid

Response

STATUS
200
Response Body
{
"card_key": "92b4e2bd-4a6f-4c56-859e-17c729e1f0c8",
"tracking_code": "4F68A72B902317",
"status": "posted",
"recipient": "João Silva",
"address": {
"zip_code": "1234567",
"street": "Rua das Flores",
"number": 123,
"complement": "Bloco A",
"neighborhood": "Centro",
"city": "Cidade Exemplo",
"state": "SP"
},
"event": [
{
"created_at": "2024-02-27T08:30:00Z",
"old_status": "pending",
"new_status": "posted",
"description": "Pedido recebido e postado",
"place": "SAO PAULO"
}
]
}

Enumeradores DeliveryStatus

EnumeradorTradução
pendingPendente
postedPostado
preparedPreparado
in_transferEm transferência
in_delivery_unitNa unidade de entrega
on_routeEm rota
attempt_failedTentativa falhou
awaiting_withdrawalAguardando retirada
returningRetornando
deliveredEntregue
returnedDevolvido
canceledCancelado
failedFalhou
resendReenviado

Erros

STATUS
4XX
Response Body
{
"title": "Not Found",
"description": "It was not possible to fetch the Tracking for the card_key f6bf148a-30b6-4a07-8c5b-3383a98ea32b.",
"translation": "Not Found",
"code": "TRACK000011"
}
CodeStatus codeDescrição
TRACK000011404It was not possible to fetch the Tracking for the card_key {card_key}.
TRACK000016400We're sorry, but the tracking could not be fetch. Please try again later.