Import Lines from CSV
POST//:domain/api/purchase-orders/import-lines
Import purchase order line items from a CSV file. CSV must have a 'sku' column. Optional columns: quantity, unit_cost, description, discount_rate, tax_rate_id, pricing_tier, barcode.
Authentication: Requires Bearer token.
If purchase_order_id is provided, lines are added/merged into that PO. If only supplier_id is provided, returns parsed line resources without saving.
Request
Responses
- 200
- 400
OK
Response Headers
Content-Type
Bad Request
Response Headers
Content-Type