Skip to main content

Import a vendor price list

POST 

/v1/materials/purchase-prices/import

Updates 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 updates the product's purchase price from vendorName — or adds one when the product has no price from this vendor yet — records the vendor article number on it, 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 the write:materials scope.

Request​

Responses​

What happened to each row, and a count per outcome.