Skip to main content

Update an inverter by manufacturer article number

PATCH 

/v1/materials/inverters

Same as updating by id, but the product is found by its manufacturerArticleNumber (add manufacturerId when two manufacturers use the same number). Handy for syncing a price list, which carries these numbers but not our ids. Only active products are considered.

Changes an inverter. Send only the fields to change; the others keep their value. For a new purchase price send purchasePrice with pricePerPiece and vendorName: the price this vendor already has for the product is updated (a new vendor gets one) and becomes the current price. To change the MPP trackers, send mppTrackers with all of them: a tracker with an id is changed, one without is added, and the others are deleted. To take the product off new offers without deleting it, send archived: true. Requires the write:materials scope.

Request​

Responses​

The inverter after the change.