Skip to main content
POST
Preventivo spedizione

Authorizations

x-api-key
string
header
required

Body

application/json
orderId
number

ID ordine E-Manager (modalità A). Mutuamente esclusivo con i campi manuali.

Example:

12345

warehouseId
number

ID magazzino di partenza (modalità B)

Example:

10

destinationZip
string

CAP destinazione (modalità B)

Example:

"20121"

destinationCountryCode
string

Codice paese ISO alpha-2 destinazione (modalità B)

Example:

"IT"

totalWeight
number

Peso totale in kg (alternativa a parcels)

Example:

2.5

totalVolume
number

Volume totale in cm³ (alternativa a parcels)

Example:

12000

parcels
object[]
cod
object
insurance
object

Response

200 - application/json

Array di preventivi ordinati per totalPriceWithVat crescente. Se nessun corriere è disponibile, la risposta è un oggetto warning (stesso status 200): vedi risposta warning.

carrierCompanyId
number
required

ID contratto corriere-company da usare in create shipment

Example:

6

carrierName
string
required
Example:

"BRT"

carrierCode
string
required
Example:

"BRT"

basePrice
string
required
Example:

"19.50"

zoneLabel
string
required
Example:

"76 - 100"

zoneName
string
required
Example:

"ITALIA"

coefficient
string
required
Example:

"5000"

chargeableWeight
string
required
Example:

"112.10"

realWeight
string
required
Example:

"112.1"

volumetricWeight
string
required
Example:

"112.10"

contractLabel
string
required
Example:

"CARINARO"

surchargePrice
string
required
Example:

"0"

extraSteps
number
required
Example:

1

extraPrice
string
required
Example:

"4.87"

carrierOptionsTotal
string
required
Example:

"1.46"

carrierOptionsDetail
object[]
required
totalPrice
string
required
Example:

"25.83"

vatAmount
string
required
Example:

"5.68"

totalPriceWithVat
string
required
Example:

"31.51"

codPrice
string
required
Example:

"0"

insurancePrice
string
required
Example:

"0"

maxWeight
string | null
Example:

"100.99"

maxWeightCarrierCompany
string | null
Example:

null