Skip to content
ZargoLogix

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
ParameterTypeDescription
statusstringOne of the quote statuses.
customer_idstringOnly quotes for this customer.
created_sinceISO 8601Only quotes created at or after this moment.
limitinteger1 to 100, default 25.
cursorstringFrom 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

FieldTypeDescription
idstringInternal id.
quote_numberstringThe number shown on the quote.
customer_idstringThe customer the quote is for.
statusstringSee Status values.
origin_countrystringWhere the goods start.
destination_countrystringWhere the goods go.
modestringAIR, SEA, ROAD or RAIL.
weight_kgstringChargeable weight in kilograms.
subtotalstringBefore tax.
tax_ratestringTax rate in percent.
totalstringQuoted amount including tax.
valid_untilstringLast day the quote can be accepted.
created_atstringWhen the quote was created.
line_itemsarraySingle-quote response only. Each item: description, quantity, rate.