It turns out that for many systems, especially using laravel's sfot delete, the commands above are not enough, as at least two more commands are missing, namely:
- restore
- delete (deletes the item from the database)
Route::customApiResource('produtcs', 'App\Http\Controllers\Api\Products');