Orders

Export POS orders as CSV

Streams a CSV of POS orders matching the optional filters. The response is text/csv with a Content-Disposition attachment header — meant for accounting exports, bookkeeping reconciliation, and offline analytics. Result set is capped at 10 000 rows per call; tighten the date window to page through larger histories. Read scope: orders:read.

get/api/v1/orders/export

Request

  • Base URL: https://www.gerezi.com
  • URL: https://www.gerezi.com/api/v1/orders/export
  • Auth: HTTP bearer

Query parameters

fromstring
Example:2026-06-01

Inclusive lower bound on orderDate (YYYY-MM-DD).

tostring
Example:2026-06-30

Inclusive upper bound on orderDate (YYYY-MM-DD).

statusstring

Restrict to a single POSOrder status (e.g. PAID, OPEN, CANCELLED). Omit for all statuses.

include_training'true' | 'false'

Training-mode (practice) orders are excluded by default — they are outside the fiscal totals. Pass true to include them. includeTraining is accepted as an alias.

Response

CSV stream — header row: id,order_number,order_date,type,status,table_name,server_name,guest_name,subtotal_cents,tax_cents,total_cents,tip_cents,restaurant_id,created_at,training_mode. Money columns are integer cents; training_mode is true/false (always false unless include_training=true).

Changes

No recorded changes to this operation across all 1 revision of this API.