Delete a PV module
DELETE/v1/materials/pv-modules/:id
Deletes a PV module from your catalog. A product that is on an offer cannot be deleted; archive it instead with archived: true: it stays on existing offers but can no longer be added to new ones. 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/pv-modules?manufacturerArticleNumber=….
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 500
The PV module was deleted.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such record in your company.
in_use: the product is on an offer. Archive it instead.
db_error: the database refused or failed the request. message has the details.