Export

Our platform offers the possibility to export data via CSV exports.

Available exports types

Exports are available for the following types:

  • stock
  • exports
  • shipments
  • orders
  • modifications
  • transfers
  • inbounds
  • serial_numbers
  • external_shipments

Requesting exports

After requesting an export our platform will start preparing the export. Based on the export it can take several minutes before the export is ready for download.

  1. Request the export
  2. Fetch the status of the export every 2 or 3 minutes
  3. Download the export when the export has status completed

Requesting exports


GET/wms/exports/:id/

Retrieve an export

Retrieve a single export.

Request

GET
/wms/exports/:id/
curl https://eu-dev.middleware.ewarehousing-solutions.com/wms/exports/184c47d4-d3ee-4412-b156-ce5a4518d641/

Response

{
    "id": "184c47d4-d3ee-4412-b156-ce5a4518d641",
    "status": "completed",
    "extension": "csv",
    "subject": "NORMAL",
    "type": "orders",
    "filters": {
        "from": null,
        "to": null,
        "search": null
    },
    "fields": [
        "reference"
    ],
    "ready": true
}

GET/wms/exports/:id/download/

Download an export

Download a single export.

Request

GET
/wms/exports/:id/download/
curl https://eu-dev.middleware.ewarehousing-solutions.com/wms/exports/184c47d4-d3ee-4412-b156-ce5a4518d641/download/

POST/wms/exports/

Request an export

This endpoint allows you to request a new export.

Request

POST
/wms/exports/
curl -X POST 'https://eu-dev.middleware.ewarehousing-solutions.com/wms/exports/' \
-H 'Content-Type: application/json' \
--data-raw '{
    "filters": {
        "search": null,
        "from": "2022-06-01",
        "to": null
    },
    "type": "orders",
    "fields": [
        "reference",
        "article_code"
    ]
}'

POST/wms/exports/billing/

Request a billing export

This endpoint allows you to request a new billing export.

Billing exports are available for the following types:

  • packings
  • inbounds
  • locations
  • orders

Request

POST
/wms/exports/billing/
curl -X POST 'https://eu-dev.middleware.ewarehousing-solutions.com/wms/exports/billing/' \
-H 'Content-Type: application/json' \
--data-raw '{
    "filters": {
        "search": null,
        "from": null,
        "to": null
    },
    "type": "orders"
}'

POST/wms/exports/financial/

Request a financial export

This endpoint allows you to request a new financial export.

Financial exports are available for the following types:

  • colloType
  • fillings
  • inbounds
  • locations
  • orders
  • shipments

Request

POST
/wms/exports/financial/
curl -X POST 'https://eu-dev.middleware.ewarehousing-solutions.com/wms/exports/financial/' \
-H 'Content-Type: application/json' \
--data-raw '{
    "filters": {
        "search": null,
        "from": null,
        "to": null
    },
    "type": "orders"
}'