Flixlog API
  • Introdução
  • Autorização
  • Fluxo de Integração
    • Cotação de Frete
  • APIs
    • Cotação de Frete
Powered by GitBook
On this page
  • Cotar frete
  • RAW JSON

Was this helpful?

  1. APIs

Cotação de Frete

Cotar frete

POST https://freight.flixlog.com/quotation

Endpoint utilizado para efetuar as cotações de frete.

Headers

Name
Type
Description

Authorization

string

Token gerado via painel

Request Body

Name
Type
Description

parcels[0].cargo_value

number

Valor total dos itens. Exemplo, se o preço unitário é R$ 100,00 e você adicionou a quantidade 10, deve ser enviado nesse campo o valor total, ou seja 1000.

parcels[0].weight

number

Peso em quilos. Ex: 8

parcels[0].quantity

number

Quantidade de itens com essas medidas.

parcels[0].height

number

Altura do item em metros. Ex: 0.80

parcels[0].length

number

Comprimento do item em metros. Ex: 1.50

parcels[0].width

number

Largura do item em metros. Ex: 0.20

parcels

object

Array de itens que serão cotados.

to

string

CEP de destino

from

string

CEP de origem

[
  {
    "id": "8d0e91bc-59d5-4431-bd92-c5a61409c074",
    "service": "Flixlog - Normal",
    "carrier_id": 2,
    "delivery_date": "2021-06-04T00:00:00-03:00",
    "expedition_time": 0,
    "estimated_cost": 545.86,
    "region": "PR-CAP",
    "currency": "BRL",
    "min_delivery_date": "2021-06-04T00:00:00-03:00",
    "carrier_canonical_name": "rodobras",
    "cubed_weight": 1385.67,
    "delivery_days": 3
  }
]

RAW JSON

{
	"from": "81290070",
	"parcels": [{
		"width": 0.98,
		"weight": 8.3,
		"length": 0.70,
		"cargo_value": 250,
		"height": 0.15,
    "quantity": 2
	},{
		"width": 0.92,
		"weight": 9.4,
		"length": 0.45,
		"cargo_value": 100,
		"height": 0.18,
    "quantity": 4
	}],
	"to": "81290070"
}

PreviousCotação de Frete

Last updated 3 years ago

Was this helpful?