Import Lines from CSV
POST/api/sales-order-lines/import
Import sales order lines from a CSV file or raw CSV string. Required CSV columns: sku. Optional columns: description, quantity, price, pricing_tier, warehouse_id, warehouse_name.
Authentication: Requires Bearer token.
If sales_order_id is provided, lines are added to that order. Otherwise, returns a preview of parsed lines (useful for the import UI).
Request
Responses
- 200
Successful response