curl https://api.khaime.com/api/v1/partner/rfq \
-H "X-API-Key: pk_sandbox_your_key"
curl "https://api.khaime.com/api/v1/partner/rfq?status=pending&page=1&limit=20" \
-H "X-API-Key: pk_sandbox_your_key"
{
"status": "success",
"data": {
"total": 25,
"page": 1,
"limit": 10,
"data": [
{
"id": 789,
"order_number": "RFQ-2024-0001",
"status": "pending",
"items": [
{ "product_id": 123, "quantity": 100 }
],
"customer": {
"id": 456,
"name": "John Smith",
"email": "john@acme.com"
},
"quotes_count": 0,
"created_at": "2024-01-15T10:30:00Z"
}
]
}
}
List RFQs
Get all RFQs for your business.
GET
/
rfq
curl https://api.khaime.com/api/v1/partner/rfq \
-H "X-API-Key: pk_sandbox_your_key"
curl "https://api.khaime.com/api/v1/partner/rfq?status=pending&page=1&limit=20" \
-H "X-API-Key: pk_sandbox_your_key"
{
"status": "success",
"data": {
"total": 25,
"page": 1,
"limit": 10,
"data": [
{
"id": 789,
"order_number": "RFQ-2024-0001",
"status": "pending",
"items": [
{ "product_id": 123, "quantity": 100 }
],
"customer": {
"id": 456,
"name": "John Smith",
"email": "john@acme.com"
},
"quotes_count": 0,
"created_at": "2024-01-15T10:30:00Z"
}
]
}
}
List RFQs
Retrieves a paginated list of RFQs for the authenticated business.Query Parameters
integer
default:"1"
Page number for pagination.
integer
default:"10"
Number of items per page. Maximum 100.
string
Filter by RFQ status. One of:
pending, quoted, accepted, rejected, expired.Response
string
success on successful retrieval.object
Show Data fields
Show Data fields
integer
Total number of RFQs matching the filter.
integer
Current page number.
integer
Items per page.
curl https://api.khaime.com/api/v1/partner/rfq \
-H "X-API-Key: pk_sandbox_your_key"
curl "https://api.khaime.com/api/v1/partner/rfq?status=pending&page=1&limit=20" \
-H "X-API-Key: pk_sandbox_your_key"
{
"status": "success",
"data": {
"total": 25,
"page": 1,
"limit": 10,
"data": [
{
"id": 789,
"order_number": "RFQ-2024-0001",
"status": "pending",
"items": [
{ "product_id": 123, "quantity": 100 }
],
"customer": {
"id": 456,
"name": "John Smith",
"email": "john@acme.com"
},
"quotes_count": 0,
"created_at": "2024-01-15T10:30:00Z"
}
]
}
}
⌘I
