Delete Product Variant
DELETE/suppliers/products/:productIdentifier/variants/:variantIdentifier
There are two methods for managing product variant deletion.
The action taken depends on the permanent
:
delete
- if you want the variant permanently deleted set the flag permanent = 1
archive
- if you had plan to restore variant on the future, set the flag permanent = 0 to just archiving or shall we say soft deleting the variant
Request
Responses
- 200
- 403
- 404
Variant deleted 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.