Thank you very much for the contribution. I was able to solve it in the following way. First I checked the integrity of the data and cleaned it because there were some invalid values. The fields that are needed to upload new rules, which are not registered, are:
product_id, product_min_qty, qty_to_order, route_id, location_id
If it is about updating the existing ones, the fields are:
Id, product_id, product_min_qty, qty_to_order, route_id, location_id
But you have to be careful because if you have a product in 4 warehouses, 4 different IDs will be displayed and this can cause conflict.
In my case, I found the errors in:
“Dirty” input data
Id's incorrectly cataloged
Wanting to update more columns than just: product_id, product_min_qty, qty_to_order, route_id, location_id