Modifiers marked sold out via API not just in Dashboard/POS

(in “Monitor Sold-out …” guide) modifiers can be marked sold out in Dashboard/POS only, and apps can only see that status and not modify

Can this be set Via API?

i need to be able to mass update the status of Modifiers across multiple skus and have it automated ( or have stock tracking on a modifier)