Download OpenAPI specification:
| bookingUuid required | string <uuid> Example: 918f07a7-14b3-4587-aa46-69f9089dd663 Uuid of the booking |
Document to upload
| documentType required | string Enum: "CommercialInvoice" "PackingList" "Others" Type of document |
| document required | string <binary> Document file (PDF, CSV, or XLSX) |
{- "message": "The given data was invalid.",
- "errors": {
- "someProperty": [
- "The some property field is required."
]
}
}| rateUuid required | string <uuid> Example: 918f07a7-14b3-4587-aa46-69f9089dd663 Uuid of the rate |
Book a rate by rateUuid
| currency required | string Repeated OpenAPI references and Laravel validation strings are kept inline instead of extracting constants. |
| lang | string Enum: "es_ES" "en_US" |
required | object (ServicesSelected) Details of the services selected |
required | object |
required | Array of objects (OptionalBillingItemSelectionData) Property used to book optional additional services. |
object or null Optional addresses to associate with the booking. Each key is an address type (shipper, consignee, pickup, delivery, billing). |
{- "currency": "EUR",
- "lang": "es_ES",
- "servicesSelected": {
- "pickup": true,
- "origin": true,
- "destination": true,
- "freight": true,
- "delivery": true
}, - "bookingDetails": {
- "cargoReadyDate": "2019-08-24",
- "commodity": "Regular Cargo"
}, - "optionalBillingItems": [
- {
- "name": "string",
- "serviceItem": "Pickup",
- "data": { }
}
], - "addresses": {
- "shipper": {
- "address": "string",
- "city": "string",
- "companyName": "string",
- "countryIsoCode": "st",
- "email": "user@example.com",
- "eoriCode": "string",
- "legalId": "string",
- "phone": "string",
- "postalCode": "string",
- "stateCode": "string",
- "contactName": "string"
}, - "consignee": {
- "address": "string",
- "city": "string",
- "companyName": "string",
- "countryIsoCode": "st",
- "email": "user@example.com",
- "eoriCode": "string",
- "legalId": "string",
- "phone": "string",
- "postalCode": "string",
- "stateCode": "string",
- "contactName": "string"
}, - "pickup": {
- "address": "string",
- "city": "string",
- "companyName": "string",
- "countryIsoCode": "st",
- "email": "user@example.com",
- "eoriCode": "string",
- "legalId": "string",
- "phone": "string",
- "postalCode": "string",
- "stateCode": "string",
- "contactName": "string"
}, - "delivery": {
- "address": "string",
- "city": "string",
- "companyName": "string",
- "countryIsoCode": "st",
- "email": "user@example.com",
- "eoriCode": "string",
- "legalId": "string",
- "phone": "string",
- "postalCode": "string",
- "stateCode": "string",
- "contactName": "string"
}, - "billing": {
- "address": "string",
- "city": "string",
- "companyName": "string",
- "countryIsoCode": "st",
- "email": "user@example.com",
- "eoriCode": "string",
- "legalId": "string",
- "phone": "string",
- "postalCode": "string",
- "stateCode": "string",
- "contactName": "string"
}
}
}{- "data": {
- "bookingUuid": "91151bb5-cb15-45c8-9a6c-0c1cd4bce36f"
}
}| bookingUuid required | string <uuid> Example: 918f07a7-14b3-4587-aa46-69f9089dd663 Uuid of the booking |
{- "data": {
- "uuid": "918f07a7-14b3-4587-aa46-69f9089dd663",
- "totalAmount": {
- "amount": 100,
- "currency": "EUR"
}, - "origin": {
- "locationType": "PORT",
- "portIsoCode": "ESBCN",
- "postalCode": "08001",
- "cityName": "Barcelona"
}, - "originRoutingPort": "ESBCN",
- "destination": {
- "locationType": "PORT",
- "portIsoCode": "ESBCN",
- "postalCode": "08001",
- "cityName": "Barcelona"
}, - "destinationRoutingPort": "ESBCN",
- "createdAt": "2022-01-02 00:00:00",
- "status": "PREBOOKING",
- "shipmentType": "FCL",
- "items": [
- {
- "type": "DV20",
- "quantity": 1,
- "cargoDescription": "Flammable chemicals",
- "weight": {
- "weight": 950.5,
- "unit": "Kg"
}, - "temperatureControl": {
- "cargoLimits": {
- "min": -15,
- "max": 8,
- "unit": "C"
}, - "setPoint": {
- "value": -3,
- "unit": "C"
}, - "requiresGenset": true
}, - "dangerousGoods": [
- {
- "unNumber": "UN1993"
}
]
}
], - "charges": {
- "localCharges": [
- {
- "amount": 100,
- "currency": "EUR",
- "description": "Description of the charge",
- "taxes": 21
}
], - "freightCharges": [
- {
- "amount": 100,
- "currency": "EUR",
- "description": "Description of the charge",
- "taxes": 21
}
], - "otherCharges": [
- {
- "amount": 100,
- "currency": "EUR",
- "description": "Description of the charge",
- "taxes": 21
}
], - "inlandCharges": [
- {
- "amount": 100,
- "currency": "EUR",
- "description": "Description of the charge",
- "taxes": 21
}
], - "additionalServicesCharges": [
- {
- "amount": 100,
- "currency": "EUR",
- "description": "Description of the charge",
- "taxes": 21
}
]
}, - "commodityType": "Regular Cargo",
- "bookingParty": {
- "shipper": {
- "name": "John Doe",
- "address": "Carrer de la Marina, 16",
- "postalCode": "08001",
- "city": "Barcelona",
- "country": "ES",
- "phone": "+34 123 456 789",
- "email": "hi@icontainers.com"
}, - "consignee": {
- "name": "John Doe",
- "address": "Carrer de la Marina, 16",
- "postalCode": "08001",
- "city": "Barcelona",
- "country": "ES",
- "phone": "+34 123 456 789",
- "email": "hi@icontainers.com"
}, - "notify": {
- "name": "John Doe",
- "address": "Carrer de la Marina, 16",
- "postalCode": "08001",
- "city": "Barcelona",
- "country": "ES",
- "phone": "+34 123 456 789",
- "email": "hi@icontainers.com"
}, - "billing": {
- "name": "John Doe",
- "address": "Carrer de la Marina, 16",
- "postalCode": "08001",
- "city": "Barcelona",
- "country": "ES",
- "phone": "+34 123 456 789",
- "email": "hi@icontainers.com"
}, - "pickup": {
- "name": "John Doe",
- "address": "Carrer de la Marina, 16",
- "postalCode": "08001",
- "city": "Barcelona",
- "country": "ES",
- "phone": "+34 123 456 789",
- "email": "hi@icontainers.com"
}, - "delivery": {
- "name": "John Doe",
- "address": "Carrer de la Marina, 16",
- "postalCode": "08001",
- "city": "Barcelona",
- "country": "ES",
- "phone": "+34 123 456 789",
- "email": "hi@icontainers.com"
}
}, - "documents": {
- "packagingList": {
- "id": "WcOADB4ddQXukNi6cvZVm6SLOrJUlNF5AGYFh-mbxHZNXKpMB8-QdC5AGsiBbJ6cIxFDMRHzb4glE3ngExtiTcdC",
- "name": "Document name",
- "createdAt": "2022-01-02 00:00:00"
}, - "commercialInvoice": {
- "id": "WcOADB4ddQXukNi6cvZVm6SLOrJUlNF5AGYFh-mbxHZNXKpMB8-QdC5AGsiBbJ6cIxFDMRHzb4glE3ngExtiTcdC",
- "name": "Document name",
- "createdAt": "2022-01-02 00:00:00"
}, - "others": [
- {
- "id": "WcOADB4ddQXukNi6cvZVm6SLOrJUlNF5AGYFh-mbxHZNXKpMB8-QdC5AGsiBbJ6cIxFDMRHzb4glE3ngExtiTcdC",
- "name": "Document name",
- "createdAt": "2022-01-02 00:00:00"
}
]
}
}
}| bookingUuid required | string <uuid> Example: 918f07a7-14b3-4587-aa46-69f9089dd663 Uuid of the booking |
| documentId required | string Example: WcOADB4ddQXukNi6cvZVm6SLOrJUlNF5AGYFh-mbxHZNXKpMB8-QdC5AGsiBbJ6cIxFDMRHzb4glE3ngExtiTcdC Id of the document |
{
}| bookingUuid required | string <uuid> Example: 918f07a7-14b3-4587-aa46-69f9089dd663 Uuid of the booking |
{- "data": {
- "uuid": "918f07a7-14b3-4587-aa46-69f9089dd663",
- "estimatedTimeArrival": "2021-09-01 12:00:00",
- "estimatedTimeDeparture": "2021-09-01 12:00:00",
- "actualTimeArrival": "2021-09-01 12:00:00",
- "actualTimeDeparture": "2021-09-01 12:00:00",
- "status": "PREBOOKING"
}
}This method return valid results for aerial places to use in a aerial quotation later on
| term required | string <= 400 characters Example: term=bar Term to search for places |
{- "data": {
- "cities": [
- {
- "countryIsoCode": "ES",
- "cityName": "Barcelona",
- "defaultPostalCode": "08001",
- "state": "ME"
}
], - "postalCodes": [
- {
- "countryIsoCode": "ES",
- "cityName": "Barcelona",
- "postalCode": "08001"
}
], - "airports": [
- {
- "airportName": "Barcelona-Josep Tarradellas Airport",
- "iataCode": "BCN",
- "countryIsoCode": "ES"
}
]
}
}This method return valid results for aerial places to use in a maritime (FCL/LCL) quotation later on
| term required | string <= 400 characters Example: term=bar Term to search for places |
| shipmentType required | string = 3 characters Enum: "FCL" "LCL" Example: shipmentType=FCL Shipment type, I.e FCL or LCL |
{- "data": {
- "cities": [
- {
- "countryIsoCode": "ES",
- "cityName": "Barcelona",
- "defaultPostalCode": "08001",
- "state": "ME"
}
], - "postalCodes": [
- {
- "countryIsoCode": "ES",
- "cityName": "Barcelona",
- "postalCode": "08001"
}
], - "seaPorts": [
- {
- "portName": "Barcelona Port",
- "countryIsoCode": "ES",
- "cityName": "Barcelona",
- "portIsoCode": "ESBCN"
}
]
}
}New quote
| currency required | string Default: "EUR" |
| lang required | string Default: "en_US" |
| commodityType | string or null Enum: "Regular Cargo" "Refrigerated" "Hazardous goods (DGR, IMO)" "Perishable" "Used Tires/Scrap" "Household Goods" "Livestock and Animals" |
| maxExecutionTime | number or null <int32> <= 180 The number of seconds to wait for the quote to be processed. |
required | any (MaritimeQuoteLocationRequest) |
required | any (MaritimeQuoteLocationRequest) |
| bestOffer | boolean Default: false |
required | Array of objects |
{- "currency": "EUR",
- "lang": "es_ES",
- "commodityType": "Regular Cargo",
- "maxExecutionTime": 180,
- "origin": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "bestOffer": false,
- "containers": [
- {
- "quantity": 1,
- "type": "DV20"
}
]
}{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "quotedAt": "2019-08-24T14:15:22Z",
- "currency": "EUR",
- "lang": "es_ES",
- "rates": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "expirationDate": "3023-02-01",
- "direct": true,
- "schedule": {
- "departureDate": "2023-02-01T00:00:00+00:00",
- "cutOffDate": "2023-01-01T00:00:00+00:00",
- "vesselName": "string",
- "voyageNumber": "string",
- "transitDays": 1,
- "origin": {
- "code": "USMIA"
}, - "destination": {
- "code": "USMIA"
}, - "originRouting": {
- "code": "USMIA"
}, - "destinationRouting": {
- "code": "USMIA"
}, - "transhipment": [
- {
- "code": "USMIA"
}
]
}, - "billingItems": [
- {
- "name": null,
- "serviceItem": "Freight",
- "optional": false,
- "price": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}
}
], - "transitTime": 1,
- "publicTags": [
- "Promoted"
], - "suppliersInformation": {
- "freight": {
- "name": "string"
}, - "pickup": {
- "name": "string"
}, - "delivery": {
- "name": "string"
}
}, - "pickupSchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "deliverySchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "total": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}, - "rateType": "Mixed",
- "isPartial": false,
- "departureWeekdays": [
- 1
]
}
], - "quoteType": "Instant quote",
- "quoteResultMovement": "P2P",
- "completed": true,
- "origin": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "items": [
- {
- "type": "DV20",
- "quantity": 1,
- "cargoDescription": "Flammable chemicals",
- "weight": {
- "weight": 950.5,
- "unit": "Kg"
}, - "temperatureControl": {
- "cargoLimits": {
- "min": -15,
- "max": 8,
- "unit": "C"
}, - "setPoint": {
- "value": -3,
- "unit": "C"
}, - "requiresGenset": true
}, - "dangerousGoods": [
- {
- "unNumber": "UN1993"
}
]
}
], - "shipmentType": "FCL"
}
}New quote
| currency required | string Default: "EUR" |
| lang required | string Default: "en_US" |
| commodityType | string or null Enum: "Regular Cargo" "Refrigerated" "Hazardous goods (DGR, IMO)" "Perishable" "Used Tires/Scrap" "Household Goods" "Livestock and Animals" |
| maxExecutionTime | number or null <int32> <= 180 The number of seconds to wait for the quote to be processed. |
required | any (MaritimeQuoteLocationRequest) |
required | any (MaritimeQuoteLocationRequest) |
| bestOffer | boolean Default: false |
required | Array of objects |
{- "currency": "EUR",
- "lang": "es_ES",
- "commodityType": "Regular Cargo",
- "maxExecutionTime": 180,
- "origin": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "bestOffer": false,
- "cargo": [
- {
- "weight": 105.8,
- "volume": 1.5,
- "volumeUnit": "M3",
- "weightUnit": "Kg",
- "quantity": 1,
- "height": 105.8,
- "length": 105.8,
- "width": 105.8,
- "dimensionUnit": "cm",
- "packageType": "Container"
}
]
}{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "quotedAt": "2019-08-24T14:15:22Z",
- "currency": "EUR",
- "lang": "es_ES",
- "rates": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "expirationDate": "3023-02-01",
- "direct": true,
- "schedule": {
- "departureDate": "2023-02-01T00:00:00+00:00",
- "cutOffDate": "2023-01-01T00:00:00+00:00",
- "vesselName": "string",
- "voyageNumber": "string",
- "transitDays": 1,
- "origin": {
- "code": "USMIA"
}, - "destination": {
- "code": "USMIA"
}, - "originRouting": {
- "code": "USMIA"
}, - "destinationRouting": {
- "code": "USMIA"
}, - "transhipment": [
- {
- "code": "USMIA"
}
]
}, - "billingItems": [
- {
- "name": null,
- "serviceItem": "Freight",
- "optional": false,
- "price": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}
}
], - "transitTime": 1,
- "publicTags": [
- "Promoted"
], - "suppliersInformation": {
- "freight": {
- "name": "string"
}, - "pickup": {
- "name": "string"
}, - "delivery": {
- "name": "string"
}
}, - "pickupSchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "deliverySchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "total": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}, - "rateType": "Mixed",
- "isPartial": false,
- "departureWeekdays": [
- 1
]
}
], - "quoteType": "Instant quote",
- "quoteResultMovement": "P2P",
- "completed": true,
- "origin": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "items": [
- {
- "weight": 105.25,
- "weightUnit": "Kg",
- "volume": 3.69,
- "volumeUnit": "M3",
- "height": 10.2,
- "length": 2.9,
- "width": 13.2,
- "dimensionUnit": "cm",
- "quantity": 4,
- "packageType": "Pallet",
- "cargoDescription": "Electronics",
- "cargoType": "general",
- "stackable": true,
- "temperatureControl": {
- "min": 2,
- "max": 8,
- "unit": "C"
}, - "dangerousGoods": [
- {
- "unNumber": "UN1993"
}
], - "numberOfPieces": 7
}
], - "shipmentType": "LCL"
}
}New quote
| currency required | string Default: "EUR" |
| lang required | string Default: "en_US" |
| commodityType | string or null Enum: "Regular Cargo" "Refrigerated" "Hazardous goods (DGR, IMO)" "Perishable" "Used Tires/Scrap" "Household Goods" "Livestock and Animals" |
| maxExecutionTime | number or null <int32> <= 180 The number of seconds to wait for the quote to be processed. |
required | Array of objects |
| isKnownShipper | boolean Default: true |
required | any (AerialQuoteLocationRequest) |
required | any (AerialQuoteLocationRequest) |
| bestOffer | boolean Default: false |
| cargoReadyDate | string <date> |
{- "currency": "EUR",
- "lang": "es_ES",
- "commodityType": "Regular Cargo",
- "maxExecutionTime": 180,
- "cargo": [
- {
- "height": 105.8,
- "weight": 105.8,
- "length": 105.8,
- "width": 105.8,
- "quantity": 1,
- "dimensionUnit": "cm",
- "weightUnit": "Kg",
- "packageType": "Container"
}
], - "isKnownShipper": true,
- "origin": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "bestOffer": false,
- "cargoReadyDate": "2019-08-24"
}{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "quotedAt": "2019-08-24T14:15:22Z",
- "currency": "EUR",
- "lang": "es_ES",
- "rates": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "expirationDate": "3023-02-01",
- "direct": true,
- "schedule": {
- "departureDate": "2023-02-01T00:00:00+00:00",
- "cutOffDate": "2023-01-01T00:00:00+00:00",
- "vesselName": "string",
- "voyageNumber": "string",
- "transitDays": 1,
- "origin": {
- "code": "USMIA"
}, - "destination": {
- "code": "USMIA"
}, - "originRouting": {
- "code": "USMIA"
}, - "destinationRouting": {
- "code": "USMIA"
}, - "transhipment": [
- {
- "code": "USMIA"
}
]
}, - "billingItems": [
- {
- "name": null,
- "serviceItem": "Freight",
- "optional": false,
- "price": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}
}
], - "transitTime": 1,
- "publicTags": [
- "Promoted"
], - "suppliersInformation": {
- "freight": {
- "name": "string"
}, - "pickup": {
- "name": "string"
}, - "delivery": {
- "name": "string"
}
}, - "pickupSchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "deliverySchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "total": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}, - "rateType": "Mixed",
- "isPartial": false,
- "departureWeekdays": [
- 1
]
}
], - "quoteType": "Instant quote",
- "quoteResultMovement": "P2P",
- "completed": true,
- "origin": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "items": [
- {
- "weight": 105.8,
- "height": 10.2,
- "length": 2.9,
- "width": 13.2,
- "dimensionUnit": "cm",
- "weightUnit": "Kg",
- "quantity": 3,
- "packageType": "Pallet",
- "cargoDescription": "Fragile goods",
- "cargoType": "general",
- "stackable": false,
- "temperatureControl": {
- "min": 2,
- "max": 8,
- "unit": "C"
}, - "dangerousGoods": [
- {
- "unNumber": "UN1993"
}
], - "numberOfPieces": 9
}
], - "shipmentType": "AIR",
- "isKnownShipper": true,
- "cargoReadyDate": "2019-08-24"
}
}New quote
| currency required | string Default: "EUR" |
| lang required | string Default: "en_US" |
| commodityType | string or null Enum: "Regular Cargo" "Refrigerated" "Hazardous goods (DGR, IMO)" "Perishable" "Used Tires/Scrap" "Household Goods" "Livestock and Animals" |
| maxExecutionTime | number or null <int32> <= 180 The number of seconds to wait for the quote to be processed. |
required | Array of objects |
| freightClass | string or null Enum: "50" "55" "60" "65" "70" "77.5" "85" "92.5" "100" "110" "125" "150" "175" "200" "250" "300" "400" "500" |
required | object (PostalCodeQuoteLocationRequest) |
required | object (PostalCodeQuoteLocationRequest) |
| cargoReadyDate | string or null <date> |
{- "currency": "EUR",
- "lang": "es_ES",
- "commodityType": "Regular Cargo",
- "maxExecutionTime": 180,
- "cargo": [
- {
- "height": 105.8,
- "weight": 105.8,
- "length": 105.8,
- "width": 105.8,
- "quantity": 1,
- "dimensionUnit": "cm",
- "weightUnit": "Kg",
- "packageType": "Container"
}
], - "freightClass": "50",
- "origin": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "postalCode",
- "country": "string",
- "postalCode": "string",
- "city": "string"
}, - "cargoReadyDate": "2019-08-24"
}{- "message": "The given data was invalid.",
- "errors": {
- "someProperty": [
- "The some property field is required."
]
}
}| uuid required | string <uuid> Example: 918f07a7-14b3-4587-aa46-69f9089dd663 Uuid of the quote |
| bestOffer | boolean Default: false |
{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "quotedAt": "2019-08-24T14:15:22Z",
- "currency": "EUR",
- "lang": "es_ES",
- "rates": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "expirationDate": "3023-02-01",
- "direct": true,
- "schedule": {
- "departureDate": "2023-02-01T00:00:00+00:00",
- "cutOffDate": "2023-01-01T00:00:00+00:00",
- "vesselName": "string",
- "voyageNumber": "string",
- "transitDays": 1,
- "origin": {
- "code": "USMIA"
}, - "destination": {
- "code": "USMIA"
}, - "originRouting": {
- "code": "USMIA"
}, - "destinationRouting": {
- "code": "USMIA"
}, - "transhipment": [
- {
- "code": "USMIA"
}
]
}, - "billingItems": [
- {
- "name": null,
- "serviceItem": "Freight",
- "optional": false,
- "price": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}
}
], - "transitTime": 1,
- "publicTags": [
- "Promoted"
], - "suppliersInformation": {
- "freight": {
- "name": "string"
}, - "pickup": {
- "name": "string"
}, - "delivery": {
- "name": "string"
}
}, - "pickupSchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "deliverySchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "total": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}, - "rateType": "Mixed",
- "isPartial": false,
- "departureWeekdays": [
- 1
]
}
], - "quoteType": "Instant quote",
- "quoteResultMovement": "P2P",
- "completed": true,
- "origin": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "destination": {
- "type": "string",
- "countryIsoCode": "string",
- "postalCode": "string",
- "city": "string"
}, - "items": [
- {
- "type": "DV20",
- "quantity": 1,
- "cargoDescription": "Flammable chemicals",
- "weight": {
- "weight": 950.5,
- "unit": "Kg"
}, - "temperatureControl": {
- "cargoLimits": {
- "min": -15,
- "max": 8,
- "unit": "C"
}, - "setPoint": {
- "value": -3,
- "unit": "C"
}, - "requiresGenset": true
}, - "dangerousGoods": [
- {
- "unNumber": "UN1993"
}
]
}
], - "shipmentType": "FCL"
}
}| rateUuid required | string <uuid> Example: 918f07a7-14b3-4587-aa46-69f9089dd663 Uuid of the rate |
New quote
| currency required | string (Currency) |
required | Array of objects (OptionalBillingItemSelectionData) |
required | object (ServicesSelected) Details of the services selected |
| lang required | string Enum: "es_ES" "en_US" |
{- "currency": "EUR",
- "optionalBillingItems": [
- {
- "name": "string",
- "serviceItem": "Pickup",
- "data": { }
}
], - "servicesSelected": {
- "pickup": true,
- "origin": true,
- "destination": true,
- "freight": true,
- "delivery": true
}, - "lang": "es_ES"
}{- "data": {
- "rate": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "expirationDate": "3023-02-01",
- "direct": true,
- "schedule": {
- "departureDate": "2023-02-01T00:00:00+00:00",
- "cutOffDate": "2023-01-01T00:00:00+00:00",
- "vesselName": "string",
- "voyageNumber": "string",
- "transitDays": 1,
- "origin": {
- "code": "USMIA"
}, - "destination": {
- "code": "USMIA"
}, - "originRouting": {
- "code": "USMIA"
}, - "destinationRouting": {
- "code": "USMIA"
}, - "transhipment": [
- {
- "code": "USMIA"
}
]
}, - "billingItems": [
- {
- "name": null,
- "serviceItem": "Freight",
- "optional": false,
- "price": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}
}
], - "transitTime": 1,
- "publicTags": [
- "Promoted"
], - "suppliersInformation": {
- "freight": {
- "name": "string"
}, - "pickup": {
- "name": "string"
}, - "delivery": {
- "name": "string"
}
}, - "pickupSchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "deliverySchedule": {
- "postalCode": "33000",
- "cityName": "Madrid"
}, - "total": {
- "currency": "EUR",
- "amount": 100,
- "taxes": 0,
- "total": 100
}, - "rateType": "Mixed",
- "isPartial": false,
- "departureWeekdays": [
- 1
]
}, - "optionalBillingItems": [
- {
- "name": "string",
- "serviceItem": "Freight",
- "optional": "optional",
- "price": 0
}
]
}
}| documentId required | string Example: booking.918f07a7-14b3-4587-aa46-69f9089dd663.550e8400-e29b-41d4-a716-446655440000 Document identifier in the format objectType.objectId.documentId |
{- "message": "The given data was invalid.",
- "errors": {
- "someProperty": [
- "The some property field is required."
]
}
}| documentId required | string Example: booking/918f07a7-14b3-4587-aa46-69f9089dd663/550e8400-e29b-41d4-a716-446655440000 Document identifier in the format objectType/objectId/documentId |
{- "message": "The given data was invalid.",
- "errors": {
- "someProperty": [
- "The some property field is required."
]
}
}Submit pre-alerts, find received packages, and read incoming tracking events.
| incomingTrackingNumber required | string |
{- "data": [
- {
- "status": "Unknown",
- "chargeableWeight": {
- "value": 0.1,
- "unit": "Kg"
}, - "hasExceptions": true,
- "historicalTrackingEvents": {
- "receivingDate": "2019-08-24T14:15:22Z",
- "consolidationDate": "2019-08-24T14:15:22Z",
- "consolidationReceivedDate": "2019-08-24T14:15:22Z",
- "flightDepartureDate": "2019-08-24T14:15:22Z",
- "flightArrivalDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z"
}, - "boxNumber": "string",
- "photos": [
- {
- "fileName": "string",
- "mediaType": "image/jpeg",
- "contentBase64": "string"
}
], - "packageNumber": "string",
- "packageTitle": "string",
- "consolidationTrackingNumber": "string",
- "consolidationStatus": "COMPLETED",
- "dimensions": {
- "length": 0,
- "width": 0,
- "height": 0,
- "unit": "m"
}, - "packageNumberWithCountryCode": "SN-0000291474-784"
}
]
}| incomingTrackingNumber required | string |
| hubCode | string Enum: "USA" "UAE" "UK" "DE" "CN" "HK" |
{- "code": "200",
- "success": true,
- "message": "string",
- "data": {
- "packages": [
- {
- "sn": "string",
- "trackingNumber": "string",
- "hubCode": "string",
- "customerSku": "string",
- "quantity": 0,
- "customerReference": "string",
- "purchaseOrderNumber": "string",
- "description": "string",
- "condition": "damaged",
- "receivedDate": "2019-08-24",
- "boxNumber": "string",
- "photos": [
- {
- "fileName": "string",
- "mediaType": "image/jpeg",
- "contentBase64": "string"
}
]
}
]
}
}| hubCode required | string Enum: "USA" "UAE" "UK" "DE" "CN" "HK" |
| incomingTrackingNumber required | string <= 255 characters |
| carrierCode | string or null^[A-Z]{2,4}$ SCAC. Unmapped codes are preserved. |
required | object |
{- "hubCode": "USA",
- "incomingTrackingNumber": "string",
- "carrierCode": "string",
- "package": {
- "weight": {
- "value": 0,
- "unit": "Kg"
}, - "dimensions": {
- "length": 0,
- "width": 0,
- "height": 0,
- "unit": "m"
}, - "items": [
- {
- "description": "string",
- "quantity": 1,
- "customerReference": "string",
- "purchaseOrderNumber": "string",
- "sku": "string",
- "hsCode": "string",
- "countryOfManufacture": "CN",
- "containsBattery": true,
- "weight": {
- "value": 0,
- "unit": "Kg"
}, - "customsValue": {
- "amount": 0,
- "currency": "USD"
}
}
]
}
}{- "code": "200",
- "success": true,
- "message": "Pre-alert saved."
}Use no request body. Only LAST_MILE or FIRST_MILE orders with status New can be confirmed. FIRST_MILE uses the confirmation date in Dubai for pickup and starts the first mile booking process. A repeat returns alreadyConfirmed=true and does not start another booking. A cancelled order is rejected. Retry the same order ID after a timeout or 502. Acceptance does not mean that the carrier booking is complete.
| orderId required | string = 12 characters ^[A-Za-z0-9]{12}$ Example: SPXAPDQI6K6Z |
{- "code": "200",
- "success": true,
- "message": "string",
- "data": {
- "orderId": "string",
- "readyForPickup": true,
- "alreadyConfirmed": true
}
}Create one order with one package. Customer context comes from the Bearer token. Retain data.orderId for labels and documents. This operation has no idempotency guarantee. Check an uncertain result before you submit again.
| serviceType required | string Default: "LAST_MILE" Enum: "LAST_MILE" "FIRST_MILE" "RECEIVING_AND_LAST_MILE" "END_TO_END" FIRST_MILE: collection and transport to a hub. LAST_MILE: delivery from a hub to the consignee. RECEIVING_AND_LAST_MILE: receipt of an incoming package and final delivery. END_TO_END: collection through final delivery. Only omission selects LAST_MILE; null is not accepted. |
| receivingHubCode required | string Enum: "USA" "UAE" "UK" "DE" "CN" "HK" The hub that receives the package. Required only for RECEIVING_AND_LAST_MILE. Not accepted for other service types. |
| incomingTrackingNumber | string [ 1 .. 255 ] characters ^[^\x00-\x1F\x7F]*[^\x00-\x20\x7F][^\x00-\x1F... The tracking number of the incoming package. Optional for RECEIVING_AND_LAST_MILE. Not accepted for other service types. Control characters are not accepted. |
| customerReference | string or null <= 255 characters |
required | object (Ecommerce.OrderPartyV1) |
required | object (Ecommerce.OrderPartyV1) |
required | object (Ecommerce.OrderPackageV1) |
{- "serviceType": "LAST_MILE",
- "package": {
- "dimensions": {
- "length": 10,
- "width": 20,
- "height": 30,
- "unit": "cm"
}, - "items": [
- {
- "description": "Book",
- "quantity": 2,
- "weight": {
- "value": 1,
- "unit": "Kg"
}, - "customsValue": {
- "amount": 10,
- "currency": "USD"
}, - "countryOfManufacture": "US"
}
], - "description": "Books",
- "weight": {
- "value": 2,
- "unit": "Kg"
}, - "containsBattery": false
}, - "customerReference": "API-123",
- "shipper": {
- "name": "Example sender",
- "phone": "+971500000000",
- "email": "sender@example.com",
- "address": {
- "country": "AE",
- "city": "Dubai",
- "state": null,
- "addressLine1": "Building 10",
- "addressLine2": null,
- "postCode": null
}, - "customsCode": null
}, - "consignee": {
- "name": "Example recipient",
- "phone": "+971500000000",
- "email": "sender@example.com",
- "address": {
- "country": "AE",
- "city": "Dubai",
- "state": "Dubai",
- "addressLine1": "Building 10",
- "addressLine2": null,
- "postCode": null
}, - "customsCode": null
}
}{- "code": "201",
- "success": true,
- "message": "Successful",
- "data": {
- "orderId": "E123456ABCDE",
- "customerReference": "API-123"
}
}Use data.orderId from order creation. The order must belong to the customer associated with the token. A successful response is a PDF file, not JSON.
| orderId required | string = 12 characters ^[A-Za-z0-9]{12}$ Example: E123456ABCDE |
{- "message": "The application has no customer context."
}Supply or correct tracking, dimensions, or the complete item list for a RECEIVING_AND_LAST_MILE order before warehouse receipt. Omitted fields keep their values. Supplied dimensions and items replace their previous values. After receipt, all updates are blocked. One incoming package belongs to each order.
| orderId required | string^SPX[A-Za-z0-9]{9}$ |
| incomingTrackingNumber | string [ 1 .. 255 ] characters ^[^\x00-\x1F\x7F]*[^\x00-\x20\x7F][^\x00-\x1F... |
object non-empty |
{- "incomingTrackingNumber": "string",
- "package": {
- "dimensions": {
- "length": 0,
- "width": 0,
- "height": 0,
- "unit": "cm"
}, - "items": [
- {
- "description": "string",
- "quantity": 2,
- "weight": {
- "value": 0,
- "unit": "Kg"
}, - "customsValue": {
- "amount": 0,
- "currency": "USD"
}, - "countryOfManufacture": "CN"
}
]
}
}{- "code": "200",
- "success": true,
- "message": "Successful",
- "data": {
- "orderId": "string"
}
}Use data.orderId from order creation. Send base64 file content in JSON, without a data URL prefix. The order must belong to the customer associated with the token.
| orderId required | string = 12 characters ^[A-Za-z0-9]{12}$ Example: E123456ABCDE |
| fileName required | string <= 255 characters |
| documentType required | string Enum: "CommercialInvoice" "PackingList" |
| documentBase64 required | string <byte> <= 13981016 characters Base64 file content. PDF, JPEG, or PNG. Maximum decoded size: 10 MiB. |
{- "fileName": "packing-list.pdf",
- "documentType": "PackingList",
- "documentBase64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyA+PgplbmRvYmoKJSVFT0YK"
}{- "code": "201",
- "success": true,
- "message": "Successful",
- "data": {
- "orderId": "E123456ABCDE",
- "documentType": "PackingList"
}
}