Delete Product
DELETE/suppliers/products/:productIdentifier
There are two methods for managing product deletion.
The action taken depends on the permanent
:
delete
- if you want the product permanently deleted set the flag permanent = 1
archive
- if you had plan to restore product on the future, set the flag permanent = 0 to just archiving or shall we say soft deleting the product
Request
Responses
- 200
- 403
- 404
Product archived successfully.
Authorization error
Resource not found it means that the provided product or variant identifier or any of the path parameters to amend is either not yours or present in the database.