Download OpenAPI specification:Download
API do SaiuPraEntrega
A autenticação é realizada através do método Bearer Token, utilizando a chave de API do usuário. Para mais detalhes sobre como gerar a sua chave API acesse nossa documentação
Toda requisição precisa ter o header Accept:
Accept: application/json
Para mais detalhes sobre a API clique aqui.
Acompanhe a tela de estatísticas da sua conta. Nela, temos todos os gráficos referente aos envios diários das funcionalidades. Como a quantidade de envios de SMS ou E-mails em sua conta, entre outros.
Caso não saiba onde fica essa tela, acesse este artigo para saber como verificar as estatísticas.
Todas as datas contidas no payload a ser enviado para a API devem ser no Timezone UTC +0, de preferencia, seguindo o padrão da ISO 8601.
"created_at": "2020-03-10T13:26:57+00:00"
Sempre que for fazer algum teste, recomendamos que altere os valores do Request Body para evitar problemas. Caso tenha alguma dúvida, acesse este artigo.
Foi depreciado o campo address
de Event Group, para mais detalhes sobre acesse nossa documentação.
Caso ainda não tenha realizado a mudança em seu projeto, sugerimos substitua o o campo address
pelo unit_address
.
Lista uma coleção de todos os pacotes.
include | string Enum: "latest_event" "items" "destination_address" Adiciona o evento mais recente do pacote, lista um item do pacote e mostra o endereço de destino do pacote. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": 1,
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "tracking_code": "2131",
- "fiscal_invoice_key": "123456789123456789",
- "fiscal_invoice_code": 25367,
- "fiscal_invoice_series": 2,
- "shipping_company": "correios",
- "untrackeable_reason": "Dados para rastreamento inválido.",
- "untrackeable_at": "2020-03-10T13:26:57+00:00",
- "finished_at": "2020-03-10T13:26:57+00:00",
- "address_not_found_at": "2020-03-10T13:26:57+00:00",
- "arrived_withdrawal_at": "2020-03-10T13:26:57+00:00",
- "damaged_at": "2020-03-10T13:26:57+00:00",
- "delivered_at": "2020-03-10T13:26:57+00:00",
- "delivered_to_sender_at": "2020-03-10T13:26:57+00:00",
- "delivery_attempt_failed_at": "2020-03-10T13:26:57+00:00",
- "fulfilled_at": "2020-03-10T13:26:57+00:00",
- "last_forwarding_at": "2020-03-10T13:26:57+00:00",
- "misplaced_at": "2020-03-10T13:26:57+00:00",
- "refused_at": "2020-03-10T13:26:57+00:00",
- "returned_at": "2020-03-10T13:26:57+00:00",
- "seized_at": "2020-03-10T13:26:57+00:00",
- "scheduled_at": "2020-03-10T13:26:57+00:00",
- "taxed_at": "2020-03-10T13:26:57+00:00",
- "waiting_tax_payment_at": "2020-03-10T13:26:57+00:00",
- "last_track_at": "2020-03-10T13:26:57+00:00",
- "last_track_attempt_at": "2020-03-10T13:26:57+00:00",
- "items": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
], - "latest_event": {
- "id": "1",
- "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "description": "Objeto entregue ao destinatário",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Cria um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
description required | string Descrição do produto. |
customer_name | string or null Nome do cliente. |
customer_email | string or null E-mail de contato. |
customer_phone | string or null Telefone de contato. |
tracking_code required | string Código de rastreamento do produto. |
shipping_company required | string Enum: "caniao" "correios" "jadlog" "movvi" "yellow-log" "tnt" "total-express" Indica o nome da transportadora do produto. |
object or null Grupo com os dados da nota fiscal. | |
required | Array of objects Grupo de itens do pacote. |
{- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "tracking_code": "2131",
- "shipping_company": "correios",
- "fiscal_invoice": {
- "key": "123456789123456789",
- "code": 25367,
- "series": 2
}, - "items": [
- {
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350
}
]
}
{- "data": {
- "id": 1,
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "tracking_code": "2131",
- "fiscal_invoice_key": "123456789123456789",
- "fiscal_invoice_code": 25367,
- "fiscal_invoice_series": 2,
- "shipping_company": "correios",
- "untrackeable_reason": "Dados para rastreamento inválido.",
- "untrackeable_at": "2020-03-10T13:26:57+00:00",
- "finished_at": "2020-03-10T13:26:57+00:00",
- "address_not_found_at": "2020-03-10T13:26:57+00:00",
- "arrived_withdrawal_at": "2020-03-10T13:26:57+00:00",
- "damaged_at": "2020-03-10T13:26:57+00:00",
- "delivered_at": "2020-03-10T13:26:57+00:00",
- "delivered_to_sender_at": "2020-03-10T13:26:57+00:00",
- "delivery_attempt_failed_at": "2020-03-10T13:26:57+00:00",
- "fulfilled_at": "2020-03-10T13:26:57+00:00",
- "last_forwarding_at": "2020-03-10T13:26:57+00:00",
- "misplaced_at": "2020-03-10T13:26:57+00:00",
- "refused_at": "2020-03-10T13:26:57+00:00",
- "returned_at": "2020-03-10T13:26:57+00:00",
- "seized_at": "2020-03-10T13:26:57+00:00",
- "scheduled_at": "2020-03-10T13:26:57+00:00",
- "taxed_at": "2020-03-10T13:26:57+00:00",
- "waiting_tax_payment_at": "2020-03-10T13:26:57+00:00",
- "last_track_at": "2020-03-10T13:26:57+00:00",
- "last_track_attempt_at": "2020-03-10T13:26:57+00:00",
- "items": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
], - "latest_event": {
- "id": "1",
- "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "description": "Objeto entregue ao destinatário",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}
}
}
Mostra um pacote específico.
include | string Enum: "latest_event" "items" "destination_address" Adiciona o evento mais recente do pacote, lista um item do pacote e mostra o endereço de destino do pacote. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": {
- "id": 1,
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "tracking_code": "2131",
- "fiscal_invoice_key": "123456789123456789",
- "fiscal_invoice_code": 25367,
- "fiscal_invoice_series": 2,
- "shipping_company": "correios",
- "untrackeable_reason": "Dados para rastreamento inválido.",
- "untrackeable_at": "2020-03-10T13:26:57+00:00",
- "finished_at": "2020-03-10T13:26:57+00:00",
- "address_not_found_at": "2020-03-10T13:26:57+00:00",
- "arrived_withdrawal_at": "2020-03-10T13:26:57+00:00",
- "damaged_at": "2020-03-10T13:26:57+00:00",
- "delivered_at": "2020-03-10T13:26:57+00:00",
- "delivered_to_sender_at": "2020-03-10T13:26:57+00:00",
- "delivery_attempt_failed_at": "2020-03-10T13:26:57+00:00",
- "fulfilled_at": "2020-03-10T13:26:57+00:00",
- "last_forwarding_at": "2020-03-10T13:26:57+00:00",
- "misplaced_at": "2020-03-10T13:26:57+00:00",
- "refused_at": "2020-03-10T13:26:57+00:00",
- "returned_at": "2020-03-10T13:26:57+00:00",
- "seized_at": "2020-03-10T13:26:57+00:00",
- "scheduled_at": "2020-03-10T13:26:57+00:00",
- "taxed_at": "2020-03-10T13:26:57+00:00",
- "waiting_tax_payment_at": "2020-03-10T13:26:57+00:00",
- "last_track_at": "2020-03-10T13:26:57+00:00",
- "last_track_attempt_at": "2020-03-10T13:26:57+00:00",
- "items": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
], - "latest_event": {
- "id": "1",
- "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "description": "Objeto entregue ao destinatário",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}
}
}
Atualiza um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
description | string Descrição do produto. |
customer_name | string or null Nome do cliente. |
customer_email | string or null E-mail de contato. |
customer_phone | string or null Telefone de contato. |
Array of objects Grupo de itens do pacote. |
{- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "items": [
- {
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350
}
]
}
{- "data": {
- "id": 1,
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "tracking_code": "2131",
- "fiscal_invoice_key": "123456789123456789",
- "fiscal_invoice_code": 25367,
- "fiscal_invoice_series": 2,
- "shipping_company": "correios",
- "untrackeable_reason": "Dados para rastreamento inválido.",
- "untrackeable_at": "2020-03-10T13:26:57+00:00",
- "finished_at": "2020-03-10T13:26:57+00:00",
- "address_not_found_at": "2020-03-10T13:26:57+00:00",
- "arrived_withdrawal_at": "2020-03-10T13:26:57+00:00",
- "damaged_at": "2020-03-10T13:26:57+00:00",
- "delivered_at": "2020-03-10T13:26:57+00:00",
- "delivered_to_sender_at": "2020-03-10T13:26:57+00:00",
- "delivery_attempt_failed_at": "2020-03-10T13:26:57+00:00",
- "fulfilled_at": "2020-03-10T13:26:57+00:00",
- "last_forwarding_at": "2020-03-10T13:26:57+00:00",
- "misplaced_at": "2020-03-10T13:26:57+00:00",
- "refused_at": "2020-03-10T13:26:57+00:00",
- "returned_at": "2020-03-10T13:26:57+00:00",
- "seized_at": "2020-03-10T13:26:57+00:00",
- "scheduled_at": "2020-03-10T13:26:57+00:00",
- "taxed_at": "2020-03-10T13:26:57+00:00",
- "waiting_tax_payment_at": "2020-03-10T13:26:57+00:00",
- "last_track_at": "2020-03-10T13:26:57+00:00",
- "last_track_attempt_at": "2020-03-10T13:26:57+00:00",
- "items": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
], - "latest_event": {
- "id": "1",
- "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "description": "Objeto entregue ao destinatário",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}
}
}
Lista todos eventos de um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": "1",
- "package": {
- "id": 1,
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "tracking_code": "2131",
- "fiscal_invoice_key": "123456789123456789",
- "fiscal_invoice_code": 25367,
- "fiscal_invoice_series": 2,
- "shipping_company": "correios",
- "untrackeable_reason": "Dados para rastreamento inválido.",
- "untrackeable_at": "2020-03-10T13:26:57+00:00",
- "finished_at": "2020-03-10T13:26:57+00:00",
- "address_not_found_at": "2020-03-10T13:26:57+00:00",
- "arrived_withdrawal_at": "2020-03-10T13:26:57+00:00",
- "damaged_at": "2020-03-10T13:26:57+00:00",
- "delivered_at": "2020-03-10T13:26:57+00:00",
- "delivered_to_sender_at": "2020-03-10T13:26:57+00:00",
- "delivery_attempt_failed_at": "2020-03-10T13:26:57+00:00",
- "fulfilled_at": "2020-03-10T13:26:57+00:00",
- "last_forwarding_at": "2020-03-10T13:26:57+00:00",
- "misplaced_at": "2020-03-10T13:26:57+00:00",
- "refused_at": "2020-03-10T13:26:57+00:00",
- "returned_at": "2020-03-10T13:26:57+00:00",
- "seized_at": "2020-03-10T13:26:57+00:00",
- "scheduled_at": "2020-03-10T13:26:57+00:00",
- "taxed_at": "2020-03-10T13:26:57+00:00",
- "waiting_tax_payment_at": "2020-03-10T13:26:57+00:00",
- "last_track_at": "2020-03-10T13:26:57+00:00",
- "last_track_attempt_at": "2020-03-10T13:26:57+00:00",
- "items": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
], - "latest_event": {
- "id": "1",
- "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "description": "Objeto entregue ao destinatário",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}
}, - "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}, - "description": "Object delivered to recipient",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Mostra um evento específico de um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": {
- "id": "1",
- "package": {
- "id": 1,
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "tracking_code": "2131",
- "fiscal_invoice_key": "123456789123456789",
- "fiscal_invoice_code": 25367,
- "fiscal_invoice_series": 2,
- "shipping_company": "correios",
- "untrackeable_reason": "Dados para rastreamento inválido.",
- "untrackeable_at": "2020-03-10T13:26:57+00:00",
- "finished_at": "2020-03-10T13:26:57+00:00",
- "address_not_found_at": "2020-03-10T13:26:57+00:00",
- "arrived_withdrawal_at": "2020-03-10T13:26:57+00:00",
- "damaged_at": "2020-03-10T13:26:57+00:00",
- "delivered_at": "2020-03-10T13:26:57+00:00",
- "delivered_to_sender_at": "2020-03-10T13:26:57+00:00",
- "delivery_attempt_failed_at": "2020-03-10T13:26:57+00:00",
- "fulfilled_at": "2020-03-10T13:26:57+00:00",
- "last_forwarding_at": "2020-03-10T13:26:57+00:00",
- "misplaced_at": "2020-03-10T13:26:57+00:00",
- "refused_at": "2020-03-10T13:26:57+00:00",
- "returned_at": "2020-03-10T13:26:57+00:00",
- "seized_at": "2020-03-10T13:26:57+00:00",
- "scheduled_at": "2020-03-10T13:26:57+00:00",
- "taxed_at": "2020-03-10T13:26:57+00:00",
- "waiting_tax_payment_at": "2020-03-10T13:26:57+00:00",
- "last_track_at": "2020-03-10T13:26:57+00:00",
- "last_track_attempt_at": "2020-03-10T13:26:57+00:00",
- "items": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
], - "latest_event": {
- "id": "1",
- "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "description": "Objeto entregue ao destinatário",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}
}, - "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}, - "description": "Object delivered to recipient",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}
}
Lista uma coleção de todos eventos.
fields[events] | string Value: "status" Agrupa os status dos eventos. |
filter[unique_status] | boolen Verifica se deve ser feito o agrupamento. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": "1",
- "package": {
- "id": 1,
- "customer_name": "Goku",
- "customer_phone": "+5533933333333",
- "description": "Figure art do goku transformado em Super Saiyajin 2",
- "tracking_code": "2131",
- "fiscal_invoice_key": "123456789123456789",
- "fiscal_invoice_code": 25367,
- "fiscal_invoice_series": 2,
- "shipping_company": "correios",
- "untrackeable_reason": "Dados para rastreamento inválido.",
- "untrackeable_at": "2020-03-10T13:26:57+00:00",
- "finished_at": "2020-03-10T13:26:57+00:00",
- "address_not_found_at": "2020-03-10T13:26:57+00:00",
- "arrived_withdrawal_at": "2020-03-10T13:26:57+00:00",
- "damaged_at": "2020-03-10T13:26:57+00:00",
- "delivered_at": "2020-03-10T13:26:57+00:00",
- "delivered_to_sender_at": "2020-03-10T13:26:57+00:00",
- "delivery_attempt_failed_at": "2020-03-10T13:26:57+00:00",
- "fulfilled_at": "2020-03-10T13:26:57+00:00",
- "last_forwarding_at": "2020-03-10T13:26:57+00:00",
- "misplaced_at": "2020-03-10T13:26:57+00:00",
- "refused_at": "2020-03-10T13:26:57+00:00",
- "returned_at": "2020-03-10T13:26:57+00:00",
- "seized_at": "2020-03-10T13:26:57+00:00",
- "scheduled_at": "2020-03-10T13:26:57+00:00",
- "taxed_at": "2020-03-10T13:26:57+00:00",
- "waiting_tax_payment_at": "2020-03-10T13:26:57+00:00",
- "last_track_at": "2020-03-10T13:26:57+00:00",
- "last_track_attempt_at": "2020-03-10T13:26:57+00:00",
- "items": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
], - "latest_event": {
- "id": "1",
- "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "description": "Objeto entregue ao destinatário",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}
}, - "unit_address": {
- "street": "RUA CORP CAPSULE",
- "number": "800",
- "district": "DRAGON",
- "city": "BALL",
- "state": "MG",
- "zip_code": "3232323232"
}, - "destination_address": {
- "address": "Rua do medo",
- "number": "100",
- "complement": "Esquina com a casa do Goku.",
- "city": "Kansas",
- "district": "Brookside",
- "zip_code": "00.000-000",
- "state": "MG"
}, - "description": "Object delivered to recipient",
- "description_translated": "Objeto entregue ao destinatário",
- "status": "01",
- "type": "OEC",
- "unit_name": "CDD BELO HORIZONTE",
- "happened_at": "2020-03-10T13:26:57+00:00",
- "ignore_last_event": true,
- "is_address_not_found": true,
- "is_awaiting_withdrawal": true,
- "is_delivery_attempt_failed": false,
- "is_out_for_delivery": true,
- "is_waiting_tax_payment": true,
- "was_damaged": false,
- "was_delivered": true,
- "was_delivered_to_sender": false,
- "was_dispatched": true,
- "was_forwarded": true,
- "was_misplaced": true,
- "was_refused": true,
- "was_returned": true,
- "was_scheduled": false,
- "was_taxed": false,
- "was_seized": false
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Lista uma coleção de todos itens de um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
]
}
Cria um item em um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
name required | string Nome do item. |
quantity required | number Quantidade do item. |
value required | number Valor do item. |
{- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350
}
{- "data": {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
}
Mostra um item específico de um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
}
Atualiza um item em um pacote.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
name | string Nome do item. |
quantity | number Quantidade do item. |
value | number Valor do item. |
{- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350
}
{- "data": {
- "id": 1,
- "name": "Figure art do goku transformado em Super Saiyajin 2.",
- "quantity": 1.5,
- "value": 350,
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00"
}
}
Busca quantidade de pacotes danificados dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes em progresso dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes sem movimentação dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes por transportadora dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes por mẽs dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
aggregate_by required | string Enum: "day" "week" "month" Formato de agregação para os dados retornados. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca o tempo medio de entrega dos pacotes dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca os dados da utilização do plano atual naquele mẽs.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes recusados dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes apreendidos dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes bloqueados dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes que estão em progresso dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes que estão coletando dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca quantidade de pacotes que precisam de alguma ação do usuário dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca os emails enviados por dia dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
aggregate_by required | string Enum: "day" "week" "month" Formato de agregação para os dados retornados. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca os emails entregues por dia dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
aggregate_by required | string Enum: "day" "week" "month" Formato de agregação para os dados retornados. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca os sms enviados por dia dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
aggregate_by required | string Enum: "day" "week" "month" Formato de agregação para os dados retornados. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca os sms entregues por dia dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
aggregate_by required | string Enum: "day" "week" "month" Formato de agregação para os dados retornados. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Busca os contatos bloqueados por dia dentro de um periodo.
start_date required | integer Data do inicio do intervalo em formato timestamp. |
end_date required | integer Data do final do intervalo em formato timestamp. |
aggregate_by required | string Enum: "day" "week" "month" Formato de agregação para os dados retornados. |
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "label": "20/20/2020",
- "value": 10
}
], - "metadata": {
- "items_count": 1
}
}
Instala a integração com o Notificações Inteligentes, é importante lembrar que o usuário que for efetuar a instalação, tenha todos seus dados de endereço previamente cadastrados no Saiu Pra Entrega.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "data": {
- "webhook": {
- "id": 1,
- "name": "NotificaçõesInteligentes",
- "provider_id": 1,
- "provider_name": "notificacoes_inteligentes"
}
}
}
Desinstala a integração com o Notificações Inteligentes.
Content-Type required | string Value: "application/x-www-form-urlencoded" |
Accept required | string Value: "application/json" |
{- "error": "unauthorized"
}