Try it · Sandbox

Use a sandbox key. It is kept only for this browser tab and sent only to https://sandbox-api.zester.co.il/v2.

Response
Send the request to see the response.

Exports

Asynchronous bulk exports of account data, available on the Enterprise plan. Create an export job, then poll it until the download links are ready.

The endpoints in this group are not yet available. This page documents the contract as currently defined.

The Export job object

Attributes

idstringRequired
statusstringRequired
Possible valuesqueuedrunningcompletedfailedexpired
requestExportJobCreate
Show 5 child attributesHide child attributes
resourcesarray of stringRequired
Possible valuesordersdocumentsexpensesjournal_linessuppliersproductsinventory_countsz_reportsitem_salescard_transactions
fromstring · date
tostring · date
formatstring
Possible valuesndjsoncsvparquet

Default "ndjson"

branch_idsarray of string
filesarray of object
Show 5 child attributesHide child attributes
resourcestring
download_urlstring · uri
size_bytesinteger
row_countinteger
expires_atstring · date-time
errorstringNullable
created_atstring · date-timeRequired
completed_atstring · date-timeNullable
The Export job object
{
  "id": "job_01J9KT3H6W",
  "status": "completed",
  "request": {
    "resources": [
      "documents",
      "orders"
    ],
    "from": "2025-01-01",
    "to": "2026-09-12",
    "format": "ndjson"
  },
  "files": [
    {
      "resource": "documents",
      "download_url": "https://storage.zester.co.il/signed/XXXXXXXX/documents.ndjson",
      "size_bytes": 96512331,
      "row_count": 18432,
      "expires_at": "2026-09-14T09:14:37+03:00"
    },
    {
      "resource": "orders",
      "download_url": "https://storage.zester.co.il/signed/XXXXXXXX/orders.ndjson",
      "size_bytes": 41820118,
      "row_count": 9217,
      "expires_at": "2026-09-14T09:14:37+03:00"
    }
  ],
  "error": null,
  "created_at": "2026-09-13T09:00:00+03:00",
  "completed_at": "2026-09-13T09:14:37+03:00"
}

Create a bulk export

POST/exports
  • Scopeexports:manage
  • Enterprise plan
  • Not yet available

Request body application/json

resourcesarray of stringRequired
Possible valuesordersdocumentsexpensesjournal_linessuppliersproductsinventory_countsz_reportsitem_salescard_transactions
fromstring · date
tostring · date
formatstring
Possible valuesndjsoncsvparquet

Default "ndjson"

branch_idsarray of string

Responses

202The export job, queued for processing.
idstringRequired
statusstringRequired
Possible valuesqueuedrunningcompletedfailedexpired
requestExportJobCreate
Show 5 child attributesHide child attributes
resourcesarray of stringRequired
Possible valuesordersdocumentsexpensesjournal_linessuppliersproductsinventory_countsz_reportsitem_salescard_transactions
fromstring · date
tostring · date
formatstring
Possible valuesndjsoncsvparquet

Default "ndjson"

branch_idsarray of string
filesarray of object
Show 5 child attributesHide child attributes
resourcestring
download_urlstring · uri
size_bytesinteger
row_countinteger
expires_atstring · date-time
errorstringNullable
created_atstring · date-timeRequired
completed_atstring · date-timeNullable
403The credential is valid but is not allowed to make this request. The code is scope_missing, plan_required, ip_not_allowed or client_suspended.
429The rate limit was exceeded. Retry after the number of seconds given in Retry-After.

Headers: Retry-After RateLimit-Limit RateLimit-Remaining RateLimit-Reset

POST /exports
curl -X POST "https://sandbox-api.zester.co.il/v2https://api.zester.co.il/v2/exports" \
  -H "Authorization: Bearer zk_test_XXXXXXXX_…zk_live_XXXXXXXX_…" \
  -H "Content-Type: application/json" \
  -d '{
    "resources": [
      "documents",
      "orders"
    ],
    "from": "2025-01-01",
    "to": "2026-09-12",
    "format": "ndjson"
  }'
Response
{
  "id": "job_01J9KT3H6W",
  "status": "queued",
  "request": {
    "resources": [
      "documents",
      "orders"
    ],
    "from": "2025-01-01",
    "to": "2026-09-12",
    "format": "ndjson"
  },
  "files": [],
  "error": null,
  "created_at": "2026-09-13T09:00:00+03:00",
  "completed_at": null
}

Retrieve a bulk export

GET/exports/{export_id}
  • Scopeexports:manage
  • Enterprise plan
  • Not yet available

Path parameters

export_idstringRequired

Responses

200The export job. Poll it until status is completed, when download links appear in files.
idstringRequired
statusstringRequired
Possible valuesqueuedrunningcompletedfailedexpired
requestExportJobCreate
Show 5 child attributesHide child attributes
resourcesarray of stringRequired
Possible valuesordersdocumentsexpensesjournal_linessuppliersproductsinventory_countsz_reportsitem_salescard_transactions
fromstring · date
tostring · date
formatstring
Possible valuesndjsoncsvparquet

Default "ndjson"

branch_idsarray of string
filesarray of object
Show 5 child attributesHide child attributes
resourcestring
download_urlstring · uri
size_bytesinteger
row_countinteger
expires_atstring · date-time
errorstringNullable
created_atstring · date-timeRequired
completed_atstring · date-timeNullable
404The resource does not exist or belongs to another account.
GET /exports/{export_id}
curl "https://sandbox-api.zester.co.il/v2https://api.zester.co.il/v2/exports/job_01J9KT3H6W" \
  -H "Authorization: Bearer zk_test_XXXXXXXX_…zk_live_XXXXXXXX_…"
Response
{
  "id": "job_01J9KT3H6W",
  "status": "completed",
  "request": {
    "resources": [
      "documents",
      "orders"
    ],
    "from": "2025-01-01",
    "to": "2026-09-12",
    "format": "ndjson"
  },
  "files": [
    {
      "resource": "documents",
      "download_url": "https://storage.zester.co.il/signed/XXXXXXXX/documents.ndjson",
      "size_bytes": 96512331,
      "row_count": 18432,
      "expires_at": "2026-09-14T09:14:37+03:00"
    },
    {
      "resource": "orders",
      "download_url": "https://storage.zester.co.il/signed/XXXXXXXX/orders.ndjson",
      "size_bytes": 41820118,
      "row_count": 9217,
      "expires_at": "2026-09-14T09:14:37+03:00"
    }
  ],
  "error": null,
  "created_at": "2026-09-13T09:00:00+03:00",
  "completed_at": "2026-09-13T09:14:37+03:00"
}