curl https://api.khaime.com/api/v1/partner/quote/101 \
-H "X-API-Key: pk_sandbox_your_key"
{
"status": "success",
"data": {
"id": 101,
"quote_number": "Q-2024-0001",
"order_id": 789,
"status": "sent",
"iteration": 1,
"line_items": [
{
"product_id": 123,
"product_title": "Widget Pro",
"quantity": 100,
"unit_price": 2500,
"total": 250000
},
{
"product_id": 456,
"product_title": "Gadget Plus",
"quantity": 50,
"unit_price": 5000,
"total": 250000
}
],
"subtotal": 500000,
"discount_amount": 25000,
"discount_reason": "Volume discount - 10%",
"shipping_amount": 15000,
"tax_amount": 20000,
"total_amount": 510000,
"currency": "USD",
"payment_terms": "NET30",
"shipping_terms": "FOB Destination",
"valid_until": "2024-02-28T23:59:59Z",
"supplier_notes": "Thank you for your business!",
"order": {
"id": 789,
"order_number": "RFQ-2024-0001",
"customer": {
"name": "John Smith",
"email": "john@acme.com"
}
},
"created_at": "2024-01-16T10:00:00Z"
}
}
Get Quote
Get detailed information about a specific quote.
GET
/
quote
/
{id}
curl https://api.khaime.com/api/v1/partner/quote/101 \
-H "X-API-Key: pk_sandbox_your_key"
{
"status": "success",
"data": {
"id": 101,
"quote_number": "Q-2024-0001",
"order_id": 789,
"status": "sent",
"iteration": 1,
"line_items": [
{
"product_id": 123,
"product_title": "Widget Pro",
"quantity": 100,
"unit_price": 2500,
"total": 250000
},
{
"product_id": 456,
"product_title": "Gadget Plus",
"quantity": 50,
"unit_price": 5000,
"total": 250000
}
],
"subtotal": 500000,
"discount_amount": 25000,
"discount_reason": "Volume discount - 10%",
"shipping_amount": 15000,
"tax_amount": 20000,
"total_amount": 510000,
"currency": "USD",
"payment_terms": "NET30",
"shipping_terms": "FOB Destination",
"valid_until": "2024-02-28T23:59:59Z",
"supplier_notes": "Thank you for your business!",
"order": {
"id": 789,
"order_number": "RFQ-2024-0001",
"customer": {
"name": "John Smith",
"email": "john@acme.com"
}
},
"created_at": "2024-01-16T10:00:00Z"
}
}
Get Quote
Retrieves detailed information about a specific quote.Path Parameters
integer
required
The quote ID.
Response
string
success on successful retrieval.object
Show Quote fields
Show Quote fields
integer
Quote ID.
string
Human-readable reference.
integer
Associated RFQ ID.
string
Current status.
integer
Quote version number.
array
Quoted line items with pricing.
integer
Subtotal in cents.
integer
Discount in cents.
string
Reason for discount.
integer
Shipping in cents.
integer
Tax in cents.
integer
Total in cents.
string
Currency code.
string
Payment terms.
string
Shipping terms.
string
Expiration date.
string
Notes from merchant.
object
Associated RFQ details.
string
ISO 8601 timestamp.
curl https://api.khaime.com/api/v1/partner/quote/101 \
-H "X-API-Key: pk_sandbox_your_key"
{
"status": "success",
"data": {
"id": 101,
"quote_number": "Q-2024-0001",
"order_id": 789,
"status": "sent",
"iteration": 1,
"line_items": [
{
"product_id": 123,
"product_title": "Widget Pro",
"quantity": 100,
"unit_price": 2500,
"total": 250000
},
{
"product_id": 456,
"product_title": "Gadget Plus",
"quantity": 50,
"unit_price": 5000,
"total": 250000
}
],
"subtotal": 500000,
"discount_amount": 25000,
"discount_reason": "Volume discount - 10%",
"shipping_amount": 15000,
"tax_amount": 20000,
"total_amount": 510000,
"currency": "USD",
"payment_terms": "NET30",
"shipping_terms": "FOB Destination",
"valid_until": "2024-02-28T23:59:59Z",
"supplier_notes": "Thank you for your business!",
"order": {
"id": 789,
"order_number": "RFQ-2024-0001",
"customer": {
"name": "John Smith",
"email": "john@acme.com"
}
},
"created_at": "2024-01-16T10:00:00Z"
}
}
⌘I
