Skip to main content

Update an emergency power product

PATCH 

/v1/materials/emergency-powers/:id

Changes an emergency power product. 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. To find the product by its manufacturer article number instead of the id, call the same method on /v1/materials/emergency-powers?manufacturerArticleNumber=….

Request​

Responses​

The emergency power product after the change.