latestOpenAPI 3.0.32026-08-22505302.1 MB

60d6c901bc4e

Orders

Start an async XLSX export of the current company's orders, one row per order line. scope: 'all' exports every active order, 'filtered' applies the same filters and search as GET /orders, 'selected' exports the given orderIds. sort is honoured in all scopes so the file matches the on-screen order. Returns an exportId — poll GET /exports/:id for status; an email and in-app notification carry the download link when the file is ready.

post/api/orders/export

Request body

scope'all' | 'filtered' | 'selected' required
orderIdsstring[]
sortstring

Response

Default Response