Skip to main content
POST
/
api
/
quotes
Create RFQ
curl --request POST \
  --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/quotes \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "shipper": {
    "name": "ABC Exports (Pvt) Ltd"
  },
  "consignee": {
    "name": "London Imports Ltd"
  },
  "routing": {
    "origin": "KHI",
    "destination": "LHR"
  },
  "pieces": 8,
  "grossWeightKg": 980,
  "dimensionsCm": [
    {
      "l": 120,
      "w": 100,
      "h": 80,
      "pieces": 8
    }
  ],
  "commodity": {
    "code": "GEN",
    "description": "General Cargo"
  },
  "shc": [
    "PER"
  ],
  "deliveryToAirlineDate": "2024-01-01",
  "notes": "Stackable",
  "airlineFilter": [
    "PK"
  ]
}'
{
  "id": "quote-123",
  "status": "pending",
  "origin": "DOH",
  "destination": "LHR",
  "pieces": 10,
  "weight": 500,
  "volume": 2.5,
  "commodity": "GEN",
  "shc": [
    "PER"
  ],
  "createdAt": "2024-01-01T10:00:00Z",
  "priceOptions": [
    {
      "flightNumber": "QR123",
      "departureDate": "2024-01-15",
      "pricePerKg": 2.5,
      "totalAmount": 2450,
      "currency": "USD",
      "validityHours": 24
    }
  ]
}
Create a Request for Quote (RFQ) for cargo transportation.

Reference Documentation

For more information on consignor contacts ACA, please refer to:

Authorizations

Authorization
string
header
required

Body

application/json
shipper
object
required
consignee
object
required
routing
object
required
pieces
integer
required
Example:

8

grossWeightKg
number
required
Example:

980

commodity
object
required
dimensionsCm
object[]
shc
string[]
deliveryToAirlineDate
string<date>
Example:

"2024-01-01"

notes
string
Example:

"Stackable"

airlineFilter
string[]

Response

RFQ created

id
string
Example:

"quote-123"

status
enum<string>
Available options:
pending,
priced,
accepted,
rejected
Example:

"pending"

origin
string
Example:

"DOH"

destination
string
Example:

"LHR"

pieces
integer
Example:

10

weight
number
Example:

500

volume
number
Example:

2.5

commodity
string
Example:

"GEN"

shc
string[]
Example:
["PER"]
createdAt
string<date-time>
Example:

"2024-01-01T10:00:00Z"

priceOptions
object[]
I