Download OpenAPI specification:Download
Solicite a nosso atendimento seu token de acesso para que tenha acesso a sua conta. Para uso do Webhook, um token deverá ser cadastro no lada da Eu Entrego.
Um token válido precisa ser enviado em todas as chamadas através do header 'Authorization'. O token é gerado pela Eu Entrego e enviado para o responsável pela integração.
Exemplo do header 'Authorization':
Bearer xxxxxx.yyyyyyy.zzzzzz
Authorization
Um token deverá ser informado para a Eu Entrego notificar no endpoint. Será enviado em todas as requisições através do header 'Authorization'.
Exemplo do header 'Authorization':
Bearer xxxxxx.yyyyyyy.zzzzzz ou Basic ZW5jb2RlZChtZXV0b2tlbjptaW5oYXNlbmhhKQ==
Authorization
Status | Descrição | Finalizador (DeliveryReason) |
---|---|---|
OPEN | Aberto | Não |
OUT_OF_RANGE | Fora de abrangência | Sim |
LOCATION_NOT_FOUND | Localização não encontrada | Não |
UNAVAILABLE | Indisponível | Sim |
ERROR | Erro | Não |
EN_ROUTE | Em rota | Não |
ACCEPTED | Aceito | Não |
PLANNED | Planejado | Não |
DELIVERED | Entregue | Sim |
DELIVERED_TO_RECIPIENT | Entregue ao próprio | Sim |
DELIVERED_TO_RELATIVE | Entregue ao parente | Sim |
DELIVERED_TO_GATEKEEPER | Entregue na portaria | Sim |
DELIVERED_OTHER | Outros casos em entrega | Sim |
NOT_READY_TO_DELIVER | Não liberado | Sim |
NOT_READY_ORDER_COLLECTED_BY_CARRIER | Não liberado (coletado por outra transportadora) | Sim |
ADDRESS_WRONG | Endereço não encontrado | Não |
REJECTED | Entrega rejeitada | Sim |
RECIPIENT_ABSENT | Cliente ausente | Não |
ORDER_RETURNED | Pedido devolvido | Sim |
DELIVERY_OTHER | Outro problema com a entrega | Sim |
DELIVERY_STRAYED | Pedido extraviado | Sim |
COLLECTED | Coletado | Não |
COLLECT_NONEXISTENT | Coleta não existe | Sim |
COLLECT_ADDRESS_WRONG | Endereço não encontrado para coleta | Não |
COLLECT_REJECTED | Coleta Rejeitada | Sim |
COLLECT_RECIPIENT_ABSENT | Cliente ausente para coleta | Sim |
INVOICE_RETURNED | Coleta devolvida | Sim |
COLLECT_OTHER | Outros problema com a coleta | Sim |
COLLECT_STRAYED | Coleta extraviada | Sim |
TIME_LIMIT | Tempo insuficiente para entrega | Não |
VEHICLE_PROBLEM | Problema com o veículo | Não |
CLIMATE_PROBLEM | Problema com intempéries (chuva, alagamento, etc) | Não |
STRAYED | Extraviada | Sim |
STOLEN | Roubada | Sim |
CANCELLED | Cancelada | Não |
CLOSED | Fechada | Sim |
NOT_READY_TO_DELIVER | Pedido não liberado | Sim |
id required | integer Número identificador da ordem de serviço |
{- "serviceId": "string",
- "serviceDate": "string",
- "type": "DELIVERY",
- "typeLabel": "string",
- "deadline": "string",
- "lotId": "string",
- "lotDate": "string",
- "pickupPoint": "string",
- "pickupPointName": "string",
- "destinationPoint": {
- "contactName": "string",
- "address": "string",
- "number": "string",
- "neighborhood": "string",
- "complement": "string",
- "reference": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string",
- "latitude": 0,
- "longitude": 0
}, - "status": "OPEN",
- "statusLabel": "string",
- "lastDeliveryReason": "DELIVERED",
- "customer": {
- "email": "string",
- "mainPhone": {
- "ddd": "string",
- "number": "string"
}, - "secondaryPhone": {
- "ddd": "string",
- "number": "string"
}, - "individualCustomer": {
- "cpf": "string",
- "firstName": "string",
- "lastName": "string"
}, - "corporateCustomer": {
- "cnpj": "string",
- "corporateName": "string",
- "stateInscription": "string"
}
}, - "partnerInfo": {
- "shipperId": "string",
- "shipperName": "string",
- "saleChannel": "string",
- "shippingCosts": 0,
- "integrationServiceId": "string",
- "shipmentOrderType": "string",
- "orderDate": "string",
- "shippedDate": "string"
}, - "transportFileInfo": {
- "transportFileId": "string",
- "transportFileLicensePlate": "string",
- "sequence": 0,
- "transportFileDate": "string",
- "initialTimeWindow": "string",
- "finalTimeWindow": "string",
- "transportFileDeliverymanDoc": "string"
}, - "packages": [
- {
- "code": "string",
- "number": 0,
- "itemQuantity": 0,
- "trackingCode": "string",
- "weight": 0,
- "width": 0,
- "height": 0,
- "length": 0,
- "volume": 0,
- "invoiceDate": "string",
- "invoiceNumber": "string",
- "invoiceSeries": "string",
- "invoiceKey": "string",
- "invoiceLink": "string",
- "invoiceCfop": "string",
- "invoiceTotalValue": 0,
- "invoiceProductsValue": 0
}
], - "routeId": 0
}
Ordem de serviço a ser criada. Lembre de alterar o valor do pickupPoint para sua empresa.
serviceId required | string Código único da ordem de serviço |
serviceDate required | stringyyyy-MM-dd Data para entrega da ordem de serviço |
type required | string Enum: "DELIVERY" "COLLECT" Tipo da ordem de serviço |
pickupPoint required | string Ponto de coleta |
required | object (Address) Endereço para realizar coleta/entrega |
required | object (Customer) |
object (PartnerInfo) Informações do parceiro em relação a entrega | |
object (TransportFileInfo) Dados para romaneio | |
required | Array of objects (Package) |
Array of objects (Transfer) | |
Array of objects (Constraint) | |
object (ServiceOrderMetadata) Metadados da Ordem de Serviço | |
logisticsCode | string Código da Transportadora |
{- "serviceId": "564123",
- "serviceDate": "2020-04-15",
- "type": "DELIVERY",
- "pickupPoint": "SEU_PONTO_DE_COLETA",
- "customer": {
- "email": "carlos.teste@gmail.com",
- "mainPhone": {
- "ddd": "11",
- "number": "967224455"
}, - "individualCustomer": {
- "cpf": 3404894057,
- "firstName": "Carlos",
- "lastName": "da Silva Costa"
}
}, - "partnerInfo": {
- "shipperId": "1",
- "shipperName": "Embarcador Gelo",
- "shippingCosts": 14,
- "saleChannel": "E-COMMERCE",
- "shipmentOrderType": "EXPRESS",
- "orderDate": "2020-02-09T14:52:08-03:00",
- "shippedDate": "2020-02-10T10:20:08-03:00"
}, - "destinationPoint": {
- "contactName": "Carlos Costa",
- "address": "Rua da Proclamação",
- "neighborhood": "Bonsucesso",
- "number": "244",
- "complement": "AP 153 BL A",
- "city": "Rio de Janeiro",
- "state": "RJ",
- "zipCode": "21042432",
- "reference": "Próximo a Av. Brasil"
}, - "constraints": [
- {
- "code": "VEHICLE_GROUP",
- "value": "CAR"
}
], - "transportFileInfo": {
- "transportFileId": "ABC123",
- "transportFileLicensePlate": "KDA8871",
- "sequence": 1,
- "initialTimeWindow": "09:00",
- "finalTimeWindow": "18:00",
- "transportFileDate": "2020-02-09T14:52:08-03:00",
- "transportFileDeliverymanDoc": "00000000000"
}, - "packages": [
- {
- "code": "564123-01",
- "number": 1,
- "weight": 0.6,
- "width": 10,
- "height": 10,
- "length": 8,
- "volume": 0.005,
- "itemQuantity": 2,
- "invoiceSeries": "1",
- "invoiceNumber": "005601",
- "invoiceDate": "16/01/2019",
- "invoiceKey": "12356789876543456789876543456789876543234123",
- "invoiceTotalValue": 174,
- "invoiceProductsValue": 167
}, - {
- "code": "564123-02",
- "number": 2,
- "weight": 0.4,
- "width": 15,
- "height": 12,
- "length": 10,
- "volume": 0.01,
- "itemQuantity": 1,
- "invoiceSeries": "1",
- "invoiceNumber": "005602",
- "invoiceDate": "16/01/2019",
- "invoiceKey": "12337898765434561238765434567887654345678774",
- "invoiceTotalValue": 94.9,
- "invoiceProductsValue": 87.9
}
], - "transfers": [
- {
- "sequenceStep": 0,
- "destination": "EE_TRANSF_II",
- "type": "FIXED"
}, - {
- "sequenceStep": 1,
- "destination": "EE_TRANSF_III",
- "type": "FIXED"
}
], - "metadata": {
- "additionalInfos": [
- {
- "code": "SECURITY_CODE",
- "showCode": true,
- "label": "Token de coleta",
- "value": "TOKEN_DE_COLETA",
- "moment": "PICKUP_AND_SERVICE"
}
]
}, - "logisticsCode": "SUA_TRANSPORTADORA"
}
{- "message": "string",
- "errorCode": "string",
- "errors": [
- {
- "field": "string",
- "error": "string",
- "validationType": "MISSING_REQUIRED_FIELD"
}
]
}
Informações sobre a Ordem de Serviço que será cancelada. Pode ser preenchido somente o campo ID, caso contrário todos os demais campos (serviceId, invoiceNumber, pickupPoint, serviceDate) serão obrigatórios.
id | string Código da Ordem de Serviço retornado pelo serviço de criação de Ordem de Serviço |
serviceId | string Código da Ordem de Serviço definido na criação da Ordem de Serviço |
invoiceNumber | string Número da nota fiscal |
pickupPoint | string Código da loja definido na criação da Ordem de Serviço |
serviceDate | string <yyyy-MM-dd> Data de realização da ordem de serviço |
{- "id": "34920",
- "serviceId": "pedido01",
- "invoiceNumber": "243456",
- "pickupPoint": "LOJA-1",
- "serviceDate": "2020-01-30"
}
{- "message": "string",
- "errorCode": "string",
- "errors": [
- {
- "field": "string",
- "error": "string",
- "validationType": "MISSING_REQUIRED_FIELD"
}
]
}
id required | integer Número identificador da ordem de serviço |
Informações sobre os pacotes que deverão ser adicionados à Ordem de serviço existente.
code required | string Código único do volume |
number required | number Sequencial do volume |
itemQuantity required | number Quantidade de itens dentro do volume |
trackingCode | string Código de rastreio do volume |
weight required | number <double> Peso em kg |
width required | number <double> Profundidade em cm |
height required | number <double> Altura em cm |
length required | number <double> Comprimento em cm |
volume required | number <double> Volume em cm cúbico |
invoiceDate | string <yyyy-MM-dd'T'HH:mm:ss.SSSZ> Data da emissão da nota fiscal |
invoiceNumber | string Número da nota fiscal |
invoiceSeries | string Série da nota fiscal |
invoiceKey | string Chave da nota fiscal |
invoiceLink | string Link para nota fiscal |
invoiceCfop | string CFOP da nota fiscal |
invoiceTotalValue | number <double> Valor total da nota fiscal |
invoiceProductsValue | number <double> Valor dos produtos nota fiscal |
[- {
- "code": "string",
- "number": 0,
- "itemQuantity": 0,
- "trackingCode": "string",
- "weight": 0,
- "width": 0,
- "height": 0,
- "length": 0,
- "volume": 0,
- "invoiceDate": "string",
- "invoiceNumber": "string",
- "invoiceSeries": "string",
- "invoiceKey": "string",
- "invoiceLink": "string",
- "invoiceCfop": "string",
- "invoiceTotalValue": 0,
- "invoiceProductsValue": 0
}
]
{- "message": "string",
- "errorCode": "string",
- "errors": [
- {
- "field": "string",
- "error": "string",
- "validationType": "MISSING_REQUIRED_FIELD"
}
]
}
serviceId required | string Código da ordem de serviço |
Identificadores da Ordem de Serviço que será atualizada e dados a serem atualizados (nova data, horário de início, horário de fim)
date | string <yyyy-MM-dd> Data da ordem de serviço |
pickupPoint | string Código do ponto de coleta |
newDate | string <yyyy-MM-dd> Nova data a ser atribuída à ordem de serviço (opcional) |
initialTimeWindow | string <HH:mm> Horário de início da Janela de Entrega (opcional) |
finalTimeWindow | string <HH:mm> Horário de término da Janela de Entrega (opcional) |
{- "date": "2021-03-15",
- "pickupPoint": "LOJA_XPTO",
- "newDate": "2021-03-20",
- "initialTimeWindow": "15:00",
- "finalTimeWindow": "19:00"
}
serviceId required | string Código da ordem de serviço |
packageCode required | string Código do pacote |
Identificadores da Ordem de Serviço que será atualizada e dados a serem atualizados (nova data, horário de início, horário de fim)
date | string <yyyy-MM-dd> Data da ordem de serviço |
pickupPoint | string Código do ponto de coleta |
invoiceDate | string <yyyy-MM-dd> Data a ser atribuída ao pacote (opcional) |
invoiceSeries | string Série da nota fiscal(opcional) |
invoiceNumber | string Número da nota fiscal (opcional) |
invoiceKey | string Chave de acesso da nota fiscal (opcional) |
invoiceLink | string Link de acesso à nota fiscal (opcional) |
{- "date": "2021-03-15",
- "pickupPoint": "LOJA_XPTO",
- "invoiceDate": "2021-03-20",
- "invoiceSeries": "1234567890",
- "invoiceNumber": "11223344556677889900",
- "invoiceKey": "ABC_123_XPTO",
}
routeId required | integer Número identificador da rota |
serviceId required | string Número identificador da ordem de serviço para o parceiro |
{- "success": true,
- "message": "Operação xpto concluída"
}
serviceId required | string Número identificador da ordem de serviço para o parceiro |
type | string Value: "ADDRESS_CHANGE_BY_PARTNER" Tipos de ticket
|
customerName | string Nome do cliente |
customerCellphone | string Telefone do cliente |
object Detalhe da recomendação de risco |
{- "type": "ADDRESS_CHANGE_BY_PARTNER",
- "customerName": "string",
- "customerCellphone": "string",
- "addressCorrection": {
- "address": "string",
- "number": "string",
- "neighborhood": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string",
- "complement": "string",
- "reference": "string"
}
}
{- "success": true,
- "message": "Operação xpto concluída"
}
routeId required | integer Número identificador da rota |
serviceId required | string Número identificador da ordem de serviço para o parceiro |
{- "success": true,
- "message": "Operação xpto concluída"
}
Recebe a devolução de uma ordem de serviço em uma rota de coleta. Esta operação valida se a rota está em status de devolução e se a ordem de serviço pertence à rota.
Motivos possíveis de devolução (campo reason
):
Para entregas:
Para coletas:
routeId required | integer ID da rota onde a devolução será registrada |
name required | string Nome do usuário que está recebendo o pacote |
email required | string <email> Email do usuário que está recebendo o pacote |
serviceId required | string ID da ordem de serviço que está sendo devolvida |
reason required | string Enum: "ORDER_RETURNED" "DELIVERY_STRAYED" "DELIVERY_STOLEN" "COLLECT_CLOSED" "INVOICE_RETURNED" "COLLECT_STRAYED" "COLLECT_STOLEN" Motivo da devolução |
{- "name": "string",
- "email": "user@example.com",
- "serviceId": "string",
- "reason": "ORDER_RETURNED"
}
{- "success": true,
- "message": "Operação xpto concluída"
}
Envio de notificação de ordens de serviço. Conforme a ordem de serviço evoluir, novas informações serão adicionadas.
internalId | integer Identificador da Ordem de serviço na Eu Entrego |
orderId | string Identificador da Ordem de Serviço |
originalServiceId | string Identificador original do parceiro para a Ordem de Serviço |
serviceType | string Enum: "DELIVERY" "COLLECT" Tipos de Ordem de serviço
|
lotId | string Identificador de carga |
returnedReasonLabel | string Tipos de razões de retorno |
object Informações sobre os pacotes | |
status | string (ServiceOrderStatus) Enum: "OPEN" "OUT_OF_RANGE" "LOCATION_NOT_FOUND" "UNAVAILABLE" "ERROR" "EN_ROUTE" "ACCEPTED" "PLANNED" "DELIVERED" "DELIVERED_TO_RECIPIENT" "DELIVERED_TO_RELATIVE" "DELIVERED_TO_GATEKEEPER" "DELIVERED_OTHER" "NOT_READY_TO_DELIVER" "NOT_READY_ORDER_CANCELLED" "NOT_READY_ORDER_COLLECTED_BY_CARRIER" "ADDRESS_WRONG" "REJECTED" "RECIPIENT_ABSENT" "RECIPIENT_ABSENT_COMMERCIAL" "ORDER_RETURNED" "DELIVERY_OTHER" "DELIVERY_STRAYED" "COLLECTED" "COLLECT_CLOSED" "COLLECT_NONEXISTENT" "COLLECT_ADDRESS_WRONG" "COLLECT_REJECTED" "COLLECT_RECIPIENT_ABSENT" "INVOICE_RETURNED" "COLLECT_OTHER" "COLLECT_STRAYED" "TIME_LIMIT" "VEHICLE_PROBLEM" "CLIMATE_PROBLEM" "STRAYED" "STOLEN" "CANCELLED" "CLOSED" "NOT_READY_TO_DELIVER" Status que serão notificados
|
statusLabel | string Descrição do status que será notificado |
customReasonName | string Descrição customizada do status que será notificado |
customReasonCode | string Código customizado do status que será notificado |
processedAt | string <yyyy-MM-dd'T'HH:mm:ss.SSSX> Data da ocorrência do status |
createdAt | string <yyyy-MM-dd'T'HH:mm:ss.SSSX> Data da criação do pedido na Eu Entrego |
trackingLink | string URL para rastreamento da Ordem de Serviço |
observation | string Observação informada pelo entregador caso exista |
receipts | Array of strings Lista com links dos comprovantes e assinatura digital caso existam |
object Informações fiscais | |
object (PickupPointNotification) Informações referentes ao ponto de coleta | |
object (CustomerNotification) Informações referentes ao destinatário | |
object Informações sobre a rota | |
latitude | number Latitude do ponto onde o pedido foi entregue (caso seja notificação de entrega) |
longitude | number Longitude do ponto onde o pedido foi entregue (caso seja notificação de entrega) |
recipientName | string Nome do recebedor (caso seja notificação de entrega) |
recipientDocument | string Número do Documento apresentado do recebedor (caso seja notificação de entrega) |
recipientDocumentType | string Enum: "CPF" "RG" Tipo do documento que foi apresentado |
loadGroup | string Código do grupo de carga da Ordem de Serviço |
object Informações referentes ao local a ser entregue | |
object Informações referentes ao parceiro | |
logisticsCarrierName | string Nome da transportadora |
logisticsIntegrationCode | string Código da transportadora |
{- "internalId": 21358322,
- "orderId": "549632664",
- "originalServiceId": "12345667",
- "serviceType": "DELIVERY",
- "lotId": "1234ab",
- "returnedReasonLabel": "Entregue",
- "packages": [
- {
- "code": "549632664001",
- "itemQuantity": 1
}, - {
- "code": "549632664002",
- "itemQuantity": 1
}
], - "status": "DELIVERED_TO_RELATIVE",
- "statusLabel": "Entregue ao parente",
- "customReasonCode": "100001",
- "customReasonName": "Entregue em mãos a parente",
- "processedAt": "2020-03-10T10:20:30.435",
- "createdAt": "2020-03-09T08:30:30.435",
- "observation": "Recebido pelo primo do cliente, senhor Antônio Carlos.",
- "customer": {
- "name": "Maria da Silva",
- "cpf": "123.456.789-11"
}, - "invoice": {
- "invoiceNumber": "68038",
- "invoiceSeries": "1",
- "invoiceKey": "1231233131231231231231231231",
- "invoiceIssuerDocument": "123131231"
}, - "pickupPoint": {
- "id": "123",
- "code": "LOJAJO",
- "name": "Loja do João",
- "cnpj": "12345678901234",
- "address": {
- "address": "Av. Nossa Senhora de Copacabana",
- "number": "1234a",
- "complement": "Portão Verde",
- "neighborhood": "Copacabana",
- "city": "Rio de Janeiro",
- "state": "RJ",
- "zipCode": "22123456"
}, - "corporate": {
- "id": "456",
- "code": "EMPRESAJO",
- "name": "Empresa do João",
- "cnpj": "23456789101112"
}
}, - "route": {
- "id": "677924",
- "order": 2,
- "distance": 5431,
- "deliveryman": {
- "id": 762,
- "name": "Carlos Andrade",
- "phone": "(11) 999999999",
- "cpf": "99999999",
- "licensePlate": "LPQ3976"
}, - "transportFileInfo": {
- "transportFileId": "ABC123",
- "transportFileDate": "2020-02-09T14:52:08-03:00",
- "initialTimeWindow": "09:00",
- "finalTimeWindow": "18:00"
}
}, - "latitude": -21.335271,
- "longitude": -41.663748,
- "recipientName": "Antônio Carlos",
- "recipientDocument": "12345678910",
- "recipientDocumentType": "CPF",
- "loadGroup": "123",
- "destinationPoint": {
- "address": "Rua dos alfaces",
- "number": "3",
- "neighborhood": "Copacabana",
- "city": "Rio de Janeiro",
- "state": "RJ",
- "zipCode": "21042432",
- "latitude": "-21.335271",
- "longitude": "-41.457845"
}, - "logisticsCarrierName": "Transportadora Express",
- "logisticsIntegrationCode": "TRANSPORTADORA_EE"
}
code required | string Código identificador do ponto de coleta |
date | string Filtra uma data específica para listar as rotas, se não enviado utilizará a data atual |
status | string Enum: "UNCONFIRMED" "CONFIRMED" "AT_PICKUP_POINT" "ON_GOING" "RETURNING" "FINISHED" "UNAVAILABLE" Filtra o status desejado |
{- "routeDay": "string",
- "routes": [
- {
- "id": 0,
- "status": "UNCONFIRMED",
- "timeWindow": "string",
- "distance": 0,
- "order": 0,
- "dateCreated": "string"
}
]
}
id required | integer Número identificador da rota |
{- "routeDay": "string",
- "timeWindow": "string",
- "distance": 0,
- "deliveryman": {
- "id": 0,
- "name": "string",
- "cpf": "string",
- "licensePlate": "string"
}, - "serviceOrders": [
- {
- "serviceId": "string",
- "type": "COLLECT"
}
]
}
Quando houver erro, o código de erro será quando retornado descreve mais claro o erro ocorrido na criação da rota, retornado no campo errorCode.
transportFileId | string Código da Rota |
routeDay | string <yyyy-MM-dd> Data para realização da Rota |
initialTimeWindow | string <HH:mm> Início da janela horário de realização da Rota |
finalTimeWindow | string <HH:mm> Fim da janela horário de realização da Rota |
Array of objects (RouteRequestServiceOrder) Ordens de serviço que serão realizadas na Rota. Pode ser preenchido somente o campo ID, caso contrário todos os demais campos (serviceId, invoiceNumber, pickupPoint, serviceDate) serão obrigatórios. |
{- "message": "string",
- "errorCode": "string",
- "errors": [
- {
- "field": "string",
- "error": "string",
- "validationType": "MISSING_REQUIRED_FIELD"
}
]
}
routeId required | integer Número identificador da rota |
serviceId required | string Número identificador da ordem de serviço para o parceiro |
{- "success": true,
- "message": "Operação xpto concluída"
}
routeId required | integer Número identificador da rota |
serviceId required | string Número identificador da ordem de serviço para o parceiro |
{- "success": true,
- "message": "Operação xpto concluída"
}
Recebe a devolução de uma ordem de serviço em uma rota de coleta. Esta operação valida se a rota está em status de devolução e se a ordem de serviço pertence à rota.
Motivos possíveis de devolução (campo reason
):
Para entregas:
Para coletas:
routeId required | integer ID da rota onde a devolução será registrada |
name required | string Nome do usuário que está recebendo o pacote |
email required | string <email> Email do usuário que está recebendo o pacote |
serviceId required | string ID da ordem de serviço que está sendo devolvida |
reason required | string Enum: "ORDER_RETURNED" "DELIVERY_STRAYED" "DELIVERY_STOLEN" "COLLECT_CLOSED" "INVOICE_RETURNED" "COLLECT_STRAYED" "COLLECT_STOLEN" Motivo da devolução |
{- "name": "string",
- "email": "user@example.com",
- "serviceId": "string",
- "reason": "ORDER_RETURNED"
}
{- "success": true,
- "message": "Operação xpto concluída"
}
Envio de notificação de ordens de serviço. Conforme a ordem de serviço evoluir, novas informações serão adicionadas.
routeId | integer Identificador da rota na Eu Entrego |
routeStatus | string Enum: "CONFIRMED" "ON_GOING" "RETURNING" "FINISHED" Status que serão notificados
|
transportFileId | string Identificador do romaneio |
object Informações do entregador | |
Array of objects Informações das ordens de serviço na rota |
{- "routeId": 123,
- "routeStatus": "ON_GOING",
- "deliveryman": {
- "id": 676,
- "cpf": "11011010042",
- "name": "José da Silva",
- "licensePlate": "LAO7683",
- "type": "SEDAN",
- "model": "VW Voyage"
}, - "transportFileId": "rota123",
- "serviceOrders": [
- {
- "serviceId": "7910239",
- "serviceOrderId": 6724037,
- "stepOrder": 3,
- "latitude": -21.2356821,
- "longitude": -41.45784512,
- "status": "EN_ROUTE",
- "type": "DELIVERY",
- "loadGroup": "123",
- "pickupPoint": {
- "id": 1524,
- "code": "LOJA_1",
- "name": "Supermercado Gotham",
- "corporate": {
- "id": 889,
- "code": "WAYNE_CORP"
}
}
}
]
}
Envio de notificação de check-in do entregado no ponto de coleta. Deve ser idempotente pois em caso de erro haverão retentativas.
checkinDate | string Data e hora que o entregador chegou na loja |
routeId | integer Identificador da rota (se houver associação) |
object Informações referentes ao entregador | |
object (PickupPointNotification) Informações referentes ao ponto de coleta |
{- "checkinDate": "string",
- "routeId": 0,
- "deliveryman": {
- "id": 0,
- "name": "string",
- "cpf": "string",
- "licensePlate": "string",
- "model": "string",
- "color": "string"
}, - "pickupPoint": {
- "id": 0,
- "code": "string",
- "name": "string",
- "cnpj": "string",
- "address": {
- "zipCode": "string",
- "address": "string",
- "number": "string",
- "complement": "string",
- "neighborhood": "string",
- "city": "string",
- "state": "string"
}, - "corporate": {
- "id": 0,
- "code": "string",
- "name": "string",
- "cnpj": "string"
}
}
}
code required | string Codigo do ponto de coleta |
{- "id": 0,
- "name": "string",
- "code": "string",
- "corporateName": "string",
- "corporateId": "string",
- "router": "string",
- "routerMode": "string",
- "status": "ACTIVE"
}
Cria um novo ponto de coleta
name | string Nome do ponto de coleta |
code | string Codigo do ponto de coleta |
cnpj | string <string> CNPJ da empresa |
address | string Endereço do ponto de coleta |
number | number Numero do endereço ponto de coleta |
neighborhood | string Bairro do onde esta localizado o ponto de coleta |
city | string Cidade do ponto de coleta |
state | string Estado do ponto de coleta |
zipCode | string <00000000> CEP do endereço do ponto de coleta |
complement | string Complemento da localização |
reference | string Usa uma referencia pra localizar o ponto de coleta |
contactName | string Nome de contato |
contactNumber | string <00000000000> Numero de contato |
{- "name": "string",
- "code": "string",
- "cnpj": "00000000000000",
- "address": "string",
- "number": 0,
- "neighborhood": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string",
- "complement": "string",
- "reference": "string",
- "contactName": "string",
- "contactNumber": "string"
}
{- "success": true
}
Envio de notificação de cadastro de entregadores. Toda vez que houver um novo cadastro de entregador na plataforma, a requisição será disparada.
id | integer Identificador do entregador |
cpf | string CPF do entregador |
{- "id": 0,
- "cpf": "string"
}
Buscar entregador a partir do id único.
id required | integer Identificador do entregador |
{- "id": 0,
- "name": "string",
- "cpf": "string",
- "cnpj": "string",
- "socialName": "string",
- "email": "string",
- "cellphoneDDD": "string",
- "cellphone": "string",
- "secondaryCellphoneDDD": "string",
- "secondaryCellphone": "string",
- "birthday": "2019-08-24",
- "address": {
- "address": "string",
- "number": "string",
- "complement": "string",
- "neighborhood": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}, - "motherName": "string",
- "gender": "string",
- "pickupPoint": "string",
- "corporate": {
- "cnpj": "string",
- "name": "string",
- "cnae": "string",
- "status": "string"
}, - "vehicles": [
- {
- "licensePlate": "string",
- "type": "string",
- "manufacturer": "string",
- "model": "string",
- "year": 0,
- "color": "string",
- "accessory": "string",
- "accessoryVolumeCapacity": 0,
- "cityLicensing": "string"
}
], - "activeVehicle": {
- "licensePlate": "string",
- "type": "string",
- "manufacturer": "string",
- "model": "string",
- "year": 0,
- "color": "string"
}, - "agreements": [
- {
- "ip": "192.168.0.1",
- "platform": "string",
- "platformVersion": "string",
- "deviceManufacturer": "string",
- "deviceModel": "string",
- "latitude": 0,
- "longitude": 0,
- "dateCreated": "2019-08-24T14:15:22Z"
}
], - "verificationCode": "string",
- "bankId": "string",
- "bankName": "string",
- "bankAgency": "string",
- "bankAgencyDigit": "string",
- "bankAccount": "string",
- "bankAccountDigit": "string",
- "bankAccountType": "string",
- "bankAccountRelativeType": "string",
- "bankAccountIsCorporate": true,
- "dateCreated": "2019-08-24T14:15:22Z",
- "status": "string",
- "hasConfrontationTicketInProgress": true,
- "driverLicenseData": {
- "driverLicenseNumber": "string",
- "driverLicenseCategory": "string",
- "driverLicenseState": "string",
- "driverLicenseIssuerDate": "2019-08-24",
- "driverLicenseDueDate": "2019-08-24"
}, - "currentDate": "2019-08-24T14:15:22Z",
- "serverTime": 0,
- "carrierId": 0,
- "logisticsCode": "string",
- "logisticsCarrierName": "string",
- "metadata": {
- "successfulExecutedRoutes": 0,
- "recommendations": [
- {
- "origin": "string",
- "score": 0,
- "dateCreated": "2019-08-24T14:15:22Z",
- "lastUpdated": "2019-08-24T14:15:22Z"
}
]
}
}
Buscar entregador a partir do cpf.
cpf required | string cadastro de pessoa física do entregador |
{- "id": 0,
- "name": "string",
- "cpf": "string",
- "cnpj": "string",
- "socialName": "string",
- "email": "string",
- "cellphoneDDD": "string",
- "cellphone": "string",
- "secondaryCellphoneDDD": "string",
- "secondaryCellphone": "string",
- "birthday": "2019-08-24",
- "address": {
- "address": "string",
- "number": "string",
- "complement": "string",
- "neighborhood": "string",
- "city": "string",
- "state": "string",
- "zipCode": "string"
}, - "motherName": "string",
- "gender": "string",
- "pickupPoint": "string",
- "corporate": {
- "cnpj": "string",
- "name": "string",
- "cnae": "string",
- "status": "string"
}, - "vehicles": [
- {
- "licensePlate": "string",
- "type": "string",
- "manufacturer": "string",
- "model": "string",
- "year": 0,
- "color": "string",
- "accessory": "string",
- "accessoryVolumeCapacity": 0,
- "cityLicensing": "string"
}
], - "activeVehicle": {
- "licensePlate": "string",
- "type": "string",
- "manufacturer": "string",
- "model": "string",
- "year": 0,
- "color": "string"
}, - "agreements": [
- {
- "ip": "192.168.0.1",
- "platform": "string",
- "platformVersion": "string",
- "deviceManufacturer": "string",
- "deviceModel": "string",
- "latitude": 0,
- "longitude": 0,
- "dateCreated": "2019-08-24T14:15:22Z"
}
], - "verificationCode": "string",
- "bankId": "string",
- "bankName": "string",
- "bankAgency": "string",
- "bankAgencyDigit": "string",
- "bankAccount": "string",
- "bankAccountDigit": "string",
- "bankAccountType": "string",
- "bankAccountRelativeType": "string",
- "bankAccountIsCorporate": true,
- "dateCreated": "2019-08-24T14:15:22Z",
- "status": "string",
- "hasConfrontationTicketInProgress": true,
- "driverLicenseData": {
- "driverLicenseNumber": "string",
- "driverLicenseCategory": "string",
- "driverLicenseState": "string",
- "driverLicenseIssuerDate": "2019-08-24",
- "driverLicenseDueDate": "2019-08-24"
}, - "currentDate": "2019-08-24T14:15:22Z",
- "serverTime": 0,
- "carrierId": 0,
- "logisticsCode": "string",
- "logisticsCarrierName": "string",
- "metadata": {
- "successfulExecutedRoutes": 0,
- "recommendations": [
- {
- "origin": "string",
- "score": 0,
- "dateCreated": "2019-08-24T14:15:22Z",
- "lastUpdated": "2019-08-24T14:15:22Z"
}
]
}
}
Cria e atualiza configuração de transportadora
cnpj required | string Código da transportadora (formato CNPJ) |
name required | string Nome da transportadora |
code required | string Código da integração da empresa com a transportadora |
{- "cnpj": "00.000.000/0000-00",
- "name": "Transportadora XPTO",
- "code": "XPTO"
}
Endpoint para fornecer recomendações de risco com base no CPF do entregador e na fonte de recomendação.
cpf required | string Example: 12445609922 CPF do entregador |
source required | string Example: internal Fonte de recomendação (idwall, internal, etc.) |
origin | string Origem da recomendação (ex: idwall, etc.) |
score | integer Pontuação do entregador (quanto maior o valor, menor o risco) |
dateCreated | string <date-time> Data de criação da recomendação |
Array of objects |
{- "origin": "string",
- "score": 0,
- "dateCreated": "2019-08-24T14:15:22Z",
- "details": [
- {
- "group": "PHOTO_VERIFICATION",
- "detail": "string"
}
]
}
{- "status": "success",
- "message": "Recomendação de risco processada com sucesso"
}
serviceId required | string Código do pedido. |
Atualização de status da ordem de serviço.
orderStatus required | string (LogisticsOperatorServiceOrderStatus) Enum: "WAITING_LOAD" "LOADED" "STARTED" "SUCCESS" "UNSUCCESS" Status
|
changeReason | string Motivo da alteração |
object (GeoLocation) | |
object (ExternalTransportFile) | |
Array of objects (ServiceOrderConfirmationResource) | |
secureCode | string Código de segurança |
packageCode | string Código do pacote |
documentType | string Enum: "RG" "CPF" "DOC_DECLINED" Documento
|
recipientName | string Nome do destinatário |
additionalInfo | string Informações adicionais |
document | string Documento |
confirmationDate | string <yyyy-MM-dd'T'HH:mm:ss.SSS> Data da confirmação |
customReasonName | string Nome customizado de reason |
object (ServiceOrderTimeInfo) | |
localTimezone | number Timezone |
packageCodes | Array of strings Códigos dos pacotes |
{- "orderStatus": "SUCCESS",
- "changeReason": "Entregue no local",
- "geoLocation": {
- "latitude": 37.4220936,
- "longitude": -122.083922
}, - "transportFile": {
- "id": "A000",
- "deliverymanDoc": "00000000000",
- "deliverymanLicensePlate": "AAA0000",
- "deliverymanName": "Zé Maria"
}, - "documentType": "CPF",
- "document": "00000000000",
- "recipientName": "Maria José",
- "additionalInfo": "Informações adicionais",
- "confirmationDate": "2025-04-10T07:42:30.123",
- "resources": [
- {
- "type": "PLACE",
- "url": "URL_PLACE"
}, - {
- "type": "OTHER",
- "url": "URL_OTHER"
}
]
}