Import a vendor price list
POST/v1/materials/purchase-prices/import
Record new purchase prices for many products in one call, matching each row to a product by the vendor's article number first and the manufacturer article number second. Only active products match. Each matched row writes a new purchase price for vendorName (carrying the vendor article number, so the next list matches directly) and makes it the product's current price. Rows are processed independently — one failing row does not roll back the others; the response says per row what happened. Use dryRun to see the matching before writing. Requires write:materials.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Per-row outcome plus a summary.
validation_error
invalid_api_key
insufficient_scope
db_error