Export orders

Introduction

Data can be exported from Skovik in many forms and shapes.

Want to see which export formats are available? The API mirrors the functionality within the desktop client.
The easiest way to check out various formats is to download them using the desktop client (GUI).
There is also an endpoint you can use to browse.

Export orders are processed asynchronously, so the resulting files are not available immediately. To learn when an order has finished, subscribe to the export_order.completed and export_order.failed webhook events rather than polling. See Webhooks for the available events and Receiving webhooks for verification and delivery details.

Example of an export order in the completed state

{
  "data": {
    "id": "5641fed70640fd1a8a000023",
    "type": "export_orders",
    "attributes": {
      "format": "sie",
      "from": "1775-05-19T00:00:00Z",
      "to": "1783-09-03T00:00:00Z",
      "state": "completed",
      "error_message": null,
      "files": [
        "https://facade.skovik.net/facade/e/abc?signature=fa1"
      ]
    },
    "relationships": {
      "branch": {
        "data": {
          "type": "branches",
          "id": "563236630640fdaf29000001"
        }
      }
    }
  }
}