Quotes
A quote can be sent into Kojo response to an RFQ, or Request for Quote, from a customer.
REST Endpoints​
POST /rfq/:rfqId/bid​
Parameters​
The request body should contain two properties: quoteInfo and quoteItems.
| Name | Type | Description | Example |
|---|---|---|---|
| quoteInfo | QuoteInfo | General information about the quote | See schema definition below |
| quoteItems | QuoteItem[] | An array of items to be included in the quote | See schema definition below |
Quote Info​
| Name | Type | Description | Example |
|---|---|---|---|
| notes | string? | Notes about the quote | This is a quote for the items you requested |
| vendorBidNumber | string? | The vendor's bid number | 123456 |
Quote Items​
The quoteItems value in the request body should be an array of items, with the following properties.
| Name | Type | Description | Example |
|---|---|---|---|
| description | string | The item description or name | 6 Strand Copper Wire Soft Drawn 315' |
| extPriceFloat | float | The subtotal of the item | 4.50 |
| itemId | ID? | The item's ID from the Kojo RFQ | "cl70xmen80002oodabq9syjlq" |
| lineNumber | int? | The item's line number on the RFQ | 1 |
| manufacturerPartNumber | string? | The manufacturer's part number | "654321" |
| notes | string? | Notes about the item | "This is a note about the item" |
| quantity | int | The quantity of the item | 3 |
| unitPrice | float | The unit price of the item | 1.50 |
| unitPriceECM | string? | Multiplier used to calculate the extended price from the unit price. Must be either E, C, or M. Defaults to E. | "E" |
| unitsOfMeasure | string | The item's unit of measure | FT |
| universalProductCode | string? | The Universal Product Code | "UPC123456" |
| vendorPartNumber | string? | The supplier's part number | "123456" |
Response​
The updated Quote.
Example Request​
POST https://api.kojo.tech/seller/rfq/cl5vad0wh0315m5lgqvsimj1p/bid
{
"quoteInfo": {
"notes": "This is a quote for the items you requested",
"vendorBidNumber": "123456"
},
"quoteItems": [
{
"itemId": "cl70xmen80002oodabq9syjlq",
"lineNumber": 1,
"unitPrice": 100.05,
"quantity": 2,
"extPriceFloat": 200.10,
"description": "6 Strand Copper Wire Soft Drawn 315'",
"unitsOfMeasure": "FT",
"unitPriceECM": "E",
"vendorPartNumber": "123456",
"manufacturerPartNumber": "654321",
"universalProductCode": "UPC123456",
"notes": "This is a note about the item"
},
{
"itemId": "cl70xmen80003ooda4hv3my6j",
"lineNumber": 2,
"unitPrice": 43.33,
"quantity": 1,
"extPriceFloat": 44.33,
"description": "8 AWG THHN Stranded Copper, Green, 500'",
"unitsOfMeasure": "FT",
}
]
}