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
| Header | Type | Required | Description |
|---|---|---|---|
| X-Api-Key | String | ✅ | Your API key for authentication |
Response Parameters
Top-Level Fields
| Field | Type | Description |
|---|---|---|
| id | String | Unique identifier for the quote |
| status | Enum (LbPostBidStatus) | Current status of the quote |
| type | Enum (LbPostBidType) | Type of the quote (ALL-IN or STANDARD) |
| sellPrice | Number | Final sell price (total for ALL-IN or sum for Standard) |
| services | Array (Optional) | List of services (only for Standard quotes) |
| notes | String (Optional) | Additional details provided in the quote |
| rfqKey | String | RFQ identifier associated with this quote |
| createdAt | String (ISO 8601) | Date when the quote was created |
Quote Service Object (For Standard Quotes)
| Field | Type | Description |
|---|---|---|
| serviceName | String | Name of the service being quoted |
| unitType | String | Type of unit used in the service |
| pricings | Array | List of pricing details |
Quote Service Pricing Object (For Standard Quotes)
| Field | Type | Description |
|---|---|---|
| pricingType | String | Type of pricing (e.g., "Per Pallet", "Flat Rate") |
| sellPrice | Number | Price 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 Code | Status Name | Description |
|---|---|---|
1 | Accepted | The customer has accepted this quote, and the RFQ is now booked. |
3 | Quoted | A supplier has submitted a quote, waiting for the customer’s decision. |
4 | Requote | The customer has requested a replacement for the provided quote. |
5 | Revised | The supplier has provided new quote with modified pricing or conditions. |
8 | Revision Requested | Sales Representative has requested a revision to the quote. |
Error Handling
| Status Code | Description |
|---|---|
| 401 Unauthorized | Missing or invalid API Key |
| 404 Not Found | No quotes found for the specified RFQ |
| 400 Bad Request | Invalid request format |