Delete a PV module by manufacturer article number
DELETE/v1/materials/pv-modules
Same as deleting by id, but the product is found by its manufacturerArticleNumber (add manufacturerId when two manufacturers use the same number). Only active products are considered.
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.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 500
The PV module was deleted.
validation_error: the body, a path or a query parameter is not valid. message names each problem, e.g. firstName: Required.
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: no active product has this manufacturer article number.
in_use: the product is on an offer. Archive it instead. ambiguous_key: several active products have this manufacturer article number; message lists their ids. Add manufacturerId or use the id.
db_error: the database refused or failed the request. message has the details.