Skip to main content
GET
/
api
/
quotes
List quotes or get quote details
curl --request GET \
  --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/quotes \
  --header 'Authorization: <api-key>'
{
  "quotes": [
    {
      "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
        }
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 100,
    "totalPages": 10
  }
}
Retrieve quotes list with optional filtering, or get specific quote details by ID.

Reference Documentation

For more information on quote preparation and response, please refer to:

Authorizations

Authorization
string
header
required

Query Parameters

id
string

Quote ID to get specific quote details

status
string

Filter by status

origin
string

Filter by origin

destination
string

Filter by destination

Response

Quotes list or single quote details

  • Option 1
  • Option 2
quotes
object[]
pagination
object
I