Skip to main content

Update a PV module by manufacturer article number

PATCH 

/v1/materials/pv-modules

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 a PV module. 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 take the product off new offers without deleting it, send archived: true. Requires the write:materials scope.

Request​

Responses​

The PV module after the change.