Things once can do with APIs is very different from how things are done on apps & interfaces.
Try Manage Positions on Dhan, it should solve for all of this. We let our traders place the SL on the position itself, so if it is not executed - you can go and edit that one position itself. That said I will try this myself tomorrow and check it.
@PravinJ By sending all sliced orders at oneshot, aren’t we losing main purpose of slicing? you might have solved “Freeze limit” but so big quantity of order (all slices are summed up on exchange for matching purpose on exchange), eventually this pushes the demand up and price goes up, so your own sliced orders push price up in no time! it will be fatal if it is market iceberg order, right?