Quotes
List quotes, or read one with its line items. Needs a key with the quotes:read scope.
List quotes
GET
/v1/quotesScope: quotes:read| Parameter | Type | Description |
|---|---|---|
| status | string | One of the quote statuses. |
| customer_id | string | Only quotes for this customer. |
| created_since | ISO 8601 | Only quotes created at or after this moment. |
| limit | integer | 1 to 100, default 25. |
| cursor | string | From the previous page. |
curl
curl -H "Authorization: Bearer zlx_live_YOUR_KEY" \
"https://api.zargologix.com/v1/quotes?status=SENT"Get one quote
GET
/v1/quotes/{id}Scope: quotes:read{id} can be the internal id or the quote number. An unknown id returns 404 not_found.
200 OK
{
"id": "cm2kd5f100030",
"quote_number": "ZQT-2026-00007",
"customer_id": "cm2k8w7b20000",
"status": "SENT",
"origin_country": "United States",
"destination_country": "Ghana",
"mode": "AIR",
"weight_kg": "48.50",
"subtotal": "310.00",
"tax_rate": "7.5",
"total": "333.25",
"valid_until": "2026-11-15T00:00:00.000Z",
"created_at": "2026-10-08T14:00:00.000Z",
"line_items": [
{ "description": "Air freight", "quantity": 1, "rate": "310.00" }
]
}The quote object
| Field | Type | Description |
|---|---|---|
| id | string | Internal id. |
| quote_number | string | The number shown on the quote. |
| customer_id | string | The customer the quote is for. |
| status | string | See Status values. |
| origin_country | string | Where the goods start. |
| destination_country | string | Where the goods go. |
| mode | string | AIR, SEA, ROAD or RAIL. |
| weight_kg | string | Chargeable weight in kilograms. |
| subtotal | string | Before tax. |
| tax_rate | string | Tax rate in percent. |
| total | string | Quoted amount including tax. |
| valid_until | string | Last day the quote can be accepted. |
| created_at | string | When the quote was created. |
| line_items | array | Single-quote response only. Each item: description, quantity, rate. |