Skip to main content

Get a Data Dump

It is possible to get a dump of the data using the endpoint /api/collection/{collectionId}/data/{dataType}/dump. This endpoint requires the ID of the target collection and the type of data to download (sales_order or purchase_orders). The endpoint will provide a CSV dump of the data.

Check out the OpenAPI documentation for further details.

Here an exemple for downloading the data of type sales_orders from the collection with id my-collection-id:

curl --location 'https://nostradamus.u-hopper.com/api/collection/{my-collection-id}/data/sales_orders/dump' \
--header 'Authorization: Token my-secret-token'