Skip to main content

Import Warehouse Locations

POST 

/api/v2/warehouse-locations/import

CSV import of locations, upserting by the (warehouse, code) natural key. Small files run synchronously and return {created, updated, skipped}; large files are queued and return {queued: true, tracked_job_log_id} for the job list.

Authentication: Requires Bearer token. Scope: warehouses (read/write).

Body (multipart/form-data):

  • warehouse_id (required, integer, exists)
  • file (required, CSV/TXT upload, max 10 MB)

Requires permission: warehouses.manage_locations

Request

Responses

OK