Skip to main content
POST
/
s
/
job
/
inventory_table
/
export_velocity
Inventory Table - Export Velocity
curl --request POST \
  --url https://app.skulabs.com/s/job/inventory_table/export_velocity \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "columns": [
      {
        "name": "<string>",
        "data": "<string>",
        "visible": true
      }
    ],
    "order": [
      {
        "column": 123,
        "dir": "asc"
      }
    ],
    "start": 0,
    "length": 50,
    "type": "inventory",
    "filters": {
      "warehouses": [
        "<string>"
      ],
      "stores": [
        "<string>"
      ],
      "movers": [
        "fast"
      ],
      "show_unsold_items": true,
      "show_inactive_items": true,
      "show_stocked_items": true,
      "show_unstocked_items": true,
      "distributors": [
        "<string>"
      ],
      "order_tags": [
        "507f1f77bcf86cd799439011"
      ]
    },
    "search": {
      "value": "<string>",
      "regex": true
    },
    "draw": 123,
    "num_days": 123,
    "range": {
      "start": "2025-01-01T00:00:00.000Z",
      "end": "2025-01-31T23:59:59.000Z"
    },
    "statuses": "<string>",
    "source": "<string>"
  }
}
'
{
  "path": "<string>",
  "count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
data
object
required

Table configuration for the velocity export (same as build_rows with type=velocity)

Response

S3 signed URL for the exported velocity CSV file

path
string | null
required

S3 signed URL for the exported CSV file, or null if no data

count
number
required

Number of rows exported