List bazaar orders
get
/markets/{marketId}/ordersReturns all bazaar orders for a market destination.
Path Parameters
marketIdstringrequiredQuery Parameters
prioritystring ("royal" | "urgent" | "standard" | "low")Filter by buyer priority level
statusstring ("open" | "reserved" | "packed" | "dispatched" | "delivered" | "cancelled")Filter by fulfillment status
Responses
200OK
application/json
market_idstringitemsarray of BazaarOrderidstringrequiredbuyer_namestringrequireddescriptionstringprioritystring ("royal" | "urgent" | "standard" | "low")requiredstatusstring ("open" | "reserved" | "packed" | "dispatched" | "delivered" | "cancelled")requiredcommoditystringPrimary commodity requested by the buyer
quantityintegerRequested quantity of the commodity
unitstring ("crate" | "jar" | "bolt" | "sack" | "bundle" | "chest")Unit used for the requested quantity
market_idstringMarket destination for the order
destination_stallstringBazaar stall or warehouse receiving the order
requested_delivery_datestring (date)Date requested by the buyer for delivery
assigned_caravan_idstringCaravan assigned to fulfill the order
quoted_pricenumber (float)Quoted order price
currencystringCurrency used for the quoted price
created_atstring (date-time)requiredtotalintegerpageintegerper_pageintegerrequest_idstringRequest
curl -X GET 'https://api.cameltrading.example/v1/markets/mkt_marrakesh/orders' \
-H 'Authorization: Bearer <your-token>'Response
{
"market_id": "mkt_marrakesh",
"items": [
{
"id": "ord_silk_77",
"buyer_name": "House Al-Qamar Textiles",
"description": "Request for indigo silk bolts and cardamom crates before the new moon auction",
"priority": "urgent",
"status": "open",
"commodity": "Indigo silk",
"quantity": 20,
"unit": "bolt",
"market_id": "mkt_marrakesh",
"destination_stall": "Blue Gate Stall 14",
"requested_delivery_date": "2026-02-20",
"assigned_caravan_id": "car_sahara_001",
"quoted_price": 3150,
"currency": "CTD",
"created_at": "2026-02-10T08:00:00Z"
}
],
"total": 9,
"page": 1,
"per_page": 20,
"request_id": "req_7f3a91c2"
}