Skip to main content

Retrieve Quotes

This API endpoint allows customers to retrieve quotes associated with their RFQs.

Endpoint Details

  • Method: GET
  • URL: /api/v2/customer/{CUSTOMER_ID}/rfq/{RFQ_ID}/quotes
  • Authentication: Requires an API Key in the request header.

Headers

HeaderTypeRequiredDescription
X-Api-KeyStringYour API key for authentication

Response Parameters

Top-Level Fields

FieldTypeDescription
idStringUnique identifier for the quote
statusEnum (LbPostBidStatus)Current status of the quote
typeEnum (LbPostBidType)Type of the quote (ALL-IN or STANDARD)
sellPriceNumberFinal sell price (total for ALL-IN or sum for Standard)
servicesArray (Optional)List of services (only for Standard quotes)
notesString (Optional)Additional details provided in the quote
rfqKeyStringRFQ identifier associated with this quote
createdAtString (ISO 8601)Date when the quote was created

Quote Service Object (For Standard Quotes)

FieldTypeDescription
serviceNameStringName of the service being quoted
unitTypeStringType of unit used in the service
pricingsArrayList of pricing details

Quote Service Pricing Object (For Standard Quotes)

FieldTypeDescription
pricingTypeStringType of pricing (e.g., "Per Pallet", "Flat Rate")
sellPriceNumberPrice for the service

Example Response

Example 1: ALL-IN Quote

{
"id": "QUOTE123456",
"status": "Quoted",
"type": "ALLIN",
"sellPrice": 1500.00,
"notes": "This includes all necessary services.",
"rfqKey": "RFQ123456",
"createdAt": "2024-04-01T12:00:00Z"
}

Example 2: Standard Quote with Breakdown

{
"id": "QUOTE789012",
"status": "Quoted",
"type": "STANDARD",
"sellPrice": 1800.00,
"services": [
{
"serviceName": "Cross-Docking",
"unitType": "Pallet - Standard",
"pricings": [
{
"pricingType": "Per Pallet",
"sellPrice": 50.00
},
{
"pricingType": "Handling Fee",
"sellPrice": 100.00
}
]
},
{
"serviceName": "Storage",
"unitType": "Square Feet",
"pricings": [
{
"pricingType": "Per Square Foot",
"sellPrice": 5.00
}
]
}
],
"notes": "Storage includes climate control.",
"rfqKey": "RFQ123456",
"createdAt": "2024-04-01T12:00:00Z"
}

Quote Statuses for Customers

The following statuses are relevant for customers:

Status CodeStatus NameDescription
1AcceptedThe customer has accepted this quote, and the RFQ is now booked.
3QuotedA supplier has submitted a quote, waiting for the customer’s decision.
4RequoteThe customer has requested a replacement for the provided quote.
5RevisedThe supplier has provided new quote with modified pricing or conditions.
8Revision RequestedSales Representative has requested a revision to the quote.

Error Handling

Status CodeDescription
401 UnauthorizedMissing or invalid API Key
404 Not FoundNo quotes found for the specified RFQ
400 Bad RequestInvalid request format