However, at the moment, there's no easy way to set up conditional options through the API. And the process can be tedious for uses cases such as the Country <> State relationship, where a given country may have dozens of states to set up manually.
Therefore, could you please look into adding a new endpoint to the API?