We have a request to scrap a large number of parts with the information being provided via an Excel file. I have been trying to call the inventory_part_in_stock_api scrap_part procedure after first using the find_part procedure.
When calling find_part I get the results I expect. However, using the same information to try to call scrap_part always returns a part in stock does not exist. This is the exact error message.

Could someone guide me on where to find the information necessary to properly call this API procedure?
Thank you in advance!