I want to add custom functionality to this API like when this API hit wants to delete all previous tier price records of this product. Can anyone help me to achieve this?
Yes you can customize functionality of rest API by override below model function:
You need to override public function save(ProductInterface $product, $saveOptions = false) in your custom module.
It may help you!Thank you