Skip to main content

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.

NameTypeDescriptionExample
quoteInfoQuoteInfoGeneral information about the quoteSee schema definition below
quoteItemsQuoteItem[]An array of items to be included in the quoteSee schema definition below
Quote Info​
NameTypeDescriptionExample
notesstring?Notes about the quoteThis is a quote for the items you requested
vendorBidNumberstring?The vendor's bid number123456
Quote Items​

The quoteItems value in the request body should be an array of items, with the following properties.

NameTypeDescriptionExample
descriptionstringThe item description or name6 Strand Copper Wire Soft Drawn 315'
extPriceFloatfloatThe subtotal of the item4.50
itemIdID?The item's ID from the Kojo RFQ"cl70xmen80002oodabq9syjlq"
lineNumberint?The item's line number on the RFQ1
manufacturerPartNumberstring?The manufacturer's part number"654321"
notesstring?Notes about the item"This is a note about the item"
quantityintThe quantity of the item3
unitPricefloatThe unit price of the item1.50
unitPriceECMstring?Multiplier used to calculate the extended price from the unit price. Must be either E, C, or M. Defaults to E."E"
unitsOfMeasurestringThe item's unit of measureFT
universalProductCodestring?The Universal Product Code"UPC123456"
vendorPartNumberstring?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",
}
]
}